Commit Graph

23 Commits

Author SHA1 Message Date
167533a65f Allow loading bind secret from file 2021-12-09 13:18:55 +01:00
0b4885b5d2 Fix multiple imports using the same name 2021-02-05 17:09:10 +01:00
2b68b55c52 Format using Black 2021-02-05 17:00:55 +01:00
b95662df1e Set the PermissionDenied's detail text 2021-02-05 17:00:19 +01:00
2f5f312d9c Move the Django API Permissions to a FastAPI dependency 2021-02-05 13:28:08 +01:00
117ab96017 Fix user creation 2021-02-05 12:23:32 +01:00
4229cebd61 Merge branch 'master' into feat/ldap 2021-02-04 18:56:26 +01:00
261d65f8b3 (Hopefully) Fix user creation 2021-02-04 18:49:00 +01:00
Tom Hacohen
709bc6c1fc Improve typing information. 2020-12-29 18:17:28 +02:00
Tom Hacohen
174e54681d Improve type annotations. 2020-12-29 16:10:11 +02:00
Tom Hacohen
ff55904f49 Fix user type 2020-12-29 14:04:17 +02:00
Tom Hacohen
794b5f3983 Fix many type errors. 2020-12-29 13:32:19 +02:00
Tom Hacohen
13a46cb1db Myauth: add missing migration.
Fixes #70
2020-11-19 10:13:13 +02:00
2d11c82e32 Format code using black 2020-11-14 16:44:45 +01:00
6751502e21 Merge remote-tracking branch 'origin/master' into feat/ldap 2020-11-14 16:39:46 +01:00
Tal Leibman
d8e5c37db1
Use black for code formatting and format the code
Merge #65
2020-11-14 17:04:41 +02:00
69c920ab12 Fix syntax error 2020-11-10 11:28:43 +01:00
Tom Hacohen
47103df48a Change user creation to not ask for a password (and clarify the readme). 2020-11-07 18:58:29 +02:00
b0d0f99492 Refactor LDAP support and add LDAP caching 2020-11-06 20:55:04 +01:00
Tom Hacohen
3d6ba634ce Disallow + in usernames. 2020-07-16 10:40:30 +03:00
Tom Hacohen
7ec45434ba User: make username case insensitive (and save original styling).
We want 'User' and 'UsEr' to mean the same user. Apparently that's not the default in
django. This normalizes the user to ensure we enforce this.
2020-07-12 11:11:33 +03:00
Tom Hacohen
4083be8e8c Username: disallow @ in usernames. 2020-05-15 11:12:24 +03:00
Tom Hacohen
6b0a40e9dd Set custom user model and reset migrations. 2020-05-13 16:01:49 +03:00