Commit Graph

8255 Commits

Author SHA1 Message Date
Aleksander Machniak
3bdde947b7 Merge branch 'master' of github.com:roundcube/roundcubemail 2022-12-31 15:30:13 +01:00
Aleksander Machniak
d1d8caa70f Fix bug where "Invalid skin name" error was logged on preferences save if there's only one skin (#8825) 2022-12-31 15:29:16 +01:00
Oliver Rahner
f7b8b14df8 Check if shell_exec() exists and work around if it doesn't (#8814) 2022-12-31 10:31:22 +01:00
Aleksander Machniak
11ae5a14e4 Fix possible error in compare_search_value() (#8823) 2022-12-31 10:06:11 +01:00
Aleksander Machniak
c65763f59b Make rcmail::format_date() to work with DateTimeImmutable 2022-12-29 14:14:54 +01:00
Aleksander Machniak
49eb9e09d5 Fix PHP8.2 warning 2022-12-05 15:15:19 +01:00
Aleksander Machniak
98fa870a98 Fix possible PHP warning (#8793) 2022-12-04 10:39:56 +01:00
Aleksander Machniak
631dc5a839 Fix get_address_book() issue for addressbooks that have a string identifier starting with a digit 2022-12-01 10:00:16 +01:00
Aleksander Machniak
378a5d3423 Fix PHP 8.1 warning (#8804) 2022-11-28 20:52:53 +01:00
Aleksander Machniak
33fac1927e Fix PHP 8.1 warnings, make BODYSTRUCTURE parser less fragile (#8803) 2022-11-28 20:34:02 +01:00
Aleksander Machniak
ec39abf508 Improve handling of available spellchecker languages/dialects 2022-11-26 11:01:52 +01:00
Aleksander Machniak
e7f57c6dd5 Fix PHP warning (#8794) 2022-11-26 10:17:29 +01:00
Thomas B
409aee8b3c 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-23 21:05:00 +01:00
Aleksander Machniak
3f8c4680c3 Fix bug array values could not be saved in utils/save_pref action (#8781) 2022-11-15 19:16:22 +01:00
Aleksander Machniak
1b0c72f9c3 Fix PHP warning (#8784) 2022-11-15 19:00:40 +01:00
Aleksander Machniak
cb1951048c 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:11:52 +01:00
Aleksander Machniak
e6ed5ae19e Fix handling of smtp/imap port options on configuration file update (#8756) 2022-11-13 13:19:45 +01:00
Aleksander Machniak
c78d998ec3 Fix authenticating to Courier IMAP with passwords containing a '~' character (#8772) 2022-11-11 14:11:37 +01:00
Aleksander Machniak
e111f22d50 Fix a PHP warning (#8743) 2022-11-11 13:26:08 +01:00
Michael Stilkerich
473eec4a8a 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:22:59 +01:00
黄威
1c7b4baa85 Update zh_CN Label (#8750)
update zh_CN Label
2022-11-11 13:17:10 +01:00
Camilo Sperberg
0bfd9a4dc7 Address most common warnings in PHP >= 8.0.0 (#8769) 2022-11-11 13:14:59 +01:00
Vitosha Labs
c08e59033f Use json_decode instead of GuzzleHttp\json_decode (#8773) 2022-11-11 11:40:31 +01:00
Michael Steininger
e717bedc10 Fix php 8.0 warning if db_dsnr is used (#8779) 2022-11-11 11:38:25 +01:00
Aleksander Machniak
a2c0f79efb Fix return to previous contact source/group after search reset 2022-11-11 11:25:48 +01:00
Aleksander Machniak
249bc0e338 Fix so N property always exists in a vCard export (#8771) 2022-11-02 11:53:31 +01:00
Thomas Bruederli
10f00d3946 Remove debug code again 2022-10-29 22:28:38 +02:00
Thomas Bruederli
6b2e39d132 Kill session if refreshing oauth token fails (#8734) 2022-10-29 22:24:09 +02:00
Philip Weir
901b1bb8f1 Remove remaining references to dropped db engines (#8767) 2022-10-29 17:06:21 +02:00
Aleksander Machniak
32ddb7b8d1 Use precise session lifetime for garbage collector (#8671) 2022-10-09 17:13:41 +02:00
Aleksander Machniak
80404a8674 Store uploads metadata in a separate sql database table instead of a session (#8415) 2022-10-09 11:35:14 +02:00
Aleksander Machniak
e9ce8dc63d Fix undefined array key warning 2022-09-29 20:29:08 +02:00
Rok Jaklič
0077d7a52d Added prioritized charsets for Slovenian language (#8701) 2022-09-24 09:13:38 +02:00
Stuart Henderson
ba5ea75f46 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:18 +02:00
Aleksander Machniak
704034be2d Add setQuota() method 2022-09-24 09:08:10 +02:00
Aleksander Machniak
019801a430 Removed support for MS SQL Server and Oracle (#7854) 2022-09-11 11:01:03 +02:00
Aleksander Machniak
2847154cd0 Fix bug where multiline data:image URI's in emails were stripped from the message on display (#8613) 2022-09-10 09:53:34 +02:00
Aleksander Machniak
6c2da12218 Fix bug where some dialogs in an eml attachment preview would not close on mobile (#8627) 2022-08-28 13:26:02 +02:00
Aleksander Machniak
fd4fb61d8c Fix regression where clicking on attachment would open and download the file 2022-08-28 11:56:04 +02:00
Aleksander Machniak
1a3a253a77 Remove redundant gettext() calls 2022-08-28 11:43:48 +02:00
Aleksander Machniak
45b184e337 Fix bug where the attachment menu wouldn't disappear after an action is selected (#8691) 2022-08-27 17:01:18 +02:00
Aleksander Machniak
79b089e6d3 Fix PHP8 warnings (#8677) 2022-08-25 19:52:56 +02:00
Aleksander Machniak
8c7911b9f2 Fix bug where setting 'Clear Trash on Logout' to 'all messages' didn't work (#8687) 2022-08-23 19:46:39 +02:00
Aleksander Machniak
3b16cbf371 Fix bug where "about:blank" page could trigger "load error" (#8554)
Use javascript:false; instead
2022-08-15 09:58:56 +02:00
Aleksander Machniak
cdb98e4501 Small fix to the last commit 2022-08-14 17:37:44 +02:00
Aleksander Machniak
0a3a332866 Fix PHP Deprecated: Creation of dynamic property Mail_mime::$mailbody_file is deprecated 2022-08-14 16:02:56 +02:00
Aleksander Machniak
825bcf5af7 Fix various "Creation of dynamic property is deprecated" warnings 2022-08-14 15:27:09 +02:00
Aleksander Machniak
8c487d9b56 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-14 10:30:02 +02:00
Aleksander Machniak
bae45d5728 Always define 'abort' arg in rcube_dummy_plugin_api handler (#8669) 2022-08-13 08:58:52 +02:00
Jonas Flodén
fd4c57b176 Fix swedish translation of "keep formatting" (#8655) 2022-08-09 19:16:08 +02:00