Commit Graph

75 Commits

Author SHA1 Message Date
GitLab Bot 489fbfc738 Add latest changes from gitlab-org/gitlab@master 2024-02-13 09:10:00 +00:00
GitLab Bot 12a224d5db Add latest changes from gitlab-org/gitlab@master 2023-08-15 15:10:07 +00:00
GitLab Bot 5fe2d74e00 Add latest changes from gitlab-org/gitlab@master 2022-12-09 09:08:55 +00:00
GitLab Bot 16776d7f4f Add latest changes from gitlab-org/gitlab@master 2022-10-31 21:11:07 +00:00
GitLab Bot 9877050db1 Add latest changes from gitlab-org/gitlab@master 2022-06-30 21:09:49 +00:00
GitLab Bot 475d5a7a17 Add latest changes from gitlab-org/gitlab@master 2022-03-03 00:20:18 +00:00
GitLab Bot 6dd9e3644e Add latest changes from gitlab-org/gitlab@master 2021-12-07 12:10:33 +00:00
GitLab Bot d69a7028a5 Add latest changes from gitlab-org/gitlab@master 2021-07-12 06:09:55 +00:00
GitLab Bot f304336f5e Add latest changes from gitlab-org/gitlab@master 2021-05-19 12:10:33 +00:00
GitLab Bot 346c2ebb5a Add latest changes from gitlab-org/gitlab@master 2021-05-18 15:10:46 +00:00
GitLab Bot 6d18e2830d Add latest changes from gitlab-org/gitlab@master 2021-04-05 18:09:15 +00:00
GitLab Bot 6e495b4e91 Add latest changes from gitlab-org/gitlab@master 2021-02-01 09:09:28 +00:00
GitLab Bot db3acec198 Add latest changes from gitlab-org/gitlab@master 2021-01-04 18:10:11 +00:00
GitLab Bot 7e1e5ca371 Add latest changes from gitlab-org/gitlab@master 2020-10-23 18:08:31 +00:00
GitLab Bot fa7ac2663b Add latest changes from gitlab-org/gitlab@master 2020-06-24 06:09:01 +00:00
GitLab Bot c4844aea3f Add latest changes from gitlab-org/gitlab@master 2020-06-03 00:08:38 +00:00
GitLab Bot 1219a9dce9 Add latest changes from gitlab-org/gitlab@master 2020-04-01 15:07:45 +00:00
GitLab Bot abae8f34f3 Add latest changes from gitlab-org/gitlab@master 2020-03-31 21:08:05 +00:00
GitLab Bot f7dae0cdcb Add latest changes from gitlab-org/gitlab@master 2020-02-25 12:08:48 +00:00
GitLab Bot abfafe3c57 Add latest changes from gitlab-org/gitlab@master 2019-10-29 00:06:10 +00:00
GitLab Bot 8320f7956d Add latest changes from gitlab-org/gitlab@master 2019-09-27 15:06:16 +00:00
GitLab Bot e66d6781ef Add latest changes from gitlab-org/gitlab@master 2019-09-26 18:06:29 +00:00
Robert Schilling 1819dbd4d1 Incorporate review feedback 2019-08-26 15:02:12 +02:00
Robert Schilling 0ec6134ff9 Make tests pass 2019-08-26 12:49:03 +02:00
Robert Schilling efafc98bd8 Move promote to put and add more specs 2019-08-26 10:45:37 +02:00
Robert Schilling 41412f7360 Add docs and first specs 2019-08-26 10:45:37 +02:00
Patrick Derichs f1e24d4d31 Add label_id parameter to label API for PUT and DELETE
Add specs for new parameter and updated documentation as well.
2019-08-23 17:45:42 +00:00
Sean McGivern e6dc5168b8 Remove label issue and MR counts from default API responses
These counts significantly increase the load time for these
requests. Users can now opt in to receiving the counts by setting
`with_counts=true` in requests. This is a breaking change, but hopefully
a fairly minor one.
2019-08-08 17:10:41 +01:00
Rémy Coutable ed7144ad58 Merge branch '56694-mark-group-level-labels-in-label-api-as-such' into 'master'
Mark group-level labels in Label API as such.

Closes #56694

See merge request gitlab-org/gitlab-ce!25219
2019-02-14 10:48:12 +00:00
Robert Schilling cc8b8ec08f Add docs and specs 2019-02-13 22:16:40 +01:00
Robert Schilling 2a5ca841c4 API: Expose text_color for project and group labels 2019-02-12 19:36:45 +01:00
blackst0ne b44a2c801a Update specs to rails5 format
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 }`
2018-12-19 10:04:31 +11:00
Robert Schilling 3b560d04a5 POST should be PUT in the API labels specs 2018-08-24 11:40:47 +02:00
Mark Chao a63bce1a4b Resolve "Rename the `Master` role to `Maintainer`" Backend 2018-07-11 14:36:08 +00:00
blackst0ne 27c95364b5 Replace '.team << [user, role]' with 'add_role(user)' in specs 2017-12-22 19:18:28 +11:00
Jacopo 2f40dac352 Refactor `have_http_status` into `have_gitlab_http_status` in the specs 2017-10-20 10:13:18 +02:00
Robert Schilling 915dd57fe2 Add tests for the unmodified header 2017-08-28 17:10:34 +02:00
Robert Speicher 72a7b30c9f Change all `:empty_project` to `:project` 2017-08-02 17:47:31 -04:00
Robert Speicher a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Jacopo ff76adb547 Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Robert Schilling 86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Douwe Maan e2bbbb1a9a Fix new offenses 2017-02-23 09:32:42 -06:00
Douwe Maan 7d4b52b27d Enable Style/WordArray 2017-02-23 09:32:41 -06:00
Robert Schilling 55f2425a67 API: Make subscription API more RESTfuL 2017-02-21 17:44:44 +01:00
Robert Schilling c70dfbc686 Add a custom pagination matcher 2017-02-16 15:38:40 +01:00
Rémy Coutable 9c560b5cdf
Replace many :project with :empty_projects in API specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-17 11:41:27 -05:00
Livier eb4f15571d Changed API spec files to describe the correct class
Restore changes for api spec files

Fix error in rspec Users

Delete extra space Repositories-spec
2016-11-28 10:55:27 -07:00
Douglas Barbosa Alexandre 0c052f116c Remove default value for `project` argument on subscribable concern 2016-11-17 15:10:13 -02:00
Francesco Coda Zabetta 8966c6e33d add tests 2016-11-15 11:45:57 +01:00
Francesco Coda Zabetta a58e2f4762 use Enumerable#find insted of select + first 2016-11-15 09:50:39 +01:00