43 Commits (main)

Author SHA1 Message Date
Tobias Wiese 9db8773150 markdown: let Parsedown escape content
Letting Parsedown escape the content, instead of calling
htmlspecialchars provides more context to the escape process.
For example the ampersand character can now be used in markdown links as
part of the url without breaking.
3 years ago
Igor Scheller 657b44f9cf Redirect back from login after 403 (Not authorized) 3 years ago
Igor Scheller 4825c2de2b Fixed test coverage and naming 3 years ago
Igor Scheller f201b2f1c8 Merge branch 'feature-bootstrap5'
# Conflicts:
#	package.json
#	tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php
#	webpack.config.js
#	yarn.lock
3 years ago
Igor Scheller ec355d40f5 Added user related factories 3 years ago
Igor Scheller 19fc114cf7
Added ?theme parameter to temporary change theme 3 years ago
Igor Scheller 03185f8865
Fixed globals and design unit tests 3 years ago
Igor Scheller 80941c2999 Login: Added OAuth support 4 years ago
Igor Scheller 620c9a02bb News: Render as markdown 4 years ago
Igor Scheller a59546baf8 Renderer: Log critical instead of error if no matching file renderer configured 5 years ago
Igor Scheller 64dc16e4d9 Logger: Added handling for exceptions and log exceptions if they occur 5 years ago
Igor Scheller 93ae2442f6 Formatting, syntax, typehint and namespace fixes, cleanups 5 years ago
Igor Scheller 351fc1f749 PHPUnit upgrade to 9.1, PHP upgrade to 7.3 5 years ago
Igor Scheller ba4db7a7ff Added Develop twig extension with support for dd() and dump() functions 5 years ago
Igor Scheller d27bcabc8b tests: code coverage cleanup 5 years ago
Igor Scheller 577c052aff Twig update to 3.0.0 and Renderer type hinting 5 years ago
Igor Scheller 15e6740e12 Twig update to > 2.11: Fixed namespaces, warnings and cleanup 5 years ago
Igor Scheller f8e1f85089 Removed not used {trans} twig token 5 years ago
Igor Scheller 2cce967eb0 Tests: Replaced duplicates and formatting/cleanup 5 years ago
Igor Scheller 867d720f15 Tests: Replaced setMethods as it is deprecated 5 years ago
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 5 years ago
Igor Scheller 154625bc8a CI: Fix tests 5 years ago
Igor Scheller f90ab26fee Moved translation helpers to sub namespace 6 years ago
Igor Scheller e9f157ec5c Renderer: Added shared data 6 years ago
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/]
```
6 years ago
Igor Scheller c74fa7955d phpunit: Upgrade to version 8, fixed tests, formatting
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
6 years ago
Igor Scheller 393db49294 Renderer: Added twig extension for markdown rendering 6 years ago
Igor Scheller c33940f64a Moved permission checks to Authenticator class 6 years ago
Igor Scheller f845a5ab8b Added caching for templating and routing
See #486 (Implement caching)
6 years ago
Igor Scheller 23c0fae36f Added csrf middleware 6 years ago
Igor Scheller d15946df2d Changed `src/` code and templates to use the new user model 6 years ago
Igor Scheller b443b53919 Translation: added pluralization support 6 years ago
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config 6 years ago
Igor Scheller 66038eda14 Merge branch 'twig-templates' 6 years ago
Igor Scheller 4bf3a68f43 Fixed assets rendering 6 years ago
Igor Scheller 9e217d87c0 Template refactoring to use twig 6 years ago
Igor Scheller 8257864829 Added translation support for twig templates
See https://twig-extensions.readthedocs.io/en/latest/i18n.html for documentation
6 years ago
Igor Scheller a2c47304d8 Added generic error pages 6 years ago
Igor Scheller df6360044b Added Twig template functions 6 years ago
Igor Scheller bb3d16d273 Added Twig template renderer, closes #338 6 years ago
Igor Scheller e15e863625 Added tests for base_path and config_path 7 years ago
Igor Scheller 60fd72cd1a Added service providers 7 years ago
Igor Scheller 1e267ce3b1 Added Renderer unit test 7 years ago