docbrown/spec/requests
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 Fix rubocop Rails.root.path complaints (#5114) 2019-12-16 12:13:15 -05:00
api/v0 Use correct cache keys on the articles API index endpoint (#5606) [deploy] 2020-01-23 08:40:19 -05:00
articles Replace Notifications::NotifiableActionJob with Notifications::NotifiableActionWorker for Sidekiq (#5588) [deploy] 2020-01-22 09:40:55 -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
podcasts Creating podcasts by users (#3730) [deploy] 2020-01-08 16:14:25 -05:00
shared_examples Hide comment feature (#4944) 2019-12-10 15:09:47 -05:00
user Introduce BanishedUser table (#5589) [deploy] 2020-01-21 17:15:58 -05:00
additional_content_boxes_spec.rb Fix (some) n+1/eager loading issues (#5294) [deploy] 2020-01-08 18:48:24 -05:00
api_secrets_create_spec.rb Use Redis for session storage (#4004) [deploy] 2019-11-12 10:10:34 -06:00
api_secrets_destroy_spec.rb Fix access token revoking (#3131) 2019-06-11 15:53:58 -04:00
async_info_spec.rb Migrate to streaming app shell via serviceworkers (#5020) [deploy] 2019-12-16 12:21:33 -05:00
badges_spec.rb Add badges index page. (#4236) 2019-10-06 17:34:52 -04:00
blocks_spec.rb Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
buffer_updates_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
buffered_articles_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
chat_channel_memberships_spec.rb Enabled rubocop/lint (#2130) 2019-03-21 10:53:44 -04:00
chat_channels_spec.rb Separate chat channel unopened status from Algolia (#5198) [deploy] 2019-12-21 13:05:16 -05:00
classified_listings_spec.rb Return 404 NotFound error if ClassifiedListing is not found during delete (#5646) 2020-01-22 13:07:44 -05:00
comments_create_spec.rb Return 429 Too Many Requests instead of raising (#5504) 2020-01-14 11:53:33 -05:00
comments_destroy_spec.rb Add comment policy and specs (#475) 2018-06-21 17:20:34 -04:00
comments_spec.rb Hide comment feature (#4944) 2019-12-10 15:09:47 -05:00
comments_update_spec.rb Utilize NewComment::Send in Notification model (#5565) [deploy] 2020-01-20 16:38:42 -05:00
credits_spec.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
dashboard_spec.rb Add pagination to followers and following page in dashboard (#258) (#4375) [deploy] 2019-11-20 18:21:18 -05:00
delayed_job_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
display_ad_events_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
editor_spec.rb Remove extra param and add message for prefill (#2487) 2019-04-18 15:34:50 -04:00
email_subscriptions_spec.rb Remove controller specs (#2224) 2019-03-29 19:05:02 -04:00
events_spec.rb Add more specs for events (#4444) [ci skip] 2019-10-18 10:30:07 -04:00
feedback_messages_create_spec.rb Fix 404 issue when submitting abuse report (#3038) 2019-06-03 19:24:24 -04:00
follows_create_spec.rb Refactor RateLimitChecker (#5521) 2020-01-20 11:27:54 -05:00
follows_show_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
follows_update_spec.rb Remove code for legacy mentoring feature (#3186) 2019-06-21 17:18:11 -04:00
ga_events_spec.rb Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
github_repos_spec.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
history_spec.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
html_variant_successes_spec.rb Move HtmlVariantSuccess.create delay calls to ActiveJob (#3173) 2019-06-18 21:36:33 -04:00
html_variant_trials_spec.rb Move HtmlVariantTrial.create delay calls to ActiveJob (#3173) (#3239) 2019-06-20 18:14:20 -04:00
html_variants_spec.rb Improve test speed (#3957) [ci skip] 2019-09-12 16:17:20 -04:00
image_uploads_spec.rb Fix rubocop Rails.root.path complaints (#5114) 2019-12-16 12:13:15 -05:00
liquid_embeds_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
listings_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
live_articles_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
messages_spec.rb 🚀Feature/ability to edit messages (#5139) [deploy] 2019-12-20 10:19:00 -05:00
moderations_spec.rb Cache data on /mod (#5315) [deploy] 2019-12-31 10:18:55 -05:00
notification_counts_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
notification_subscriptions_spec.rb Finalize UI for all types of notification settings (#3164) 2019-06-14 18:28:38 -04:00
notifications_spec.rb Replace Notifications::NotifiableActionJob with Notifications::NotifiableActionWorker for Sidekiq (#5588) [deploy] 2020-01-22 09:40:55 -05:00
organizations_update_spec.rb Return not_found error if org is not found (#5179) [deploy] 2019-12-19 10:53:50 -06:00
page_views_spec.rb Only Update page_views When They Are Valid (ie created) (#5195) [deploy] 2019-12-26 11:28:18 -06:00
pages_spec.rb API: OpenAPI 3 spec and auto generated docs (#3650) 2019-08-12 11:36:04 -04:00
partnerships_spec.rb Pro: memberships (#3461) 2019-09-24 10:38:54 -07:00
poll_skips_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
poll_votes_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
pro_memberships_spec.rb Refactor/user bust cache job (#5563) 2020-01-20 13:46:15 -05:00
profile_pins_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
pusher_auth_spec.rb Remove commented code and tests (#3989) [ci skip] 2019-09-09 14:51:02 -04:00
rating_votes_spec.rb Add experience level averaging to articles (#1922) 2019-02-28 08:17:29 -08:00
reactions_api_spec.rb Enables Rails cops (#2186) 2019-03-25 09:25:55 -04:00
reactions_spec.rb Set default Fastly Rails caching back to 30 days (#4996) 2019-12-03 11:29:25 -05:00
reading_list_items_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
registration_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
rss_feed_spec.rb Fix rubocop detected offenses (#4552) 2019-10-24 11:53:03 -04:00
service_worker_spec.rb Migrate to streaming app shell via serviceworkers (#5020) [deploy] 2019-12-16 12:21:33 -05:00
shells_spec.rb Add edge caching to shell (#5146) [deploy] 2019-12-16 19:08:59 -05:00
social_previews_spec.rb Improve twitter card caching (#5206) [deploy] 2019-12-23 12:22:38 -05:00
stories_index_spec.rb Sponsorship Updates (#3719) 2019-08-16 14:54:26 -04:00
stories_show_spec.rb Add canonical url to posts even if internal nav (#5227) [deploy] 2019-12-27 10:58:23 -05:00
stripe_active_cards_spec.rb Remove all old membership code, see 97040ab6 (#3575) 2019-07-30 12:33:50 -04:00
tag_adjustments_spec.rb Mod tooling: add tags via /mod (#4750) [deploy] 2019-11-21 16:32:32 -05:00
tags_api_spec.rb Add suggested tags to SiteConfig (#5426) [deploy] 2020-01-10 12:33:37 -05:00
tags_spec.rb Improve performance for additional content boxes and tags index (#1750) 2019-02-06 16:50:35 -04:00
twilio_tokens_spec.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
twitch_stream_updates_spec.rb Fix Typos (#3510) 2019-07-22 12:56:48 -04:00
user_blocks_spec.rb Hide a blocked user's content [deploy] (#4678) 2019-11-04 14:47:26 -05:00
users_api_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
users_onboarding_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00
video_states_update_spec.rb Return not_found Response If Video's Related Article is Not Found (#5169) [deploy] 2019-12-19 09:41:59 -06:00
videos_api_spec.rb Clean up videos page and add tests (#2315) 2019-04-05 16:05:50 -04:00
videos_spec.rb Unskip all skipped specs (#2941) 2019-05-25 11:04:38 -04:00