discourse/app
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
..
assets FEATURE: Enforce mention limits for chat messages (#19034) 2022-12-06 14:54:04 -03:00
controllers FEATURE: Improve composer warnings for mentions (#18796) 2022-12-05 20:22:05 +02:00
helpers Meta topic: https://meta.discourse.org/t/meta-theme-color-is-not-respecting-current-color-scheme/239815 (#18832) 2022-11-07 10:06:26 +03:00
jobs FIX: Exclude claimed reviewables from user menu (#19179) 2022-12-01 07:09:57 +08:00
mailers SECURITY: Filter tags in user notifications for visibility (#19239) 2022-11-29 10:35:41 -06:00
models FEATURE: Show live user status on inline mentions on posts (#18683) 2022-12-06 19:10:36 +04:00
serializers FEATURE: Show live user status on inline mentions on posts (#18683) 2022-12-06 19:10:36 +04:00
services DEV: Centralise logic for updating sidebar section links (#19275) 2022-12-01 09:32:35 +08:00
views DEV: use structured data in topic-list for referencing only (#16235) 2022-12-05 18:00:32 +02:00