summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/toggle_award_emoji.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add service classes for mutating AwardEmojiLuke Duncalfe2019-08-211-17/+2
| | | | | | | | | | | | | | | | | | Adding, destroying and toggling emoji previously lacked services and instead were performed through methods called on Awardable models. This led to inconsistencies where relevant todos would be marked as done only when emoji were awarded through our controllers, but not through the API. Todos could also be marked as done when an emoji was being removed. Behaviour changes - Awarding emoji through the API will now mark a relevant Todo as done - Toggling an emoji off (destroying it) through our controllers will no longer mark a relevant Todo as done Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63372
* Enable frozen string in app/controllers/**/*.rbrepo-forks/gitlab-ce-frozen-string-app-controllergfyoung2018-09-181-0/+2
| | | | | | | | | | | | Enables frozen string for the following: * app/controllers/*.rb * app/controllers/admin/**/*.rb * app/controllers/boards/**/*.rb * app/controllers/ci/**/*.rb * app/controllers/concerns/**/*.rb Partially addresses #47424.
* Allows author to vote on their own issueChantal Rollison2018-08-241-1/+1
|
* Display comments for personal snippets12910-personal-snippets-notes-showJarka Kadlecova2017-05-021-1/+2
|
* Ensure user is authenticated to create a new snippet25026-authenticate-user-for-new-snippetRémy Coutable2016-11-281-4/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Start Frontend work, fix routing problemZ.J. van de Weg2016-09-191-1/+1
|
* Snippets get award emoji! :thumbsup:Z.J. van de Weg2016-09-191-2/+6
|
* prevent authored awardable thumbs votesbarthc2016-08-301-5/+7
|
* prevent authored awardable thumbs votesbarthc2016-08-281-0/+2
| | | | | | prevent authored awardable thumbs votes prevent authored awardable thumbs votes
* Backend awardables on commentsZJ van de Weg2016-06-061-1/+10
|
* Fix latests concernsZJ van de Weg2016-05-181-0/+2
|
* Create table for award emojiZeger-Jan van de Weg2016-05-061-0/+20