Commit Graph

57 Commits

Author SHA1 Message Date
Thomas Rupprecht d4104850be
phpstan fixes (partial level 3) (#1091) 2023-04-01 14:39:25 +02:00
Igor Scheller a464682b47 Reimplemented admin room pages 2023-02-26 16:55:04 +01:00
Igor Scheller 713f8222e4 Unified user notifications 2023-02-13 19:38:29 +01:00
Bot f9d22f9bda Set strict types everywhere (except includes) 2023-02-03 20:55:58 +01:00
Igor Scheller 8223193330 Added uuid/uuidBy twig functions 2023-02-02 20:01:31 +01:00
Thomas Rupprecht 5a2b8f7ff9
Improve navbar 2023-01-22 19:16:33 +01:00
Igor Scheller 89dc85c3d5
Add ShiftEntry model 2023-01-18 13:02:11 +01:00
Michael Weimann 2ad4203dd3
Add useless comment phpcs sniff 2022-12-20 22:19:49 +01:00
Michael Weimann b004f865b4
Set native property types
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:50 +01:00
Michael Weimann aff8826c99
Set native return types
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:31 +01:00
Michael Weimann 2b88322c0c
Set native parameter types
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:30 +01:00
Igor Scheller 7acd34ba74 Added unread messages as global var 2022-06-06 16:12:47 +02:00
Igor Scheller b842466b3a Added assets hashing after build, added favicon 2022-04-29 22:26:58 +02:00
Michael Weimann 66e7a3e183 Add unused imports phpcs rule 2022-04-19 23:33:44 +02:00
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.
2022-01-01 16:33:40 +01:00
Igor Scheller 657b44f9cf Redirect back from login after 403 (Not authorized) 2021-10-23 17:13:46 +02:00
Igor Scheller 4825c2de2b Fixed test coverage and naming 2021-08-17 15:22:22 +02:00
Igor Scheller f201b2f1c8 Merge branch 'feature-bootstrap5'
# Conflicts:
#	package.json
#	tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php
#	webpack.config.js
#	yarn.lock
2021-08-17 14:26:28 +02:00
Igor Scheller ec355d40f5 Added user related factories 2021-08-08 18:31:33 +02:00
Igor Scheller 19fc114cf7
Added ?theme parameter to temporary change theme 2021-07-29 20:01:10 +02:00
Igor Scheller 03185f8865
Fixed globals and design unit tests 2021-07-29 20:00:57 +02:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
Igor Scheller 620c9a02bb News: Render as markdown 2020-10-21 21:51:48 +02:00
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