Commit Graph

100 Commits (e947e788f96e353ca8df1d64ec1044691b69f28c)

Author SHA1 Message Date
Bot be39c63f46 Renamed redirect() to throwRedirect()
Igor Scheller a02f5e61be Edit user: Prevent overwriting first and last name if temporary disabled
Igor Scheller 100602437f User admin: Allow setting new groups if user has none assigned
msquare 3ce3129b6e feature: disable lastname+prename in config
Igor Scheller 69b3a2440c Admin user: Show force active status in log
msquare d376c0d038 fix edit user error
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
msquare 4f1cef546e better nick validation, fixes
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/]
```
Janne Heß 665e444e88 Support disabling the DECT field
It's a really chaos-event-specific feature and is confusing for many
people on non-chaos events.
msquare db26412e6c fixes : fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive
Igor Scheller 31d9efb2b8 Bugfix: Edit user: Show groups list if angel has no rights
Igor Scheller b1d8fede46 user: allow up to 40 characters for dect numbers
closes  (EPVPN number in DECT field is shortened)
closes  (For dect numbers are only 5 digits allowed)
Igor Scheller c33940f64a Moved permission checks to Authenticator class
Igor Scheller 23c0fae36f Added csrf middleware
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 a2aaba9cab User: Bugfixes & code cleanup
Igor Scheller d7aea575ff Replaced more sql queries and old data
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
Nos- b2303c0723 Tried to fix inputfields for date, email, tel
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
Igor Scheller acfe72cb91 Removed translation from config file
Igor Scheller fe58e4f422 database: updated checks for selectOne
Bot 952c7892f3 Formatting & Docstrings
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 3002ed9e93 Security: Only allow angels with admin_news_html privilege to use HTML
Igor Scheller cc01c906ba : Integration of symfony/http-foundation request
Igor Scheller 73175e2b64 : Added routing
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object
Igor Scheller 781f830678 Fixes and improvements
Bot 3de0cc840f Removed spaces
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries
Igor Scheller 8254a79c58 Bugfixes & improvements
Bot 55141154c0 Replaced " with '
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup
Bot d71e7bbfad Formatting
Bot 7313e15ce8 PSR-2 formatting
msquare 9975e42d3c fix edit user bug deleting emails
msquare 2f2d08c574 fix edit user bug deleting emails
msquare f5a5f234e4 fixes : add checkbox allowing the users email to be used by humans like event-team
msquare eec10ebfc5 reduce complexity of user angeltypes controller
msquare 07ddbb0f4c make short variable names longer
msquare 91dafb19ec prohibit inline control structures on pages