discourse/plugins/chat/spec
Martin Brennan 180e3e11d1
FEATURE: Better thread reply counter cache (#21108)
This commit introduces a redis cache over the top of the thread
replies_count DB cache, so that we can quickly and accurately
increment/decrement the reply count for all users and not have
to constantly update the database-level count. This is done so
the UI can have a count that is displayed to the users on each
thread indicator, that appears to live update on each chat
message create/trash/recover inside the thread.

This commit also introduces the `Chat::RestoreMessage` service
and moves the restore endpoint into the `Api::ChannelMessages`
controller as part of incremental migrations to move things out
of ChatController.

Finally, this commit refactors `Chat::Publisher` to be less repetitive
with its `MessageBus` sending code.
2023-04-18 14:01:01 +10:00
..
components/chat FEATURE: Initial chat thread indicator and disabling echo mode in channels (#21047) 2023-04-12 11:09:06 +10:00
fabricators DEV: Refactor STI/polymorphic associations in chat (#20789) 2023-04-17 15:41:56 +02:00
integration FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
jobs FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
lib FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
mailers DEV: Skip channel-wide mention chat specs (#20770) 2023-03-22 12:44:01 +10:00
models FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
queries/chat DEV: Introduce bulk channel tracking publisher (#20838) 2023-03-28 09:36:28 +10:00
requests FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
serializer FIX: Do not serialize thread data if threading disabled (#21107) 2023-04-17 14:29:06 +10:00
services FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
support DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
system FEATURE: Hook up chat bulk delete for threads (#21109) 2023-04-18 08:28:20 +10:00
validators DEV: properly namespace chat (#20690) 2023-03-17 14:24:38 +01:00
plugin_helper.rb FEATURE: Reacting to MessageBus in chat thread panel (#21070) 2023-04-13 14:45:50 +02:00
plugin_spec.rb UX: update chat icon to d-chat (#20744) 2023-03-21 10:40:42 -04:00