Commit Graph

8297 Commits

Author SHA1 Message Date
Pablo Zmdl
16f9de14e1 WIP: reduce artifacts of testing in source code dir
Note: This breaks tests that download files
2025-06-17 14:42:52 +02:00
Pablo Zmdl
5c10569ada Allow fallback to embed.min.css 2025-05-07 13:47:35 +02:00
Pablo Zmdl
2c6c3cb01f WIP: style images in attachment view 2025-05-07 13:45:39 +02:00
Pablo Zmdl
6540f67163 Move inline styles from attachment view to embed.less 2025-05-07 13:44:45 +02:00
Pablo Zmdl
49c2d44b1d Allow stylesheets from 'self' in download headers 2025-05-07 13:43:53 +02:00
Pablo Zmdl
dd7a9e1416 Regain lost _mimewarning URL param 2025-05-07 13:43:24 +02:00
Pablo Zmdl
0a6dcf1db4 Two comments 2025-05-07 13:42:58 +02:00
Pablo Zmdl
550d5d35ab Don't htmlify text/plain parts if displayed as attachment 2025-04-30 12:48:21 +02:00
Pablo Zmdl
cb9fb1439c Don't include jquery-ui in iframed message content iframe 2025-04-30 12:48:21 +02:00
Pablo Zmdl
f8b07cd50a fixup: fix showing text/* attachments 2025-04-30 12:48:21 +02:00
Pablo Zmdl
fcf0ccb33e Fix showing text/* in attachment view 2025-04-30 12:12:07 +02:00
Pablo Zmdl
6eca46d63d Allow to skip delivering jquery-ui script and styles 2025-04-30 12:05:29 +02:00
Pablo Zmdl
78fb78c80e Avoid empty script element 2025-04-30 12:04:53 +02:00
Pablo Zmdl
a36613c536 WIP styling 2025-04-29 17:55:10 +02:00
Pablo Zmdl
75b451c870 Use ref where necessary 2025-04-29 17:48:11 +02:00
Pablo Zmdl
d583ccc1c3 re-fix iframed email content styling 2025-04-29 17:47:44 +02:00
Pablo Zmdl
696cfa9ecb Fix styles for iframed email content parts 2025-04-28 12:52:32 +02:00
Pablo Zmdl
a0076ca889 Use styles.css, not embed.css for iframed html parts 2025-04-28 10:16:53 +02:00
Pablo Zmdl
65f4397a5e Fix styling for iframed email content parts 2025-04-28 10:16:13 +02:00
Pablo Zmdl
b2345fc80e WIP: use .message-(html)part only on iframed html elem 2025-04-28 08:45:20 +02:00
Pablo Zmdl
06314ef989 Fix styling for iframed email content 2025-04-28 08:16:40 +02:00
Pablo Zmdl
3a9ad6b3e3 Remove rcmail_html_page
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.
2025-04-24 15:12:49 +02:00
Pablo Zmdl
08dc83b918 Replace REMOTE_OBJECTS with an attribute on the body element
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.
2025-04-24 15:12:49 +02:00
Pablo Zmdl
1019b462d3 Render each mime part in an individual, sandboxed iframe
This includes a new "message loading" notice without meta refresh (which
requires unsafe-inline in a CSP, which we want to avoid)
2025-04-24 15:12:49 +02:00
Aleksander Machniak
1f89b52dc6 CS fix 2025-04-23 18:01:54 +02:00
Aleksander Machniak
58560f1f55 Cleanup 2025-04-23 17:58:08 +02:00
listumps
8bfa36caea Rework zoom and rotate of attached images (#9843, #7669)
Use CSS Grid with standard properties instead of Flexbox and transform()
2025-04-23 17:51:57 +02:00
Aleksander Machniak
582ca2b678 CS fix 2025-04-23 17:22:07 +02:00
Aleksander Machniak
ab08ade64a Use object-oriented style of Fileinfo functionality
finfo_close() is rudundant since PHP 8.1 and might get deprecated in PHP 8.5
2025-04-23 15:45:05 +02:00
Aleksander Machniak
8208b9f87d Fix bug in handling rcmail::format_date()'s $convert argument (#9666) 2025-04-21 12:28:14 +02:00
Aleksander Machniak
175e378ded Fix bug where a wrong SPECIAL-USE folder could have been detected, if there were more than one per-type (#9781) 2025-04-20 12:38:45 +02:00
Aleksander Machniak
0b38444c32 Fix removing/expiring redis/memcache records when using a key prefix 2025-04-18 14:41:25 +02:00
Aleksander Machniak
cfac0d6841 Remove apc cache driver 2025-04-06 15:52:06 +02:00
Dennis
edbfd1109b Add APCu cache driver (#9828) 2025-04-06 15:43:53 +02:00
Gianluca Giacometti
053ffaef6b Exclude inline base64 images from static.php (#9835) 2025-04-05 08:54:25 +02:00
Aleksander Machniak
835c10e39e Remove set_error_handler() use around mb_convert_encoding() (#9799)
It's redundant since PHP8
2025-03-30 18:16:45 +02:00
Aleksander Machniak
f7d8852d17 Use str_starts_with() where applicable 2025-03-30 11:32:38 +02:00
Aleksander Machniak
9f4818fc29 Remove old @since params 2025-03-30 10:58:09 +02:00
Aleksander Machniak
62c092bf91 Fix static resources location on a page with PATH_INFO (#9814) 2025-03-30 10:55:48 +02:00
Aleksander Machniak
c7cf2af486 CI: Enable PHP 8.4 testing 2025-03-25 19:14:45 +01:00
Philip Weir
e37709c5e8 Add enable_autolink option for HTML editor (#9818, #9762) 2025-03-24 18:24:46 +01:00
Aleksander Machniak
f37a959197 Fix new phpstan errors 2025-03-24 18:14:40 +01:00
Aleksander Machniak
d03767b7f1 OAuth: improve token refresh - check token also in the keep-alive action 2025-03-18 13:58:54 +01:00
seb1k
0f2a907056 Add priority to local message object (#9795) 2025-03-16 19:34:10 +01:00
Aleksander Machniak
91f4e289b2 Merge branch 'master' of github.com:roundcube/roundcubemail 2025-03-16 13:33:38 +01:00
Aleksander Machniak
9afeb0174e Use PHPStan v2 2025-03-16 13:33:15 +01:00
Pablo Zmdl
99236f3be4 Fix washing html from rcube_attachment_handler (#9785)
This probably wasn't implemented previously because HTML-parts usually
didn't run through get.php.
2025-03-16 12:45:15 +01:00
Aleksander Machniak
29d0eba3db Add rcmail_oauth::is_token_valid() method 2025-03-14 12:12:56 +01:00
Aleksander Machniak
5eb44b70ba CS fix 2025-03-09 08:41:52 +01:00
Aleksander Machniak
699491fe82 Fix error in mailvelope_load() caused by undefined this.env.browser_capabilities 2025-03-09 08:19:27 +01:00