* 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> |
||
|---|---|---|
| .. | ||
| discourse_dev | ||
| email_controller_helper | ||
| extensions | ||
| onebox/templates | ||
| tasks | ||
| validators | ||
| chat_channel_archive_service.rb | ||
| chat_channel_fetcher.rb | ||
| chat_channel_hashtag_data_source.rb | ||
| chat_channel_membership_manager.rb | ||
| chat_mailer.rb | ||
| chat_message_bookmarkable.rb | ||
| chat_message_creator.rb | ||
| chat_message_processor.rb | ||
| chat_message_rate_limiter.rb | ||
| chat_message_reactor.rb | ||
| chat_message_updater.rb | ||
| chat_notifier.rb | ||
| chat_review_queue.rb | ||
| chat_seeder.rb | ||
| chat_statistics.rb | ||
| chat_transcript_service.rb | ||
| direct_message_channel_creator.rb | ||
| duplicate_message_validator.rb | ||
| guardian_extensions.rb | ||
| message_mover.rb | ||
| post_notification_handler.rb | ||
| secure_uploads_compatibility.rb | ||
| slack_compatibility.rb | ||