Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-29 | support ordering of project notes in notes api | haseeb | |
2017-11-21 | add `#with_metadata` scope to remove a N+1 from the notes' API | micael.bergeron | |
2017-09-14 | Create system notes for MR too, improve doc + clean up code | Jarka Kadlecova | |
2017-09-14 | Support discussion lock in the API | Jarka Kadlecova | |
2017-08-31 | API: Use defined project requirements | Robert Schilling | |
2017-08-28 | Conditionally destroy a ressource | Robert Schilling | |
2017-08-28 | API: Respect the 'If-Unmodified-Since' for delete endpoints | Robert Schilling | |
2017-08-08 | Re-enable SqlInjection and CommandInjection | Brian Neel | |
2017-07-20 | Update grape gem | Dmitriy Zaporozhets | |
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-06-21 | Enable Style/DotPosition Rubocop :cop: | Grzegorz Bizon | |
2017-04-09 | Remove the User#is_admin? method | blackst0ne | |
2017-03-27 | API: Make the /notes endpoint work with noteable iid instead of id | Toon Claes | |
In API V4 all endpoints were changed so Merge Requests and Issues should be referred by iid, instead of id. Except the /notes endpoint was forgotten. So change the endpoints from: - /projects/:id/issues/:issue_id/notes - /projects/:id/merge_requests/:merge_request_id/notes To: - /projects/:id/issues/:issue_iid/notes - /projects/:id/merge_requests/:merge_request_iid/notes For Project Snippets nothing changes. | |||
2017-03-16 | Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵ | Rémy Coutable | |
API routes Signed-off-by: Rémy Coutable <remy@rymai.me> | |||
2017-02-28 | Return 204 for delete endpoints | Robert Schilling | |
2017-02-23 | Revert "Prefer leading style for Style/DotPosition" | Douwe Maan | |
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b. | |||
2017-02-23 | Prefer leading style for Style/DotPosition | Douwe Maan | |
2017-02-23 | Enable Style/ColonMethodCall | Douwe Maan | |
2017-02-23 | Enable Style/MutableConstant | Douwe Maan | |
2017-02-08 | Fix inconsistent naming for services that delete things | dixpac | |
* Changed name of delete_user_service and worker to destroy * Move and change delete_group_service to Groups::DestroyService * Rename Notes::DeleteService to Notes::DestroyService | |||
2017-01-23 | Merge branch 'fix-guest-access-posting-to-notes' into 'security' | Robert Speicher | |
Prevent users from creating notes on resources they can't access See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2054 | |||
2016-12-28 | Parameter already enforced via grape | Robert Schilling | |
2016-12-04 | Use the pagination helper in the API | Robert Schilling | |
2016-11-15 | Grapify the notes API | Robert Schilling | |
2016-09-16 | Fix API notes endpoint when posting only emoji | Z.J. van de Weg | |
2016-06-17 | Sort API endpoints and implement feedback | Z.J. van de Weg | |
2016-05-18 | Move note helper method to notes entity file | Felipe Artur | |
2016-05-16 | Fix single note api request | Felipe Artur | |
2016-05-10 | Fix notes API calls symbol convertions | Felipe Artur | |
2016-05-10 | Fix api leaking notes when user is not authorized to read noteable | Felipe Artur | |
2016-04-13 | Allow back dating notes on creation | Michael Greene | |
2016-04-12 | Adapt tests to new testing guidelines | Robert Schilling | |
2016-04-12 | Fix code review issues | Robert Schilling | |
2016-04-12 | Delete notes via API | Robert Schilling | |
2016-01-13 | Ensure the API doesn't return notes that the current user shouldn't see | Rémy Coutable | |
2015-07-30 | Show who last edited a comment if it wasn't the original author | Douwe Maan | |
2015-01-07 | Add a message when unable to save an object through api. | Marin Jankovski | |
2014-12-30 | Forward the messages in api response. | Marin Jankovski | |
2014-12-25 | Implemented notes (body) patching in API. | uran | |
2014-06-18 | Fix notes creation via API | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2014-06-13 | Wipe wall notes feature | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2014-06-10 | Remove thread vars usage from API notes and mr's | Dmitriy Zaporozhets | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | |||
2013-10-16 | Fixing unsafe use of Thread.current variable :current_user | Angus MacArthur | |
2013-05-14 | Refactor API classes. So api classes like Gitlab::Issues become API::Issues | Dmitriy Zaporozhets | |
2013-03-19 | load notes for wall via api | Dmitriy Zaporozhets | |
2013-02-27 | API: fixed adding a note | Sebastian Ziebell | |
Now the correct attribute is checked if it's available or not. Also fixed a test. | |||
2013-02-27 | API: extracted helper method to validate required parameters, code clean up | Sebastian Ziebell | |
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. | |||
2013-02-21 | API: fixes return codes for notes, documentation updated | Sebastian Ziebell | |
The notes API documentation updated with return codes. API now returns `400 Bad Request` if required attributes are not present. Return codes are documented now, also tested in added tests. The documentation now reflects the current state of the API. | |||
2013-02-13 | API: extracted helper method to provide 400 bad request error with description | Sebastian Ziebell | |
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. | |||
2013-02-08 | Merge branch 'master' into fixes/api | Sebastian Ziebell | |
2013-02-06 | Status code 400 is returned if body is missing on note creation. | Sebastian Ziebell | |
If a note is created with a POST request via API (`/projects/:id/notes`) status code 400 is returned instead of 404. The resource itself exists but the request is incomplete. Specs added to check different status codes when accessing, creating and updating notes. |