summaryrefslogtreecommitdiff
path: root/app/controllers/groups
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'milestones-finder-order-fix' into 'security-10-3'Robert Speicher2018-01-161-2/+4
| | | | | | | | | | Remove order param from the MilestoneFinder See merge request gitlab/gitlabhq!2259 (cherry picked from commit 14408042e78f2ebc2644f956621b461dbfa3d36d) 155881e7 Remove order param from the MilestoneFinder
* Present member collection at the controller leveltmlee/gitlab-ce-28004-consider-refactoring-member-view-by-using-presenterRémy Coutable2017-12-121-2/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Bugfix: User can't change the access level of an access requesterRubén Dávila2017-12-111-1/+1
| | | | | The endpoint was returning 404 because it was only searching on the current members of a Group or Project and not the access requesters.
* Support uploads for groupsJarka Kadlecova2017-12-071-0/+35
|
* Add Group Milestone sortingGeorge Andrinopoulos2017-11-071-1/+2
|
* Nest the group_children_path inside the canonical group pathBob Van Landuyt2017-10-121-0/+39
|
* replace `is_legacy_group_milestone?` with `legacy_group_milestone?`Maxim Rydkin2017-08-291-3/+3
|
* Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher2017-08-151-1/+1
|
* Native group milestonesFelipe Artur2017-07-071-35/+42
|
* Name as variable_params like project variable controllerShinya Maeda2017-07-071-6/+10
|
* gb nice catchesShinya Maeda2017-07-071-5/+5
|
* ayufan nice catchesShinya Maeda2017-07-071-7/+11
|
* Fix variables_controller.rb and formatShinya Maeda2017-07-071-2/+1
|
* Basic BE changeShinya Maeda2017-07-072-0/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Basic BE change Fix static-snalysis Move the precedence of group secure variable before project secure variable. Allow project_id to be null. Separate Ci::VariableProject and Ci::VariableGroup Add the forgotton files Add migration file to update type of ci_variables Fix form_for fpr VariableProject Fix test Change the table structure according to the yorik advice Add necessary migration files. Remove unnecessary migration spec. Revert safe_model_attributes.yml Fix models Fix spec Avoid self.variable. Use becomes for correct routing. Use unique index on group_id and key Add null: false for t.timestamps Fix schema version Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable Rename the rest of them Add the rest of files Implement CURD Rename codes related to VariableGroup and VariableProject FE part Remove unneccesary changes Make Fe code up-to-date Add protected flag to migration file Protected group variables essential package Update schema Improve doc Fix logic and spec for models Fix logic and spec for controllers Fix logic and spec for views(pre feature) Add feature spec Fixed bugs. placeholder. reveal button. doc. Add changelog Remove unnecessary comment godfat nice catches Improve secret_variables_for arctecture Fix spec Fix StaticAnlysys & path_regex spec Revert "Improve secret_variables_for arctecture" This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1. Use ayufan suggestion for secret_variables_for Use find instead of find_by Fix spec message for variable is invalid Fix spec remove variable.group_id = group.id godffat spec nitpicks Use include Gitlab::Routing.url_helpers for presenter spec
* Add JSON support to group milestonesTakuya Noguchi2017-06-271-0/+3
|
* Add a rubocop rule to check if a method 'redirect_to' is used without ↵31840-add-a-rubocop-that-forbids-redirect_to-inside-a-controller-destroy-action-without-an-explicit-statusblackst0ne2017-06-072-2/+2
| | | | explicitly set 'status' in 'destroy' actions of controllers
* Refactor to more robust implementationfix-issue-32506Michael Kozono2017-05-191-0/+6
| | | | | | In order to avoid string manipulation or modify route params (to make them unambiguous for `url_for`), we are accepting a behavior change: When being redirected to the canonical path for a group, if you requested a group show path starting with `/groups/…` then you’ll now be redirected to the group at root `/…`.
* Merge branch '17361-redirect-renamed-paths' into 'master' Sean McGivern2017-05-061-17/+7
|\ | | | | | | | | | | | | Resolve "Redirect to new project link after a rename" Closes #17361 and #30317 See merge request !11136
| * Resolve discussionsMichael Kozono2017-05-051-5/+1
| |
| * Dry up routable lookups. Fixes #30317Michael Kozono2017-05-051-13/+4
| | | | | | | | Note: This changes the behavior of user lookups (see the spec change) so it acts the same way as groups and projects. Unauthenticated clients attempting to access a user page will be redirected to login whether the user exists and is publicly restricted, or does not exist at all.
| * Redirect from redirect routes to canonical routesMichael Kozono2017-05-051-9/+12
| |
* | Colorize labels in issue search fieldWinnie Hellmann2017-05-051-1/+1
|/
* Load milestone tabs asynchronouslyPhil Hughes2017-04-261-1/+3
|
* Refactor members controller destroy actionDmitriy Zaporozhets2017-04-171-9/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor controller code that creates project/group membersDmitriy Zaporozhets2017-04-171-15/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* ProjectsFinder should handle more optionsJacopo2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
* MR empty stateLuke "Jared" Bennett2017-04-051-0/+1
|
* Fix a few N+1 queries identified by Bulletfix-nplusone-queriesStan Hu2017-04-021-0/+1
| | | | See !10263
* Labels support color names in backendDongqing Hu2017-03-291-2/+4
|
* Add count badges to both dashboard and group milestonesadam-count-badges-group-dashboard-milestonesAlex Braha Stoll2017-03-101-0/+1
|
* Show parent group members for nested groupdz-nested-groups-members-pageDmitriy Zaporozhets2017-02-101-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Speed up group milestone index by passing group_id to IssuesFinderAdam Niedzielski2017-01-061-2/+9
|
* Sort group/project members alphabetically by defaultDouglas Barbosa Alexandre2016-12-161-1/+3
|
* Fix sort functionality for group/project membersDouglas Barbosa Alexandre2016-12-161-10/+4
|
* Adds sort dropdown for group membersNur Rony2016-12-161-3/+7
|
* Add nested groups support on data leveldz-nested-groupsDmitriy Zaporozhets2016-12-081-1/+1
| | | | | | | | * add parent_id field to namespaces table to store relation with nested groups * create routes table to keep information about full path of every group and project * project/group lookup by full path from routes table Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* 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>