Michael Weimann
f7d499b362
Include phpcs for /includes
2022-10-18 19:15:22 +02:00
Bot
3ebea2ae15
Replaced DB with Db
2022-06-17 20:57:52 +02:00
Igor Scheller
724894316a
Add transaction around user creation to safeguard against partially created users
2022-05-29 12:29:34 +02:00
Igor Scheller
d8076abc38
Make password enabled configurable via oauth settings
2022-03-20 18:29:51 +01:00
Igor Scheller
b5ba5f6188
Fix sso disabled password inconsistencies
2022-03-20 18:29:51 +01:00
Fabian Freyer
63be666a67
Allow password-less registration
...
Introduce a configuration option that, when unset, causes registration
to not require setting a password. Users registered without a password
will not be able to login unless through SSO.
2022-03-20 18:29:51 +01:00
Igor Scheller
643c4c8da7
Upgraded composer packages, fixed class naming and return types
2021-12-29 11:00:02 +01:00
Lena Schneider
200ac26b24
Register page layout rework
...
As discussed with @MyIgel the whole register page is in dire need of gasoline and a lighter. I started to refactor it by rearranging the row & column grid (removed 2 nesting levels) and changed the order of the field to something with a little more sense. The page still needs to be moved to a proper view...
2021-12-28 16:00:23 +01:00
Igor Scheller
2d45e04a90
Added option to allow sso account creation even if public registration is disabled
2021-12-12 12:34:43 +01:00
Igor Scheller
1ba4b57eac
Added OAuth2 SSO login group mapping
2021-12-12 12:34:43 +01:00
Igor Scheller
dc0cf101b2
Moved gdpr goodie mail opt in to own configurable option
...
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2021-12-04 11:58:06 +01:00
xuwhite
15d9abd280
changes for gdpr legal foo
2021-12-04 11:58:06 +01:00
--global
ccc0889d00
email option updated
2021-12-04 11:58:06 +01:00
Igor Scheller
b41a9a02d1
Use bootstrap icons instead of glyphicons
2021-07-29 20:01:05 +02:00
Igor Scheller
149155fbda
Added email notification on new news
2021-04-12 16:15:25 +02:00
Igor Scheller
d423bb07d3
OAuth: Save auth tokens
2020-12-26 21:09:24 +01:00
Igor Scheller
5cdf3889f9
Add max length for user settings
2020-12-20 17:46:45 +01:00
Igor Scheller
80941c2999
Login: Added OAuth support
2020-11-22 14:55:29 +01:00
Igor Scheller
c44d48a22a
Registration: Added autocompletion information and fixed naming
2020-11-22 14:55:29 +01:00
Igor Scheller
85baeb3a6b
Registration: Added pronoun
2020-11-22 14:55:29 +01:00
Igor Scheller
0bbc2d219d
Rename "restricted angeltype" to "Requires introduction" in the frontend
...
Closes #294 (Rename "restricted angeltype")
2020-10-18 16:55:11 +02:00
Bot
be39c63f46
Renamed redirect() to throwRedirect()
2019-12-08 02:12:56 +01:00
Igor Scheller
8f8130634e
Show normal login page after registration, added msg() template function
2019-10-08 15:28:23 +02:00
msquare
3ce3129b6e
feature: disable lastname+prename in config
2019-08-24 10:56:59 +02:00
Igor Scheller
bcce2625a8
Implemented AuthController for login
...
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
2019-07-08 01:57:59 +02:00
Igor Scheller
6ed891fc04
Added logout via AuthController
2019-06-12 10:24:02 +02:00
Igor Scheller
4e709d0d23
Log messages without inline HTML
2019-06-03 20:33:09 +02:00
msquare
4f1cef546e
better nick validation, fixes #429
2019-04-28 14:39:49 +02:00
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/]
```
2019-04-25 18:17:19 +02:00
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
2019-04-25 17:56:23 +02:00
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.
2019-04-23 21:05:56 +02:00
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.
2019-04-23 12:43:45 +02:00
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.
2019-03-09 13:53:08 +01:00
Janne Heß
afa4506e11
Support alternative home sites
2019-03-09 13:52:13 +01:00
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)
2018-12-22 12:03:24 +01:00
Igor Scheller
c33940f64a
Moved permission checks to Authenticator class
2018-12-02 12:53:31 +01:00
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)
2018-11-21 19:24:36 +01:00
msquare
8236989be0
fix missing unique mail validation on user register
2018-11-18 12:13:00 +01:00
Igor Scheller
88f3bafa5e
Replaced `Auth()` with `auth()`
2018-10-31 13:43:23 +01:00
Igor Scheller
d7aea575ff
Replaced more sql queries and old data
2018-10-31 13:43:23 +01:00
Igor Scheller
4e09ee3eb2
Replaced more user related stuff
...
(Contains some buggy stuff too...)
2018-10-31 13:43:23 +01:00
Igor Scheller
89e62c95a7
Changed more functions 🎉
2018-10-31 13:43:23 +01:00
Igor Scheller
2dcb7cc2de
Replaced some global `$user` variables
2018-10-31 13:43:23 +01:00
Igor Scheller
90e1a94962
Make application name configurable
...
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails
Closes #426
2018-10-30 22:50:22 +01:00
Igor Scheller
7f61dc95be
EventConfig: Merge event configuration from database to global config
2018-10-30 21:13:56 +01:00
Bot
e8f8fc7f5f
Replaced gettext translation `_()` with `__()` that uses the Translator class
2018-08-29 23:46:32 +02:00
Igor Scheller
acfe72cb91
Removed translation from config file
2018-08-29 23:46:32 +02:00
Igor Scheller
fe58e4f422
database: updated checks for selectOne
2018-01-14 17:47:26 +01:00
Bot
952c7892f3
Formatting & Docstrings
2017-12-25 23:51:15 +01:00
msquare
9e04e2d4a0
fix age validation
2017-11-29 17:41:12 +01:00