Commit Graph

13 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 dce26700b2 Enable frozen string in app/serializers/**/*.rb
Partially addresses #47424.
2018-07-23 11:27:39 -07:00
Bob Van Landuyt ca538899b6 Add a `WithPagination` concern to reuse across serializers 2017-10-04 22:46:49 +02:00
Kamil Trzciński 4efd18d7e1 Merge branch '29943-environment-folder' into 'security-9-5'
Do not use `location.pathname` when accessing environments folders

See merge request !2147
2017-09-07 20:22:16 -04:00
Grzegorz Bizon d0d94e4f10 Fix pagination headers in grouped environments API 2017-02-10 09:36:52 +01:00
Grzegorz Bizon 8753635c44 Use `#present?` instead of `defined?` in serializers 2017-02-07 13:13:33 +01:00
Grzegorz Bizon e4cb073bc0 Simplify implementation of environments serializer 2017-02-07 13:11:15 +01:00
Grzegorz Bizon 81eb5c7fd7 Move serializers pagination class to separate module
This helps to avoid conflicts with `Paginator` class that seems to be
used by some bundled libs.
2017-02-06 14:47:56 +01:00
Grzegorz Bizon 16a72896a2 Extend environments folders and pagination API specs 2017-02-03 12:03:57 +01:00
Grzegorz Bizon 888fba1e05 Order environments twice in environments serializer 2017-02-03 11:30:22 +01:00
Grzegorz Bizon 030adf12ce Encapsulate reused pagination component in a class 2017-02-02 14:37:11 +01:00
Grzegorz Bizon ac06070147 Use serializer to group environments into folders 2017-02-02 13:10:31 +01:00
Grzegorz Bizon acfe394018 Add PoC for resource serializers 2016-11-02 14:26:57 +01:00