docbrown/app
Jamie Gaskins 9533c77d7f
User#followed_articles->Article.cached_tagged_with (#13174)
* User#followed_articles->Article.cached_tagged_with

This should improve performance on StoriesController#index

* Make cached_* work like their tagged_with cousins

* Swap to `cached_tagged_with_any`

This was using `tagged_with(tags, any: true)` before so this commit
swaps to using a scope that aligns with that method.

* Allow for searching by Tag models

* do the thing

* abracadabra run the build

* Add comment explaining Postgres regex anchors
2021-04-01 16:20:29 -04:00
..
assets Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
black_box Small adjustment to blackbox.rb (#10961) 2020-10-20 21:14:56 -04:00
controllers Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
decorators Make definition of new user configurable (#12999) 2021-03-23 14:13:06 +07:00
errors Prevent suspended users from self-deleting and returning (#12503) 2021-02-11 09:28:59 +07:00
helpers Part 2: Shows Relevant Posts in Homepage Sidebar (#12942) [deploy] 2021-03-25 08:03:55 -06:00
javascript Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
lib Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
liquid_tags improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
mailers Email confirmation to abuse reports (#12557) 2021-02-03 22:59:50 +03:00
middlewares Move TimeZoneSetter middleware in proper place (#11336) 2020-11-09 17:11:10 +01:00
models User#followed_articles->Article.cached_tagged_with (#13174) 2021-04-01 16:20:29 -04:00
policies Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
queries Part 2: Shows Relevant Posts in Homepage Sidebar (#12942) [deploy] 2021-03-25 08:03:55 -06:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Video max width (#12436) 2021-01-26 15:12:37 +01:00
serializers Remove pro role + expose analytics to all users via dashboard (#13156) 2021-03-30 15:02:18 -07:00
services Add endpoint for articles sorted by published date (#13137) 2021-04-01 13:36:36 -05:00
uploaders Bump carrierwave from 2.1.1 to 2.2.0 (#12802) 2021-02-25 10:53:25 +01:00
validators Add validations to SiteConfig model (#12341) 2021-01-26 09:12:24 +07:00
view_objects Move GeneratedImage to Images::GenerateSocialmage (#11691) 2020-12-02 11:03:14 +07:00
views Add flag link to profile dropdown view (#12862) 2021-04-01 09:26:43 +00:00
workers reenable article rescoring when moderators flag users (#12983) 2021-03-16 14:04:13 -05:00