Searched refs:hooks_scope (Results 1 – 7 of 7) sorted by relevance
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/notes/ |
H A D | post_process_service.rb | 39 … hooks_scope = note.confidential?(include_noteable: true) ? :confidential_note_hooks : :note_hooks 41 note.project.execute_hooks(note_data, hooks_scope) 42 note.project.execute_integrations(note_data, hooks_scope)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/hooks/ |
H A D | active_hook_filter.rb | 9 def matches?(hooks_scope, data) argument 10 return true if hooks_scope != :push_hooks
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/issues/ |
H A D | base_service.rb | 72 hooks_scope = issue.confidential? ? :confidential_issue_hooks : :issue_hooks 73 issue.project.execute_hooks(issue_data, hooks_scope) 74 issue.project.execute_integrations(issue_data, hooks_scope)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/ |
H A D | system_hooks_service.rb | 12 def execute_hooks(data, hooks_scope = :all) argument 13 SystemHook.executable.hooks_for(hooks_scope).find_each do |hook|
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/concerns/ |
H A D | triggerable_hooks.rb | 35 def select_active(hooks_scope, data) argument 37 ActiveHookFilter.new(hook).matches?(hooks_scope, data)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/ |
H A D | project.rb | 1526 def execute_hooks(data, hooks_scope = :push_hooks) argument 1528 hooks.hooks_for(hooks_scope).select_active(hooks_scope, data).each do |hook| 1529 hook.async_execute(data, hooks_scope.to_s) 1531 SystemHooksService.new.execute_hooks(data, hooks_scope) 1536 def execute_integrations(data, hooks_scope = :push_hooks) argument 1539 …integrations.public_send(hooks_scope).each do |integration| # rubocop:disable GitlabSecurity/Publi… 1545 def has_active_hooks?(hooks_scope = :push_hooks) argument 1546 …hooks.hooks_for(hooks_scope).any? || SystemHook.hooks_for(hooks_scope).any? || Gitlab::FileHook.an… 1549 def has_active_integrations?(hooks_scope = :push_hooks) argument 1550 integrations.public_send(hooks_scope).any? # rubocop:disable GitlabSecurity/PublicSend
|
H A D | group.rb | 691 def execute_hooks(data, hooks_scope) argument 696 def execute_integrations(data, hooks_scope) argument
|