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
Aleksander Machniak
89e54718ca
Migration to PHPUnit v9
2021-07-25 11:07:56 +02:00
Sebastian Brückner
1d2ad936a7
Fix parsing aud jwt claim ( #8096 )
2021-06-11 09:58:06 +02:00
Aleksander Machniak
24fc958f03
Improve template conditionals parsing
...
The old method with big regexps was buggy as described in #8065 .
2021-05-19 19:49:57 +02:00
Aleksander Machniak
7efb2de611
Add test for bug #8065
2021-05-18 19:04:23 +02:00
Aleksander Machniak
de3d901156
Add a copule of test cases
2021-05-14 15:54:30 +02:00
Aleksander Machniak
bc531e4668
Fix various actions on folders with angle brackets in name ( #8037 )
2021-05-05 17:37:52 +02:00
Aleksander Machniak
4b5e9c10f9
Fix handling of multiple link references with the same index in plain text message ( #8021 )
...
Second attempt that should work on all supported PHP versions
2021-04-25 10:57:17 +02:00
Aleksander Machniak
dc89e18a0f
Revert "Fix handling of multiple link references with the same index in plain text message ( #8021 )"
...
This reverts commit 2be7e1cb61 .
The code used a PHP>=7.4 feature.
2021-04-25 09:15:05 +02:00
Aleksander Machniak
2be7e1cb61
Fix handling of multiple link references with the same index in plain text message ( #8021 )
2021-04-25 09:05:51 +02:00
Aleksander Machniak
39b3c0049e
Fix cross-site scripting (XSS) via HTML or Plain text messages with malicious content [CVE-2020-35730]
...
Credits to Alex Birnberg <birnbergalex@gmail.com >
2020-12-27 18:27:42 +01:00
johndoh
9e739faac5
Return 204 rather than 404 on missing contact photo ( #7778 )
...
* return 204 rather than 404 on missing contact photo
* a little code cleanup
* don't use blank.gif as placeholder, use data: uri instead
2020-12-19 10:10:54 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
08bd49614e
Remove faulty assertion
2020-11-22 12:20:10 +01:00
Aleksander Machniak
2781caee8a
Fix flaky tests
2020-11-22 12:08:07 +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
06eb080e82
Fix regressions
2020-11-08 16:12:23 +01:00
Aleksander Machniak
8b16a7dfe7
More tests
2020-11-08 11:06: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
johndoh
4c8ea71e3a
Fix so setting 'login' in config['skin_logo'] does not change the favicon ( #7456 , #7470 )
...
* Fix skin_logo config, again
* Elastic: add support for dark mode logos
* Add new additional_logo_types config for skins
2020-08-07 10:34:40 +02:00
Aleksander Machniak
30610e867e
Merge branch 'fix_encode' of https://github.com/shirosaki/roundcubemail into shirosaki-fix_encode
...
Refactor the new code
2020-06-13 12:53:31 +02:00
Aleksander Machniak
db5ab6d3f6
Fix identity selection on reply when both sender and recipient addresses are included in identities ( #7211 )
2020-02-09 13:26:29 +01:00
johndoh
d51352b9cb
Add support for nested if conditions ( #6829 )
...
* add support for nested if conditions
* add tests for condition parsing in templates
* make [space][slash] ending of condition objects optional (#6954 )
2020-01-05 12:02:55 +01:00
Aleksander Machniak
47d9ed6d0c
Add support for PHPUnit 6 and 7 ( #6870 )
...
Fixes composer dependencies: Package phpunit/phpunit-mock-objects is abandoned
We cannot support v8 yet because of errors like:
Declaration of MailFunc::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void
It would require dropping PHP < 7.1 support.
2019-12-28 09:37:45 +01:00
PhilW
714ea7b128
add unit tests for rcmail_output_html::get_template_logo
2019-10-27 07:37:08 +00:00
Aleksander Machniak
e88e0c16c9
Move rcmail (and future rcmail_*) class tests to tests/Rcmail directory
2019-08-10 08:37:27 +02:00