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
0d95b6bf
Commit
0d95b6bf
authored
Aug 17, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix "Confidential comments" button not saving in project hooks
Closes #50440
parent
74eec89e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
app/models/concerns/triggerable_hooks.rb
app/models/concerns/triggerable_hooks.rb
+1
-0
changelogs/unreleased/sh-fix-confidential-note-option.yml
changelogs/unreleased/sh-fix-confidential-note-option.yml
+5
-0
spec/controllers/projects/hooks_controller_spec.rb
spec/controllers/projects/hooks_controller_spec.rb
+1
-0
No files found.
app/models/concerns/triggerable_hooks.rb
View file @
0d95b6bf
...
...
@@ -6,6 +6,7 @@ module TriggerableHooks
push_hooks: :push_events
,
tag_push_hooks: :tag_push_events
,
issue_hooks: :issues_events
,
confidential_note_hooks: :confidential_note_events
,
confidential_issue_hooks: :confidential_issues_events
,
note_hooks: :note_events
,
merge_request_hooks: :merge_requests_events
,
...
...
changelogs/unreleased/sh-fix-confidential-note-option.yml
0 → 100644
View file @
0d95b6bf
---
title
:
Fix "Confidential comments" button not saving in project hooks
merge_request
:
21289
author
:
type
:
fixed
spec/controllers/projects/hooks_controller_spec.rb
View file @
0d95b6bf
...
...
@@ -30,6 +30,7 @@ describe Projects::HooksController do
tag_push_events:
true
,
merge_requests_events:
true
,
issues_events:
true
,
confidential_note_events:
true
,
confidential_issues_events:
true
,
note_events:
true
,
job_events:
true
,
...
...
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