Commit Graph

2129 Commits

Author SHA1 Message Date
Christian Mollekopf
76154d27f2 Introduce optional support to inject PROXY protocol headers after
opening IMAP TCP streams.

Version 1 (text based) and version 2 (binary) protocol header types are
supported. Supports both IPv4 and IPv6 style headers.

http://www.haproxy.org/download/1.6/doc/proxy-protocol.txt
2022-07-22 10:32:50 +02:00
Michael Steininger
38bf246b0d Fix usage of "break" (#8624) 2022-07-21 18:38:08 +02:00
Aleksander Machniak
68be98817f Fix so "Found unconstructed Spoofchecker" error is not fatal (#8537) 2022-07-10 08:52:42 +02:00
Aleksander Machniak
ba1a93ec5b Fix PHP8 warnings 2022-07-09 18:29:07 +02:00
Aleksander Machniak
e247209280 Fix various PHP 8.1 warnings (#8584) 2022-06-25 08:33:03 +02:00
Aleksander Machniak
42f9cdceba Master is 1.7-git 2022-06-23 19:02:23 +02:00
Aleksander Machniak
4e4e2d4b5a Fix PHP 8.1 warnings in the LDAP backend code (#8572) 2022-06-19 09:30:39 +02:00
Aleksander Machniak
ba7ae5dab3 Fix bug where some checkboxes could be selected unintentinally (#8565) 2022-06-18 20:01:44 +02:00
Aleksander Machniak
1e5d87c97c Fix support for DSN specification without host e.g. pgsql:///dbname (#8558) 2022-06-18 14:11:35 +02:00
Aleksander Machniak
619e3f3ff0 Fix call to undefined method rcube_ldap_generic::option_set() (#8564) 2022-06-18 09:34:41 +02:00
Aleksander Machniak
b97c934aea Unify SMTP errors handling 2022-06-18 09:19:48 +02:00
Rafael Cossovan
e13a73fb47 Fix SMTP XCLIENT extension when not using STARTTLS. (#8581) 2022-06-18 08:43:09 +02:00
Aleksander Machniak
282f0a2830 Fix bug where title tag content was displayed in the body if it contained HTML tags (#8540) 2022-05-28 09:10:57 +02:00
Aleksander Machniak
ee04d8571f Fix so links (e.g. www.some.page or http://some.page) are not considered mispellings (#8527) 2022-05-08 10:43:33 +02:00
Aleksander Machniak
fa65a68389 Use ... oprator instead of func_get_args() for variadic functions 2022-04-27 19:21:00 +02:00
Aleksander Machniak
6303d3177e Fix broken encoding of HTML content encapsulated in a RTF attachment (#8444) 2022-04-17 09:20:01 +02:00
Mickaël
6fa6f89b02 Update rcube_smtp.php (#8508)
Correction on the issue explain here : https://github.com/roundcube/roundcubemail/issues/8507
2022-04-17 07:52:47 +02:00
Aleksander Machniak
8ad92d5f98 Fix so unix:// URI is supported in various host spec. options again (#8468) 2022-04-10 19:46:22 +02:00
Aleksander Machniak
f23aaed10e Remove use of unreliable charset detection (#8344) 2022-04-09 14:13:50 +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
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
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
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
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
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
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
9871b04b13 Fix an infinite loop when parsing environment variables with float/integer values (#8293) 2021-11-06 15:08:49 +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
b987892524 Fix openssl_encrypt() warning on PHP 7.3 2021-10-29 16:14:32 +02:00