Commit Graph

2538 Commits

Author SHA1 Message Date
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
Aleksander Machniak
5f8bf1bb15 Fix handling of unicode/special characters in custom From input (#8357) 2021-12-12 18:14:02 +01:00
Aleksander Machniak
7b81a71393 Don't use TLS by default (#8359)
Also unify the common code with a new rcube_utils::parse_host_uri() method
2021-12-11 09:52:23 +01:00
Aleksander Machniak
893216cb29 Unified and simplified services connection options (#8310) 2021-12-07 15:07:54 +01:00
Thomas Bruederli
e94177dd63 Pass 'id_token' to 'oauth_login' plugin hook (#8214)
... and unset it afterwards
2021-12-02 22:36:28 +01:00
Thomas Bruederli
3ba68eef08 Fix expiration of short-lived oauth tokens (#8147)
Just add a small margin of 10s to consider the transfer
and processing time between oauth server and roundcube.
2021-12-02 21:25:20 +01:00
Thomas Bruederli
0c7c9e7ccb Fix relative path to assets if /index.php/foo/bar url is used (#8144) 2021-12-02 21:25:20 +01:00
Aleksander Machniak
a9f51ced21 CS fixes, update changelog 2021-11-28 08:39:12 +01:00
Philip Weir
e2a9d36f5e Add loginform_content plugin hook (#8273) 2021-11-28 08:32:50 +01:00
Aleksander Machniak
28b6351750 Fix compatibility with Referrer-Policy: "strict-origin" (#8170) 2021-11-13 10:02:24 +01:00
Aleksander Machniak
a968f52dcd Fix PHP8 warnings (#8286) 2021-11-06 09:09:19 +01:00
Aleksander Machniak
eec0d2b578 Display a generic error page on initial DB/configuration errors (#8222) 2021-10-27 14:27:56 +02:00
Aleksander Machniak
8a4eecbcb0 Don't write stats info to console.log when in CLI
If the file was created by the web server user, user executing the CLI command
might have no permissions. This leads to an error, and e.g. when installing
a plugin/skin via composer is converted to an ugly exception. We want to prevent that.
Anyway, these stats are most useful for the webmail use not for CLI commands.
2021-10-24 15:53:47 +02:00
Aleksander Machniak
38f519659c Fix some PHP8 warnings (#8239) 2021-10-21 19:52:04 +02:00
Aleksander Machniak
640e22d987 Fix PHP8 warnings 2021-10-17 11:18:14 +02:00
Aleksander Machniak
81cc8ac0e0 Purge also subfolders of Trash (and/or messages in them) on logout (#1037) 2021-10-09 16:55:28 +02:00
Aleksander Machniak
48fbf110af SQLite: Use foreign keys, require SQLite >= 3.6.19 (#8159) 2021-10-03 12:10:14 +02:00
Aleksander Machniak
e0e5626802 Bring back support for defining logo images via data-src-* attributes
Removed (unintentionally?) in 4c8ea71e3a
2021-09-30 13:46:48 +02:00
Aleksander Machniak
14522d7108 get_input_value() -> get_input_string() 2021-09-26 11:34:31 +02:00
Aleksander Machniak
0b0869e680 Add possibility to disable line-wrapping of sent mail body (#5101) 2021-09-26 10:08:31 +02:00
Aleksander Machniak
5db6dd0317 Fix handling of dark_mode_support:false setting in skins meta.json (#8186) 2021-09-25 09:59:23 +02:00
Aleksander Machniak
f2688ba492 Use ?? operator where applicable 2021-09-21 19:12:06 +02:00
Aleksander Machniak
d7338a4203 Add option to purge deleted mails older than 30, 60 or 90 days (#5493) 2021-08-29 11:06:04 +02:00
Aleksander Machniak
cb37d14c5c Support responses (snippets) in HTML format (#5315) 2021-08-28 19:17:19 +02:00
Aleksander Machniak
e2187b8f2d Fix various PHP 8.1 warnings 2021-08-27 16:52:54 +02:00
Aleksander Machniak
d518dd5e74 Fix explode() arguments order (#8176) 2021-08-25 18:47:51 +02:00
Aleksander Machniak
67d3b0fe63 Update changelog, code cleanup 2021-08-04 10:51:08 +02:00
Nico Antkowiak
12c7ea581d Add option to control links handling behavior on html to text conversion (#6485)
Co-authored-by: NAN <antkowiak@dionera.com>
2021-08-04 10:37:14 +02:00
Aleksander Machniak
9e3d145917 Stop execution and print error on unsupported PHP version 2021-08-01 17:57:29 +02:00
Aleksander Machniak
1aa52f89cb Dropped support for strftime-like format (with % sign) in date and time format configuration 2021-08-01 10:11:26 +02:00