Commit Graph

1507 Commits

Author SHA1 Message Date
Thomas B
be4c12a55e Add config option for request uri field (#8738) (#8770)
This can be used to read a custom header sent by a reverse proxy to resolve the absolute path to Roundcube

* add check against the proxy_whitelist option before using a HTTP header field value for the request uri composition.
* refactor the rcmail::url() method to also work when composing fully qualified urls.
* fix/adapt tests
2022-11-26 10:23:58 +01:00
Aleksander Machniak
6807820eed Fix PHP warning (#8794) 2022-11-26 10:18:39 +01:00
Aleksander Machniak
0fd3b98ec0 Fix PHP warning (#8784) 2022-11-15 19:16:49 +01:00
Aleksander Machniak
639d98e32c Fix authenticating to Courier IMAP with passwords containing a '~' character (#8772) 2022-11-11 14:12:10 +01:00
Aleksander Machniak
eff5130f6f Fix a PHP warning (#8743) 2022-11-11 13:26:49 +01:00
Michael Stilkerich
2f5326a7bf Pass port 0 as integer to Redis::connect() with unix socket (#8749)
The second parameter to Redis::connect() is an int parameter. Passing
null for it will trigger a PHP deprecation notice with PHP 8.1.

The Redis::connect() documentation shows that a 0 is used for the port
parameter in the examples with unix sockets where parameters beyond the
second parameter are set.
2022-11-11 13:21:57 +01:00
Michael Steininger
f3d0f1c2c3 Fix php 8.0 warning if db_dsnr is used (#8779) 2022-11-11 11:38:57 +01:00
Aleksander Machniak
d54463cfc3 Fix so N property always exists in a vCard export (#8771) 2022-11-02 11:54:11 +01:00
Stuart Henderson
7d03951eb3 Don't return undefined $_SESSION['secure_token'] (#8705)
Avoid `PHP Warning: Undefined array key "secure_token" in /roundcubemail/program/lib/Roundcube/rcube.php on line 1002` seen with PHP 8 and secure_urls enabled.
2022-09-24 09:10:41 +02:00
Aleksander Machniak
b36e625b6b Fix bug where multiline data:image URI's in emails were stripped from the message on display (#8613) 2022-09-10 09:54:06 +02:00
Aleksander Machniak
6899be2a13 Fix PHP8 warnings (#8677) 2022-08-25 19:53:43 +02:00
Aleksander Machniak
968619b3a3 Fix various "Creation of dynamic property is deprecated" warnings 2022-08-15 09:41:05 +02:00
Aleksander Machniak
473b0fc73b Always define 'abort' arg in rcube_dummy_plugin_api handler (#8669) 2022-08-13 08:59:47 +02:00
Aleksander Machniak
7fd80f439a Fix PHP8 warnings (#8656) 2022-08-09 19:05:55 +02:00
Aleksander Machniak
4847ddf11c Fix PHP8.1 warnings (#8667) 2022-08-09 19:05:33 +02:00
Aleksander Machniak
8af9cf93b6 Fix various PHP 8.2 warnings 2022-08-06 09:22:32 +02:00
Aleksander Machniak
b0186fb8bf Fix anchor links in HTML mail (#8632) 2022-07-30 09:00:24 +02:00
Aleksander Machniak
0a28b4112f - Fix various PHP 8.1 warnings (#8628) 2022-07-29 08:02:53 +02:00
Thomas Bruederli
71761b4405 Prepare release 1.6.0 2022-07-23 21:44:38 +02:00
Michael Steininger
d12efe4eaf Fix usage of "break" (#8624) 2022-07-21 18:38:45 +02:00
Aleksander Machniak
c0eb112ee5 Fix so "Found unconstructed Spoofchecker" error is not fatal (#8537) 2022-07-10 08:53:25 +02:00
Aleksander Machniak
39548efa2b Fix PHP8 warnings 2022-07-09 19:08:38 +02:00
Aleksander Machniak
02c4d078c4 Fix various PHP 8.1 warnings (#8584) 2022-06-25 08:33:40 +02:00
Aleksander Machniak
746c768e02 Fix PHP 8.1 warnings in the LDAP backend code (#8572) 2022-06-19 09:31:05 +02:00
Aleksander Machniak
e2d92ba1de Fix bug where some checkboxes could be selected unintentinally (#8565) 2022-06-18 20:02:12 +02:00
Aleksander Machniak
ae5880f0d3 Fix support for DSN specification without host e.g. pgsql:///dbname (#8558) 2022-06-18 14:12:12 +02:00
Aleksander Machniak
dd15d503c7 Fix call to undefined method rcube_ldap_generic::option_set() (#8564) 2022-06-18 09:37:43 +02:00
Aleksander Machniak
fff19b8052 Unify SMTP errors handling 2022-06-18 09:21:15 +02:00
Rafael Cossovan
20d18ae5bf Fix SMTP XCLIENT extension when not using STARTTLS. (#8581) 2022-06-18 09:21:06 +02:00
Aleksander Machniak
3fd363672c bump version 2022-06-12 11:00:17 +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