discourse/spec/serializers
Martin Brennan 9174716737
DEV: Remove Discourse.redis.delete_prefixed (#22103)
This method is a huge footgun in production, since it calls
the Redis KEYS command. From the Redis documentation at
https://redis.io/commands/keys/:

> Warning: consider KEYS as a command that should only be used in
production environments with extreme care. It may ruin performance when
it is executed against large databases. This command is intended for
debugging and special operations, such as changing your keyspace layout.
Don't use KEYS in your regular application code.

Since we were only using `delete_prefixed` in specs (now that we
removed the usage in production in 24ec06ff85)
we can remove this and instead rely on `use_redis_snapshotting` on the
particular tests that need this kind of clearing functionality.
2023-06-16 12:44:35 +10:00
..
about_serializer_spec.rb
admin_plugin_serializer_spec.rb
admin_user_action_serializer_spec.rb
admin_user_list_serializer_spec.rb
basic_group_serializer_spec.rb
basic_group_user_serializer_spec.rb
basic_post_serializer_spec.rb
basic_reviewable_flagged_post_serializer_spec.rb
basic_reviewable_queued_post_serializer_spec.rb
basic_reviewable_serializer_spec.rb
basic_reviewable_user_serializer_spec.rb
basic_user_serializer_spec.rb
basic_user_with_status_serializer_spec.rb
category_detailed_serializer_spec.rb
category_serializer_spec.rb
category_upload_serializer_spec.rb
current_user_serializer_spec.rb DEV: Remove legacy user menu (#21308) 2023-05-17 09:16:42 -07:00
detailed_user_badge_serializer_spec.rb
directory_item_serializer_spec.rb
emoji_serializer_spec.rb
found_user_serializer_spec.rb DEV: return user IDs on the user search route (#21206) 2023-04-25 18:25:57 +04:00
found_user_with_status_serializer_spec.rb
group_show_serializer_spec.rb
group_user_serializer_spec.rb
invite_serializer_spec.rb FIX: Hide delete button to invite as user are unable to delete anyway (#21884) 2023-06-06 12:24:19 +08:00
listable_topic_serializer_spec.rb
new_post_result_serializer_spec.rb
notification_serializer_spec.rb
pending_post_serializer_spec.rb
post_revision_serializer_spec.rb
post_serializer_spec.rb FEATURE: Allow expanding hidden posts for groups in SiteSetting.can_see_hidden_post (#21853) 2023-06-01 11:32:05 +08:00
poster_serializer_spec.rb FIX: Include group flair in homepage category topic lists (#21268) 2023-04-27 10:18:16 +08:00
reviewable_flagged_post_serializer_spec.rb
reviewable_queued_post_serializer_spec.rb
reviewable_score_serializer_spec.rb
reviewable_serializer_spec.rb
reviewable_user_serializer_spec.rb
single_sign_on_record_serializer_spec.rb
site_serializer_spec.rb FIX: Update sidebar to be navigation menu (#22101) 2023-06-15 09:31:28 +10:00
suggested_topic_serializer_spec.rb
tag_group_serializer_spec.rb
tag_serializer_spec.rb
theme_serializer_spec.rb
topic_link_serializer_spec.rb
topic_list_item_serializer_spec.rb
topic_list_serializer_spec.rb
topic_tracking_state_item_serializer_spec.rb
topic_tracking_state_serializer_spec.rb
topic_view_details_serializer_spec.rb
topic_view_posts_serializer_spec.rb
topic_view_serializer_spec.rb DEV: Remove Discourse.redis.delete_prefixed (#22103) 2023-06-16 12:44:35 +10:00
upload_serializer_spec.rb
user_auth_token_serializer_spec.rb
user_badge_serializer_spec.rb
user_bookmark_list_serializer_spec.rb DEV: Change Bookmarkable registration to DiscoursePluginRegistry (#20556) 2023-03-08 10:39:12 +10:00
user_card_serializer_spec.rb
user_post_bookmark_serializer_spec.rb
user_serializer_spec.rb
user_summary_serializer_spec.rb
web_hook_post_serializer_spec.rb FIX: Show auto-group flair according to user preferences (#21221) 2023-04-24 16:04:26 -03:00
web_hook_topic_view_serializer_spec.rb
web_hook_user_serializer_spec.rb
wizard_serializer_spec.rb