discourse/plugins/chat
Loïc Guitaut 050828d1de DEV: Allow chat services to have optional models
This is extracted from #22390.

This patch adds a new `optional` option to the `model` step. This
means if an optional model returns something blank (`nil` or an empty
collection) then the service won’t fail and will execute the next step.
However if a model is properly returned, the step will try to check if
it is valid or not (if it responds to `#invalid?`). If the model isn’t
valid, then the step will fail (so no change here).
2023-07-20 17:27:44 +02:00
..
app DEV: Allow chat services to have optional models 2023-07-20 17:27:44 +02:00
assets DEV: Revert "DEV: Update replaceWith on Route (#22645)" (#22693) 2023-07-19 10:47:31 -05:00
config FEATURE: enable_public_channels site setting (#22565) 2023-07-13 10:00:25 +02:00
db DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
lib DEV: Consistently use html5 loofah (#22711) 2023-07-20 12:01:45 +02:00
public DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
spec DEV: Allow chat services to have optional models 2023-07-20 17:27:44 +02:00
test/javascripts DEV: Add last_message_id to channel and thread (#22488) 2023-07-13 10:28:11 +10:00
plugin.rb FEATURE: Show unread in sidebar for unread channel threads (#22342) 2023-07-17 13:00:49 +10: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.