0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/plugins/chat
discoursebot ff97b964e9
FIX: Validate the length of chat draft data [backport 2026.1] (#41553)
Backport of #41548 to release/2026.1.

---

## Summary

Correctly validate the length of chat draft data at the service contract
layer using the max_chat_draft_length site setting. This ensures that
oversized payloads are rejected early in the request lifecycle before
reaching the model persistence layer.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1362

Co-authored-by: discourse-patch-triage
<272280883+discourse-patch-triage[bot]@users.noreply.github.com>

Co-authored-by: Isaac Janzen <50783505+janzenisaac@users.noreply.github.com>
2026-07-08 14:34:58 -05:00
..
admin/assets/javascripts UX: add admin sidebar icons for preinstalled plugins (#36764) 2025-12-18 16:39:00 -05:00
app FIX: Validate the length of chat draft data [backport 2026.1] (#41553) 2026-07-08 14:34:58 -05:00
assets FIX: dynamic highlighting of self mentions (#37321) 2026-01-28 14:59:48 +04:00
config I18N: Update translations (#37916) 2026-02-25 09:47:58 -05:00
db DEV: remove chat channel icon upload id (#36693) 2025-12-16 16:00:56 +04:00
lib SECURITY: Removed channel member can edit and trash their own chat messages [backport 2026.1] (#41472) 2026-07-06 12:38:53 -05:00
public
spec FIX: Validate the length of chat draft data [backport 2026.1] (#41553) 2026-07-08 14:34:58 -05:00
test/javascripts UX: Prioritize chat search results by relevance (#36959) 2026-01-06 08:57:08 +01:00
about.json DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
package.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00
plugin.rb DEV: Remove obsolete feature checks (#36175) 2025-11-23 20:57:46 +01:00
README.md
tsconfig.json DEV: Overhaul typechecking configuration (#35794) 2025-11-12 12:54:34 +00:00

This plugin is still in active development and may change frequently

Documentation

The Discourse Chat plugin adds chat functionality to your Discourse so it can natively support both long-form and short-form communication needs of your online community.

For user documentation, see Discourse Chat.

For developer documentation, see Discourse Documentation.