Home
last modified time | relevance | path

Searched refs:hooks_scope (Results 1 – 7 of 7) sorted by relevance

/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/notes/
H A Dpost_process_service.rb39hooks_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 Dactive_hook_filter.rb9 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 Dbase_service.rb72 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 Dsystem_hooks_service.rb12 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 Dtriggerable_hooks.rb35 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 Dproject.rb1526 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 Dgroup.rb691 def execute_hooks(data, hooks_scope) argument
696 def execute_integrations(data, hooks_scope) argument