Éloi Rivard
57af18d557
Use a unique identifier to indentify users in URLS
...
Previously we used the uid since we supposed this value was always
valid, but some users user the mail attribute as the User RDN in their
OpenLDAP installation, and do not have a uuid.
2023-06-29 15:55:39 +02:00
Éloi Rivard
361fda0386
Renamed User.phone_number in User.phone_numbers
2023-06-22 15:33:03 +02:00
Éloi Rivard
371f806695
Renamed User.email in User.emails
2023-06-22 15:15:46 +02:00
Éloi Rivard
14ec6e9c9e
ldap backend avoid to store empty values
2023-06-22 13:27:43 +02:00
Éloi Rivard
d65dbfbe96
listify utility
2023-06-22 13:09:44 +02:00
Éloi Rivard
caf434a1fc
debug template variable is available everywhere
2023-06-20 14:22:19 +02:00
Éloi Rivard
23e9e7e71a
Renamed Backend in BaseBackend
2023-06-05 18:10:37 +02:00
Éloi Rivard
e5ba0a8c86
compatibility bugfix for flask 2.3
2023-06-03 13:42:23 +02:00
Éloi Rivard
17c2f7a5cd
Implemented LDAP ppolicy support.
2023-05-26 15:23:43 +02:00
Éloi Rivard
d8158d6a72
Use ruff linter
2023-05-25 13:37:58 +02:00
Éloi Rivard
77d3a1a656
Do not event attempt to add oauth schema if present
2023-05-24 16:59:36 +02:00
Éloi Rivard
a92542cd81
Moved models specificities in the backend module
2023-05-20 21:24:14 +02:00
Éloi Rivard
c75108344b
Moved login placeholder mechanism in the backend module
2023-05-20 20:07:40 +02:00
Éloi Rivard
033d436878
Moved LDAP schema installation in the ldap backend module
2023-05-20 20:04:23 +02:00
Éloi Rivard
c1d1706007
Moved every model import to canaille.models
2023-05-20 20:02:00 +02:00
Éloi Rivard
e110c4851b
Backend singleton logic moved to backend.Backend
2023-05-20 18:39:49 +02:00
Éloi Rivard
6f637b8129
Refactored the unit test backend fixtures
2023-05-20 17:17:46 +02:00
Éloi Rivard
30282e633b
The LDAP Backend is now a class
2023-05-20 12:08:04 +02:00
Éloi Rivard
4f9dac8782
Tests the model mechanism
2023-05-17 18:19:05 +02:00
Éloi Rivard
28e7d1c662
LDAPObject __getattr__ filters None values
2023-05-16 16:05:09 +02:00
Éloi Rivard
01c1ae4eef
Rename LDAPObject.attrs to state
2023-05-16 15:48:05 +02:00
Éloi Rivard
c09b2b5321
Implemented LDAPObject __delattr__
2023-05-11 23:34:10 +02:00
Éloi Rivard
ca1ea9ca92
Removed unused code
2023-05-11 23:29:34 +02:00
Éloi Rivard
9480e43ad9
Removed LDAPObject __getitem__ and __setitem__ methods
2023-05-11 23:08:39 +02:00
Éloi Rivard
df60821e29
Rename LDAPObject.attribute_table to attributes
2023-05-11 16:55:33 +02:00
Éloi Rivard
e8e6060c74
ACL group filter can be simple group name instead of full dn
2023-05-02 16:25:00 +02:00
Éloi Rivard
fa62c16768
Moved canaille.ldap_backend to canaille.backends.ldap
2023-04-18 20:22:55 +02:00