discourse/plugins/chat
Martin Brennan f6072ba804
DEV: Move user count update for channels to ensure_consistency! (#22321)
This fixes a longstanding TODO to move the contents of the
UpdateUserCountsForChannels job to the ensure_consistency!
method of Chat::Channel, which runs every 15 mins as part of
periodical updates.

This commit also addresses the performance issue of the original,
where we would fetch all channels and do an individual query to
get the count and update the count of each one. Now we do it all
in one query, and only publish the changed channels to the UI.
2023-07-03 11:41:51 +10:00
..
app DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
assets DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
config DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
db FEATURE: Track last_viewed_at datetime for channel members (#22294) 2023-06-29 09:22:17 +10:00
lib FIX: ActiveModel::Types :array load error in production (#22377) 2023-07-03 11:30:09 +10:00
public DEV: Move `discourse-chat` to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
spec DEV: Move user count update for channels to ensure_consistency! (#22321) 2023-07-03 11:41:51 +10:00
test/javascripts FEATURE: Scroll to first message when clicking date in chat (#21926) 2023-06-20 15:58:38 +02:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00
plugin.rb FIX: ActiveModel::Types :array load error in production (#22377) 2023-07-03 11:30:09 +10:00

README.md

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.