Commit graph

8 commits

Author SHA1 Message Date
Martin Wortschack
5770b6544d Externalize strings detected by rubocop-i18n
- Externalize strings in milestones_helper
- Externalize strings in app/services
- Update PO file
2019-04-15 12:25:48 +00:00
Nick Thomas
f086dbf66e
Add a thin encapsulation around .pluck(:id) 2019-03-28 16:18:23 +00:00
Heinrich Lee Yu
2f76ff19f8 Fix MilestonesFinder to pass relations to scope
Instead of querying relations into ids we just pass them to the model
scope because the scope supports it now.

Also changes other calls to `Milestone.for_projects_and_groups`
2019-01-12 00:05:36 +08:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02: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
fbde835404 Enable more frozen string in app/services/**/*.rb
Partially addresses #47424.
2018-07-17 15:19:40 -07:00
Felipe Artur
3f6e45ed28 Fix promoting milestone updating all issuables without milestone 2017-11-21 11:09:14 -02:00
Felipe Artur
2f8577d45e Allow promoting project milestones to group milestones 2017-10-31 15:03:52 +00:00