Commit Graph

22 Commits

Author SHA1 Message Date
Maxim Rydkin edb14511aa replace `is_update?` with `update?` 2017-08-29 11:14:41 +03:00
Robert Speicher 260c8da060 Whitelist or fix additional `Gitlab/PublicSend` cop violations
An upcoming update to rubocop-gitlab-security added additional
violations.
2017-08-14 12:14:11 -04:00
Jarka Kadlecova b71025c014 Add feature tests for improved JIRA settings 2017-06-01 07:47:15 +02:00
Jarka Kadlecova 33d82ccb45 simplify test&save actions when setting a service integration 2017-06-01 07:47:15 +02:00
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
Chris Wilson 52c8651a6c Fix notify_only_default_branch check for Slack service
The notify_only_default_branch property is using boolean_accessor
this means we need to check it using a question methods.
Also add specs for disabling this option.
2017-05-08 15:55:02 +10:00
Tiago Botelho 6368072fd7 improves test settings for chat notification services for empty projects 2017-04-27 18:36:10 +01:00
Tiago Botelho 7696191e33 disables test settings on chat notification services when repository is empty 2017-04-18 15:33:57 +01:00
Tiago Botelho 1f404065ca adds relevant tests 2017-04-06 19:47:07 +01:00
Tiago Botelho 05f69ef212 adds microsoft team activity object and refactors code accordingly 2017-04-05 13:57:12 +01:00
Tiago Botelho 7dd645e6c9 add note message integration with microsoft teams 2017-04-05 13:57:11 +01:00
Tiago Botelho efe2d96a90 adds initial microsoft teams integration 2017-04-05 13:57:11 +01:00
Z.J. van de Weg 091c260812 Improve readability and add test 2017-03-23 13:35:20 +01:00
Z.J. van de Weg fed319b4ab Allow chat notifications only for the default branch
Right now, it once  a chat notifacation service has been enabled, there
is no way to limit the branches which trigger a notification. Instead of
allowing the user to specify the list, I opted to let the user check the
box if they'd only want to be notified of the default branch.

Tags are uneffected by this change.
2017-03-22 21:17:38 +01:00
Kamil Trzciński 12dd5ac221 All CI offline migrations 2017-03-17 23:06:11 +00:00
Douwe Maan 30d5e9fa54 Merge branch '22974-trigger-service-events-through-api' into 'master'
adds events to services api deserialization

Closes #22974

See merge request !8324
2017-01-23 16:44:12 +00:00
Tiago Botelho cd51af1a99 adds events to services api deserialization 2017-01-22 00:02:29 +00:00
Z.J. van de Weg 607b3c4892 Fix Slack/Mattermost notifaction services 2017-01-20 11:31:42 +01:00
Douglas Barbosa Alexandre d54d546596 Fix rubucop offenses 2016-12-23 15:55:13 -02:00
Douglas Barbosa Alexandre dfef28c920 Rename `opt` to `opts` on ChatNotificationService#execute 2016-12-23 15:19:16 -02:00
Felipe Artur 6dc3efdd98 Do not override incoming webhook channel for mattermost and slack 2016-12-22 16:16:10 -02:00
Felipe Artur a5ccaded65 Change SlackService to SlackNotificationsService 2016-12-15 15:32:49 -02:00