Commit Graph

12 Commits (2789a3048ea99a0e7ff43c903fac069eebc596e8)

Author SHA1 Message Date
Akim Juillerat a6965b0e1c [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-21 11:25:50 +01:00
trisdoan 11e8d5038c [MIG] mail_quoted_reply: Migration to 17.0 2024-10-04 11:11:33 +02:00
Akim Juillerat 776f35d566 [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-10-04 11:11:33 +02:00
jb 9a86ab9ecd [IMP] mail_quoted_reply: set email author as default reply partner 2024-10-04 11:11:33 +02:00
Vulpino c5e1712b4b 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
2024-10-04 11:11:33 +02:00
Laurence Lars Labusch 65d2d5625b [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.
2024-10-04 11:11:33 +02:00
Stefan Rijnhart c4997cd36d [FIX] mail_quoted_reply: format of default m2m value in context (fixes tests) 2024-10-04 11:11:33 +02:00
J.Buchholz@cibex.net 2d65b247e4 [FIX] mail_quoted_reply: add line breaks before block quote 2024-10-04 11:11:33 +02:00
Lois Rilo edf34bda26 [FIX] mail_quoted_reply: avoid access right errors when reading action. 2024-10-04 11:11:33 +02:00
J.Buchholz@cibex.net 05c46900e1 [MIG] mail_quoted_reply: Migration to 15.0 2024-10-04 11:11:33 +02:00
Lois Rilo a590460eb1 [IMP] black, isort, prettier 2024-10-04 11:11:33 +02:00
Enric Tobella 6b554b2729 [ADD] mail_quoted_reply 2024-10-04 11:11:33 +02:00