discourse/plugins/chat/spec/requests
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
..
admin
api FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
categories_controller_spec.rb FIX: Delete associated channel upon category deletion 2022-11-22 10:04:29 +01:00
chat_channel_controller_spec.rb FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
chat_controller_spec.rb FIX: Add MessageBust.last_id to chat channel subscriptions (#19255) 2022-12-02 10:57:53 +10:00
direct_messages_controller_spec.rb
email_controller_spec.rb
emojis_controller_spec.rb
incoming_chat_webhooks_controller_spec.rb SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00
users_controller_spec.rb