summaryrefslogtreecommitdiff
path: root/app/controllers/projects/project_members_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix query in Projects::ProjectMembersController to fetch members23573-sort-functionality-for-project-memberDouglas Barbosa Alexandre2016-12-161-2/+2
|
* Adds sort dropdown for group membersNur Rony2016-12-161-1/+4
|
* Use a single query in Projects::ProjectMembersController to fetch membersfollowup-7899Rémy Coutable2016-12-081-6/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Handle an edge-case whith inviteesgroup-members-in-project-members-viewRémy Coutable2016-12-071-4/+10
| | | | | | | | | When the project has invitees, no group members were returned due to a `user_id NOT IN (42, NULL)` query which always returned [] since a `user_id` would be NULL, thus the condition could never match. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fixed Ruby to be better for performancePhil Hughes2016-12-021-11/+11
| | | | Fixed controls not showing in groups which fixes tests
* Shows group members in the project members listPhil Hughes2016-12-021-1/+19
| | | | Closes #24122
* Implement CreateMembers service to make controller thinrefactor_group_membersValery Sizov2016-11-011-10/+7
|
* Update project member controller to match recent master logicyesbabyyes/gitlab-ce-22967-adding-zero-users-to-group-reports-successDmitriy Zaporozhets2016-10-241-9/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add parentheses around return redirect_to methodDmitriy Zaporozhets2016-10-241-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor groups/projects members controllerDmitriy Zaporozhets2016-10-241-8/+10
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Gracefully handle adding of no users to projects and groupsLinus G Thiel2016-10-241-1/+5
| | | | | | | | | | | | | | | | - Disable {project, group} members submit button if no users If no users are selected, the submit button should be disabled. - Alert user when no users were added to {project, group}. When no users were selected for adding, an alert message is flashed that no users were added. - Also, this commit adds a feedback when users were actually added to a project, in symmetry with how group members are handled. Closes #22967, #23270.
* Removed code from project members controllerPhil Hughes2016-10-201-15/+0
| | | | This code was meant to be added to another branch as an expirement, but instead was commited to wrong branch
* Changed how collections are renderedPhil Hughes2016-10-061-15/+0
| | | | | Used variables in haml for replicated checks Fixed broken conflict
* Merge branch 'master' into members-uiPhil Hughes2016-10-061-4/+2
|\
| * Fix a few things after the initial improvment to Members::DestroyServiceRémy Coutable2016-10-031-1/+2
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Improve Members::DestroyServiceRémy Coutable2016-10-031-4/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Updated Ruby variable namePhil Hughes2016-10-051-5/+3
| | | | | | | | Fixed Ruby code based on review feedback
* | Updated RubyPhil Hughes2016-10-041-2/+3
| |
* | Merge branch 'master' into members-uiPhil Hughes2016-10-041-1/+1
|\ \ | |/
| * New AccessRequestsFinderRémy Coutable2016-09-281-1/+1
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Group links search test fixPhil Hughes2016-09-131-0/+4
| |
* | Added back orderingPhil Hughes2016-09-131-0/+1
| |
* | Ruby updatePhil Hughes2016-09-131-7/+7
| |
* | Removed group members from the list for nowPhil Hughes2016-09-131-25/+0
| |
* | Fixed bug when group_ids not present when creatingPhil Hughes2016-09-131-9/+11
| |
* | Search project groupsPhil Hughes2016-09-131-8/+41
| |
* | Updated some specsPhil Hughes2016-09-131-10/+9
| | | | | | | | Fixed issue with group name not showing
* | Fixed searchPhil Hughes2016-09-131-6/+15
| |
* | Fixed issue with invited users not showing upPhil Hughes2016-09-131-1/+13
| |
* | Fixed members errorPhil Hughes2016-09-131-1/+1
| |
* | Removes row from dom when deletingPhil Hughes2016-09-131-5/+2
| | | | | | | | | | Fixed spacing with buttons Disables group form when user doesnt have correct permissions
* | Fixed group members not deletingPhil Hughes2016-09-131-4/+5
| | | | | | | | Combine both group members & project members in project members list
* | Fixed issue with groups not displayingPhil Hughes2016-09-131-14/+0
| |
* | Included groups on project_members pagePhil Hughes2016-09-131-0/+1
|/
* Allow to edit access expiration date.Adam Niedzielski2016-08-051-1/+1
|
* Replace optional parameters with keyword arguments.Adam Niedzielski2016-08-021-1/+6
|
* WIPAdam Niedzielski2016-08-011-1/+1
|
* Exclude requesters from Project#members, Group#members and User#membersexplicit-requesters-scopeRémy Coutable2016-07-011-3/+6
| | | | | | And create new Project#requesters, Group#requesters scopes. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Raise a new Gitlab::Access::AccessDeniedError when permission is not enough ↵Rémy Coutable2016-06-181-6/+0
| | | | | | | | 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>
* Use the new Members::DestroyService in group/project member controllersRémy Coutable2016-06-181-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* UI and copywriting improvements13948-access-request-to-projects-and-groupsRémy Coutable2016-06-141-37/+6
| | | | | | | | | + 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>
* Factorize #request_access and #approve_access_request into a new ↵Rémy Coutable2016-06-141-17/+15
| | | | | | AccessRequestActions controller concern Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add request access for groupsRémy Coutable2016-06-141-24/+20
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Initial implementation of user access request to projectsDavid Alexander2016-06-141-2/+29
|
* Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage'Dmitriy Zaporozhets2016-05-181-2/+2
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Change deprecated usage of rendering without response bodyMehmet Emin İNAÇ2016-03-161-2/+2
| | | | | | | | | | `render nothing: true` has been deprecated. For more information see [pr](https://github.com/rails/rails/pull/20336)
* | Remove unused authorization from controllerFelipe Artur2016-04-201-5/+0
| |
* | Show project members only for membersFelipe Artur2016-04-181-1/+6
| |
* | Respond 404 when unauthorized user imports membersfix/permissions-when-importing-membersGrzegorz Bizon2016-04-051-1/+1
| |
* | Do not leak project exists when importing membersGrzegorz Bizon2016-04-051-4/+4
| | | | | | | | | | | | When importing members, and user does not have permissions to read members in a source project, do not leak information about source project existence. Notifiy user that project has not been found instead.