discourse/plugins/chat/app/models
Joffrey JAFFEUX a02af9e6db SECURITY: Limit chat drafts length and preloaded count
Only allow maximum of `50_000` characters for chat drafts. A hidden `max_chat_draft_length` setting can control this limit. A migration is also provided to delete any abusive draft in the database.

The number of drafts loaded on current user has also been limited and ordered by most recent update.

Note that spec files moved are not directly related to the fix.
2023-01-25 13:52:49 +02:00
..
concerns
category_channel.rb FIX: Do not error if autogenerated channel slug is blank (#19759) 2023-01-06 09:04:52 +10:00
chat_channel_archive.rb FIX: Improve error reporting and failure modes for channel archiving (#19791) 2023-01-25 13:48:49 +02:00
chat_channel.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
chat_draft.rb SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
chat_mention.rb
chat_message_reaction.rb
chat_message_revision.rb FIX: Make chat editor IDs not null (#18903) 2022-11-08 09:06:13 +10:00
chat_message.rb PERF: Add index for chat unread counts query (#19516) 2022-12-20 05:10:53 +08:00
chat_upload.rb
chat_view.rb
chat_webhook_event.rb
deleted_chat_user.rb
direct_message_channel.rb FIX: Automatically generate category channel slugs (#18879) 2022-11-09 10:28:31 +10:00
direct_message_user.rb
direct_message.rb
incoming_chat_webhook.rb
reviewable_chat_message.rb FIX: Unsilence users on chat message flag disagree. (#19198) 2022-11-28 11:11:35 -03:00
user_chat_channel_membership.rb