Commit Graph

11 Commits (0b54346837f9de3818cb19cb01ffbb17a2eb75b5)

Author SHA1 Message Date
Akim Juillerat 2a5372f817 [IMP] mail_quoted_reply: Sanitize HTML body before quoting
As we are adding HTML from external messages into the mail composer
HTML widget, we do not control what is in there and it could break
the webclient or making it unresponsive depending on its content.

Sanitizing the body of the quoted message might not solve all the
issues, but it at least provides a hook for extra processing.
2024-11-07 17:31:41 +01:00
Akim Juillerat e152d20c71 [FIX] mail_quoted_reply: Use standard paragraph element to enter text
Without this, it is not possible to do a copy paste of a block of
text into the mail composer.
2024-01-10 13:38:14 +01:00
jb a1fcd2a151 [IMP] mail_quoted_reply: set email author as default reply partner 2023-10-12 09:40:07 +02:00
Vulpino 7bb5f94c21 15.0 - [IMP] mail_quoted_reply
_prep_quoted_reply_body. put the format date in the env format

[15][IMP]mail_quoted_reply: Added signature, and translate fields

Make it: From, Date, Subject Strings translate
Addded User Signature

Update mail_message.py

Update CONTRIBUTORS.rst
2023-10-12 09:40:07 +02:00
Laurence Lars Labusch 1fc0ed80f6 [IMP] Add functionality to include original subject in quoted reply
This commit adds functionality to include the original subject of a message when composing a quoted reply. The `get_record_data` method in the `MailComposeMessage` model has been updated to check if there is a default subject and, if so, prepend "Re: " to it. This ensures that the new subject for the quoted reply includes a "Re:" prefix.
2023-10-12 09:38:36 +02:00
Stefan Rijnhart 28091aaf39 [FIX] mail_quoted_reply: format of default m2m value in context (fixes tests) 2023-10-12 08:59:35 +02:00
J.Buchholz@cibex.net 364b91fa7d [FIX] mail_quoted_reply: add line breaks before block quote 2023-10-12 08:59:35 +02:00
Lois Rilo 5de104e4af [FIX] mail_quoted_reply: avoid access right errors when reading action. 2023-10-12 08:59:35 +02:00
J.Buchholz@cibex.net 1582c02a77 [MIG] mail_quoted_reply: Migration to 15.0 2023-10-12 08:59:35 +02:00
Lois Rilo fa9d57a31a [IMP] black, isort, prettier 2023-10-12 08:59:35 +02:00
Enric Tobella 9f335d2f90 [ADD] mail_quoted_reply 2023-10-12 08:59:35 +02:00