GitLab Bot
0805030d63
Add latest changes from gitlab-org/gitlab@master
2021-04-28 12:10:09 +00:00
GitLab Bot
0c4a28ded2
Add latest changes from gitlab-org/gitlab@master
2021-04-06 18:09:02 +00:00
GitLab Bot
c8795e6bd0
Add latest changes from gitlab-org/gitlab@master
2021-03-11 00:09:38 +00:00
GitLab Bot
f4726e9f50
Add latest changes from gitlab-org/gitlab@master
2021-02-04 21:09:06 +00:00
GitLab Bot
e33f87ac0f
Add latest changes from gitlab-org/gitlab@master
2020-04-21 15:21:10 +00:00
GitLab Bot
5372e109c0
Add latest changes from gitlab-org/gitlab@master
2020-04-08 15:09:29 +00:00
GitLab Bot
32fd4cd5e2
Add latest changes from gitlab-org/gitlab@master
2020-02-25 21:09:23 +00:00
GitLab Bot
eb1f5a3e08
Add latest changes from gitlab-org/gitlab@master
2020-02-17 18:09:00 +00:00
Hordur Freyr Yngvason
729040717e
Use Gitlab::HTTP for all chat notifications
2019-11-21 10:09:57 -05:00
GitLab Bot
40d3d57413
Add latest changes from gitlab-org/gitlab@master
2019-09-13 18:06:03 +00:00
Peter Leitzen
9260706d7b
Reduce amount of property definitions in ChatNotificationService
...
Before this commit we redefined properties for supported events on each
new instance of ChatNotificationService during "runtime".
This commit defines the properties only once during "compile time".
2019-09-02 13:25:15 +00:00
Jason Goodman
fe86890b9d
Add deployment events to chat notification services
...
This enables sending a chat message to Slack or Mattermost
upon a successful, failed, or canceled deployment
2019-04-26 21:08:41 +00:00
gfyoung
32af384adf
Enable frozen string in rest of app/models/**/*.rb
...
Partially addresses #47424 .
2018-08-10 00:51:01 -07:00
Mario de la Ossa
2fec418336
ChatNotificationService - fix sending tag notifications when "only default branch" enabled
2018-06-14 11:57:15 -06:00
Francisco Javier López
840f80d48b
Add validation to webhook and service URLs to ensure they are not blocked because of SSRF
2018-06-01 11:43:53 +00:00
Douwe Maan
52967b107b
Merge branch 'jej/mattermost-notification-confidentiality-10-6' into 'security-10-6'
...
[10.6] Prevent notes on confidential issues from being sent to chat
See merge request gitlab/gitlabhq!2366
# Conflicts:
# app/helpers/services_helper.rb
2018-04-05 08:41:56 +02:00
Dmitriy Zaporozhets
8fe9995f11
Replace deprecated name_with_namespace with full_name in app and spec
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-03-05 16:15:26 +02:00
Mario de la Ossa
158514bba3
SlackService - respect `notify_only_default_branch` for push events
2018-03-02 09:15:35 -06:00
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