Commit Graph

34 Commits

Author SHA1 Message Date
Igor Scheller a59546baf8 Renderer: Log critical instead of error if no matching file renderer configured 2020-06-14 13:55:08 +02:00
Igor Scheller 64dc16e4d9 Logger: Added handling for exceptions and log exceptions if they occur 2020-05-01 20:52:15 +02:00
Igor Scheller 93ae2442f6 Formatting, syntax, typehint and namespace fixes, cleanups 2020-04-25 16:54:30 +02:00
Igor Scheller 351fc1f749 PHPUnit upgrade to 9.1, PHP upgrade to 7.3 2020-04-25 16:42:21 +02:00
Igor Scheller ba4db7a7ff Added Develop twig extension with support for dd() and dump() functions 2020-04-25 15:50:57 +02:00
Igor Scheller d27bcabc8b tests: code coverage cleanup 2020-01-02 15:09:08 +01:00
Igor Scheller 577c052aff Twig update to 3.0.0 and Renderer type hinting 2019-11-29 19:38:28 +01:00
Igor Scheller 15e6740e12 Twig update to > 2.11: Fixed namespaces, warnings and cleanup 2019-11-29 18:42:20 +01:00
Igor Scheller f8e1f85089 Removed not used {trans} twig token 2019-11-29 16:56:44 +01:00
Igor Scheller 2cce967eb0 Tests: Replaced duplicates and formatting/cleanup 2019-11-06 13:16:00 +01:00
Igor Scheller 867d720f15 Tests: Replaced setMethods as it is deprecated 2019-11-06 12:29:58 +01:00
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 2019-10-08 15:28:23 +02:00
Igor Scheller 154625bc8a CI: Fix tests 2019-09-17 22:16:53 +02:00
Igor Scheller f90ab26fee Moved translation helpers to sub namespace 2019-07-08 01:58:06 +02:00
Igor Scheller e9f157ec5c Renderer: Added shared data 2019-07-08 01:58:06 +02:00
Igor Scheller 79c92da8c1 Formatting
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
2019-04-25 18:17:19 +02:00
Igor Scheller c74fa7955d phpunit: Upgrade to version 8, fixed tests, formatting
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
2019-04-25 17:56:06 +02:00
Igor Scheller 393db49294 Renderer: Added twig extension for markdown rendering 2018-12-22 12:01:23 +01:00
Igor Scheller c33940f64a Moved permission checks to Authenticator class 2018-12-02 12:53:31 +01:00
Igor Scheller f845a5ab8b Added caching for templating and routing
See #486 (Implement caching)
2018-11-24 16:30:36 +01:00
Igor Scheller 23c0fae36f Added csrf middleware 2018-11-21 19:24:36 +01:00
Igor Scheller d15946df2d Changed `src/` code and templates to use the new user model 2018-10-31 13:43:23 +01:00
Igor Scheller b443b53919 Translation: added pluralization support 2018-10-30 22:50:22 +01:00
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config 2018-10-30 21:13:56 +01:00
Igor Scheller 66038eda14 Merge branch 'twig-templates' 2018-09-23 20:11:37 +02:00
Igor Scheller 4bf3a68f43 Fixed assets rendering 2018-09-10 14:40:33 +02:00
Igor Scheller 9e217d87c0 Template refactoring to use twig 2018-09-02 02:09:56 +02:00
Igor Scheller 8257864829 Added translation support for twig templates
See https://twig-extensions.readthedocs.io/en/latest/i18n.html for documentation
2018-08-29 23:46:32 +02:00
Igor Scheller a2c47304d8 Added generic error pages 2018-08-29 23:46:32 +02:00
Igor Scheller df6360044b Added Twig template functions 2018-08-29 23:46:31 +02:00
Igor Scheller bb3d16d273 Added Twig template renderer, closes #338 2018-08-29 23:46:11 +02:00
Igor Scheller e15e863625 Added tests for base_path and config_path 2017-10-31 14:30:37 +01:00
Igor Scheller 60fd72cd1a Added service providers 2017-10-31 13:40:13 +01:00
Igor Scheller 1e267ce3b1 Added Renderer unit test 2017-09-19 23:55:24 +02:00