Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d5d2f8fb
Commit
d5d2f8fb
authored
Jun 18, 2019
by
Seiji Suenaga
Committed by
Seiji Suenaga
Jun 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
59702 Fix API notification flags for MS Teams
parent
5ee6771c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
doc/api/services.md
doc/api/services.md
+2
-0
lib/api/helpers/services_helpers.rb
lib/api/helpers/services_helpers.rb
+3
-2
No files found.
doc/api/services.md
View file @
d5d2f8fb
...
@@ -1023,6 +1023,8 @@ Parameters:
...
@@ -1023,6 +1023,8 @@ Parameters:
| Parameter | Type | Required | Description |
| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| --------- | ---- | -------- | ----------- |
|
`webhook`
| string | true | The Microsoft Teams webhook. For example,
`https://outlook.office.com/webhook/...`
|
|
`webhook`
| string | true | The Microsoft Teams webhook. For example,
`https://outlook.office.com/webhook/...`
|
|
`notify_only_broken_pipelines`
| boolean | false | Send notifications for broken pipelines |
|
`notify_only_default_branch`
| boolean | false | Send notifications only for the default branch |
|
`push_events`
| boolean | false | Enable notifications for push events |
|
`push_events`
| boolean | false | Enable notifications for push events |
|
`issues_events`
| boolean | false | Enable notifications for issue events |
|
`issues_events`
| boolean | false | Enable notifications for issue events |
|
`confidential_issues_events`
| boolean | false | Enable notifications for confidential issue events |
|
`confidential_issues_events`
| boolean | false | Enable notifications for confidential issue events |
...
...
lib/api/helpers/services_helpers.rb
View file @
d5d2f8fb
...
@@ -683,8 +683,9 @@ module API
...
@@ -683,8 +683,9 @@ module API
name: :webhook
,
name: :webhook
,
type:
String
,
type:
String
,
desc:
'The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/…'
desc:
'The Microsoft Teams webhook. e.g. https://outlook.office.com/webhook/…'
}
},
],
chat_notification_flags
].
flatten
,
'mattermost'
=>
[
'mattermost'
=>
[
chat_notification_settings
,
chat_notification_settings
,
chat_notification_flags
,
chat_notification_flags
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment