Éloi Rivard
|
5beee67a61
|
fix: User group deletion without reading User.groups with LDAP backend
|
2024-05-12 22:28:32 +02:00 |
|
Éloi Rivard
|
16c3021a8f
|
refactor: Rename BaseBackend in Backend
|
2024-05-03 22:25:20 +02:00 |
|
Éloi Rivard
|
473a262ea2
|
refactor: move BackendModel.reload to Backend.reload
|
2024-05-03 22:25:20 +02:00 |
|
Éloi Rivard
|
2ccdaeadf6
|
refactor: move BackendModel.delete to Backend.delete
|
2024-05-03 22:22:08 +02:00 |
|
Éloi Rivard
|
09588e0f48
|
refactor: move BackendModel.save to Backend.save
|
2024-05-03 22:22:06 +02:00 |
|
Éloi Rivard
|
44573713ed
|
refactor: move BackendModel.get to Backend.get
|
2024-05-03 21:54:03 +02:00 |
|
Éloi Rivard
|
ccde88b1bf
|
refactor: BackendModel.get() is now Backend.instance
|
2024-05-03 21:46:28 +02:00 |
|
Éloi Rivard
|
fa6488bcd1
|
refactor: move BackendModel.fuzzy to Backend.fuzzy
|
2024-05-03 21:42:55 +02:00 |
|
Éloi Rivard
|
8425b2a3b8
|
refactor: move BackendModel.query to Backend.query
|
2024-05-03 21:42:54 +02:00 |
|
Éloi Rivard
|
93fa708b1c
|
refactor: move LDAPObjectQuery in its own file
|
2024-05-03 21:36:15 +02:00 |
|
Éloi Rivard
|
69b565e1ad
|
refactor: LDAP backend tolerates double deletions
|
2024-04-28 16:18:36 +02:00 |
|
Éloi Rivard
|
256566df94
|
refactor: Model identifier_attributes are fixed.
|
2024-04-22 20:04:24 +02:00 |
|
Éloi Rivard
|
6e26656cc4
|
tests: move test_model_references_set_unsaved_object to the ldap tests directory
|
2024-04-12 10:49:56 +02:00 |
|
Éloi Rivard
|
fe2665ae32
|
fix: LDAP user group removal
|
2024-04-08 14:15:28 +02:00 |
|
Éloi Rivard
|
cbde5ba7b7
|
fix: LDAP objectClass guessing exception
|
2024-04-08 11:00:36 +02:00 |
|
Éloi Rivard
|
fbbcd2fe78
|
fix: saving an object with the LDAP backend keeps the objectClass un-managed by Canaille
|
2024-04-08 10:29:47 +02:00 |
|
Éloi Rivard
|
fecfcfa8f3
|
refactor: factorize Model.__html__
|
2024-04-07 20:23:43 +02:00 |
|
Éloi Rivard
|
88832b5b3b
|
refactor: move User.check_password and User.set_password methods to Backend
|
2024-04-07 20:17:15 +02:00 |
|
Éloi Rivard
|
5a6ce24074
|
refactor: move User.get_from_login method to Backend
|
2024-04-07 20:17:15 +02:00 |
|
Éloi Rivard
|
e339d1169d
|
refactor: User.has_password factorization
|
2024-04-07 18:33:43 +02:00 |
|
Éloi Rivard
|
1fbb074cc5
|
refactor: user permissions lazy loading
|
2024-04-07 15:21:32 +02:00 |
|
Éloi Rivard
|
30bd71c5b5
|
tests: fix coverage
|
2024-04-07 09:33:56 +02:00 |
|
Éloi Rivard
|
f113188368
|
refactor: factorize match_filter in the main User class
|
2024-04-07 01:25:44 +02:00 |
|
Éloi Rivard
|
76cd3dc169
|
refactor: remove LDAPObject.get unused parameter
|
2024-04-07 00:36:52 +02:00 |
|
Éloi Rivard
|
75837fa207
|
refactor: model attributes are walked from the top to the bottom
|
2024-04-06 22:46:11 +02:00 |
|
Éloi Rivard
|
fe809161ff
|
refactor: factorized User.load_permissions
|
2024-04-06 19:22:47 +02:00 |
|
Éloi Rivard
|
ec7a721336
|
refactor: ldap objects id attribute is based on entryUUID instead of dn
|
2024-04-05 15:35:49 +02:00 |
|
Éloi Rivard
|
7b054bb571
|
refactor: ldap backend use a server control to re-read objects after update
|
2024-04-05 14:34:48 +02:00 |
|
Éloi Rivard
|
ab17137cd6
|
refactor: ldapbackend explicitly uses the DN attribute for LDAP operations
|
2024-04-03 09:40:10 +02:00 |
|
Éloi Rivard
|
18e3f8cde5
|
refactor: split the base model class in two
|
2024-04-01 18:55:05 +02:00 |
|
Éloi Rivard
|
0363a0a76e
|
refactor: remove unused var
|
2024-04-01 15:02:26 +02:00 |
|
Éloi Rivard
|
fbd0d3029e
|
refactor: rename User read/write/permissions attributes
|
2024-04-01 14:59:56 +02:00 |
|
Éloi Rivard
|
58b967a43e
|
refactor: reliably detect the model attribute cardinality
|
2024-03-30 23:39:09 +01:00 |
|
Éloi Rivard
|
efe3a3c4c4
|
refactor: assume ACL have default values
|
2024-03-30 17:21:40 +01:00 |
|
Éloi Rivard
|
e299c84cab
|
fix: default LDAP USER_FILTER
|
2024-03-29 14:45:04 +01:00 |
|
Éloi Rivard
|
8625318341
|
feat: use pydantic to validate the configuration
|
2024-03-28 17:44:26 +01:00 |
|
Éloi Rivard
|
ffa12b0f71
|
feat: created and last_modified model attributes
|
2024-03-27 13:57:38 +01:00 |
|
Éloi Rivard
|
4edffcaa9f
|
chore: use isort instead of reoder-python-imports
|
2024-03-15 19:58:37 +01:00 |
|
Éloi Rivard
|
e8b620588e
|
refactor: LDAP backend initialization
|
2023-12-27 10:57:22 +01:00 |
|
Éloi Rivard
|
5c11ebf0d3
|
feat: ldap connection is lazilly opened
|
2023-12-25 14:26:08 +01:00 |
|
Éloi Rivard
|
d0dbaa588c
|
refactor: no more explicit conn argument in the LDAP backend
|
2023-12-25 14:03:47 +01:00 |
|
Éloi Rivard
|
95882c737b
|
fix: LDAP backend connection error display
|
2023-12-25 13:56:57 +01:00 |
|
Éloi Rivard
|
3255eaa31c
|
fix: a crash when no ACL was defined
|
2023-12-15 10:50:53 +01:00 |
|
Éloi Rivard
|
d9dbd8ad0e
|
fix: crash when LDAP groups are refering to unexisting users
|
2023-11-28 09:37:37 +01:00 |
|
Éloi Rivard
|
02c8f0b177
|
refactor: Backend.install calls uniformization
|
2023-11-24 11:13:17 +01:00 |
|
Éloi Rivard
|
b6cfa1517c
|
refactor: form model attributes coercion
|
2023-11-22 11:30:30 +01:00 |
|
Éloi Rivard
|
3a39fc191a
|
refactor: remove models __delattr__ methods
|
2023-11-21 14:57:28 +01:00 |
|
Éloi Rivard
|
1fd8af2cf4
|
refactor: models attributes cardinality is closer to SCIM models
|
2023-11-17 21:21:25 +01:00 |
|
Éloi Rivard
|
0ee374dea7
|
tests: back to 100% coverage
|
2023-11-16 18:06:23 +01:00 |
|
Éloi Rivard
|
0574460fe6
|
fix: when LDAP servers are down, rendering error pages would raise an exception
|
2023-10-02 14:06:06 +02:00 |
|