summaryrefslogtreecommitdiff
path: root/app/controllers/groups
Commit message (Collapse)AuthorAgeFilesLines
* Add a starting date to milestonesmilestone_start_dateValery Sizov2016-11-231-1/+1
|
* Add toggle_subscription action to Groups::LabelsControllerDouglas Barbosa Alexandre2016-11-171-0/+7
|
* Require projects before creating milestonegfyoung2016-11-101-1/+1
|
* 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-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Gracefully handle adding of no users to projects and groupsLinus G Thiel2016-10-241-0/+4
| | | | | | | | | | | | | | | | - 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.
* Disable subscribing to group-level labelsDouglas Barbosa Alexandre2016-10-191-4/+1
|
* Limit what label fields we expose on Groups::LabelsController#indexDouglas Barbosa Alexandre2016-10-191-1/+2
|
* Reduce duplication between the project and group label formsDouglas Barbosa Alexandre2016-10-191-0/+1
|
* List only labels that belongs to the group on the group issues pageDouglas Barbosa Alexandre2016-10-191-1/+9
|
* List group labels on project labels pageDouglas Barbosa Alexandre2016-10-191-1/+19
|
* Add CRUD for Group LabelsDouglas Barbosa Alexandre2016-10-191-0/+67
|
* Fix a few things after the initial improvment to Members::DestroyServiceRémy Coutable2016-10-031-1/+1
| | | | 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>
* New AccessRequestsFinderRémy Coutable2016-09-281-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add expiration date to group membershipsSean McGivern2016-08-181-2/+7
|
* Exclude requesters from Project#members, Group#members and User#membersexplicit-requesters-scopeRémy Coutable2016-07-011-2/+4
| | | | | | 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>
* Re-use notifications dropdown/modal for user profileFelipe Artur2016-06-171-16/+0
|\
| * Re-use notifications dropdown on user profileFelipe Artur2016-06-161-16/+0
| |
* | UI and copywriting improvements13948-access-request-to-projects-and-groupsRémy Coutable2016-06-141-36/+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-14/+13
| | | | | | | | | | | | AccessRequestActions controller concern Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Add request access for groupsRémy Coutable2016-06-141-5/+29
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'meinac/gitlab-ce-change_deprecated_render_usage'Dmitriy Zaporozhets2016-05-181-1/+1
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Change deprecated usage of rendering without response bodyMehmet Emin İNAÇ2016-03-161-1/+1
| | | | | | | | | | `render nothing: true` has been deprecated. For more information see [pr](https://github.com/rails/rails/pull/20336)
* | Requires user to be signed in when changing notification settingsDouglas Barbosa Alexandre2016-04-111-0/+2
| |
* | Reuse `User#notification_settings_for` when it's possibleDouglas Barbosa Alexandre2016-04-111-1/+1
| |
* | Simplify query to retrieve NotificationSetting on controllersDouglas Barbosa Alexandre2016-04-081-1/+1
| |
* | Merge branch 'master' into decouple-member-notificationDouglas Barbosa Alexandre2016-04-081-5/+26
|\ \
| * | Implement review suggestionsFelipe Artur2016-04-071-5/+3
| | |
| * | Improve codeFelipe Artur2016-04-051-16/+13
| | |
| * | Improve codeFelipe Artur2016-04-051-7/+15
| | |
| * | Fix problem when creating milestones in groups without projectsFelipe Artur2016-04-051-5/+23
| | |
* | | Change how notification settings in profile are rendered and updatedDmitriy Zaporozhets2016-03-301-0/+14
|/ / | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | Use respond_to instead of a conditional to paginate milestonesRémy Coutable2016-03-231-1/+5
| |
* | Tweaks, refactoring, and specsDouwe Maan2016-03-204-19/+25
| |
* | Improve group visibility level featureZeger-Jan van de Weg2016-03-181-1/+1
|/
* Fix Error 500 when creating global milestones with Unicode charactersStan Hu2015-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two issues: 1. The constraints in the resources were incorrect. Here's what it was before: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` In this case, id is actually the title of the milestone, which can be anything at the moment. After: ``` group_milestone GET /groups/:group_id/milestones/:id(.:format) groups/milestones#show {:id=>/[^\/]+/, :group_id=>/[a-zA-Z.0-9_\-]+(?<!\.atom)/} ``` 2. `parameterize` would strip all Unicode characters, leaving a blank string. Rails would report something like: ActionView::Template::Error (No route matches {:action=>"show", :controller=>"groups/milestones", :group_id=>#<Group id: 48, name: "ops-dev", path: "ops-dev", owner_id: nil, created_at: "2015-11-15 08:55:30", updated_at: "2015-12-02 06:23:26", type: "Group", description: "", avatar: "sha1.c71e73d51af1865c1bbbf6208e10044d46c9bb93.png", public: false>, :id=>"", :title=>"肯定不是中文的问题"} missing required keys: [:id]): This change uses the babosa library to create a better slug, which surprisingly isn't actually used by the global milestone controllers. Instead, they use the title passed as a query string for some reason. Closes https://github.com/gitlabhq/gitlabhq/issues/9881 Fix constraints
* Use project member abilities more extensivelyDouwe Maan2015-11-171-15/+15
|
* Fix removing avatar for groupDmitriy Zaporozhets2015-11-161-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Group masters should be able to create/close milestonesDmitriy Zaporozhets2015-11-161-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor global and group milestones logicDmitriy Zaporozhets2015-11-164-54/+27
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Create milestones in the groupDmitriy Zaporozhets2015-11-161-5/+31
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use before_actionsDouwe Maan2015-07-312-4/+7
|
* Add specific ability for managing group membersDouwe Maan2015-07-281-0/+7
|
* User should be able to leave group. If not - show him proper messageDmitriy Zaporozhets2015-05-291-1/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add helpers for header title and sidebar, and move setting those from ↵Douwe Maan2015-05-011-7/+1
| | | | controllers to layouts.
* Remove an old determine_layout call.Douwe Maan2015-04-301-2/+0
|
* Add a page title to every page.Douwe Maan2015-04-303-11/+6
|