Commit Graph

66 Commits (0e6de03ac1d9c57558dc7d3a8b93116b1d8bea07)

Author SHA1 Message Date
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
Igor Scheller 4e709d0d23 Log messages without inline HTML
Igor Scheller d208cab1ac When only free shifts should be shown: filter for selected angel types
closes  (shifts shown, where not selected angeltype is free)
Igor Scheller 1fefe93bc8 users_controller: formatting
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 88f3bafa5e Replaced `Auth()` with `auth()`
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup
Igor Scheller d7aea575ff Replaced more sql queries and old data
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
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
Igor Scheller fe58e4f422 database: updated checks for selectOne
msquare c961269bb7 better hour formatting
msquare 86a38a3372 add user work log entries feature
msquare 3993e553d1 small improvements of user view
msquare b59d17918e small improvements of user view
msquare c3b8fa892d tshirt-score for forced active
msquare 1e8f0c4845 fixes , fixes : T-Shirt Score™ should be shown on the user view page below your shifts
Bot 952c7892f3 Formatting & Docstrings
msquare 50f24271eb fix all redirects to home (because of new urls redirect to ? wont work anymore)
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 a0af8d4624 further switching to db exceptions instead of return false
msquare 5794c4cab8 clear delete queries from false resuls
msquare a157004f4a handle failed db queries in Db class
Igor Scheller b7ebb05b8e Passwords should be posted
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class
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
Igor Scheller 1f8d1eb4bb Fixed "Constant already defined" notice
Added more ugly global variables
msquare b8ebd23f6d bring back filtering by occupancy
msquare fe5dec73ba bring back filtering by occupancy
msquare 4407604793 move data sorting to begin
msquare 34248bb20c show freeload comments to supporters (user shift admin)
msquare f2630162e9 reduce complexity of password recovery controller
msquare eec10ebfc5 reduce complexity of user angeltypes controller
msquare 1debe567f5 simplify user_angeltype_add_controller
msquare f05f1a3cd4 rename to
msquare bd9003f5d5 prohibit inline control structures on controllers
msquare 53ad1b5110 fix codacy unused code
Philip Häusler ef60b95555 add a more secure way to delete users containing a password request