GitLab Bot
e6fa9529b4
Add latest changes from gitlab-org/gitlab@master
2022-11-03 15:11:31 +00:00
GitLab Bot
1c8734ca5c
Add latest changes from gitlab-org/gitlab@master
2022-08-12 15:11:42 +00:00
GitLab Bot
7eca3f5662
Add latest changes from gitlab-org/gitlab@master
2022-05-13 15:07:43 +00:00
GitLab Bot
f50cb4f63f
Add latest changes from gitlab-org/gitlab@master
2021-10-27 15:13:41 +00:00
GitLab Bot
6e495b4e91
Add latest changes from gitlab-org/gitlab@master
2021-02-01 09:09:28 +00:00
GitLab Bot
f276d29487
Add latest changes from gitlab-org/gitlab@master
2020-12-07 15:09:49 +00:00
GitLab Bot
ce27ba9f6c
Add latest changes from gitlab-org/gitlab@master
2020-10-29 18:09:11 +00:00
GitLab Bot
7e1e5ca371
Add latest changes from gitlab-org/gitlab@master
2020-10-23 18:08:31 +00:00
GitLab Bot
6a0085290e
Add latest changes from gitlab-org/gitlab@master
2020-10-15 00:08:42 +00:00
GitLab Bot
777f6da99a
Add latest changes from gitlab-org/gitlab@master
2020-06-29 21:09:07 +00:00
GitLab Bot
2e4d8b3449
Add latest changes from gitlab-org/gitlab@master
2020-04-28 03:09:53 +00:00
GitLab Bot
f569792df8
Add latest changes from gitlab-org/gitlab@master
2020-04-27 18:09:41 +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
e2a7dd3f0a
Update docs targeting 12.3
2019-08-26 12:48:55 +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
Robert Schilling
2e83665ed3
API: Promote project labels to group labels
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
Robert Schilling
ad25e14844
Simplify label helper and correct version
2019-01-31 13:49:52 +01:00
Robert Schilling
0ce33f6b4f
Factor out common label API
2019-01-31 13:49:52 +01:00
Robert Schilling
27a19c515a
Factor out group labels entity
2019-01-31 13:49:51 +01:00
Rémy Coutable
3a2abc1d50
Enable the Layout/ExtraSpacing cop
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-01-24 13:05:45 +01:00
Imre Farkas
b1e070bf49
Fix API::Namespaces to accept namepaces with dots
...
It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to
API::NAMESPACE_OR_PROJECT_REQUIREMENTS
2018-11-28 12:54:11 +01:00
gfyoung
3836d69119
Enable frozen string in lib/api and lib/backup
...
Partially addresses #47424 .
Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:
https://github.com/rspec/rspec-mocks/issues/1190
2018-09-29 21:04:50 -07:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Felipe Artur
5e148d4e93
EE-BACKPORT group boards
2018-01-04 17:28:10 -02:00
Robert Schilling
6a2ee0968e
API: Use defined project requirements
2017-08-31 14:57:47 +02:00
Robert Schilling
e80313f9ee
Conditionally destroy a ressource
2017-08-28 16:40:25 +02:00
Robert Schilling
998afa5f74
API: Respect the 'If-Unmodified-Since' for delete endpoints
2017-08-28 16:40:25 +02:00
Dmitriy Zaporozhets
6b8ad689da
Update grape gem
...
New version of the gem returns 200 status code on delete with content
instead of 204 so we explicitly set status code to keep existing
behavior
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-07-20 16:33:18 +03:00
Dongqing Hu
6dd7695444
Labels support color names in backend
2017-03-29 11:45:15 +00:00
Rémy Coutable
63360adeae
Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced API routes
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-03-16 18:00:24 +01:00
Robert Schilling
86c58687b2
Return 204 for delete endpoints
2017-02-28 08:32:38 +01:00
Robert Schilling
01ea65e0e9
Paginate all endpoints that return an array
2017-02-16 15:32:01 +01:00
Robert Schilling
76bd09326f
Use declared_params helper in API
2016-11-14 15:22:06 +01:00
Robert Schilling
76c237460a
Ability to update labels priority via API
2016-11-07 09:26:57 +01:00
Rémy Coutable
d38dd3c4ca
Merge remote-tracking branch 'origin/labels-api'
...
See merge request !7014
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-11-04 16:43:28 +01:00
Robert Schilling
21666dbe11
Grapify the labels API
2016-10-24 16:52:34 +02:00
Douwe Maan
64e2d884d6
Return conflict error in label API when title is taken by group label
2016-10-20 12:15:29 +02:00
Douglas Barbosa Alexandre
9b28823854
List all available labels to the project on the labels API
2016-10-19 14:58:26 -02:00
Ahmad Sherif
0c22698bd4
Add API endpoints for un/subscribing from/to a label
...
Closes #15638
2016-05-12 22:48:09 +02:00
Mariusz Jachimowicz
c8be7f1cf0
api - expose label description
2016-03-24 18:44:52 +00:00
jubianchi
998cd3cb63
Improve error reporting on users API
...
* users (#6878 , #3526 , #4209 ): Validation error messages are now exposed through 400 responses, 409 response are sent in case of duplicate email or username
* MRs (#5335 ): 409 responses are sent in case of duplicate merge request (source/target branches), 422 responses are sent when submiting MR fo/from unrelated forks
* issues
* labels
* projects
2014-09-16 01:25:24 +02:00
Jacob Vosmaer
6dc24e3bcf
Merge pull request #7527 from Razer6/api_labels_return_code
...
API: Fix labels return code
2014-08-18 17:16:32 +02:00
Robert Schilling
4ca3f64719
Fix labels return code
2014-08-18 00:25:49 +02:00
Dmitriy Zaporozhets
6063a1e6c1
Add labels api authorization. Update permission doc
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-08-15 11:59:19 +03:00
Robert Schilling
cf3ba0209d
Update labels via API
2014-08-13 12:29:03 +02:00
Robert Schilling
9284038dbe
Add, delete labels via API
2014-08-13 12:28:19 +02:00