gitlab-org--gitlab-foss/spec/services/merge_requests
Rémy Coutable 0eea8c8857 Support slash commands in noteable description and notes
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>
2016-08-13 00:05:57 +02:00
..
add_todo_when_build_fails_service_spec.rb Rename all `[ci_]commit` to `[ci_]pipeline` in specs and features 2016-06-03 16:22:26 +02:00
build_service_spec.rb Introduce Compare model in the codebase. 2016-08-03 07:00:20 +02:00
close_service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
create_service_spec.rb Support slash commands in noteable description and notes 2016-08-13 00:05:57 +02:00
get_urls_service_spec.rb api for generating new merge request 2016-08-11 23:37:00 +07:00
merge_request_diff_cache_service_spec.rb remove offending empty line 2016-08-09 10:13:34 +02:00
merge_service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
merge_when_build_succeeds_service_spec.rb Pre-create all builds for Pipeline when a trigger is received 2016-08-11 15:22:35 +02:00
refresh_service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
reopen_service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
update_service_spec.rb adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00