Commit Graph

594 Commits (55beca95cd8d6ecfe610daea304c8374a10485af)

Author SHA1 Message Date
Igor Scheller c33940f64a Moved permission checks to Authenticator class
Igor Scheller 944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes  (Security Vulnerability)
Igor Scheller 23c0fae36f Added csrf middleware
msquare 8236989be0 fix missing unique mail validation on user register
Igor Scheller 15751f9c7a Fix error when accessing undefined date
Closes  (Edit User fails when User never logged in before)
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()`
Igor Scheller 82b22160fd Fixed error if shirt size is not configured
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup
Igor Scheller d7aea575ff Replaced more sql queries and old data
Igor Scheller 57932be428 Moved arrival_date to state
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉
Igor Scheller 89e62c95a7 Changed more functions 🎉
Igor Scheller b069a938c6 Changed user_link and some other user functions to use the user id
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables
Igor Scheller 90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes 
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config
Igor Scheller 66038eda14 Merge branch 'twig-templates'
Nos- b2303c0723 Tried to fix inputfields for date, email, tel
Igor Scheller 2a134e6c0b Config: Removed nightshifts query
Igor Scheller 0734807eef Merge remote-tracking branch 'MyIgel/logentry-model'
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations'
Igor Scheller c1a1180d1f Moved frontend, templates and lang to resources
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating'
Igor Scheller 9d34f371cb Added CreditsController
Igor Scheller ac48332166 Models: Added LogEntry model
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
Igor Scheller acfe72cb91 Removed translation from config file
Igor Scheller bb3d16d273 Added Twig template renderer, closes
Igor Scheller 175c335810 Db::selectOne() should return null if result is empty
Igor Scheller d93ace2eae Prevent object serialization in session
Igor Scheller d6c8f1a614 Merge branch 'master' to 'rebuild-database'
Igor Scheller 864a086900 Prevent object serialization in session
msquare 0f1da65f2a
Merge pull request from MyIgel/master
Prevent empty string after $tokens = explode(' ', $search);
msquare 2e1c2cf3b5 remove br between shift filter checkboxes
Igor Scheller fe58e4f422 database: updated checks for selectOne
Igor Scheller b2e5b5c44d Prevent empty string after $tokens = explode(' ', $search);
msquare 73ed2308c1 use user tshirt count
msquare b3ca550ed0 simplify t-shirt statistics
msquare 0314ba19e3 make got t-shirt always available
msquare c961269bb7 better hour formatting
msquare ee9fbda098 add work date to work log
msquare 86a38a3372 add user work log entries feature
msquare e7b0e9934d add shift filter buttons at the top
msquare 8c64532902 fix ical export description
Igor Scheller 6ceec76e7d feature request: filter angel types based on account settings, closes
msquare abf4b1da30 check if logged in before sign up
Igor Scheller 6953090e7d 392: Show warning message when editing html news without proper permissions to save them, Closes
Bot 952c7892f3 Formatting & Docstrings
klemens a6cf4c9ce9 spelling fixes