discourse/plugins/chat/spec/jobs
Martin Brennan 22a55ef0ce
DEV: Add messages_count to ChatChannel table (#19295)
This commit adds the messages_count column for ChatChannel messages,
which is the number of not-deleted messages in the channel.

This is not updated every time a message is created or deleted in a
channel, so it should not be displayed in the UI.
It is updated eventually via Jobs::ChatPeriodicalUpdates, which
will have additional functions in future after being introduced
here.

Also update these counts for existing channels in a post migration.
2022-12-06 08:40:46 +10:00
..
regular FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
scheduled
chat_channel_archive_spec.rb
chat_channel_delete_spec.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
chat_periodical_updates_spec.rb DEV: Add messages_count to ChatChannel table (#19295) 2022-12-06 08:40:46 +10:00
delete_old_chat_messages_spec.rb FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
process_chat_message_spec.rb
update_user_counts_for_chat_channels_spec.rb