Commit Graph

8255 Commits

Author SHA1 Message Date
Aleksander Machniak
f23aaed10e Remove use of unreliable charset detection (#8344) 2022-04-09 14:13:50 +02:00
Aleksander Machniak
ff96c78606 Use navigator.pdfViewerEnabled for PDF viewer detection
Drop ActiveXObject based detection code
2022-04-08 08:28:13 +02:00
Aleksander Machniak
5626e26c58 Fix slow loading of long HTML content into the HTML editor (#8108) 2022-04-03 12:30:16 +02:00
Remi Collet
b2396399c6 add imap and smtp host in legacy config options (#8467) 2022-03-20 10:58:16 +01:00
Aleksander Machniak
18f1a33fcc Fix bug where SMTP password didn't work if it contained '%p' (#8435) 2022-03-13 17:08:35 +01:00
Aleksander Machniak
2c0b870bd6 Fix bug where session could time out if DB and PHP timezone were different (#8303) 2022-03-13 11:40:49 +01:00
Aleksander Machniak
3307eb6b28 Don't overwrite initial html_checkbox's 'checked' attribute (#8471) 2022-03-12 16:52:27 +01:00
Aleksander Machniak
bfef4691cf Fix PHP8 warning (#8466) 2022-03-12 09:38:54 +01:00
Aleksander Machniak
5208400bcd Fix handling of message/rfc822 parts that are small and are multipart structures with a single part (#8458) 2022-03-08 19:53:09 +01:00
Aleksander Machniak
78b3049ce5 Fix PHPDoc 2022-02-18 19:19:07 +01:00
Aleksander Machniak
00c5a585db FIx PHP8 warnings (#8437) 2022-02-07 14:33:21 +01:00
Arkadiusz Miśkiewicz
03e8c51c7f Fix regression in showing attachments (#8425). (#8430)
a5c2b4360c started initializing
$this->got_html_part always but this check wasn't updated.
2022-01-31 18:09:34 +01:00
Aleksander Machniak
e38d4e1eac Fix setting HTML mode on reply/forward of a signed message (#8405)
Simplify and unify has_html_part() and has_text_part() methods.
2022-01-30 09:17:45 +01:00
Aleksander Machniak
06b6089767 Fix handling of RFC2231-encoded attachment names inside of a message/rfc822 part (#8418) 2022-01-29 10:16:48 +01:00
Aleksander Machniak
819afeff29 Fix a couple of PHP8 warnings (#8420) 2022-01-29 08:35:50 +01:00
Aleksander Machniak
ac9b91f4c7 Strip HTML tags in URL logged with an error 2022-01-23 09:43:01 +01:00
Aleksander Machniak
01b7dbd1a7 Lock Installer to a set of supported config options 2022-01-23 09:11:58 +01:00
Aleksander Machniak
f546d7216c Fix setting HTML mode on reply/forward of a signed message (#8405) 2022-01-22 15:31:26 +01:00
Aleksander Machniak
ca5ba9550f Fix bug where small message/rfc822 parts could not be decoded (#8408) 2022-01-22 09:43:01 +01:00
Aleksander Machniak
e1a9004966 Update localization 2022-01-22 09:23:29 +01:00
Aleksander Machniak
ab91416599 Fix mail headers injection via the subject field on mail compose (#8404) 2022-01-22 08:28:21 +01:00
Aleksander Machniak
f429b26810 Fix various PHP8 warnings (#8392) 2022-01-11 19:04:24 +01:00
Aleksander Machniak
a5fd211712 Improve/Fix wrapping of plain text messages on preview and reply (#6974, #8391, #8378, #8289)
In short, we always wrap, but we detect patches/diffs in the text and make them unwrappable.
2022-01-09 16:29:09 +01:00
Aleksander Machniak
953be4bbe1 Fix so PHP warnings are ignored when resizing a malformed image attachment (#8387) 2022-01-08 09:16:43 +01:00
Aleksander Machniak
751abb6119 Fix PHP Warning: Undefined array key "value" on PHP8 (#8382) 2022-01-08 08:32:34 +01:00
Aleksander Machniak
693b7f0ecb Security: Fix cross-site scripting (XSS) via HTML messages with malicious CSS content 2021-12-29 19:02:43 +01:00
Thomas Bruederli
841bead50a Refresh oauth access token in 'refresh' plugin hook (#8224) 2021-12-28 17:22:19 +01:00
Thomas Bruederli
6564b7b32c No oauth auto-redirect on imap login failures (#8370) 2021-12-28 17:22:12 +01:00
Aleksander Machniak
8419e55fe4 Fix some more PHP8 warnings (#8363) 2021-12-17 19:06:02 +01:00
Aleksander Machniak
41d1873f38 Fix in_array_nocase() regression 2021-12-17 18:58:13 +01:00
Aleksander Machniak
c331431521 Fix some PHP8 compatibility issues (#8363) 2021-12-17 18:54:37 +01:00
Aleksander Machniak
5f8bf1bb15 Fix handling of unicode/special characters in custom From input (#8357) 2021-12-12 18:14:02 +01:00
Aleksander Machniak
7b81a71393 Don't use TLS by default (#8359)
Also unify the common code with a new rcube_utils::parse_host_uri() method
2021-12-11 09:52:23 +01:00
Aleksander Machniak
893216cb29 Unified and simplified services connection options (#8310) 2021-12-07 15:07:54 +01:00
Thomas Bruederli
e94177dd63 Pass 'id_token' to 'oauth_login' plugin hook (#8214)
... and unset it afterwards
2021-12-02 22:36:28 +01:00
Thomas Bruederli
3ba68eef08 Fix expiration of short-lived oauth tokens (#8147)
Just add a small margin of 10s to consider the transfer
and processing time between oauth server and roundcube.
2021-12-02 21:25:20 +01:00
Thomas Bruederli
0c7c9e7ccb Fix relative path to assets if /index.php/foo/bar url is used (#8144) 2021-12-02 21:25:20 +01:00
Aleksander Machniak
688320b4c6 readBytes() never returns null 2021-11-29 09:59:44 +01:00
Aleksander Machniak
74b89fffde Improve performance of fetching mail bodies
Read response in 1MB chunks, instead of lines.
2021-11-29 09:30:05 +01:00
Aleksander Machniak
a9f51ced21 CS fixes, update changelog 2021-11-28 08:39:12 +01:00
Philip Weir
e2a9d36f5e Add loginform_content plugin hook (#8273) 2021-11-28 08:32:50 +01:00
Aleksander Machniak
3fd9e2faf6 Small improvements to rcube_charset::detect() 2021-11-27 09:38:38 +01:00
Aleksander Machniak
bbde830be2 Improve precision of charset detection on vCard import 2021-11-27 09:26:21 +01:00
Aleksander Machniak
28b6351750 Fix compatibility with Referrer-Policy: "strict-origin" (#8170) 2021-11-13 10:02:24 +01:00
Aleksander Machniak
035c325d57 Improve searching by sender/recipient headers, support Reply-To and Followup-To (#6582) 2021-11-07 10:15:54 +01:00
Aleksander Machniak
9871b04b13 Fix an infinite loop when parsing environment variables with float/integer values (#8293) 2021-11-06 15:08:49 +01:00
Aleksander Machniak
a968f52dcd Fix PHP8 warnings (#8286) 2021-11-06 09:09:19 +01:00
Aleksander Machniak
2dbb5165da Fix bug where attachment download could sometimes fail with a CSRF check error (#8283) 2021-11-03 19:31:00 +01:00
Aleksander Machniak
6f7e19b2f0 Fix fetching headers of multiple message parts at once in rcube_imap_generic::fetchMIMEHeaders() (#8282) 2021-11-03 08:16:52 +01:00
Aleksander Machniak
149a0d4317 Fix PHP fatal error on an undefined constant in contacts import action (#8277) 2021-11-02 10:32:21 +01:00