summaryrefslogtreecommitdiff
path: root/lib/api/milestones.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fixes milestone/merge_request API endpoint to really scope the resultsJoren De Groof2017-04-031-1/+1
| | | | | The MergeRequestsFinder uses the milestone_title instead of the milestone_id
* 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>
* Order milestone issues by position ascending in apiGeorge Andrinopoulos2017-03-091-2/+4
|
* Remove "subscribed" field from API responses returning list of issues or ↵api-drop-subscribedAdam Niedzielski2017-03-061-4/+7
| | | | merge requests
* Use iids as filter parameterJarka Kadlecova2017-03-021-2/+2
|
* Enable filtering milestones by search criteria in the APIMark Fletcher2017-03-021-0/+2
| | | | - Also remove a redundant test
* Add API endpoint to get all milestone merge requestsJoren De Groof2017-02-171-0/+22
|
* Use the pagination helper in the APIuse-pagination-helperRobert Schilling2016-12-041-1/+4
|
* Add a starting date to milestonesmilestone_start_dateValery Sizov2016-11-231-1/+2
|
* Fix IID filter for merge requests and milestonesRobert Schilling2016-11-221-1/+1
|
* Remove default value for `project` argument on subscribable concernDouglas Barbosa Alexandre2016-11-171-1/+1
|
* Use #to_h to convert params to a hashgrapify-to-hRobert Schilling2016-11-141-4/+3
|
* Grapify milestones APIgrapify-milestone-apiRobert Schilling2016-11-101-54/+57
|
* Small improvements thanks to Robert's feedbackRémy Coutable2016-09-301-2/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Filter confidential issues from milestones API if user does not have accessStan Hu2016-04-251-1/+9
| | | | Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/15579
* API: Add iid filter to milestonesRobert Schilling2016-04-121-0/+2
|
* API: Expose subscribed? on issuesRobert Schilling2016-04-081-1/+1
|
* Improve coding and doc styleRobert Schilling2016-04-061-1/+1
|
* API: Ability to filter milestones by stateRobert Schilling2016-04-061-2/+18
|
* Fix the test and add documentation for the "per-milestone issues API call"Hannes Rosenögger2015-01-221-1/+1
|
* Add per-milestone issues API callJustin Whear2015-01-221-0/+15
|
* Add a message when unable to save an object through api.Marin Jankovski2015-01-071-2/+2
|
* Forward the messages in api response.Marin Jankovski2014-12-301-2/+2
|
* Replace milestone observer with servicesDmitriy Zaporozhets2014-06-101-19/+16
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fixing unsafe use of Thread.current variable :current_userAngus MacArthur2013-10-161-15/+19
|
* Fix milestone api docs: invalid param for closeDmitriy Zaporozhets2013-06-061-1/+1
|
* Refactor API classes. So api classes like Gitlab::Issues become API::IssuesDmitriy Zaporozhets2013-05-141-1/+1
|
* API: extracted helper method to validate required parameters, code clean upSebastian Ziebell2013-02-271-2/+1
| | | | | | Added a helper method to check if required parameters are given in an API call. Can be used to return a `400 Bad Request` return code if a required attribute is missing. Code clean up and fixed tests.
* API documentation update for milestonesSebastian Ziebell2013-02-201-16/+2
| | | | Updated the milestones API documentation and added return codes descriptions.
* Merge branch 'master' into fixes/apiSebastian Ziebell2013-02-201-2/+2
|\ | | | | | | | | Conflicts: spec/requests/api/projects_spec.rb
| * Milestone uses StateMachine nowAndrew8xx82013-02-181-2/+2
| |
* | API: extracted helper method to provide 400 bad request error with descriptionSebastian Ziebell2013-02-131-1/+1
| | | | | | | | | | | | Extracted a method for 400 error (Bad request) and adjusted code accordingly. The name of the missing attribute is used to show which one was missing from the request. It is used to give an appropriate message in the json response.
* | Status code 400 returned if title not given in a milestone (via API)Sebastian Ziebell2013-02-061-0/+16
|/ | | | | | If a milestone is created via API but no title given then status code 400 (Bad request) is returned instead of 404. A small helper method handles the errors collection of a milestone.
* Remove all references tp the project code parameter from the APIRiyad Preukschas2012-12-211-4/+4
|
* APi for commits. Better api docsDmitriy Zaporozhets2012-09-211-0/+6
|
* Method name changedAlex Denisov2012-09-161-2/+2
|
* API attributes refactoredAlex Denisov2012-09-161-14/+4
|
* Error throwing moved to api_helperAlex Denisov2012-09-101-2/+2
|
* Auth for APIrandx2012-09-101-0/+2
|
* add pagination to APINihad Abbasov2012-09-031-1/+1
|
* Add milestone API docs to doc/README and views/help/apiRobert Speicher2012-08-291-3/+2
| | | | Also removes `closed` attribute option from create action.
* Remove DELETE API for MilestonesRobert Speicher2012-08-221-12/+0
|
* Add API for MilestonesRobert Speicher2012-08-161-0/+93