Commit Graph

1555 Commits

Author SHA1 Message Date
Aleksander Machniak
39bc7a53cb Fix regression where LDAP addressbook 'filter' option was ignored (#9061)
Also fix some PHP8 warnings
2023-07-11 10:51:57 +02:00
Adrien Beau
d8146b6150 Fix sort_folder_comparator (#9057)
In case $path2 is longer than $path1, and all folders in $path1 are
equal to the corresponding folder in $path2 (in other words: $path2 is a
subfolder of $path1), sort_folder_comparator currently considers them
equal because it stops comparing when it reaches the end of $path1.

This breaks the ordering done by uasort() above, and breaks code that
relies on the folder list being sorted, notably the folders settings
page.
2023-07-09 19:51:10 +02:00
Aleksander Machniak
f211757286 Fix bug where a duplicate <title> tag in HTML email could cause some parts being cut off (#9029) 2023-07-09 14:46:19 +02:00
Aleksander Machniak
813dacec71 Fix potential PHP fatal error when opening a message with message/rfc822 part (#8953) 2023-07-09 13:18:11 +02:00
Aleksander Machniak
251a7ae0e7 Don't require specific error_reporting
I think we're E_STRICT and E_NOTICE free now.
2023-07-07 09:13:04 +02:00
Aleksander Machniak
b9de4841d3 Don't log an imap authentication error when log_logins=true 2023-06-15 10:54:38 +02:00
Aleksander Machniak
102b04e74e Fix PHP7 compat. break in last commit 2023-06-14 13:00:54 +02:00
Aleksander Machniak
3e32395acd Fix so output of log_date_format with microseconds contains time in server time zone, not UTC 2023-06-14 12:56:00 +02:00
Aleksander Machniak
ed430f0577 Fix PHP8 warnings 2023-06-12 12:14:11 +02:00
Aleksander Machniak
deba22aaa9 Bump version of masterminds/html5
ctype extension is not required anymore
2023-06-09 09:30:39 +02:00
Aleksander Machniak
6b25d146a1 Fix PHP fatal error when importing vcf file using PHP 8.2 (#9025)
and some PHP8 warning
2023-06-03 12:14:35 +02:00
Aleksander Machniak
a55061dfae Fix PHP error when imap_conn_options.proxy_protocol is not an array 2023-06-02 14:46:01 +02:00
Aleksander Machniak
a3431e94ae Fix connecting to LDAP using an URI with ldapi:// scheme (#8990) 2023-05-13 19:40:05 +02:00
Aleksander Machniak
9d9912c12f Fix bug where subfolders could loose subscription on parent folder rename (#8892) 2023-05-10 21:07:48 +02:00
Aleksander Machniak
3648caa0d1 Optimize fetchPartBody() for huge results w/o formatting and decoding 2023-05-08 10:15:48 +02:00
Aleksander Machniak
a20445fcc5 Fix potential HTTP protocol version mismatch (#8982) 2023-05-07 16:37:17 +02:00
Aleksander Machniak
dbcdedfc69 Fix PHP8 warnings when using list_flags and list_cols properties by plugins (#8998) 2023-05-07 09:22:32 +02:00
Aleksander Machniak
73dd99118f Fix PHP warnings
... if using rcube_config w/o loading defaults.inc.php
2023-04-19 12:31:27 +02:00
Aleksander Machniak
2ed16e57ec Fix so vCard output does not contain non-standard/redundant TYPE=OTHER and TYPE=INTERNET (#8838) 2023-04-10 13:14:47 +02:00
Aleksander Machniak
d1bfe81731 Support conversion from webp formt using GD, improve is_convertable() 2023-04-10 12:32:14 +02:00
Aleksander Machniak
ff96e7724a Set timeout=30, connect_timeout=5, read_timeout=120 as defaults for HTTP client (#8865) 2023-04-10 09:46:54 +02:00
Aleksander Machniak
e69cd1b5a6 Fix extra leading newlines in plain text converted from HTML (#8973) 2023-04-09 12:06:50 +02:00
Aleksander Machniak
d1d29e7c77 Fix bug where LDAP (fulltext) search didn't work without 'search_fields' in config (#8874)
also fix some PHP warnings
2023-04-02 11:31:39 +02:00
Aleksander Machniak
43af3e0e58 Move get_host() from rcube_utils to rcmail_utils, de-duplicate 2023-03-05 18:33:57 +01:00
vladasko-g
852ffc6826 Add idenity management script (#8887) 2023-03-05 17:56:52 +01:00
Aleksander Machniak
1f0b275e22 Fix PHP Deprecated: Creation of dynamic property rcube_message_header::$bcc is deprecated 2023-03-04 11:43:53 +01:00
Aleksander Machniak
06ce7a5d34 Fix so LDAP VLV option is disabled by default as documented (#8833) 2023-01-29 13:19:20 +01:00
Aleksander Machniak
4b488353c5 Fix support for Windows-31J charset (#8869) 2023-01-29 10:11:53 +01:00
Aleksander Machniak
b2f7adb730 Fix PHP8 warning (#8891) 2023-01-29 09:39:48 +01:00
Arshid
2605262257 Fix undefined variable (#8831)
$detected_charset is undefined.
2022-12-31 17:46:54 +01:00
Aleksander Machniak
11ae5a14e4 Fix possible error in compare_search_value() (#8823) 2022-12-31 10:06:11 +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
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
1b0c72f9c3 Fix PHP warning (#8784) 2022-11-15 19:00:40 +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
Michael Steininger
e717bedc10 Fix php 8.0 warning if db_dsnr is used (#8779) 2022-11-11 11:38:25 +01:00
Aleksander Machniak
249bc0e338 Fix so N property always exists in a vCard export (#8771) 2022-11-02 11:53:31 +01: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
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