Commit graph

16 commits

Author SHA1 Message Date
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
gfyoung
265478ad74 Enable frozen string in apps/services/**/*.rb
For directories application_settings --> labels.

Partially addresses #47424.
2018-07-16 12:36:41 -07:00
Bob Van Landuyt
f3f1df1476 Add a cop for FinderMethods
This notifies developers when calling `find(_by!)` chained on
`execute`. And suggests using the methods from `FinderMethods`. These
will perform the correct authorization checks on the resource when it
is found.
2018-06-20 18:13:13 +02:00
Shinya Maeda
f9b821f08d Fix specs for exclusive lease 2018-06-06 17:49:48 +09:00
Tiago Botelho
961255b107 Adds remote mirror table migration 2018-05-07 12:00:13 +02:00
Mario de la Ossa
5c2078838b
Backport of 4084-epics-username-autocomplete 2018-05-04 11:33:09 -06:00
Lin Jen-Shin
07d3d44775 Move ModuleWithInstanceVariables to Gitlab namespace
And use .rubocop.yml to exclude paths we don't care,
rather than using the cop itself to exclude.
2017-11-22 17:06:57 +08:00
Lin Jen-Shin
9ac0c76b78 Use StrongMemoize and enable/disable cops properly 2017-11-18 01:01:53 +08:00
Lin Jen-Shin
9ae92b8caa Add cop to make sure we don't use ivar in a module 2017-09-18 21:23:45 +08:00
Michael Kozono
a4b564b620 Refactor based on code review 2017-09-06 12:07:21 -07:00
Michael Kozono
9fc10b1bf3 Dry up method for code climate 2017-09-06 12:07:20 -07:00
Stan Hu
e94a2fde0d Fire system hooks when a user is created via LDAP or OAuth
Closes #37073
2017-08-25 22:00:07 -07:00
Grzegorz Bizon
0430b76441 Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
Douwe Maan
79889a6aa3
Add specs 2017-04-05 17:44:14 +01:00
Douwe Maan
08bbb9fce6
Add option to start a new discussion on an MR 2017-04-05 17:44:14 +01:00
Bob Van Landuyt
0c6e685f8c Move ResolveDiscussions into concerns/issues folder 2017-03-13 08:27:52 +01:00