discourse/plugins
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
..
chat FEATURE: Better thread reply counter cache (#21108) 2023-04-18 14:01:01 +10:00
discourse-details Update translations (#21055) 2023-04-11 15:45:03 +02:00
discourse-lazy-videos UX: Use dominant color while loading onebox images (#21091) 2023-04-13 12:04:46 +01:00
discourse-local-dates DEV: Support `@debounce` decorator in native class syntax (#20521) 2023-03-03 11:48:58 +00:00
discourse-narrative-bot FIX: Render links with subfolders properly in Discobot 2023-04-17 16:53:00 +02:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll UX: Vertical alignment issues on mobile (#21118) 2023-04-17 22:51:13 +05:30
styleguide Update translations (#20861) 2023-04-05 09:12:48 +02:00