Commit Graph

7878 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
b2c94ae085 Fix bug array values could not be saved in utils/save_pref action (#8781) 2022-11-15 19:16:56 +01:00
Aleksander Machniak
0fd3b98ec0 Fix PHP warning (#8784) 2022-11-15 19:16:49 +01:00
Aleksander Machniak
cc1bdf6a36 Fix regression in create_config()
On update some bool options might got changed values to false,
if not specified in the config.inc.php file.
2022-11-13 14:13:43 +01:00
Aleksander Machniak
624400d7fa Fix handling of smtp/imap port options on configuration file update (#8756) 2022-11-13 13:20:26 +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
Camilo Sperberg
d2a6c44380 Address most common warnings in PHP >= 8.0.0 (#8769) 2022-11-11 13:16:06 +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
1881b1e8ac Fix return to previous contact source/group after search reset 2022-11-11 11:25:27 +01:00
Aleksander Machniak
d54463cfc3 Fix so N property always exists in a vCard export (#8771) 2022-11-02 11:54:11 +01:00
Thomas Bruederli
d39235e5d9 Remove debug code again 2022-10-29 22:29:07 +02:00
Thomas Bruederli
afa509bc97 Kill session if refreshing oauth token fails (#8734) 2022-10-29 22:26:20 +02:00
Aleksander Machniak
3e8a9f3350 Fix undefined array key warning 2022-09-29 20:30:09 +02: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
aeb5b91f84 Fix bug where some dialogs in an eml attachment preview would not close on mobile (#8627) 2022-08-28 13:32:32 +02:00
Aleksander Machniak
dc901fa777 Fix regression where clicking on attachment would open and download the file 2022-08-28 13:32:16 +02:00
Aleksander Machniak
3375bf05ee Remove redundant gettext() calls 2022-08-28 13:32:09 +02:00
Aleksander Machniak
b6c68c90aa Fix bug where the attachment menu wouldn't disappear after an action is selected (#8691) 2022-08-27 17:01:51 +02:00
Aleksander Machniak
6899be2a13 Fix PHP8 warnings (#8677) 2022-08-25 19:53:43 +02:00
Aleksander Machniak
e167e4dac3 Fix bug where setting 'Clear Trash on Logout' to 'all messages' didn't work (#8687) 2022-08-23 19:48:37 +02:00
Aleksander Machniak
193a136669 Fix bug where "about:blank" page could trigger "load error" (#8554)
Use javascript:false; instead
2022-08-15 10:00:00 +02:00
Aleksander Machniak
529f6a131f Small fix to the last commit 2022-08-15 09:41:19 +02:00
Aleksander Machniak
2678db2f8a Fix PHP Deprecated: Creation of dynamic property Mail_mime::$mailbody_file is deprecated 2022-08-15 09:41:11 +02:00
Aleksander Machniak
968619b3a3 Fix various "Creation of dynamic property is deprecated" warnings 2022-08-15 09:41:05 +02:00
Aleksander Machniak
2009415d68 Fix duplicate Reply-To header in mail preview
If there's Mail-Reply-To and Reply-To with the same value.
Also cleanup some code.
2022-08-15 09:40:56 +02:00
Aleksander Machniak
473b0fc73b Always define 'abort' arg in rcube_dummy_plugin_api handler (#8669) 2022-08-13 08:59:47 +02:00
Jonas Flodén
11b5854874 Fix swedish translation of "keep formatting" (#8655) 2022-08-12 19:46:46 +02:00
Aleksander Machniak
0ff805598a Fix PHP8 warning (#8647) 2022-08-09 19:11:33 +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
53aabf85ea Fix bug where renamed options were removed from the config on installto.sh (update.sh) run (#8643) 2022-08-01 21:01:03 +02:00
Aleksander Machniak
9140215b4e Fix bug where config creation in Installer did ignore options in the form (#8634) 2022-07-31 12:41:30 +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
Aleksander Machniak
a728820f4f Fix PHP8 warnings 2022-07-29 08:01:54 +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
c7dfec8cac Update localization 2022-07-10 09:37:01 +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
f6d765422d Disable email address spoofchecking on messages list
.. do it only when opening the message, that's when we can display the warning.
2022-07-09 19:08:32 +02:00
Thomas Bruederli
6c0adda831 Update password option after refreshing oauth access token (#8436) 2022-06-26 23:05:25 +02:00
Aleksander Machniak
b043f3c228 Update changelog and tests 2022-06-25 09:49:02 +02:00
Player701
a9df4a88f7 Fix so rcmail::contact_exists() works with IDNA addresses (#8545) 2022-06-25 09:48:55 +02:00
Aleksander Machniak
a623d11883 Fix bug where a recipient address containing UTF-8 characters was ignored when sending an email (#8493, #8546) 2022-06-25 09:02:19 +02:00