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
Aleksander Machniak
1afa46d28d
PHPDoc and CS fixes
2019-08-25 14:15:09 +02:00
Aleksander Machniak
fdac30e544
Support PECL memcached extension as a session and cache storage driver (experimental)
2019-05-26 11:50:33 +02:00
Aleksander Machniak
6e5027ba24
Fix so userlogins and sendmail logs are never put into the per_user_logging folder
2019-05-21 12:58:43 +02:00
Aleksander Machniak
593188559a
Fix regression where non-terminating errors were sent to the browser
2019-05-01 21:45:46 +02:00
Aleksander Machniak
fbb5a5bc4f
Small code simplification in raise_error()
2019-04-22 09:46:38 +02:00
Aleksander Machniak
02dc6ce41c
Don't init the session in CLI mode
...
This prevents from PHP warnings when using CLI scripts e.g. installto.sh.
2019-04-22 09:34:53 +02:00
Aleksander Machniak
72ad567db6
Add new line at the end of error message in CLI mode
2019-04-22 09:32:30 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
32a0ad6778
Force session.gc_probability=1 when using custom session handlers ( #6560 )
2018-12-29 10:05:01 +01:00
Aleksander Machniak
d3c65d752b
Remove useless "return null;" at the end of function block
2018-12-27 11:03:47 +01:00
PhilW
e024f133fa
give all temp files a constant prefix
2018-11-06 07:11:04 +00:00
Aleksander Machniak
2935b3a66a
Fix malformed message saved into Sent folder when using big attachments and low memory limit ( #6498 )
2018-10-27 12:52:16 +02:00
Allan Klaus
6a49ba5aa2
Added exec_hook to send error to an external error tracking tool ( #6198 )
2018-09-03 13:15:27 +02:00