Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render each mime-part into an individual iframe #9519

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

pabzm
Copy link
Member

@pabzm pabzm commented Jun 25, 2024

Implementing #9465

TODO:

  • reading emails using mailvelope
  • check/change larry skin
  • Don't "wash" HTML content twice
  • Check reading emails with enigma
  • Fix hide_blockquote plugin

@pabzm pabzm force-pushed the message-render-iframe branch 2 times, most recently from ba35bc4 to 2804d9d Compare July 15, 2024 12:44
@pabzm pabzm self-assigned this Jul 16, 2024
@pabzm pabzm force-pushed the message-render-iframe branch 7 times, most recently from 3a8353c to edf0cc8 Compare August 30, 2024 12:06
@pabzm pabzm marked this pull request as ready for review August 30, 2024 12:15
@pabzm pabzm requested a review from alecpl August 30, 2024 12:15
@pabzm pabzm changed the title Render each mime-part into an individual iframe Draft: Render each mime-part into an individual iframe Aug 30, 2024
@pabzm pabzm marked this pull request as draft August 30, 2024 15:22
@pabzm pabzm changed the title Draft: Render each mime-part into an individual iframe Render each mime-part into an individual iframe Aug 30, 2024
@pabzm
Copy link
Member Author

pabzm commented Aug 30, 2024

@alecpl I didn't find any problems, but still want to check some more plugins. Also one test is missing. But I think the general approach won't change anymore, so a review would already make sense.

@pabzm
Copy link
Member Author

pabzm commented Sep 3, 2024

@alecpl Do you think we should keep "larry" working for future releases?

I'm not sure yet how much work it would be to make larry fit for this change, but before I even try I want to be sure that you consider it necessary. (I would deprecate it and keep it maintained for v1.6.x, but not later versions.)

@pabzm pabzm force-pushed the message-render-iframe branch 3 times, most recently from 7e519b5 to 0f5f90d Compare September 4, 2024 13:03
@pabzm
Copy link
Member Author

pabzm commented Sep 4, 2024

I'm finished with cleaning the commit history now.

This allows for a little cleaner code
This probably wasn't implemented previously because HTML-parts usually
didn't run through get.php.
That way it's testable.
Meta refresh would require unsafe-inline in a CSP, which we want to
avoid.
@pabzm
Copy link
Member Author

pabzm commented Sep 5, 2024

(Rebased to latest of "master".)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant