discourse/plugins/chat/db
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
..
fixtures
migrate DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
post_migrate SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00