docbrown/app/controllers/api/v0
rhymes bcd85452e9 Comments API: fix caching issues (#4744) [deploy]
* Use ancestry in the index and add test

* Add tests for show action

* Return complete comments trees for index, kill n+1 and use correct edge cache key

* Return complete comments tree for show, kill n+1 and use correct edge cache key

* Refactor tests and add surrogate keys tests

* Preload users for the whole subtree

* Clarify explanation of the edge cache keys construction

* Refactor partials

* Remove action caching

* Replace .map.flatten with .flat_map

* Fix surrogate key prefix according to Fastly docs

* Add comment.purge to Comments::BustCacheJob to use Fastly-Rails

* Fix surrogate key spec
2020-01-15 10:45:56 -05:00
..
analytics_controller.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
api_controller.rb Limit access to the API actions when authorized by doorkeeper token (#4170) 2019-10-02 13:17:47 -04:00
articles_controller.rb Return 422 if params are missing when creating an article via the API (#5182) 2019-12-19 19:21:21 -05:00
chat_channels_controller.rb Use ApiController for ChatChannels and return not_found error if channel cant be accessed by user (#5194) [deploy] 2019-12-24 13:12:29 -05:00
classified_listings_controller.rb Limit access to the API actions when authorized by doorkeeper token (#4170) 2019-10-02 13:17:47 -04:00
comments_controller.rb Comments API: fix caching issues (#4744) [deploy] 2020-01-15 10:45:56 -05:00
followers_controller.rb Add pagination to followers and following page in dashboard (#258) (#4375) [deploy] 2019-11-20 18:21:18 -05:00
followings_controller.rb Add pagination to followers and following page in dashboard (#258) (#4375) [deploy] 2019-11-20 18:21:18 -05:00
follows_controller.rb Migrate Users/FollowJob to Sidekiq (#5403) 2020-01-08 15:03:18 -05:00
github_repos_controller.rb Handle unfound github repo in API (#5316) [deploy] 2019-12-31 14:42:45 -05:00
podcast_episodes_controller.rb Introduced published field to podcasts (#3593) 2019-08-01 09:29:13 -04:00
reactions_controller.rb Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
tags_controller.rb Add suggested tags to SiteConfig (#5426) [deploy] 2020-01-10 12:33:37 -05:00
users_controller.rb Return an empty result set instead of 404 in case users are not available. (#5238) 2019-12-24 13:08:10 -05:00
videos_controller.rb Use published scope for articles (#2374) 2019-04-11 13:18:26 -04:00
webhooks_controller.rb Doorkeeper default scope (#4066) 2019-09-24 11:11:12 -07:00