discourse/plugins/chat/spec
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
..
components DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
fabricators SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
integration DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
jobs DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
lib FIX: Use hashtags in channel archive PMs if available (#19859) 2023-01-25 13:48:49 +02:00
mailers DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
models SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
queries DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
requests SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
serializer SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
services DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
support DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
system FIX: Do not override channel name when category selected (#19920) 2023-01-25 13:48:49 +02:00
validators
plugin_helper.rb DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
plugin_spec.rb FIX: Channel archive N1 when serializing current user (#19820) 2023-01-11 14:39:56 +10:00