Commit graph

8 commits

Author SHA1 Message Date
Dmitriy Zaporozhets
464b0de1ac Merge branch 'filter-web-hooks-by-branch' into 'master'
Filter web hooks by branch

See merge request gitlab-org/gitlab-ce!19513
2018-09-05 13:39:41 +00:00
Duana Saskia
9d742e61a7 Refactor: move active hook filter to TriggerableHooks 2018-09-05 21:58:52 +10:00
Stan Hu
0d95b6bf61 Fix "Confidential comments" button not saving in project hooks
Closes #50440
2018-08-17 16:16:23 -07:00
gfyoung
15b878e27e Enable more frozen string in app/models/**/*.rb
Partially addresses #47424.
2018-08-07 00:37:36 -07:00
Alexis Reigel
faadd9e0e4 use class reader instead of dynamic constant 2018-01-17 09:55:00 +01:00
Alexis Reigel
a63792b724 accepts .all as a hook scope as well 2018-01-17 09:55:00 +01:00
Alexis Reigel
a78abf3a00 use safer .hooks_for instead of .public_send
with .public_send we can't make sure that the scope on the model
actually exists.
2018-01-17 09:55:00 +01:00
Alexis Reigel
ac92d70d90 extract concern for hook triggers 2018-01-17 09:55:00 +01:00