✨ Link e-mails sent from chats back to their originating chat, improve mail escalation and security
- 🗄️ Add
follow_up_chat_idcolumn tolhc_mailconv_conversationvia update_367.sql, both install scripts,structure.json,db.dbml, POS definition,swagger.json,MergeHelperand the conversation modelgetState() - 📤 Attach the
X-LHC-CIDcustom header when sending an e-mail from a chat (mailconv/sendemail/(chat_id)/<id>andchat/sendmail) so back-imported conversations (including undelivered bounces) store the originatingfollow_up_chat_idinerLhcoreClassMailconvParser - 💬 Show a clickable related chat link (
lhc.previewChat) next to the follow-up link inMailChat.jswhen a mail conversation has afollow_up_chat_id - ✉️ Improve mail sending and escalation UI with TinyMCE file and template plugins, Cc/Bcc recipients, HTML mail guardrails, sensitive content masking, and restricted mail download permissions
- 🔐 Harden security across modules: enforce REST API permissions and validation order, prevent SSRF via URL validation, restrict log files/extension folders, add configurable WebAuthn user verification for passkeys, and add dual-view masking diagnostics
- 🔄 Bump
DB_VERSIONto 367 andLHC_RELEASEto 502
execute doc/update_db/update_367.sql for update
What's Changed
- Accept .oga as audio/ogg in chat file uploads by @mysubcult in #2444
- Handle structured bot substitutions and preserve visitor message error context by @mysubcult in #2441
Full Changelog: 5.01v...5.02v