Commit Graph

2567 Commits

Author SHA1 Message Date
Aleksander Machniak
7ccb8fa21a Add package name to the "Updating database schema..." output 2023-06-08 09:49:54 +02:00
Aleksander Machniak
374a4a5e25 Prefer 8bit over quoted-printable for HTML parts, when force_7bit is disabled (#8477) 2023-05-28 11:04:43 +02:00
Aleksander Machniak
bac152444b Fix listing subfolders of Trash in logout actions on servers with specific NAMESPACE definition 2023-05-10 21:34:19 +02:00
Aleksander Machniak
a20445fcc5 Fix potential HTTP protocol version mismatch (#8982) 2023-05-07 16:37:17 +02:00
Aleksander Machniak
ef9d345441 Drop dependency on JsTimeZoneDetect (#8965) 2023-04-09 16:06:00 +02:00
Aleksander Machniak
43af3e0e58 Move get_host() from rcube_utils to rcmail_utils, de-duplicate 2023-03-05 18:33:57 +01:00
Aleksander Machniak
ed73265c76 Create rcmail_install::unzip() and simplify code 2023-03-05 11:30:11 +01:00
Aleksander Machniak
77e96c7bc2 Fix duplicate recipients in "To" and "Cc" on reply (#8912) 2023-02-26 20:54:10 +01:00
Aleksander Machniak
156e480a26 Fix invalid onclick handler on the logo image when using non-array skin_logo setting (#8933) 2023-02-26 10:14:38 +01:00
Thomas Bruederli
c4c9fa0242 Fix JWT decoding with url safe base64 schema (#8890) 2023-01-28 22:05:59 +01:00
Aleksander Machniak
63f63e8f4d Fix regression in OAuth request URI caused by use of REQUEST_URI instead of SCRIPT_NAME as a default (#8878) 2023-01-26 18:14:36 +01:00
Aleksander Machniak
6251d38ecd Fix PHP warning 2023-01-08 11:45:44 +01:00
Aleksander Machniak
2d00d18e6c Rename 'request_uri_field' to 'request_path' and allow a path in it (#8738, #8770) 2023-01-08 09:54:19 +01:00
Thomas B
dec93dc1b7 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:30:51 +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
c65763f59b Make rcmail::format_date() to work with DateTimeImmutable 2022-12-29 14:14:54 +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
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
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
Vitosha Labs
c08e59033f Use json_decode instead of GuzzleHttp\json_decode (#8773) 2022-11-11 11:40: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
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
019801a430 Removed support for MS SQL Server and Oracle (#7854) 2022-09-11 11:01:03 +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
Jorge López Pérez
e808fba4f8 Initialize HTTP client using get_http_client() for OAuth requests (#8666)
* Initialize HTTP client using get_http_client() for OAuth requests
* Add new oauth_timeout setting
2022-08-09 19:13:58 +02:00
Aleksander Machniak
aac9b696b8 Fix various PHP 8.2 warnings 2022-08-06 09:22:12 +02:00
Aleksander Machniak
44f0d6cbc4 Fix bug where renamed options were removed from the config on installto.sh (update.sh) run (#8643) 2022-08-01 21:00:35 +02:00
Aleksander Machniak
01e42cfe57 Fix bug where config creation in Installer did ignore options in the form (#8634) 2022-07-31 12:41:05 +02:00
Aleksander Machniak
afa1221783 Fix PHP8 warnings 2022-07-24 12:45:50 +02:00
Thomas Bruederli
bda54eb937 Update password option after refreshing oauth access token (#8436) 2022-06-26 23:01:36 +02:00
Aleksander Machniak
f8b2afac0c Update changelog and tests 2022-06-25 09:48:23 +02:00
Player701
82fec17d34 Fix so rcmail::contact_exists() works with IDNA addresses (#8545) 2022-06-25 09:21:17 +02:00
Aleksander Machniak
83bc6289f5 Fix bug where a recipient address containing UTF-8 characters was ignored when sending an email (#8493, #8546) 2022-06-25 09:01:09 +02:00
Aleksander Machniak
42f9cdceba Master is 1.7-git 2022-06-23 19:02:23 +02:00
Aleksander Machniak
6d897963fe Fix fatal error (#8579) 2022-06-18 09:24:27 +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
Aleksander Machniak
c331431521 Fix some PHP8 compatibility issues (#8363) 2021-12-17 18:54:37 +01:00