Commit Graph

2180 Commits

Author SHA1 Message Date
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
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class 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 3a11641647 Updated LegacyMiddleware to use Translator class 2018-08-29 23:46:32 +02:00
Igor Scheller acfe72cb91 Removed translation from config file 2018-08-29 23:46:32 +02:00
Igor Scheller 427315195b Moved translation/internationalization to Helpers\Translator class 2018-08-29 23:46:31 +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 175c335810 Db::selectOne() should return null if result is empty 2018-08-29 18:11:35 +02:00
Igor Scheller 6ee738f82b Merge branch 'master' into rebuild-database 2018-08-29 16:01:51 +02:00
Nos- bd8ceda683 Revert "Tried to fix inputfields for date, email, tel"
This reverts commit 80f3bb5154a215d9fb5627559fa240acccab09c4.
2018-08-28 18:33:15 +02:00
Nos- ac6361b51b Tried to fix inputfields for date, email, tel 2018-08-28 18:33:15 +02:00
Nos- ee3e4193c5 Commented the german translation according to Issue #312 . 2018-08-28 18:33:15 +02:00
Nos- 5a9a256f26 Improved german translation. 2018-08-28 18:33:15 +02:00
msquare 1090d5e889
Update shifts_controller.php
fix problem when missing needed angeltype entry
2018-08-28 18:28:09 +02:00
Igor Scheller a1bc763a16 Added nikic/fast-route as routing dispatcher 2018-08-25 21:48:39 +02:00
Igor Scheller 73c9d923e7 Renamed RoutingServiceProvider to Http\UrlGeneratorServiceProvider 2018-08-22 03:10:08 +02:00
Igor Scheller 81890b6570 Build docker image with gitlab 2018-08-21 19:26:10 +02:00
Igor Scheller d93ace2eae Prevent object serialization in session 2018-08-20 21:08:06 +02:00
Igor Scheller d6c8f1a614 Merge branch 'master' to 'rebuild-database' 2018-08-20 21:07:57 +02:00
Igor Scheller b0e7bc0df2 Made Engelsystem\Http\Request PSR-7 ServerRequestInterface compatible 2018-08-20 17:43:15 +02:00
Igor Scheller bf6efe532c Added trusted proxies 2018-08-19 16:44:33 +02:00
Igor Scheller 6415882b1c docker: compose: Added internal networks 2018-08-19 16:44:33 +02:00
Igor Scheller c3c84a02f3 Made more options configurable over environment variables 2018-08-19 16:44:33 +02:00
Igor Scheller 7c48b69806 Docker: Fixed Dockerfile to build new setup 2018-08-19 16:44:33 +02:00
Igor Scheller fd709f084e Readme: Documented database import and added mail config hint 2018-08-19 16:44:33 +02:00
Igor Scheller 8ed3ed3a77 Moved docker files to contrib, added documentation 2018-08-19 16:44:33 +02:00
marudor d7ba51b3ec more env as variables 2018-08-19 16:44:33 +02:00
marudor a65d92f04e correctly config nginx 2018-08-19 16:44:33 +02:00
marudor 85bf3ee580 rewrite urls to handle php routing 2018-08-19 16:44:33 +02:00
marudor 2391952437 initial Docker stuff 2018-08-19 16:44:33 +02:00
Igor Scheller 5427ee385d Made Engelsystem\Http\Request PSR-7 RequestInterface compatible 2018-08-19 14:04:16 +02:00
Igor Scheller 18fd73a899 Moved middleware to application config 2018-08-19 13:59:57 +02:00
Igor Scheller f3b3b6683c Added middleware tests 2018-08-19 13:59:39 +02:00
Igor Scheller f3f05f6cc4 Make Engelsystem\Http\Response PSR-7 compatible 2018-08-14 00:17:19 +02:00
Igor Scheller 20c03a155d Implemented PSR-15 middleware handler 2018-08-14 00:17:19 +02:00
Igor Scheller 92c26718fd exceptions: implemented error rendering return 2018-08-14 00:17:19 +02:00
Igor Scheller d243090fea config: allow renaming of config.default.php to config.php
Closes #444 (Problems after installation)
2018-08-12 17:38:36 +02:00
Igor Scheller f46e921b71 Use domain for links to '/' to fix assets URLs on subdirectories 2018-08-12 17:36:52 +02:00
msquare 98b03d5c67
Merge pull request #446 from engelsystem/marudor-master
js codestyle
2018-08-12 13:06:05 +02:00
msquare 2d5aed1fed js codestyle 2018-08-12 13:01:03 +02:00
msquare df30f7d5d8 merge pr #427: Use npm to handle frontend dependencies 2018-08-12 12:42:58 +02:00
Jens Brandt b409d2986f rename hotfix to camelCase 2018-08-12 12:35:40 +02:00
Jens Brandt 7f270c1d26 rename hotfix to english 2018-08-12 12:35:40 +02:00
Jens Brandt a3cf3a0ee1 Hotfix php7 syntax error 2018-08-12 12:35:40 +02:00
msquare d9ebc2daec remove json export all shifts 2018-08-12 12:35:40 +02:00
Bot 28349b69a8 Changed JS to use single quotes instead of double quotes 2018-08-11 22:16:57 +02:00
Igor Scheller 2f41b9e441 Moved deploy.sh to bin folder 2018-08-07 16:54:08 +02:00
Igor Scheller 864a086900 Prevent object serialization in session 2018-08-07 16:54:08 +02:00
Igor Scheller 79e9714c74 Fix for Diactoros in legacy feature tests 2018-08-07 16:54:08 +02:00