Aleksander Machniak
a20445fcc5
Fix potential HTTP protocol version mismatch ( #8982 )
2023-05-07 16:37:17 +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
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
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
bae45d5728
Always define 'abort' arg in rcube_dummy_plugin_api handler ( #8669 )
2022-08-13 08:58:52 +02:00
Aleksander Machniak
aac9b696b8
Fix various PHP 8.2 warnings
2022-08-06 09:22:12 +02:00
Aleksander Machniak
68be98817f
Fix so "Found unconstructed Spoofchecker" error is not fatal ( #8537 )
2022-07-10 08:52:42 +02:00
Aleksander Machniak
e247209280
Fix various PHP 8.1 warnings ( #8584 )
2022-06-25 08:33:03 +02:00
Aleksander Machniak
fa65a68389
Use ... oprator instead of func_get_args() for variadic functions
2022-04-27 19:21:00 +02:00
Aleksander Machniak
ac9b91f4c7
Strip HTML tags in URL logged with an error
2022-01-23 09:43:01 +01:00
Aleksander Machniak
f429b26810
Fix various PHP8 warnings ( #8392 )
2022-01-11 19:04:24 +01:00
Aleksander Machniak
b987892524
Fix openssl_encrypt() warning on PHP 7.3
2021-10-29 16:14:32 +02:00
Aleksander Machniak
318d6d0859
Simplify code according to the minimum PHP version supported
2021-10-05 19:29:57 +02:00
Aleksander Machniak
6ed101f5e1
Add support for encryption with AEAD ciphers, e.g. aes-256-gcm ( #7097 )
2021-10-04 19:22:34 +02:00
Aleksander Machniak
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
johndoh
693252edfe
Remove redudant php version checks ( #8154 )
2021-08-01 17:39:12 +02:00
Aleksander Machniak
0d4a395464
Fix PHP 8.1 deprecation warnings
2021-07-31 07:53:14 +02:00
Aleksander Machniak
ed17ce58b1
Remove (incorrect) use of Return-Receipt-To header ( #8069 )
2021-05-22 09:13:42 +02:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
Michael Stilkerich
2e88de27db
Fix phpdoc for rcube::decrypt() ( #7956 )
...
* Fix phpdoc for rcube::decrypt()
* Adapt rcube::decrypt() to return false on error
2021-03-21 14:46:14 +01:00
Aleksander Machniak
9508059b90
Plugin API: Allow modification of 'error' argument in 'message_send_error' hook ( #7914 )
2021-03-13 08:54:30 +01:00
Aleksander Machniak
5ac44fd4ed
PHPDoc fixes
2021-02-28 11:58:27 +01:00
Aleksander Machniak
277e66b2ac
Fix undefined index warning
2021-02-15 11:34:14 +01:00
Aleksander Machniak
fdd52a5312
Give more prio to $user_email property in get_user_email(), follow up fix for #7667
2021-02-09 18:31:57 +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
2d38d6e30b
fix typo ( #7866 )
2021-01-31 11:37:33 +01:00
Aleksander Machniak
3bbb01fe13
PHP8 fixes, regression fixes
2020-12-13 12:14:15 +01:00
Aleksander Machniak
12547ccf01
Require php-intl extension, get rid of Net_IDNA2, PHP8 fixes, short array syntax
...
Net_IDNA2 is not compatible, and Intl is a bundled ext since PHP 5.3.
Fixed some regressions.
2020-12-13 10:21:52 +01:00
Aleksander Machniak
61a5ade872
PHP8 fixes, short array syntax
2020-12-12 16:20:14 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
c98059e43d
Short array syntax, CS fixes, tests
2020-11-26 20:34:35 +01:00
Aleksander Machniak
c94ad33280
Bump dusk version
2020-11-23 09:52:58 +01:00
Michael Stilkerich
bad1dedbf6
Phpdoc type annotations ( #7733 )
2020-11-21 09:34:24 +01:00
Aleksander Machniak
1164d9e103
rcmail_utils::get_http_client() -> rcube::get_instance()->get_http_client()
2020-11-21 09:28:25 +01:00
Aleksander Machniak
e99fb3968d
Add tests for contacts export action, fix PHP8 issues
2020-11-02 18:49:39 +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
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
Michael Steininger
6345982655
Add $lang argument to read_localization ( #7599 )
2020-09-20 11:13:15 +02:00
Aleksander Machniak
a5c2b4360c
Fixes in context of undefined variables, and code style
2020-08-15 12:13:31 +02:00
Aleksander Machniak
d7d7ca046f
Cache refactoring ( #6312 ) ( #6781 )
2020-07-18 13:51:47 +02:00
Aleksander Machniak
e2c25a1949
Fix support for an error as a string in message_before_send hook ( #7475 )
2020-07-18 08:24:44 +02:00
Kent Varmedal
b4dabff26c
Add newline when writing logs to stdout ( #7418 )
...
Add newline on the end of the line when printing to stdout.
2020-06-13 07:48:13 +02:00
Aleksander Machniak
15ee34a438
Revert "Fix bug where session was destoryed with window close ( #7251 )"
...
This reverts commit 32fac136db .
2020-04-05 12:25:01 +02:00
Aleksander Machniak
32fac136db
Fix bug where session was destoryed with window close ( #7251 )
2020-04-04 11:52:42 +02:00
Aleksander Machniak
d340f18295
Fix display issues with mail subject that contains line-breaks ( #7191 )
2020-01-25 08:44:46 +01:00
johndoh
51a9dd631f
Add support for SameSite cookie attribute (req PHP >= 7.3.0) ( #6772 )
2020-01-05 15:53:51 +01:00
Aleksander Machniak
20e25582e7
Fix so an error is loogged when encryption fails ( #6948 )
2019-10-05 13:38:30 +02:00
Aleksander Machniak
17296b39cb
Fix infinite loading message on iframe loading errors
...
The loading message was not stopped on "hard" errors, i.e. when
the page was blank, e.g. on 500 error.
2019-09-24 11:31:17 +02:00
Aleksander Machniak
3b4d9f3fb5
PHPDoc updates
2019-08-25 19:24:08 +02:00