Commit graph

5 commits

Author SHA1 Message Date
charlieablett
426f1c20b1 Remove N+1 query for project and group boards
- Add test for N+1 queries
- Add destroyable lists scope to Board and List
- Preload lists for both project and group boards
2019-06-26 11:47:18 +12:00
gfyoung
3836d69119 Enable frozen string in lib/api and lib/backup
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
2018-09-29 21:04:50 -07: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
Oswaldo Ferreira
ddb14e4098 Backport issue board milestone lists EE changes 2018-08-07 17:29:06 +00:00
Felipe Artur
5e148d4e93 EE-BACKPORT group boards 2018-01-04 17:28:10 -02:00