Commit Graph

449 Commits

Author SHA1 Message Date
Aleksander Machniak
7c1665b08f Fix PHP8 warning (#9160) 2023-10-08 09:51:37 +02:00
Aleksander Machniak
6f35b2cc5b More fixes regarding rcmail::url() (#9052) 2023-07-10 18:27:56 +02:00
Aleksander Machniak
d2e8a889c4 Fix regression that broke use_secure_urls feature (#9052) 2023-07-09 11:23:44 +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
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
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
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
aac9b696b8 Fix various PHP 8.2 warnings 2022-08-06 09:22:12 +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
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
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
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
81cc8ac0e0 Purge also subfolders of Trash (and/or messages in them) on logout (#1037) 2021-10-09 16:55:28 +02:00
Aleksander Machniak
14522d7108 get_input_value() -> get_input_string() 2021-09-26 11:34:31 +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
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
1aa52f89cb Dropped support for strftime-like format (with % sign) in date and time format configuration 2021-08-01 10:11:26 +02:00
Josh Soref
203f456620 Spelling (#8001) 2021-04-18 08:43:18 +02:00
Aleksander Machniak
39f8f639b5 Fix PHP8 fatal error when allowing images in an email (#7968) 2021-03-26 18:43:28 +01:00
Aleksander Machniak
b7ac23ea5d new_user_identity: Fix missing password for user-specific LDAP operations (#7667) 2021-02-07 09:55:41 +01:00
johndoh
1eebfd723b Improve detection of external urls for redirect (#7823) 2021-01-23 10:15:09 +01:00
Aleksander Machniak
ec9c352ecb Fix regression in handling save-pref action 2021-01-18 19:34:19 +01:00
Aleksander Machniak
118453c6ae Initialise output also in cli mode 2021-01-10 18:07:24 +01:00
Aleksander Machniak
66062846ec Fix "unitialized string offset" warnings 2020-12-19 19:43:36 +01:00
Aleksander Machniak
8b83d29f24 PHP8 fixes, do not require specific error_reporting setting anymore 2020-12-19 10:01:10 +01:00
Aleksander Machniak
21e1ed5c32 Remove redundant func_get_arg() call 2020-11-27 09:20:35 +01:00
Aleksander Machniak
0cbe4a4acc PHP8 fixes, CS fixes, short array syntax, added more tests 2020-11-22 12:03:02 +01:00
Aleksander Machniak
e99fb3968d Add tests for contacts export action, fix PHP8 issues 2020-11-02 18:49:39 +01:00
Aleksander Machniak
e2572b8984 PHP8 compat. fixes, added some tests 2020-11-02 08:55:42 +01:00
Aleksander Machniak
545a1569f1 Steps -> Actions refactoring (#7688)
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
f95212d626 PHP8: More warnings fixed 2020-10-11 15:24:30 +02:00
Aleksander Machniak
5fb7345331 Fix regression 2020-10-11 11:04:03 +02:00
Aleksander Machniak
bde383d051 PHP8: Fix various issues
for now only these I found by running our unit tests, there will be much more
2020-10-11 10:32:41 +02:00
Aleksander Machniak
b21d1fe8f2 Change "Allow remote resources" to include "from my contacts" and "from trusted senders" (#7614) 2020-10-04 10:31:47 +02:00
Aleksander Machniak
9713ce364c Automatically collected recipients and trusted senders (#6904)
Added configurable Collected Recipients addressbook source (#4971)
Added configurable Trusted Senders addressbook source (#5046)
Added 'contact_exists' hook
2020-09-20 10:00:08 +02:00
Thomas B
9020797d0d Merge pull request #7425 from thomascube/pr-xoauth2
Add OAuth/XOauth support
2020-08-10 21:40:01 +02:00
Aleksander Machniak
cd3cad6aae TinyMCE 5 (#7403) 2020-07-11 18:46:17 +02:00
Aleksander Machniak
36bf280a97 Elastic: Minimize forms/colors blink on page load 2020-07-11 10:52:24 +02:00
Aleksander Machniak
1e1ea25b6c Added special value 'email' to login_username_filter, it changes also logon input type (#7179) 2020-07-03 12:56:17 +02:00