BigW Consortium Gitlab
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>
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
config | Loading commit data... | |
container_registry | Loading commit data... | |
emails | Loading commit data... | |
project_services/campfire | Loading commit data... | |
GoogleCodeProjectHosting.json | Loading commit data... | |
banana_sample.gif | Loading commit data... | |
blockquote_fence_after.md | Loading commit data... | |
blockquote_fence_before.md | Loading commit data... | |
ci_build_artifacts.zip | Loading commit data... | |
ci_build_artifacts_metadata.gz | Loading commit data... | |
dk.png | Loading commit data... | |
doc_sample.txt | Loading commit data... | |
domain_blacklist.txt | Loading commit data... | |
logo_sample.svg | Loading commit data... | |
mail_room_disabled.yml | Loading commit data... | |
mail_room_enabled.yml | Loading commit data... | |
markdown.md.erb | Loading commit data... | |
rails_sample.jpg | Loading commit data... | |
sanitized.svg | Loading commit data... | |
unsanitized.svg | Loading commit data... | |
video_sample.mp4 | Loading commit data... |