discourse/plugins/chat
Joffrey JAFFEUX 40ce619edd
DEV: uses in: {} with lambda to work with eager_load (#25039)
When validating with a dynamic set of values, especially one that might change during runtime, we should use a lambda or a proc to ensure that the validation uses the most up-to-date set of values. This is particularly important when using config.eager_load = true, which can cause some elements to be loaded only once at startup, thus not reflecting changes made at runtime.

This was the root cause of the issues here, as we were adding more ReviewableScore types after initial load through: `register_reviewable_type Chat::ReviewableMessage`
2023-12-29 12:45:07 +08:00
..
app DEV: uses in: {} with lambda to work with eager_load (#25039) 2023-12-29 12:45:07 +08:00
assets UI: chat header style improvements (#25057) 2023-12-28 17:44:53 +08:00
config Update translations (#25041) 2023-12-28 10:12:53 +01:00
db DEV: Allow chat mentions to have several notifications (#24874) 2023-12-19 18:53:00 +04:00
lib FIX: whitelist uploads before creating thumbnail variants (#25013) 2023-12-22 17:59:53 +08:00
public
spec DEV: uses in: {} with lambda to work with eager_load (#25039) 2023-12-29 12:45:07 +08:00
test/javascripts DEV: implements <Chat::Navbar /> (#24917) 2023-12-18 17:49:58 +01:00
plugin.rb FEATURE: Add thumbnails for chat image uploads (#24328) 2023-12-06 14:59:18 +08:00
README.md DEV: Chat service object initial implementation (#19814) 2023-02-13 13:09:57 +01:00

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.