Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-18Fix behavior around commands with optional argumentsDouwe Maan
2016-08-18Remove unneeded aliasesDouwe Maan
2016-08-18Address feedbackDouwe Maan
2016-08-18Fix specs and implement fixes based on failing specsDouwe Maan
2016-08-17Fixed specs and fixes based on failing specsDouwe Maan
2016-08-13Prefer `/reopen` over `/open`, remove `/reassign`Douwe Maan
2016-08-13Allow setting labels, milestones and assignee based on nameDouwe Maan
2016-08-13Refactor slash command definitionDouwe Maan
2016-08-13Simplify the slash commands DSL to store action blocks instead of creating ↵Rémy Coutable
methods Other improvements: - Ensure slash commands autocomplete doesn't break when noteable_type is not given - Slash commands: improve autocomplete behavior and /due command - We don't display slash commands for note edit forms. - Add tests for reply by email with slash commands - Be sure to execute slash commands after the note creation in Notes::CreateService Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13New TodoService#todo_exists? methodRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Accept blocks for `.desc` and `.condition` slash commands DSLRémy Coutable
Also, pass options as instance variables, making the DSL more user-friendly / natural. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Make slash commands contextualRémy Coutable
- Return only slash commands that make sense for the current noteable - Allow slash commands decription to be dynamic Other improvements: - Add permission checks in slash commands definition - Use IssuesFinder and MergeRequestsFinder - Use next if instead of a unless block, and use splat operator instead of flatten Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Add support for no-op slash commands that appear in autocompleteRémy Coutable
The first one is /cc Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Don't extract slash commands inside blockcode, blockquote or HTML tagsRémy Coutable
Improve slash command descriptions, support /due tomorrow Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Add the /title slash commandRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13New Notes::SlashCommandsService serviceRémy Coutable
Check for update_issuable permission in Notes::SlashCommandsService Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-13Support slash commands in noteable description and notesRémy Coutable
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>