Commit Graph

7786 Commits

Author SHA1 Message Date
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
Aleksander Machniak
7337e7608e Identicon: Make background color of the image to match the current skin colors (#8256) 2021-10-25 12:34:22 +02:00
Aleksander Machniak
cca73cc285 Fix missing inputs on contact creation form if the selected source is readonly (#8255) 2021-10-24 20:04:14 +02:00
Aleksander Machniak
8a4eecbcb0 Don't write stats info to console.log when in CLI
If the file was created by the web server user, user executing the CLI command
might have no permissions. This leads to an error, and e.g. when installing
a plugin/skin via composer is converted to an ugly exception. We want to prevent that.
Anyway, these stats are most useful for the webmail use not for CLI commands.
2021-10-24 15:53:47 +02:00
Aleksander Machniak
a9e096e87f Fix database initialization if db_prefix is a schema prefix (#8221) 2021-10-24 12:07:54 +02:00
Aleksander Machniak
6e5bbf2e55 Fix PHP8 warning 2021-10-23 09:29:19 +02:00
Aleksander Machniak
c2fc0b64c4 Fix bug where new messages were not added to the list on refresh if skip_deleted=true (#8234) 2021-10-23 09:25:20 +02:00
Aleksander Machniak
d1f16ebb97 Fix so dark mode state is retained after closing the browser (#8237) 2021-10-22 18:30:58 +02:00
Aleksander Machniak
2536e847d5 Fix one more warning 2021-10-21 19:54:41 +02:00
Aleksander Machniak
38f519659c Fix some PHP8 warnings (#8239) 2021-10-21 19:52:04 +02:00