Commit Graph

38 Commits

Author SHA1 Message Date
Rémy Coutable d40e1f547e Enable the Style/TrailingCommaInLiteral cop
Use the EnforcedStyleForMultiline: no_comma option.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-10 18:25:45 +02:00
Valery Sizov 387c4b2c21 Backport of multiple_assignees_feature [ci skip] 2017-05-04 17:11:53 +03:00
Z.J. van de Weg 63bd79f594 Chat slash commands show labels correctly 2017-02-21 14:20:08 +01:00
Z.J. van de Weg 84b42aebbc Fix project link on issue creation 2017-02-14 15:03:20 +01:00
Z.J. van de Weg 1efa8f2e15 Rename issuable to IssueBase
Given the the Issuable class will soon also have to support MRs this
signals that it can only be used by issues.
2017-02-08 16:42:27 +01:00
Z.J. van de Weg 164eb3aa37 Improve styling of the new issue message 2017-01-31 13:42:04 +01:00
Z.J. van de Weg d7f298c177 Incorporate feedback 2017-01-30 20:37:06 +01:00
Z.J. van de Weg 5ec214b0a5 Rename presenters for consitency 2017-01-30 09:33:04 +01:00
Z.J. van de Weg 4ce1a17c97 Incorporate feedback 2017-01-30 09:25:15 +01:00
Z.J. van de Weg 53846da2c7 Add help command 2017-01-30 09:25:15 +01:00
Z.J. van de Weg dc6921bdbb Chat Commands have presenters
This improves the styling and readability of the code. This is supported
by both Mattermost and Slack.
2017-01-30 09:24:05 +01:00
Z.J. van de Weg 1955bcaa22 Revert specific URL 2016-12-27 10:43:23 +01:00
Z.J. van de Weg b7894a7451 Fix errorcode 500 on slash commands
Coverage was failing, so this could slip through the cracks
2016-12-23 09:46:32 +01:00
Kamil Trzcinski 298d05a5c3
Improve after feedback 2016-12-19 15:40:06 +01:00
Kamil Trzcinski 676b79b94d
Fix Rubocop 2016-12-18 23:30:37 +01:00
Kamil Trzcinski 0f2776287a
Use Slack::Notifier::LinkFormatter to convert markdown links to slack compat 2016-12-16 17:51:09 +01:00
Kamil Trzcinski f9f1a508c6
Fix SlackSlashCommands tests 2016-12-16 17:51:08 +01:00
Kamil Trzcinski ebc3f62be5
Fix specs 2016-12-16 17:51:08 +01:00
Kamil Trzcinski cc83aded33
Render format dependent links 2016-12-16 17:51:08 +01:00
Kamil Trzcinski dc995daf90
Use Slack compatible syntax 2016-12-16 17:51:08 +01:00
Kamil Trzcinski 37057870a6
Rename Mattermost::Presenter to Presenter 2016-12-16 17:51:07 +01:00
Z.J. van de Weg 0d3e24358b
Create Slack Slash command service 2016-12-16 17:51:07 +01:00
Pedro Moreira da Silva 70e72e8938 Rename `issue create` slash command to `issue new` 2016-12-15 13:11:43 +00:00
Pedro Moreira da Silva 6342ca367a Improve `issue create …` slash command with user input keys to create a newline in chat clients. 2016-12-15 13:10:19 +00:00
Z.J. van de Weg 13858d6873 Accept `issue new` as command to create an issue
Now only `/trigger issue create` is a valid command, but our UI shows
Issue new everywhere. The default now will be `/trigger issue new`. The
help message is adjusted to reflect this.

Fixes: gitlab-org/gitlab-ce#25025
2016-12-05 10:02:21 +01:00
Kamil Trzciński 35212deb06 Merge branch 'zj-issue-search-slash-command' into 'master'
Add issue search slash command

See merge request !7752
2016-11-29 11:04:17 +00:00
Z.J. van de Weg 6a08de7386 Add issue search slash command
One of many requested in: gitlab-org/gitlab-ce#24768
2016-11-25 15:41:28 +01:00
Z.J. van de Weg d71ad49fc5 Accept a valid ref for issue show
For example, now we support `/gitlab issue show #1`. Where the # used
to trip the regex.
2016-11-25 12:33:57 +01:00
Z.J. van de Weg 3ff0575669 Issue creation now accepts trailing whitespace 2016-11-22 08:48:17 +01:00
Kamil Trzcinski 41aa605d4e Improve deploy command message 2016-11-21 21:36:22 +01:00
Kamil Trzcinski a36d556137 Introduce deploy command that allows to start deployment from one environment to second one 2016-11-21 17:26:35 +01:00
Kamil Trzcinski 1d16f137d9 Add deploy chat command [ci skip] 2016-11-21 16:28:23 +01:00
Z.J. van de Weg f749fb7fe0 Improve style, add more tests 2016-11-18 11:38:54 +01:00
Z.J. van de Weg 166ee0965b More refactoring, push present to base command 2016-11-17 21:44:26 +01:00
Z.J. van de Weg 1607efa400 Add tests for increased converage 2016-11-17 21:34:24 +01:00
Z.J. van de Weg 6737ada0c8 Remove some commands for now 2016-11-17 21:34:24 +01:00
Z.J. van de Weg d4def9cbcd Incorporate feedback, improve presenter class
[ci skip]
2016-11-17 21:34:24 +01:00
Z.J. van de Weg 1b4fdb9893 Rename from service, and move to lib/gitlab 2016-11-17 21:34:24 +01:00