Commit Graph

54 Commits (69ac1b2d2115a41afe2bd4527abadda70063019a)

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 a2aaba9cab User: Bugfixes & code cleanup
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 d0abc27c07 Merge remote-tracking branch 'MyIgel/translations'
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
msquare 1090d5e889
Update shifts_controller.php
fix problem when missing needed angeltype entry
Igor Scheller d6c8f1a614 Merge branch 'master' to 'rebuild-database'
msquare 6dbec2e2fb remove unused code
Igor Scheller fe58e4f422 database: updated checks for selectOne
Bot 952c7892f3 Formatting & Docstrings
msquare 769d8c4af9 better logging of needed angeltypes for shifts and rooms
msquare 50f24271eb fix all redirects to home (because of new urls redirect to ? wont work anymore)
Igor Scheller 96f1d9fd54 Bugfixes
Igor Scheller d0074cf006 Merge remote-tracking branch 'engelsystem/feature-igel-rewrite'
# Conflicts:
#	includes/controller/angeltypes_controller.php
#	includes/pages/admin_groups.php
#	includes/pages/user_settings.php
#	includes/sys_page.php
#	src/Exceptions/Handler.php
#	src/Http/Request.php
Igor Scheller cc01c906ba : Integration of symfony/http-foundation request
Igor Scheller 73175e2b64 : Added routing
msquare 7f4aa6daa5 remove exit commands after redirects (redirect does already die)
msquare a0af8d4624 further switching to db exceptions instead of return false
msquare a157004f4a handle failed db queries in Db class
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object
Igor Scheller 781f830678 Fixes and improvements
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class
Bot 740026a9de Replaced [0-9] with \d
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries
Bot 55141154c0 Replaced " with '
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup
Bot d71e7bbfad Formatting
Bot 7313e15ce8 PSR-2 formatting
msquare 46528fe1d8 shift view performance improvements
msquare bae3ede662 fixes fix exporting freeload comment in json export
msquare ff31d0a1c5 fix shift signup state being combined to null
msquare 3fd30add3c fix NPE
msquare 54f3253c32 fix js var names
msquare 15243f15fc fix shift view
msquare 27c9650dc4 reduce complexity of shifts controller
msquare 42144ed21c move static access to datetime parse function
msquare 455e417200 fix variable naming problems
msquare f3a0ce865d move sql queries from shifts controller to model
msquare 6ff5e7997a split user_shifts into different functions
msquare d5d2acc7d8 improve code style
msquare d4bba0d468 remove exit code from shifts controller
Philip Häusler 6bede2fd22 harden the sql queries
Philip Häusler 34e2f49875 shift signup improvements for shift view
Philip Häusler 702047de53 add more icons for better shift view
Philip Häusler 038bf97178 link to next shift in menu
Philip Häusler d02272afd6 add basic shift view
Philip Häusler a791a75b0a integrate shift type into shifts