Home
last modified time | relevance | path

Searched defs:current_user (Results 1 – 25 of 771) sorted by relevance

12345678910>>...31

/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/
H A Devent_create_service.rb13 def open_issue(issue, current_user) argument
17 def close_issue(issue, current_user) argument
21 def reopen_issue(issue, current_user) argument
25 def open_mr(merge_request, current_user) argument
31 def close_mr(merge_request, current_user) argument
37 def reopen_mr(merge_request, current_user) argument
41 def merge_mr(merge_request, current_user) argument
63 def leave_note(note, current_user) argument
71 def join_project(project, current_user) argument
75 def leave_project(project, current_user) argument
[all …]
H A Dnotification_service.rb111 def new_issue(issue, current_user) argument
135 def close_issue(issue, current_user, params = {}) argument
175 def removed_milestone_issue(issue, current_user) argument
192 def new_merge_request(merge_request, current_user) argument
328 def close_mr(merge_request, current_user) argument
332 def reopen_issue(issue, current_user) argument
336 def merge_mr(merge_request, current_user) argument
345 def reopen_mr(merge_request, current_user) argument
559 def issue_moved(issue, new_issue, current_user) argument
579 def project_exported(project, current_user) argument
[all …]
H A Dtodo_service.rb17 def new_issue(issue, current_user) argument
25 def update_issue(issue, current_user, skip_users = []) argument
33 def close_issue(issue, current_user) argument
74 def new_merge_request(merge_request, current_user) argument
145 def new_note(note, current_user) argument
162 def new_award_emoji(awardable, current_user) argument
167 def mark_todo(target, current_user) argument
172 def todo_exist?(issuable, current_user) argument
177 def resolve_todos_for_target(target, current_user) argument
199 def restore_todos(todos, current_user) argument
[all …]
H A Dbase_renderer.rb4 attr_reader :current_user accessor in BaseRenderer
6 def initialize(current_user = nil) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/concerns/
H A Dmentionable.rb48 def all_references(current_user = nil, extractor: nil) argument
79 def mentioned_users(current_user = nil) argument
87 def referenced_projects(current_user = nil) argument
91 def referenced_project_users(current_user = nil) argument
95 def referenced_groups(current_user = nil) argument
106 def referenced_group_users(current_user = nil) argument
110 def directly_addressed_users(current_user = nil) argument
115 def referenced_mentionables(current_user = self.author) argument
H A Dresolvable_note.rb25 def resolve!(current_user) argument
56 def resolve_without_save(current_user, resolved_by_push: false) argument
78 def resolve!(current_user, resolved_by_push: false) argument
H A Dawardable.rb97 def user_can_award?(current_user) argument
101 def user_authored?(current_user) argument
107 def awarded_emoji?(emoji_name, current_user) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/helpers/
H A Dissues_helper.rb77 def award_user_list(awards, current_user, limit: 10) argument
90 def award_state_class(awardable, awards, current_user) argument
146 def issue_closed_link(issue, current_user, css_class: '') argument
154 def issue_closed_text(issue, current_user) argument
186 def issue_header_actions_data(project, issuable, current_user) argument
211 def common_issues_list_data(namespace, current_user) argument
226 def project_issues_list_data(project, current_user, finder) argument
249 def group_issues_list_data(group, current_user, issues, projects) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/finders/
H A Dcontributed_projects_finder.rb15 def execute(current_user = nil) argument
26 def can_read_profile?(current_user) argument
30 def all_projects(current_user) argument
H A Dpersonal_projects_finder.rb20 def execute(current_user = nil) argument
30 def all_projects(current_user) argument
40 def projects_with_min_access_level(current_user) argument
H A Dresource_state_event_finder.rb6 def initialize(current_user, eventable) argument
25 attr_reader :current_user, :eventable accessor in ResourceStateEventFinder
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/
H A Dmerge_requests_closing_issues.rb27 def count_for_collection(ids, current_user) argument
31 def count_for_issue(id, current_user) argument
37 def closing_merge_requests(ids, current_user) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/mailers/emails/
H A Dgroups.rb5 def group_was_exported_email(current_user, group) argument
9 def group_was_not_exported_email(current_user, group, errors) argument
13 def group_email(current_user, group, subj, errors: nil) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/award_emojis/
H A Dcollect_user_emoji_service.rb6 attr_reader :current_user accessor in AwardEmojis.CollectUserEmojiService
9 def initialize(current_user = nil) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/models/preloaders/
H A Dgroup_policy_preloader_spec.rb38 def authorize_all_groups(current_user, group_list = base_groups) argument
42 def preload_groups_for_policy(current_user, group_list = base_groups) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/preloaders/
H A Dgroup_policy_preloader.rb5 def initialize(groups, current_user) argument
16 attr_reader :groups, :current_user accessor in Preloaders.GroupPolicyPreloader
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/keys/
H A Dcreate_service.rb5 attr_accessor :current_user accessor in Keys.CreateService
7 def initialize(current_user, params = {}) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/two_factor/
H A Dbase_service.rb7 attr_reader :current_user, :params, :user accessor in TwoFactor.BaseService
9 def initialize(current_user, params = {}) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/emails/
H A Dbase_service.rb5 attr_reader :current_user, :params, :user accessor in Emails.BaseService
7 def initialize(current_user, params = {}) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/sidebars/
H A Dcontext.rb9 attr_reader :current_user, :container accessor in Sidebars.Context
11 def initialize(current_user:, container:, **args) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/finders/autocomplete/
H A Dproject_finder.rb6 attr_reader :current_user, :project_id accessor in Autocomplete.ProjectFinder
14 def initialize(current_user = nil, params = {}) argument
H A Dmove_to_project_finder.rb6 attr_reader :current_user, :search, :project_id accessor in Autocomplete.MoveToProjectFinder
19 def initialize(current_user, params = {}) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/graphql/resolvers/users/
H A Dsnippets_resolver_spec.rb90 def resolve_snippets(args: {}, context_user: current_user, obj: current_user)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/applications/
H A Dcreate_service.rb5 attr_reader :current_user, :params accessor in Applications.CreateService
7 def initialize(current_user, params) argument
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/finders/alert_management/
H A Dalerts_finder.rb7 def self.counts_by_status(current_user, project, params = {}) argument
11 def initialize(current_user, project, params) argument
32 attr_reader :current_user, :project, :params accessor in AlertManagement.AlertsFinder

12345678910>>...31