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 #9787

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pabzm
Copy link
Member

@pabzm pabzm commented Feb 20, 2025

Implementing #9465

A new clean restart over the previous pull request.

TODO:

  • reading emails using mailvelope
  • check/change larry skin
  • Don't "wash" HTML content twice
  • Check reading emails with enigma
  • Fix hide_blockquote plugin
  • Find out why the "loading" message gets hidden so early in chromium-based browsers.

@pabzm pabzm requested a review from alecpl February 20, 2025 10:22
@pabzm pabzm self-assigned this Feb 20, 2025
@pabzm pabzm force-pushed the message-render-iframe branch 4 times, most recently from 4fd3901 to 2a397fe Compare February 21, 2025 10:47
@pabzm pabzm force-pushed the message-render-iframe branch from 2a397fe to 44b0165 Compare March 5, 2025 13:40
@pabzm pabzm changed the title Message render iframe Render each mime-part into an individual iframe Mar 5, 2025
pabzm added 3 commits March 5, 2025 14:47
This probably wasn't implemented previously because HTML-parts usually
didn't run through get.php.
This includes a new "message loading" notice without meta refresh (which
requires unsafe-inline in a CSP, which we want to avoid)
We need the information in the browser, because the
remote-objects-message is now rendered independently from the message
contents, and we need it for each message part.
@pabzm pabzm force-pushed the message-render-iframe branch from 44b0165 to acf3126 Compare March 5, 2025 13:50
pabzm added 2 commits March 5, 2025 19:35
The calling code replaced the $rcmail->output on the fly, which makes is
hardly testable.
Also that class was used only in the class `rcmail_action_mail_get`, and
it's a pretty thin layer on top of `rcmail_output_html`, which is not
necessary.
@pabzm pabzm force-pushed the message-render-iframe branch from acf3126 to dbabc7d Compare March 5, 2025 18:35
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