summaryrefslogtreecommitdiff
path: root/spec/requests/api/groups_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterogolowinski-master-patch-80898GitLab Bot2019-12-161-2/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-071-0/+45
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-291-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-10-071-4/+33
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-261-0/+23
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-09-171-0/+44
|
* Let project reporters create issue from group boardsFelipe Artur2019-09-041-0/+16
| | | | | The current state of group issue boards does not show the "Add issues" button on the UI for users that are reporters of group child projects.
* Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-5/+5
| | | | | These are not required because MySQL is not supported anymore
* Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-2/+2
| | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* Style rules; Revert some examplesFabio Papa2019-07-191-2/+2
|
* Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-2/+2
| | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* Style rules; Revert some examplesFabio Papa2019-07-191-2/+2
|
* Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-2/+2
| | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* Style rules; Revert some examplesFabio Papa2019-07-191-2/+2
|
* Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-2/+2
| | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* Style rules; Revert some examplesFabio Papa2019-07-191-2/+2
|
* Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-2/+2
| | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* Style rules; Revert some examplesFabio Papa2019-07-191-2/+2
|
* Make subgroup_creation_level default to maintainer at SQL levelFabio Papa2019-07-191-2/+2
| | | | | | - Migration updates existing groups to "owner", then sets default to "maintainer" so that new groups will default to that - Update spec examples
* Style rules; Revert some examplesFabio Papa2019-07-191-2/+2
|
* Modify API spec to expect a maintainer to be able to create subgroupFabio Papa2019-07-191-2/+2
|
* Add wiki size to project statisticsPeter Marko2019-05-291-1/+2
|
* Eliminate N+1 queries in /api/groups/:idStan Hu2019-01-191-0/+14
| | | | | | | | | | | | | | | In https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15475/diffs, a significant amount of work went into eliminating N+1 queries in the /api/groups/:id/projects endpoint. We can reuse the `Entities::Project.prepare_relation` call on the projects. In a group with 2,573 projects on GitLab.com, this change significantly improves performance: * 18019 SQL queries down to 21 * Time spent in DB: 70 s down to 384 ms Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/49845
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-191-35/+35
| | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
* Add :nested_groups metadata to tests using subgroupsHeinrich Lee Yu2018-11-191-3/+3
|
* Change param name for consistencyHeinrich Lee Yu2018-11-191-1/+1
|
* Add group projects API options for including shared and subgroupsHeinrich Lee Yu2018-11-191-0/+26
|
* Applies the CE backport of EE#657Tiago Botelho2018-09-241-5/+9
|
* Add min_access_level filter to groups APIMarko, Peter2018-07-231-0/+19
| | | | Signed-off-by: Marko, Peter <peter.marko@siemens.com>
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-111-4/+4
|
* Adds with_projects optional parameter to /groups/:id API endpointTiago Botelho2018-07-091-4/+23
|
* Add id as second sort parameter for group sort by nameMarko, Peter2018-06-181-1/+31
| | | | | | | | Adding primary key to database query order rule generates deterministic sort result and thus pagination. This is needed because subgroups can have identical names. Signed-off-by: Marko, Peter <peter.marko@siemens.com>
* Ensure ordering for group sorting testsMarko, Peter2018-06-151-4/+4
| | | | | | | Instead of manually creating list to compare the test result, use system sort to assure no errors are introduced. Signed-off-by: Marko, Peter <peter.marko@siemens.com>
* Add id group api sorting optionMarko, Peter2018-06-121-4/+15
| | | | | | | With introduction of subgroups, many groups may have the same name and/or path, thus further sorting options are necessary. Signed-off-by: Marko, Peter <peter.marko@siemens.com>
* Move API group deletion to SidekiqStan Hu2018-05-181-3/+6
|
* Backport /api/v4/groups N+1 query check from EEsh-backport-groups-api-optimizationStan Hu2018-02-031-0/+15
|
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-1/+1
|
* Merge branch 'rs-security-group-api' into 'security-10-2'Douwe Maan2017-12-081-0/+62
| | | | | | | | | [10.2] Ensure we expose group projects using GroupProjectsFinder See merge request gitlab/gitlabhq!2234 (cherry picked from commit 072f8f2fd6ec794645375a16ca4ddc1cbeb76d7a) a2240338 Ensure we expose group projects using GroupProjectsFinder
* Optimize API /groups/:id/projects by preloading associationsStan Hu2017-12-011-0/+14
| | | | Closes #40308
* Add /groups/:id/subgroups endpoint to APIWinnie Hellmann2017-11-091-0/+136
|
* Support custom attributes on groupsMarkus Koller2017-11-061-0/+10
|
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-201-60/+60
|
* Fix the groups API endpoint to handle ?owned=true correctlyNick Thomas2017-09-191-0/+3
|
* Make Members with Owner and Master roles always able to create subgroups30473-allow-creation-of-subgroups-with-gitlab_default_can_create_group-set-to-falseRuben Davila2017-09-071-0/+24
|
* Merge branch '37198-api-doesn-t-respect-default-group-visibility' into 'master'Sean McGivern2017-08-301-0/+1
|\ | | | | | | | | | | | | Respect the default visibility level when creating a group via the API Closes #37198 See merge request !13903
| * Respect the default visibility level when creating a groupRobert Schilling2017-08-291-0/+1
| |
* | Add tests for the unmodified headerRobert Schilling2017-08-281-0/+4
|/
* Fix group and project search for anonymous usersNick Thomas2017-08-241-2/+19
|
* Enable the RSpec/HookArgument cop and auto-correct offensesRobert Speicher2017-08-101-1/+1
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-6/+6
|