Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-08Backport EE changes to Members::BaseServiceYorick Peterse
EE made some small changes to this class, but these changes were not backported to CE.
2019-07-25Remove code related to object hierarchy in MySQLHeinrich Lee Yu
These are not required because MySQL is not supported anymore
2019-05-13Rename methods that conflict in Rails 5.2Heinrich Lee Yu
Adds suffix to enum methods and changes `in_groups` to `of_groups`
2019-05-10Fix Error 500 when inviting user already presentStan Hu
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
2019-04-15Externalize strings detected by rubocop-i18nMartin Wortschack
- Externalize strings in milestones_helper - Externalize strings in app/services - Update PO file
2019-02-01Update members service to cope with errorsJames Lopez
2019-01-31Add subresources removal to member destroy serviceJames Lopez
2018-12-14Delete confidential issue todos for guestsFelipe Artur
Fix leaking information of confidential issues on TODOs when user is downgraded to guest access.
2018-11-01Fix typos in comments and specsGeorge Tsiolis
2018-07-30Delete todos when users loses target read permissionsJarka Kadlecová
2018-07-18Enable more frozen string in app/services/**/*.rbgfyoung
Partially addresses #47424.
2018-07-09Updates from `rubocop -a`Lin Jen-Shin
2018-03-08Don't delete todos or unassign issues and MRs when a user leaves a projectDouwe Maan
2018-02-27Improve Member servicesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-02-27Remove explicit audit event log in MembershipActionsRémy Coutable
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>
2018-02-14Resolve "Remove notification settings for groups and projects you were ↵🙈 jacopo beschi 🙉
previously a member of"
2017-12-11Refactor member view by using presenterTM Lee
- 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>
2017-08-14Whitelist or fix additional `Gitlab/PublicSend` cop violationsRobert Speicher
An upcoming update to rubocop-gitlab-security added additional violations.
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-06Limit non-administrators to adding 100 members at a time to groups and projectsNick Thomas
2017-05-18Fix: Deleting an invited member causes 500 errorValery Sizov
2017-05-17Get rid of pluck in app/services/members/authorized_destroy_service.rbValery Sizov
2017-05-17Fix deletion of issue assignees for MySQLStan Hu
MySQL builds on EE were failing due to MySQL not liking the complex subqueries. Simplify the deletion to use a subquery that works.
2017-05-16Improve migration for Multipple issue assignee featureValery Sizov
2017-05-12Move update_assignee_cache_counts to the serviceValery Sizov
2017-05-05[Multiple issue assignee] Fix a number of specsValery Sizov
2017-04-20Merge branch 'dz-refactor-create-members' into 'master' Douwe Maan
Refactor code that creates and destroys project/group members See merge request !10735
2017-04-20Remove helpers assigned_issuables_count and cached_assigned_issuables_countValery Sizov
2017-04-18Unassign all Issues and Merge Requests when member leaves teamValery Sizov
2017-04-17Refactor controller code that creates project/group membersDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-23Enable Style/MutableConstantDouwe Maan
2016-11-01Implement CreateMembers service to make controller thinValery Sizov
2016-10-28Allow Members::ApproveAccessRequestService to accept a new :force paramRémy Coutable
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>
2016-10-03Invert method's namingRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-03Fix a few things after the initial improvment to Members::DestroyServiceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-03Improve Members::DestroyServiceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-10-02Merge branch 'rc-new-members-request-access-service' into 'master' Robert Speicher
New `Members::RequestAccessService` Part of #21979. See merge request !6265
2016-09-22Inverse condition in Members::ApproveAccessRequestServiceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-22Ensure Members::ApproveAccessRequestService can fin a requester by IDRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-22New Members::ApproveAccessRequestServiceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-22Inverse condition in Members::RequestAccessServiceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-22New Members::RequestAccessServiceRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-18Ensure last group owner isn't removed on expirySean McGivern
2016-08-18Merge branch 'master' into expiration-date-on-membershipsSean McGivern
2016-08-10New AccessRequests API endpoints for Group & ProjectRémy Coutable
Also, mutualize AccessRequests and Members endpoints for Group & Project. New API documentation for the AccessRequests endpoints. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-08-05Extract Members::AuthorizedDestroyService from Members::DestroyService.Adam Niedzielski
2016-06-18Raise a new Gitlab::Access::AccessDeniedError when permission is not enough ↵Rémy Coutable
to destroy a member This is a try for a new approach to put the access checks at the service level. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-18Don't send the "access declined" email on access request withdrawalRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>