Commit Graph

2568 Commits

Author SHA1 Message Date
Aleksander Machniak
24dfb2b3e8 Fix PHP8 warnings (#9242) 2023-12-09 08:48:07 +01:00
Aleksander Machniak
3f33433a31 Fix PHP8 warning (#9235)
And added tests for utils/modcss action
2023-12-03 10:54:17 +01:00
Aleksander Machniak
7abd0c5ba7 Fix PHP8 warning (#9160) 2023-10-08 09:52:12 +02:00
Aleksander Machniak
5976ee7363 Fix PHP8 warnings (#9142) 2023-09-18 11:14:22 +02:00
Aleksander Machniak
ec11c25de7 Fix various PHP warnings (#9098) 2023-08-20 08:42:41 +02:00
Ashus
344c02c505 Fix errors while upgrading plugins with SQL migrations (#9092) 2023-08-20 08:34:53 +02:00
Aleksander Machniak
ca1b23ea9d More fixes regarding rcmail::url() (#9052) 2023-07-10 18:28:48 +02:00
Aleksander Machniak
f7635575f6 Fix regression that broke use_secure_urls feature (#9052) 2023-07-09 14:49:30 +02:00
Aleksander Machniak
3e303234d5 Fix bug where installto.sh/update.sh scripts were removing some essential options from the config file (#9051)
Plus small code improvements
2023-07-08 09:08:50 +02:00
Aleksander Machniak
b9baeb0021 Fix version (1.6.1 -> 1.6-git) 2023-06-11 09:30:17 +02:00
Aleksander Machniak
644cd40db8 Fix listing subfolders of Trash in logout actions on servers with specific NAMESPACE definition 2023-05-10 21:35:33 +02:00
Aleksander Machniak
772d7762a0 Fix duplicate recipients in "To" and "Cc" on reply (#8912) 2023-02-26 20:54:36 +01:00
Aleksander Machniak
22ec6d21dc Fix invalid onclick handler on the logo image when using non-array skin_logo setting (#8933) 2023-02-26 10:15:06 +01:00
Thomas Bruederli
7207e053bc Fix JWT decoding with url safe base64 schema (#8890) 2023-01-28 22:10:08 +01:00
Aleksander Machniak
72032af8c0 Fix regression in OAuth request URI caused by use of REQUEST_URI instead of SCRIPT_NAME as a default (#8878) 2023-01-26 18:15:58 +01:00
Aleksander Machniak
433db93616 Fix PHP warning 2023-01-08 11:46:17 +01:00
Aleksander Machniak
5faf46a671 Rename 'request_uri_field' to 'request_path' and allow a path in it (#8738, #8770) 2023-01-08 09:57:53 +01:00
Thomas Bruederli
cddc1bfd92 Bump version to 1.6.1 2023-01-05 21:36:15 +01:00
Thomas B
f81be9db9b Update vendor dir from installto.sh if untouched (#8642) (#8840)
* installto.sh checks for a marker indicating that composer was not run/used.
* update.sh tries to find and run composer
2023-01-05 21:34:15 +01:00
Aleksander Machniak
19ec0f192a Make rcmail::format_date() to work with DateTimeImmutable 2022-12-29 14:16:13 +01:00
Aleksander Machniak
1cae401af4 Fix get_address_book() issue for addressbooks that have a string identifier starting with a digit 2022-12-01 10:01:46 +01:00
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
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
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
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
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
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
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
Aleksander Machniak
cdc8663251 Fix fatal error (#8579) 2022-06-18 09:26:09 +02:00
Aleksander Machniak
3fd363672c bump version 2022-06-12 11:00:17 +02:00
Aleksander Machniak
9d051a3050 PHPDoc fix
[skip ci]
2022-04-27 20:22:02 +02:00
Aleksander Machniak
fa65a68389 Use ... oprator instead of func_get_args() for variadic functions 2022-04-27 19:21:00 +02:00
Github-Citizen
0e2858da97 Added link to logo image using $config['skin_logo'] (#8509)
Added ability to define a link URL for the logo image using $config['skin_logo'].
Works by defining the `logo type` for $config['skin_logo'] as `[link]` for example:

    $config['skin_logo'] = ['elastic:*[link]' => 'https://www.example.com'];
    $config['skin_logo'] = ['[link]' => 'https://www.example.com'];

Same relative path rules apply as when you define location of logo image file.
Starting with `http://` or `https://` is absolute.
Starting with a slash `/page.html` is relative to the skin directory ie `example.com/skins/elastic/page.html`
Starting without a slash `page.html` is relative to the website root directory ie `example.com/page.html`
2022-04-24 09:37:35 +02:00
Aleksander Machniak
7fdea0089d Fix bug where DSN flag state wasn't stored with a draft (#8371) 2022-04-10 11:32:40 +02:00
Aleksander Machniak
5626e26c58 Fix slow loading of long HTML content into the HTML editor (#8108) 2022-04-03 12:30:16 +02:00
Aleksander Machniak
01b7dbd1a7 Lock Installer to a set of supported config options 2022-01-23 09:11:58 +01:00
Aleksander Machniak
ab91416599 Fix mail headers injection via the subject field on mail compose (#8404) 2022-01-22 08:28:21 +01:00
Thomas Bruederli
841bead50a Refresh oauth access token in 'refresh' plugin hook (#8224) 2021-12-28 17:22:19 +01:00
Thomas Bruederli
6564b7b32c No oauth auto-redirect on imap login failures (#8370) 2021-12-28 17:22:12 +01:00