discourse/plugins/chat/app/controllers
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
..
admin
api FIX: generates automatic slug for trashed channels (#19908) 2023-01-25 13:48:49 +02:00
api_controller.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
chat_base_controller.rb DEV: Use guardian user for can_chat? (#19418) 2022-12-13 09:14:17 +10:00
chat_controller.rb SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
direct_messages_controller.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
emojis_controller.rb
incoming_chat_webhooks_controller.rb SECURITY: Limit chat message char length (#19207) 2022-11-28 10:48:30 +10:00