discourse/plugins/chat/spec
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
..
components/chat FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
fabricators FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
integration FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
jobs FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
lib FIX: prevents admins to be silenced (#21854) 2023-06-01 08:36:11 +02:00
mailers DEV: fix and enable flaky specs (#21753) 2023-05-30 14:25:14 +04:00
models FEATURE: reduce avatar sizes to 6 from 20 (#21319) 2023-06-01 10:00:01 +10:00
queries/chat FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
requests DEV: Remove Discourse.redis.delete_prefixed (#22103) 2023-06-16 12:44:35 +10:00
serializer FEATURE: Thread indicator improvements and participants (#21909) 2023-06-15 10:49:27 +10:00
services FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
support DEV: Fix plugin:spec task return code (#21661) 2023-05-19 16:17:02 +02:00
system FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: Allow users to manually track threads without replying (#22100) 2023-06-16 12:08:26 +10:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00