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/services
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
..
chat-api.js FIX: correctly always return a promise from loadMore (#19676) 2023-01-02 15:55:45 +01:00
chat-audio-manager.js FIX: uses CDN when available for chat mp3 sounds (#19341) 2022-12-06 16:27:59 +01:00
chat-channel-info-route-origin-manager.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-channels-manager.js DEV: moves channel-archive-status to channels subscriptions (#19567) 2022-12-30 15:30:36 +01:00
chat-composer-presence-manager.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-emoji-picker-manager.js REFACTOR: chat-msgactions (#18969) 2022-11-10 15:08:14 +01:00
chat-emoji-reaction-store.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-guardian.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00
chat-message-visibility-observer.js FIX: triggers update last read when message is not staged (#19565) 2022-12-21 22:55:34 +01:00
chat-notification-manager.js DEV: Clean up all message bus subscriptions (#19268) 2022-12-12 16:32:25 +01:00
chat-state-manager.js DEV: start glimmer-ification and optimisations of chat plugin (#19531) 2022-12-21 13:21:02 +01:00
chat-subscriptions-manager.js DEV: moves channel-archive-status to channels subscriptions (#19567) 2022-12-30 15:30:36 +01:00
chat.js SECURITY: Limit chat drafts length and preloaded count 2023-01-25 13:52:49 +02:00
emoji-picker-scroll-observer.js DEV: Move discourse-chat to the core repo. (#18776) 2022-11-02 10:41:30 -03:00