Commit Graph

7795 Commits

Author SHA1 Message Date
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
Aleksander Machniak
b987892524 Fix openssl_encrypt() warning on PHP 7.3 2021-10-29 16:14:32 +02:00
Aleksander Machniak
313a33e0a7 Display telephone numbers as tel: links (#8240) 2021-10-29 15:50:56 +02:00
Aleksander Machniak
61b334f6b1 Fix bug with show_images setting where option 1 and 3 were swapped (#8268) 2021-10-29 12:48:07 +02:00
Aleksander Machniak
e00795b48b Add workaround for the HTML5 parser performance issue, remove the size limit 2021-10-29 11:01:58 +02:00
Aleksander Machniak
92880251f4 Update localization 2021-10-29 10:20:14 +02:00
agabellini
aa5e7d9e1f Update csv2vcard.inc for it_IT (#8233) 2021-10-29 08:27:24 +02:00
Aleksander Machniak
a14098ac81 Fix bug where adding a contact to trusted senders via "Always allow from..." button didn't work (#8264, #8268)
...if the contact already existed in Personal addresses (or another default contacts source)
2021-10-28 14:39:34 +02:00
Aleksander Machniak
13da16b36f Fix charset conversion errors on PHP < 8 for charsets not supported by mbstring (#8252) 2021-10-28 14:09:29 +02:00
Aleksander Machniak
4402605be9 Fix bug where \u200b characters were added into the recipient input preventing mail delivery (#8269) 2021-10-28 13:01:05 +02:00
Aleksander Machniak
eec0d2b578 Display a generic error page on initial DB/configuration errors (#8222) 2021-10-27 14:27:56 +02:00