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
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
..
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-25 13:48:49 +02:00
connectors DEV: Apply prettier to hbs files 2022-12-28 13:11:12 +00:00
controllers FIX: Do not override channel name when category selected (#19920) 2023-01-25 13:48:49 +02: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: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +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 2023-01-25 13:52:49 +02:00
templates FIX: Change wording from title -> name in channel about page (#19889) 2023-01-25 13:48:49 +02: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