summaryrefslogtreecommitdiff
path: root/spec/controllers/groups
Commit message (Collapse)AuthorAgeFilesLines
* Fix transient error with boards_controller_spec53467-transient-failure-in-spec-controllers-groups-boards_controller_spec-rbBrett Walker2018-11-031-3/+4
|
* Fix typos in comments and specsGeorge Tsiolis2018-11-011-2/+2
|
* Fix problem with spec that showed up in EE mergeBrett Walker2018-10-291-1/+1
|
* Automatically navigate to last board visitedBrett Walker2018-10-261-2/+56
|
* Simplify runner registration token resettingTomasz Maczukin2018-10-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | This icommit adds several changes related to the same topic - resetting a Runner registration token: 1. On Project settings page it adds a button for resetting the registration token and it removes the Runner token field that was confusing all GitLab users. 2. On Group settings page it adds the same button for resetting the registration token. 3. On Admin Runners settings page it moves the button to the same place as in Project and Group settings and it changes slightly the page layout to make it more similar to Group and Project setting pages. 4. It refactorizes a little the partial that prints runner registration description. Thanks to this Project, Group and Admin settings of the Runner are re-using the same code to generate the button. 5. Updates the translations of changed text.
* Allow to delete group milestonesissue_36138Felipe Artur2018-08-061-0/+11
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-115-5/+5
|
* Add workhorse authorize method for project/group uploadsJan Provaznik2018-06-181-0/+8
| | | | | This method can be used by workhorse to get presigned URLs used for direct upload of files.
* Make all uses of `fixture_file_upload` use relative pathsRobert Speicher2018-06-071-1/+1
|
* Hide archived projects from `shared_projects`bvl-hide-archived-shared-projectsBob Van Landuyt2018-06-041-1/+10
| | | | | Since we don't show the archived projects, we shouldnot load them and pass them to the fronted to be filtered out again.
* Refactor validations and make runner factory by default to be instance-wide ↵Kamil Trzciński2018-05-311-2/+1
| | | | runner
* Improve runner_type validations for Ci::RunnerDylan Griffith2018-05-311-1/+1
|
* Fix small typosToon Claes2018-05-291-4/+4
|
* Add `shared_projects` endpointBob Van Landuyt2018-05-291-0/+59
| | | | | | | This endpoint lists projects shared with a group visible to the current user. The `filter` and `sort` params are supported like on the `children` endpoint.
* Allow to pause,resume,show,edit,destroy group runners (#10244)Dylan Griffith2018-05-071-0/+74
|
* Bring one group board to CEFelipe Artur2018-03-031-0/+136
|
* Allow to include also descendant group labelsJan Provaznik2018-03-021-7/+7
| | | | | | Because epic index page includes also epics from subgroups it's necessary to also get descendant group labels for filtering. https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4773#note_61236542
* Support additional LabelsFinder parameters for group labelsJan Provaznik2018-03-021-0/+29
| | | | | | | | | In some situations (listing labels for epics) we want to list only group ancestor labels, this is already supported in LabelsFinder we just need to enable additional parameters. Also `set_issuables_index` method now loads project labels only if @project is set (which is not used for epic group labels).
* Extract Variables controllers specs to shared_examplesMatija Čupić2018-02-051-90/+4
|
* Refactor Variable controllers specsMatija Čupić2018-02-051-20/+23
|
* Extract Variable into separate JSON SchemaMatija Čupić2018-02-051-3/+3
|
* Extract variable parameters in VariablesController specsMatija Čupić2018-02-051-14/+14
|
* Add GroupVariableSerializer for Ci::GroupVariableMatija Čupić2018-02-051-3/+3
|
* Return all variables after UPDATEMatija Čupić2018-02-051-0/+12
|
* Change POST to PATCH requests in the controller specsMatija Čupić2018-02-051-3/+3
|
* Fix a typo in Groups::VariablesController specMatija Čupić2018-02-051-1/+1
|
* Use `resource` in Group Variables routing schemeMatija Čupić2018-02-051-4/+18
|
* Use all parameters in VariablesController specsMatija Čupić2018-02-051-5/+13
|
* Remove redundant routes in Groups::VariablesControllerMatija Čupić2018-02-051-41/+0
|
* Port #save_multiple to Groups::VariablesControllerMatija Čupić2018-02-051-5/+74
|
* port of 594e6a0a625^..f74c90f68c6Micaël Bergeron2018-02-011-1/+3
|
* Preload ancestors for subgroups matching filterBob Van Landuyt2018-01-221-0/+24
| | | | | | | Otherwise we'd only preload the ancestors that would fit the page. That way, when a search result was on the first page, but the ancestor didn't fit the page anymore. We would not have the preloaded ancestor when rendering the hierarchy.
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-1/+1
|
* Bugfix: User can't change the access level of an access requesterRubén Dávila2017-12-111-0/+19
| | | | | 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/+10
|
* Remove the selects when counting the last pageBob Van Landuyt2017-11-171-0/+11
| | | | | | | | | | | The last page of the first collection is only loaded into memory when it is being viewed. If it isn't loaded into memory, the `#size` call triggers a count query. This `#count` would generate an invalid query if our custom preloaded counts are included by adding a separate `as count_column` alias on top of the count aliases. Removing the selects in this case will make sure a valid `COUNT(*)` is generated.
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-205-19/+19
|
* Make sure we always return an array of hierarchiesBob Van Landuyt2017-10-131-0/+9
| | | | Even when we pass an array of only a single object
* Nest the group_children_path inside the canonical group pathBob Van Landuyt2017-10-121-0/+277
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-2/+2
|
* Native group milestonesFelipe Artur2017-07-071-17/+101
|
* gb nice catchesShinya Maeda2017-07-071-1/+1
|
* Basic BE changeShinya Maeda2017-07-072-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 tests for Groups::MilestonesController#indexTakuya Noguchi2017-06-261-0/+15
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-14/+42
|
* Fix failing specAlfredo Sumaran2017-06-071-1/+1
|
* Add json support to group members leave action in controllerDmitriy Zaporozhets2017-06-061-0/+7
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Refactor to more robust implementationfix-issue-32506Michael Kozono2017-05-191-3/+132
| | | | | | 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 `/…`.
* Added controller specsPhil Hughes2017-04-261-0/+12
|
* Use `empty_project` where possible in controller specsrs-empty_project-controllersRobert Speicher2017-01-251-1/+1
|