This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/plugins/chat/app
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
..
controllers SECURITY: Limit chat drafts length and preloaded count (#19987) 2023-01-25 13:50:10 +02:00
core_ext DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
jobs DEV: Use UploadReference instead of ChatUpload in chat (#19947) 2023-01-24 13:28:21 +10:00
models SECURITY: Limit chat drafts length and preloaded count (#19987) 2023-01-25 13:50:10 +02:00
queries DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
serializers FIX: Channel archive N1 when serializing current user (#19820) 2023-01-11 14:39:56 +10:00
services DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
views DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00