discourse/plugins/chat/spec
Roman Rizzi 9c8043a4d2
FEATURE: Enforce mention limits for chat messages (#19034)
* FEATURE: Enforce mention limits for chat messages

The first part of these changes adds a new setting called `max_mentions_per_chat_message`, which skips notifications when the message contains too many mentions. It also respects the `max_users_notified_per_group_mention` setting
and skips notifications if expanding a group mention would exceed it.

We also include a new component to display JIT warning for these limits to the user while composing a message.

* Simplify ignoring/muting filter in chat_notifier

* Post-send warnings for unsent warnings

* Improve pluralization

* Address review feedback

* Fix test

* Address second feedback round

* Third round of feedback

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
2022-12-06 14:54:04 -03:00
..
components SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00
fabricators FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
integration
jobs DEV: Add messages_count to ChatChannel table (#19295) 2022-12-06 08:40:46 +10:00
lib FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
mailers DEV: Make summary subject logic more explicit (#19167) 2022-11-23 14:29:41 -03:00
models DEV: Add messages_count to ChatChannel table (#19295) 2022-12-06 08:40:46 +10:00
queries DEV: Rename direct message related models 2022-11-03 14:39:23 +01:00
requests FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
serializer FEATURE: channels can allow/disallow @all/@here mentions (#19317) 2022-12-05 17:03:51 +01:00
services FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00
support FIX: Allow deletion of categories when chat channel is not present 2022-11-08 10:25:39 +01:00
system FIX: new message brings a direct message channel to the top (#19332) 2022-12-05 22:49:42 +01:00
validators
plugin_helper.rb FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
plugin_spec.rb FEATURE: Deleting a user with their posts also deletes chat messages. (#19194) 2022-11-28 13:32:57 -03:00