docbrown/app/controllers
rhymes 87167de8c5 Use correct cache keys on the articles API index endpoint (#5606) [deploy]
Surrogate keys are about setting expectations on cache purging.

Presently we use a combination of all parameters to set changing surrogate keys depending on the result of the `ArticleApiIndexService`. This approach has two limitations:

- if two set of params lead to the same exact set of articles, we still create two different caches

- deleted articles will remain for 24 hours in the cache because the cache key doesn't take the record keys into account

By simply using record keys we make sure that different params leading to the same result set will share the same cache and that deleted keys won't appear anymore in the cache.
2020-01-23 08:40:19 -05:00
..
admin Remove password verification (#5304) 2020-01-10 10:45:18 -05:00
api/v0 Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
concerns Move Classified Listing Cache Buster to Sidekiq (#5408) [deploy] 2020-01-09 17:23:23 -05:00
internal Add rate limits to admin interface (#5642) 2020-01-22 15:29:27 -05:00
notifications Allow users to belong to multiple orgs (#2583) 2019-06-04 09:30:52 -04:00
oauth Change Webhook::DestroyJob to Wehook::DestroyWorker and move to sidekiq (#5424) [deploy] 2020-01-13 12:38:10 -06:00
additional_content_boxes_controller.rb Fix (some) n+1/eager loading issues (#5294) [deploy] 2020-01-08 18:48:24 -05:00
api_secrets_controller.rb Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
application_controller.rb Return ActionController::RoutingError error when Invalid Format is Requested (#5140) [deploy] 2019-12-17 10:00:12 -05:00
application_metal_controller.rb Add ApplicationMetalController to relevant controllers (#4937) 2019-11-26 16:29:07 -05:00
articles_controller.rb Fix long line lints (#5062) 2019-12-26 13:24:24 -05:00
async_info_controller.rb Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
badges_controller.rb Add badges index page. (#4236) 2019-10-06 17:34:52 -04:00
blocks_controller.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
buffer_updates_controller.rb Add page for users to "manage" their posts after publication (distribution, etc.) (#2627) 2019-05-01 09:00:09 -04:00
buffered_articles_controller.rb Select path when loading buffered article urls (#4651) [ci skip] 2019-10-30 10:37:22 -04:00
chat_channel_memberships_controller.rb Added rubocop-rails (#3059) 2019-06-06 09:47:57 -04:00
chat_channels_controller.rb Separate chat channel unopened status from Algolia (#5198) [deploy] 2019-12-21 13:05:16 -05:00
classified_listings_controller.rb Return 404 NotFound error if ClassifiedListing is not found during delete (#5646) 2020-01-22 13:07:44 -05:00
comments_controller.rb Handle liquid tag errors in comments form (#5485) [deploy] 2020-01-14 14:10:05 -05:00
credits_controller.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
dashboards_controller.rb Fix (some) n+1/eager loading issues (#5294) [deploy] 2020-01-08 18:48:24 -05:00
display_ad_events_controller.rb Add ApplicationMetalController to relevant controllers (#4937) 2019-11-26 16:29:07 -05:00
downloads_controller.rb Add android and ios apps download page (#3736) (#3798) 2019-08-22 21:04:58 -04:00
email_subscriptions_controller.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
events_controller.rb Remove Honeycomb from the app (#2366) 2019-04-11 10:49:35 -04:00
feedback_messages_controller.rb Removed bug reports from app (#1565) 2019-01-16 11:28:59 -05:00
follows_controller.rb Store FollowChecker responses to Avoid Multiple db Hits (#4886) [deploy] 2019-11-26 13:03:19 -06:00
ga_events_controller.rb Remove RedisRailsCache and replace with Rails.cache (#5059) [deploy] 2019-12-10 13:11:08 -06:00
github_repos_controller.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
history_controller.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
html_variant_successes_controller.rb Add ApplicationMetalController to relevant controllers (#4937) 2019-11-26 16:29:07 -05:00
html_variant_trials_controller.rb Add ApplicationMetalController to relevant controllers (#4937) 2019-11-26 16:29:07 -05:00
html_variants_controller.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
image_uploads_controller.rb Simplify the images uploading code (#3907) [ci skip] 2019-09-04 08:14:59 -04:00
liquid_embeds_controller.rb Modify headers to allow embed (#3935) 2019-09-03 16:38:04 -04:00
live_articles_controller.rb Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
messages_controller.rb 🚀Feature/ability to edit messages (#5139) [deploy] 2019-12-20 10:19:00 -05:00
moderations_controller.rb Cache data on /mod (#5315) [deploy] 2019-12-31 10:18:55 -05:00
notification_subscriptions_controller.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
notifications_controller.rb No longer hide reactions and follows after 24 hours (#5314) 2020-01-09 11:49:55 -05:00
omniauth_callbacks_controller.rb Use Redis for session storage (#4004) [deploy] 2019-11-12 10:10:34 -06:00
organizations_controller.rb Return not_found error if org is not found (#5179) [deploy] 2019-12-19 10:53:50 -06:00
page_views_controller.rb Only Update page_views When They Are Valid (ie created) (#5195) [deploy] 2019-12-26 11:28:18 -06:00
pages_controller.rb Move from env variables to SiteConfig (#5385) [deploy] 2020-01-07 16:36:24 -05:00
partnerships_controller.rb Sponsorship Updates (#3719) 2019-08-16 14:54:26 -04:00
podcast_episodes_controller.rb Feat: #3498 Display episode's published_at (#4272) 2019-10-08 17:06:46 -04:00
podcasts_controller.rb Creating podcasts by users (#3730) [deploy] 2020-01-08 16:14:25 -05:00
poll_skips_controller.rb Use find_or_create_by to avoid duplicate records (#5092) 2019-12-12 12:01:15 -06:00
poll_votes_controller.rb Fixed rubocop issues, new .rubocop_todo.yml (#3255) 2019-06-21 14:26:39 -04:00
pro_accounts_controller.rb Add basic pro accounts lander test (#3433) 2019-07-09 22:10:50 -04:00
pro_memberships_controller.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
profile_pins_controller.rb CacheBuster refactoring (#4766) 2019-11-13 10:51:23 -05:00
pusher_controller.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
rating_votes_controller.rb Add experience level averaging to articles (#1922) 2019-02-28 08:17:29 -08:00
reactions_controller.rb check if an organization is present when creating a reaction (#5264) [deploy] 2019-12-27 13:12:12 -06:00
reading_list_items_controller.rb Replace current_user.id with session_current_user_id (#4880) [deploy] 2019-11-22 14:27:43 -05:00
registrations_controller.rb Use timezone aware methods (#893) 2018-10-18 16:26:29 -04:00
service_worker_controller.rb Replace serviceworker-rails gem with custome implementation (#4987) [deploy] 2019-12-03 08:50:56 -05:00
shell_controller.rb Add edge caching to shell (#5146) [deploy] 2019-12-16 19:08:59 -05:00
social_previews_controller.rb create social preview for comment that is missing commentable (#5171) [deploy] 2019-12-19 11:14:37 -05:00
stories_controller.rb [deploy] Raise not_found for spam-banished users (#5586) 2020-01-20 14:50:22 -05:00
stripe_active_cards_controller.rb Enable Layout/AlignParameters (#2340) 2019-04-08 18:47:34 -04:00
tag_adjustments_controller.rb Mod tooling: add tags via /mod refactor (#5017) 2019-12-13 13:02:45 -05:00
tags_controller.rb Refactoring possible unprotected redirect. (#3825) 2019-08-27 10:13:38 -04:00
twilio_tokens_controller.rb Added rubocop-rails (#3059) 2019-06-06 09:47:57 -04:00
twitch_live_streams_controller.rb Embed Twitch Live Streaming (#2591) 2019-04-29 18:11:53 -04:00
twitch_stream_updates_controller.rb Replace Airbrake with Honeybadger (#5007) [deploy] 2019-12-05 11:29:51 -06:00
user_blocks_controller.rb Routine rubocop lint fixes (#4638) [ci skip] 2019-10-30 10:46:57 -04:00
users_controller.rb Move Twitch webhook registration from ActiveJob to Sidekiq (#5414) 2020-01-14 11:55:35 -05:00
video_states_controller.rb Return not_found Response If Video's Related Article is Not Found (#5169) [deploy] 2019-12-19 09:41:59 -06:00
videos_controller.rb Refactor VideosController (#3806) [ci skip] 2019-08-26 18:59:31 -04:00