summaryrefslogtreecommitdiff
path: root/lib/api/labels.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update docs targeting 12.3Robert Schilling2019-08-261-1/+1
|
* Move promote to put and add more specsRobert Schilling2019-08-261-1/+1
|
* Add docs and first specsRobert Schilling2019-08-261-3/+3
|
* API: Promote project labels to group labelsRobert Schilling2019-08-261-0/+25
|
* Add label_id parameter to label API for PUT and DELETEPatrick Derichs2019-08-231-2/+6
| | | | Add specs for new parameter and updated documentation as well.
* Remove label issue and MR counts from default API responsesspeed-up-labels-apiSean McGivern2019-08-081-0/+2
| | | | | | | 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.
* Simplify label helper and correct versionRobert Schilling2019-01-311-1/+1
|
* Factor out common label APIRobert Schilling2019-01-311-58/+14
|
* Factor out group labels entityRobert Schilling2019-01-311-11/+8
|
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix API::Namespaces to accept namepaces with dotsif-52811-fix_namespaces_api_routingImre Farkas2018-11-281-1/+1
| | | | | It also renames the API::PROJECT_ENDPOINT_REQUIREMENTS constant to API::NAMESPACE_OR_PROJECT_REQUIREMENTS
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | 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
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+6
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* EE-BACKPORT group boardsFelipe Artur2018-01-041-2/+2
|
* API: Use defined project requirementsrs-api-use-project-requirementsRobert Schilling2017-08-311-1/+1
|
* Conditionally destroy a ressourceRobert Schilling2017-08-281-4/+1
|
* API: Respect the 'If-Unmodified-Since' for delete endpointsRobert Schilling2017-08-281-0/+2
|
* Update grape gemdz-update-grapeDmitriy Zaporozhets2017-07-201-0/+1
| | | | | | | | 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>
* Labels support color names in backendDongqing Hu2017-03-291-4/+5
|
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-1/+1
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Return 204 for delete endpointsRobert Schilling2017-02-281-2/+2
|
* Paginate all endpoints that return an arrayRobert Schilling2017-02-161-2/+6
|
* Use declared_params helper in APIgrapify-declared-paramsRobert Schilling2016-11-141-8/+3
|
* Ability to update labels priority via APIRobert Schilling2016-11-071-13/+28
|
* Merge remote-tracking branch 'origin/labels-api'Rémy Coutable2016-11-041-3/+3
|\ | | | | | | | | | | See merge request !7014 Signed-off-by: Rémy Coutable <remy@rymai.me>
| * Return conflict error in label API when title is taken by group labellabels-apiDouwe Maan2016-10-201-3/+3
| |
* | Grapify the labels APIgrapify-labels-apiRobert Schilling2016-10-241-53/+38
|/
* List all available labels to the project on the labels APIDouglas Barbosa Alexandre2016-10-191-1/+1
|
* Add API endpoints for un/subscribing from/to a labelAhmad Sherif2016-05-121-3/+3
| | | | Closes #15638
* api - expose label descriptionMariusz Jachimowicz2016-03-241-11/+13
|
* Improve error reporting on users APIjubianchi2014-09-161-18/+13
| | | | | | | | * 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
* Merge pull request #7527 from Razer6/api_labels_return_codeJacob Vosmaer2014-08-181-2/+2
|\ | | | | API: Fix labels return code
| * Fix labels return codeRobert Schilling2014-08-181-2/+2
| |
* | Add labels api authorization. Update permission docDmitriy Zaporozhets2014-08-151-0/+3
|/ | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Update labels via APIRobert Schilling2014-08-131-0/+35
|
* Add, delete labels via APIRobert Schilling2014-08-131-0/+65