summaryrefslogtreecommitdiff
path: root/app/services/members
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@13-6-stable-eev13.6.0-rc42GitLab Bot2020-11-191-0/+103
|
* Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42GitLab Bot2020-10-212-1/+55
|
* Add latest changes from gitlab-org/security/gitlab@13-4-stable-eeGitLab Bot2020-09-301-0/+5
|
* Add latest changes from gitlab-org/security/gitlab@13-3-stable-eeGitLab Bot2020-09-011-4/+29
|
* Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot2020-07-203-3/+51
|
* Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot2020-05-201-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-071-39/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-011-2/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-261-0/+38
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-071-1/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-134-0/+8
|
* Backport EE changes to Members::BaseServiceapp-differencesYorick Peterse2019-08-081-1/+3
| | | | | EE made some small changes to this class, but these changes were not backported to CE.
* Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-1/+1
| | | | | These are not required because MySQL is not supported anymore
* Rename methods that conflict in Rails 5.255583-rename-method-conflictsHeinrich Lee Yu2019-05-121-1/+1
| | | | | Adds suffix to enum methods and changes `in_groups` to `of_groups`
* Fix Error 500 when inviting user already presentStan Hu2019-05-101-1/+10
| | | | | | | A project admin attempting to invite an already-invited user will see a confusing Error 500 message. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61574
* Externalize strings detected by rubocop-i18nMartin Wortschack2019-04-151-2/+2
| | | | | | - Externalize strings in milestones_helper - Externalize strings in app/services - Update PO file
* Update members service to cope with errorsJames Lopez2019-02-011-2/+12
|
* Add subresources removal to member destroy serviceJames Lopez2019-01-311-1/+27
|
* Delete confidential issue todos for guestsFelipe Artur2018-12-143-7/+16
| | | | | Fix leaking information of confidential issues on TODOs when user is downgraded to guest access.
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-1/+1
|
* Delete todos when users loses target read permissionsJarka Kadlecová2018-07-301-0/+8
|
* Enable more frozen string in app/services/**/*.rbrepo-forks/gitlab-ce-frozen-string-enable-apps-services-inner-moregfyoung2018-07-176-0/+12
| | | | Partially addresses #47424.
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* Don't delete todos or unassign issues and MRs when a user leaves a projectunassign-when-leavingDouwe Maan2018-03-071-38/+2
|
* Improve Member servicesrc/reduce-delta-with-ce-in-controllers-ceRémy Coutable2018-02-277-85/+60
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove explicit audit event log in MembershipActionsRémy Coutable2018-02-277-87/+96
| | | | | | | | | Move it to Members::ApproveAccessRequestService. Also, note that there was a double audit event log for access request destruction. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Resolve "Remove notification settings for groups and projects you were ↵🙈 jacopo beschi 🙉2018-02-141-0/+1
| | | | previously a member of"
* Refactor member view by using presenterTM Lee2017-12-112-2/+20
| | | | | | | | | | | - Create MemberPresenter alongside with GroupMemberPresenter and ProjectMemberPresenter - Make Member model Presentable - Move action_member_permission from MembersHelper into the MemberPresenter - Added rspec using double, separate specs for GroupMemberPresenter and ProjectMemberPresenter Fixes #28004. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Whitelist or fix additional `Gitlab/PublicSend` cop violationsrs-more-public-send-whitelistsRobert Speicher2017-08-141-1/+1
| | | | | An upcoming update to rubocop-gitlab-security added additional violations.
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-15/+15
|
* Limit non-administrators to adding 100 members at a time to groups and projectsNick Thomas2017-06-061-3/+19
|
* Fix: Deleting an invited member causes 500 errorValery Sizov2017-05-181-1/+1
|
* Get rid of pluck in app/services/members/authorized_destroy_service.rbget_rid_of_pluckValery Sizov2017-05-171-3/+7
|
* Fix deletion of issue assignees for MySQLsh-fix-delete-assignees-mysqlStan Hu2017-05-161-4/+9
| | | | | MySQL builds on EE were failing due to MySQL not liking the complex subqueries. Simplify the deletion to use a subquery that works.
* Improve migration for Multipple issue assignee featureValery Sizov2017-05-161-2/+2
|
* Move update_assignee_cache_counts to the serviceValery Sizov2017-05-121-1/+2
|
* [Multiple issue assignee] Fix a number of specsValery Sizov2017-05-051-4/+11
|
* Merge branch 'dz-refactor-create-members' into 'master' Douwe Maan2017-04-201-1/+7
|\ | | | | | | | | Refactor code that creates and destroys project/group members See merge request !10735
| * Refactor controller code that creates project/group membersDmitriy Zaporozhets2017-04-171-1/+7
| | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Remove helpers assigned_issuables_count and cached_assigned_issuables_countuassign_on_member_removingValery Sizov2017-04-201-0/+1
| |
* | Unassign all Issues and Merge Requests when member leaves teamValery Sizov2017-04-181-1/+22
|/
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Implement CreateMembers service to make controller thinrefactor_group_membersValery Sizov2016-11-011-0/+16
|
* Allow Members::ApproveAccessRequestService to accept a new :force paramee-1159-allow-permission-check-bypass-in-approve-access-request-serviceRémy Coutable2016-10-281-5/+16
| | | | | | | | | | | This param allows to bypass permission check. It is useful for LDAP-sync where even owners don't have the :admin_group_member permission. See https://gitlab.com/gitlab-org/gitlab-ee/blob/6081c37123abae4570f78831b33c2f45f92c2765/app/policies/group_policy.rb#L38 and https://gitlab.com/gitlab-org/gitlab-ee/issues/1159 Signed-off-by: Rémy Coutable <remy@rymai.me>
* Invert method's namingRémy Coutable2016-10-031-3/+3
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix a few things after the initial improvment to Members::DestroyServiceRémy Coutable2016-10-032-5/+8
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Improve Members::DestroyServiceRémy Coutable2016-10-031-7/+31
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'rc-new-members-request-access-service' into 'master' Robert Speicher2016-10-021-0/+25
|\ | | | | | | | | | | | | New `Members::RequestAccessService` Part of #21979. See merge request !6265
| * Inverse condition in Members::RequestAccessServiceRémy Coutable2016-09-221-3/+3
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * New Members::RequestAccessServiceRémy Coutable2016-09-221-0/+25
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>