summaryrefslogtreecommitdiff
path: root/spec/features/merge_requests/user_uses_slash_commands_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Change `logout` uses to `gitlab_sign_out`Robert Speicher2017-06-191-4/+4
| | | | Change `logout_direct` uses to `gitlab_sign_out_direct`
* Change `login_with` uses to `gitlab_sign_in`Robert Speicher2017-06-191-5/+5
| | | | Change single `login_via` use to `gitlab_sign_in_via`
* Rename "Slash commands" to "Quick actions"Eric Eastwood2017-06-151-3/+3
| | | | | | | | | | | | | Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070 Deprecate "chat commands" in favor of "slash commands" We looked for things like: - `slash commmand` - `slash_command` - `slash-command` - `SlashCommand`
* Use wait_for_requests to wait all JS requestwait-for-ajax-handling-all-js-requestsOswaldo Ferreira2017-05-221-2/+2
|
* Add instant comments supportKushal Pandya2017-05-051-0/+1
|
* Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo2017-04-211-1/+0
| | | | | Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
* Allow creating merge request even if target branch is not specified in query ↵Adam Niedzielski2017-03-171-1/+0
| | | | | | params Closes #28890
* Fix slash commands spec errorfix-slash-commands-spec-errorClement Ho2017-02-031-0/+2
|
* Merge branch 'Add-a-shash-command-for-target-merge-request-branch' into 'master'Sean McGivern2017-02-031-0/+74
|\ | | | | | | | | | | | | Adds /target_branch slash command functionality for merge requests Closes #23619 See merge request !7216
| * Adds /target_branch slash command functionality for merge requestsYarNayar2017-02-031-0/+74
| | | | | | | | | | | | | | Allows to use slash command /target_branch <target_branch_name> in merge requests notes and description. Command allows to specify target branch for current merge request. Proposed in #23619
* | refactor merge request build serviceRydkin Maxim2017-01-311-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add changelog entry replace local variables `merge_request` with instance ones modify `MergeRequests::BuildService` to fix failed tests extract `assign_target_project` method remove unnecessary instance variables remove exclamation marks and rewrite conditionals to improve readability extract `params_does_not_contain_branches?` method, rename `unprepared_merge_request` method to `uncreatable_merge_request` replace instance variables `merge_request` and `error_messages` with getters and setters; divide `set_title_and_description` method on two separate ones refactor `execute` method return `set_title_and_description` method rename `branches_selected?` method to `branches_present?` to make it more different from `branches_specified?` fixes after discussion renamed method branches_valid? fix space return assigning methods into `execute` method simplify `find_target_branch` and `find_source_project` methods fix spec `merge request issuable record that supports slash commands in its description and notes`
* Address MR commentsJarka Kadlecova2017-01-131-15/+3
|
* support `/merge` slash comand for MRsJarka Kadlecova2017-01-111-0/+57
|
* Replace wording for slash command confirmation messagevictorwu2016-12-261-3/+3
|
* Back off the array spreading, bc poltergeist freaks out.Bryce Johnson2016-10-151-3/+3
|
* Add a /wip slash commandThomas Balthazar2016-10-031-5/+50
| | | | It toggles the 'WIP' prefix in the MR title.
* Move write_note into SlashCommandsHelper and update other dependent specsslash-commands-issuable-spec-fixStan Hu2016-09-081-4/+6
|
* Remove unneeded aliasesDouwe Maan2016-08-181-2/+2
|
* New Notes::SlashCommandsService serviceRémy Coutable2016-08-131-27/+0
| | | | | | Check for update_issuable permission in Notes::SlashCommandsService Signed-off-by: Rémy Coutable <remy@rymai.me>
* Support slash commands in noteable description and notesRémy Coutable2016-08-131-0/+59
Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>