127 Commits (7d82103762591e66580bf0b5c3cfd94ba1ada6f4)

Author SHA1 Message Date
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
5 years ago
Igor Scheller 6ed891fc04 Added logout via AuthController 5 years ago
Igor Scheller 4e709d0d23 Log messages without inline HTML 5 years ago
msquare 4f1cef546e better nick validation, fixes #429 6 years ago
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/]
```
6 years ago
Igor Scheller 7c3a0c70e8 Bugfix: default value for planned_arrival_date and don't overwrite dect
Fixed registration form formatting
Fixed profile request attributes fallback values
6 years ago
Janne Heß 79b30fa3a8 Support disabling the planned arrival
We also use Engelsystem for single-day events, and the planned
arrival/departure feature doesn't make sense for us.
6 years ago
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.
6 years ago
Janne Heß 69ac1b2d21 Support disabling the arrival feature
Setting `autoarrive` to true will now cause all newly registered angels
to be automatically confirmed as arrived.
6 years ago
Janne Heß afa4506e11 Support alternative home sites 6 years ago
Igor Scheller b1d8fede46 user: allow up to 40 characters for dect numbers
closes #309 (EPVPN number in DECT field is shortened)
closes #529 (For dect numbers are only 5 digits allowed)
6 years ago
Igor Scheller c33940f64a Moved permission checks to Authenticator class 6 years ago
Igor Scheller 944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes #494 (Security Vulnerability)
6 years ago
msquare 8236989be0 fix missing unique mail validation on user register 6 years ago
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()` 6 years ago
Igor Scheller d7aea575ff Replaced more sql queries and old data 6 years ago
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
6 years ago
Igor Scheller 89e62c95a7 Changed more functions 🎉 6 years ago
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables 6 years ago
Igor Scheller 90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes #426
6 years ago
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config 6 years ago
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class 6 years ago
Igor Scheller acfe72cb91 Removed translation from config file 6 years ago
Igor Scheller fe58e4f422 database: updated checks for selectOne 7 years ago
Bot 952c7892f3 Formatting & Docstrings 7 years ago
msquare 9e04e2d4a0 fix age validation 7 years ago
msquare bb2681a7c8 add validation of dect numbers 7 years ago
msquare 4eedad6c89 fix problem with default values on registration 7 years ago
msquare f9ab269758 fix problem with default values on registration 7 years ago
msquare 6b74705f37 fix problem with default values on registration 7 years ago
msquare d8de02db34 fix problem with default values on registration 7 years ago
msquare 59cd65cb50 fix problem with validation of planned arrival date 7 years ago
msquare 7df64c82a6 fix problem with bools in queries 7 years ago
msquare c62833bb51 fix problem with default value when registering 7 years ago
msquare eec161a852 fix problem with default age when registering 7 years ago
msquare 50f24271eb fix all redirects to home (because of new urls redirect to ? wont work anymore) 7 years ago
Igor Scheller 945fcb079a Added registration_enabled configuration 7 years ago
Igor Scheller 2bd127c011 Use symfony session 7 years ago
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
7 years ago
Igor Scheller 3002ed9e93 Security: Only allow angels with admin_news_html privilege to use HTML 7 years ago
Igor Scheller cc01c906ba #336: Integration of symfony/http-foundation request 7 years ago
Igor Scheller 73175e2b64 #337: Added routing 7 years ago
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected 7 years ago
Igor Scheller d4ad70804b Removed overwhelmed page 7 years ago
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object 7 years ago
Igor Scheller 68da2a4eb8 Renamed "default_theme" config to "theme" 8 years ago
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class 8 years ago
Bot 740026a9de Replaced [0-9] with \d 8 years ago
Bot 915ce28fee Replaced " with ' 8 years ago
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries 8 years ago