Commit Graph

9 Commits

Author SHA1 Message Date
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
0cbe4a4acc PHP8 fixes, CS fixes, short array syntax, added more tests 2020-11-22 12:03:02 +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
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