- 28 Sep, 2016 2 commits
-
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Changes include: - Ensure Member.add_user is not called directly when not necessary - New GroupMember.add_users_to_group to have the same abstraction level as for Project - Refactor Member.add_user to take a source instead of an array of members - Fix Rubocop offenses - Always use Project#add_user instead of project.team.add_user - Factorize users addition as members in Member.add_users_to_source - Make access_level a keyword argument in GroupMember.add_users_to_group and ProjectMember.add_users_to_projects - Destroy any requester before adding them as a member - Improve the way we handle access requesters in Member.add_user Instead of removing the requester and creating a new member, we now simply accepts their access request. This way, they will receive a "access request granted" email. - Fix error that was previously silently ignored - Stop raising when access level is invalid in Member, let Rails validation do their work Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 08 Sep, 2016 1 commit
-
-
Nick Thomas authored
An unapproved access request should not give access rights, and blocked users should not be considered members of anything. One visible outcome of this behaviour is that owners and masters of a group or project may be blocked, yet still receive notification emails for access requests. This commit prevents this from happening.
-
- 18 Aug, 2016 1 commit
-
-
Sean McGivern authored
-
- 09 Aug, 2016 1 commit
-
-
Adam Niedzielski authored
-
- 04 Aug, 2016 2 commits
-
-
Adam Niedzielski authored
-
Adam Niedzielski authored
-
- 02 Aug, 2016 1 commit
-
-
Adam Niedzielski authored
-
- 01 Aug, 2016 1 commit
-
-
Adam Niedzielski authored
-
- 26 Jul, 2016 1 commit
-
-
Stan Hu authored
-
- 01 Jul, 2016 1 commit
-
-
Rémy Coutable authored
And create new Project#requesters, Group#requesters scopes. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 29 Jun, 2016 1 commit
-
-
Stan Hu authored
The previous implementation would load the entire team member list and their respective attributes. Now we only search for the user's specific access level. In gitlab-com/operations#42, this reduces the overall overhead of rendering the issue from 28% to 20%. First step of optimizing #19273
-
- 18 Jun, 2016 1 commit
-
-
Rémy Coutable authored
This is to ensure we don't send unwanted notifications when deleting a project. In other words, stop abusing AR callbacks and use services. Signed-off-by: Rémy Coutable <remy@rymai.me>
-
- 16 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 13e37a3e.
-
James Lopez authored
-
- 14 Jun, 2016 3 commits
-
-
Rémy Coutable authored
+ Move 'Edit Project/Group' out of membership-related partial + Show the access request buttons only to logged-in users + Put the request access buttons out of in a more visible button + Improve the copy in the #remove_member_message helper Signed-off-by: Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by: Rémy Coutable <remy@rymai.me>
-
David Alexander authored
-
- 03 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- 01 Jun, 2016 1 commit
-
-
James Lopez authored
-
- 19 May, 2016 1 commit
-
-
James Lopez authored
-
- 09 May, 2016 1 commit
-
-
Jeroen van Baarsen authored
In 8278b763 the default behaviour of annotation has changes, which was causing a lot of noise in diffs. We decided in #17382 that it is better to get rid of the whole annotate gem, and instead let people look at schema.rb for the columns in a table. Fixes: #17382
-
- 06 May, 2016 1 commit
-
-
Zeger-Jan van de Weg authored
-
- 11 Apr, 2016 1 commit
-
-
Douglas Barbosa Alexandre authored
-
- 30 Mar, 2016 6 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 09 Feb, 2016 2 commits
-
-
Rémy Coutable authored
-
Rémy Coutable authored
Also: - Get rid of legacy :strict_mode - Get rid of custom :email validator - Add some shared examples to spec emails validation
-
- 20 Jan, 2016 1 commit
-
-
Douglas Barbosa Alexandre authored
This also enable a project creator to add themselves as a master of the project.
-
- 17 Nov, 2015 1 commit
-
-
Douwe Maan authored
-
- 12 Nov, 2015 3 commits
-
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
- 11 Nov, 2015 1 commit
-
-
James Lopez authored
refactored code as projects only have one owner. Kept some refactoring in place (has_owners concern)
-
- 03 Nov, 2015 1 commit
-
-
James Lopez authored
refactored permissions and added update_project_member ability logic. Also refactored owner methods to a concern.
-