discourse/plugins
Natalie Tay 5eaf080239
SECURITY: Limit chat drafts length and preloaded count (#19987)
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.

Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
Co-authored-by: Régis Hanol <regis@hanol.fr>
2023-01-25 13:50:10 +02:00
..
chat SECURITY: Limit chat drafts length and preloaded count (#19987) 2023-01-25 13:50:10 +02:00
discourse-details DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
discourse-local-dates Update translations (#19974) 2023-01-24 16:32:34 +01:00
discourse-narrative-bot Update translations (#19974) 2023-01-24 16:32:34 +01:00
discourse-presence DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
lazy-yt DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
poll Update translations (#19974) 2023-01-24 16:32:34 +01:00
styleguide DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00