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/assets/javascripts/discourse
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
..
adapters FIX: better chat-api error handling (#19550) 2022-12-21 16:11:35 +01:00
components FIX: adds negative skidding to popper offset (#19958) 2023-01-23 16:04:14 -05:00
connectors DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
controllers FEATURE: Allow changing slug on create channel (#19928) 2023-01-23 14:48:33 +10:00
helpers DEV: Remove user options from current user serializer (#19089) 2022-12-05 18:25:30 +02:00
initializers DEV: Move chat transcript tests into system specs (#19434) 2022-12-23 10:04:41 +10:00
lib DEV: introduces documentation for chat (#19772) 2023-01-18 12:36:16 +01:00
models FIX: prevents creating a null User object (#19569) 2022-12-22 12:39:53 +10:00
modifiers/chat DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
pre-initializers DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
routes FIX: removes missed chat_channels legacy paths (#19634) 2022-12-27 20:56:26 +01:00
services SECURITY: Limit chat drafts length and preloaded count (#19987) 2023-01-25 13:50:10 +02:00
templates FEATURE: Allow changing slug on create channel (#19928) 2023-01-23 14:48:33 +10:00
widgets DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
admin-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-route-map.js FIX: removes missed chat_channels legacy paths (#19634) 2022-12-27 20:56:26 +01:00
preferences-chat-route-map.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00