summaryrefslogtreecommitdiff
path: root/lib/api/award_emoji.rb
Commit message (Collapse)AuthorAgeFilesLines
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Allows author to vote on their own issueChantal Rollison2018-08-241-1/+1
|
* API: Use defined project requirementsrs-api-use-project-requirementsRobert Schilling2017-08-311-1/+1
|
* Conditionally destroy a ressourceRobert Schilling2017-08-281-3/+1
|
* API: Respect the 'If-Unmodified-Since' for delete endpointsRobert Schilling2017-08-281-0/+1
|
* 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>
* Add `requirements: { id: %r{[^/]+} }` for all projects and groups namespaced ↵Rémy Coutable2017-03-161-2/+4
| | | | | | API routes Signed-off-by: Rémy Coutable <remy@rymai.me>
* Implement review comments from @dbalexandre28251-mr-and-issue-iids-for-api-v4Timothy Andrew2017-03-071-4/+4
| | | | | | - Typo in docs - Newline between test/expectation in `api/issues_spec` - Use `find_by` instead of `reference_by` in the structure defining awardables
* Migrate the AwardEmoji API to use `merge_request_iid` and `issue_iid`Timothy Andrew2017-03-071-8/+12
| | | | | | | | - Instead of `merge_request_id` and `issue_id` - The API also deals with `snippet_id`, which remains unchanged (since snippets don't have `iid`s - Duplicate the original `AwardEmoji` API (and spec) for use with the V3 API, since this is a breaking change.
* Return 204 for delete endpointsRobert Schilling2017-02-281-1/+0
|
* Enable Style/MultilineArrayBraceLayoutDouwe Maan2017-02-231-2/+3
|
* Fix code for copsDouwe Maan2017-02-231-1/+1
|
* Enable Style/SpaceInsideBracketsDouwe Maan2017-02-231-1/+1
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Paginate all endpoints that return an arrayRobert Schilling2017-02-161-2/+2
|
* Use the pagination helper in the APIuse-pagination-helperRobert Schilling2016-12-041-0/+5
|
* GrapeDSL for Award Emoji endpointszj-grape-award-emojiZ.J. van de Weg2016-10-031-33/+31
|
* Fix tests for Snippets toggling awardsZ.J. van de Weg2016-09-191-14/+9
| | | | Also incorporate feedback
* API support for Award Emoji on SnippetsZ.J. van de Weg2016-09-191-10/+20
|
* Snippets get award emoji! :thumbsup:Z.J. van de Weg2016-09-191-1/+1
|
* prevent authored awardable thumbs votesbarthc2016-08-281-1/+5
| | | | | | prevent authored awardable thumbs votes prevent authored awardable thumbs votes
* Fix not normalized emoji pathsdixpac2016-07-141-2/+2
| | | | | | * There where path where +1 was stored as +1 not as thumbsup that was causing problems such as showing thumbsup icon 2 time. I fixed this to always normalize and store +1 as tumbsup
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-1/+0
|
* Add endpoints for award emoji on notesZ.J. van de Weg2016-06-171-68/+83
| | | | Docs also added.
* Sort API endpoints and implement feedbackZ.J. van de Weg2016-06-171-8/+12
|
* Add endpoints for Award EmojiZ.J. van de Weg2016-06-171-0/+97
This only supports Issues and MergeRequests right now because of the consistency of the routes those models provide.