Commit graph

22 commits

Author SHA1 Message Date
Fatih Acet
fbb4f15d1b Sort issues and merge requests in ascending and descending order 2018-12-06 16:57:19 +00:00
Heinrich Lee Yu
8df7e6021b Fix tests 2018-11-01 07:45:36 +08:00
Heinrich Lee Yu
f5f26f0bf7 Add None / Any options to reaction filter in issues / MRs API 2018-11-01 07:45:36 +08:00
Jacopo
c6bddeacf4 Updates code using class_methods over module ClassMethods 2018-08-29 16:56:34 +02:00
Chantal Rollison
009c4f7fb8 Allows author to vote on their own issue 2018-08-24 10:13:41 +00:00
Yorick Peterse
9606dbbb03
Whitelist existing destroy_all offenses
This whitelists all existing places where we use "destroy_all".
2018-08-16 17:29:37 +02:00
gfyoung
15b878e27e Enable more frozen string in app/models/**/*.rb
Partially addresses #47424.
2018-08-07 00:37:36 -07:00
Bob Van Landuyt
04c7d0d555 Prevent awarding emoji when a project is archived
This prevents performing the requests, and disables all emoji reaction buttons
2018-04-11 10:51:43 +02:00
Jacopo
181cd299f9 Adds Rubocop rule for line break after guard clause
Adds a rubocop rule (with autocorrect) to ensure line break after guard clauses.
2017-11-16 17:58:29 +01:00
Hiroyuki Sato
7187395ef1 Add filter by my reaction 2017-08-30 07:48:55 +00:00
Yorick Peterse
8fbbf41e29
Added Cop to blacklist the use of dependent:
This is allowed for existing instances so we don't end up 76 offenses
right away, but for new code one should _only_ use this if they _have_
to remove non database data. Even then it's usually better to do this in
a service class as this gives you more control over how to remove the
data (e.g. in bulk).
2017-07-06 12:01:36 +02:00
Eric Eastwood
96cbad2337 Fix up @DouweM review 2017-03-06 15:19:33 -06:00
Z.J. van de Weg
412ff80b7b Start Frontend work, fix routing problem 2016-09-19 19:50:40 +03:00
Robert Speicher
e74f1d9938 Merge branch '20601-emoji-tooltip-in-chronological-order' into 'master'
Order award tooltips by their created_at date

## What are the relevant issue numbers?

Closes #20601

See merge request !6086
2016-09-01 14:10:46 +00:00
Andrew Smith
e71df3cdd2
Order award tooltips by their created_at date 2016-09-01 08:40:10 +10:00
barthc
29f818e616 prevent authored awardable thumbs votes 2016-08-30 20:57:47 +01:00
barthc
7687237237 prevent authored awardable thumbs votes
prevent authored awardable thumbs votes

prevent authored awardable thumbs votes
2016-08-28 18:15:55 +01:00
dixpac
e21492b810 Fix not normalized emoji paths
* 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
2016-07-14 08:51:00 +02:00
Paco Guzman
66ec925557 Preload notes/discussions associations (award_emoji: :user) 2016-06-23 21:04:37 +02:00
Paco Guzman
52a2b8a410 Include user relationship when retrieving award_emoji
Avoiding N+1 when showing grouped awards and when 
calculating participants for awardable entities
2016-06-15 06:50:12 +02:00
Zeger-Jan van de Weg
4558b5b9fe Incorporate feedback 2016-05-11 22:43:58 +02:00
Zeger-Jan van de Weg
3bdc57f0a7 Create table for award emoji 2016-05-06 10:47:11 +02:00