Éloi Rivard
|
e339d1169d
|
refactor: User.has_password factorization
|
2024-04-07 18:33:43 +02:00 |
|
Éloi Rivard
|
e317780e1d
|
fix: infinite recursion due to a typo
|
2024-04-07 17:43:20 +02:00 |
|
Éloi Rivard
|
ebf790a5bd
|
doc: add User permissions docstrings
|
2024-04-07 17:34:19 +02:00 |
|
Éloi Rivard
|
c0a28c1480
|
refactor: set default values for core models
|
2024-04-07 16:51:55 +02:00 |
|
Éloi Rivard
|
b6c59b3eda
|
refactor: add some typing to models
|
2024-04-07 16:39:05 +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
|
945daee715
|
refactor: prefer typing.get_type_hints to __annotations__
|
2024-04-06 23:22:38 +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
|
e02b54f327
|
refactor: locally store the model names in lowercase
|
2024-04-06 18:21:50 +02:00 |
|
Éloi Rivard
|
f06f0c4e25
|
doc: fix references to BackendModel
|
2024-04-05 16:09:20 +02:00 |
|
Éloi Rivard
|
7734ed185e
|
refactor: the id attribute is attached to the Model class
|
2024-04-05 16:05:17 +02:00 |
|
Éloi Rivard
|
47ef573917
|
refactor: fix coverage
|
2024-04-05 15:59:17 +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
|
06181ac479
|
chore: move sphinx-enum-extend to the poetry doc dependency group
|
2024-04-04 16:51:48 +02:00 |
|
Éloi Rivard
|
97b555a990
|
chore: bump to 0.0.45
|
2024-04-04 15:32:07 +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
|
9876d44ab6
|
chore: dependencies update
|
2024-04-02 14:05:03 +02:00 |
|
Éloi Rivard
|
951ad364f1
|
doc: fix references to native python types
|
2024-04-02 09:27:47 +02:00 |
|
Éloi Rivard
|
09391f0a1d
|
doc: fix reference to DEBUG setting
|
2024-04-02 09:22:12 +02:00 |
|
Éloi Rivard
|
4344bfacbc
|
refactor: set default values for models
|
2024-04-01 18:55:13 +02:00 |
|
Éloi Rivard
|
18e3f8cde5
|
refactor: split the base model class in two
|
2024-04-01 18:55:05 +02:00 |
|
Éloi Rivard
|
c1b901261f
|
tests: uncomment some assertions
|
2024-04-01 18:38:12 +02:00 |
|
Éloi Rivard
|
0363a0a76e
|
refactor: remove unused var
|
2024-04-01 15:02:26 +02:00 |
|
Éloi Rivard
|
89354e281f
|
refactor: memory backend use __getattribute__ instead of __getattr__
|
2024-04-01 15:02:19 +02:00 |
|
Éloi Rivard
|
a795c8460b
|
refactor: memory model keys are not models anymore
|
2024-04-01 15:01:53 +02:00 |
|
Éloi Rivard
|
b571818755
|
refactor: MemoryModel - rename klass in model
|
2024-04-01 15:01:12 +02:00 |
|
Éloi Rivard
|
fbd0d3029e
|
refactor: rename User read/write/permissions attributes
|
2024-04-01 14:59:56 +02:00 |
|
Éloi Rivard
|
48d6065e1c
|
refactor: memory model variable renaming
|
2024-04-01 14:59:40 +02:00 |
|
Éloi Rivard
|
006bf08b3d
|
refactor: improve memory model serialization
do not systematically store every attributes as a list
|
2024-03-31 12:06:19 +02:00 |
|
Éloi Rivard
|
8834c65bea
|
refactor: backend memory deserialize method
|
2024-03-31 01:20:39 +01:00 |
|
Éloi Rivard
|
d2df12236d
|
refactor: move memory backend methods as classmethods
|
2024-03-31 01:05:48 +01:00 |
|
Éloi Rivard
|
fa45ef6907
|
refactor: delete an unused index layer in the memory backend
|
2024-03-31 00:23:43 +01:00 |
|
Éloi Rivard
|
642e6fcd3f
|
fix: use one single faker generator for fake groups generation
|
2024-03-31 00:12:56 +01:00 |
|
Éloi Rivard
|
0a2d3d4629
|
fix: permissions loading with the SQL backend
|
2024-03-31 00:07:16 +01:00 |
|
Éloi Rivard
|
58b967a43e
|
refactor: reliably detect the model attribute cardinality
|
2024-03-30 23:39:09 +01:00 |
|
Éloi Rivard
|
7418d10efb
|
refactor: make User and Group directly inherit from Model
|
2024-03-30 18:48:03 +01:00 |
|
Éloi Rivard
|
efe3a3c4c4
|
refactor: assume ACL have default values
|
2024-03-30 17:21:40 +01:00 |
|
Éloi Rivard
|
f2dbda8c89
|
doc: fixed logging example
|
2024-03-30 11:40:05 +01:00 |
|
Éloi Rivard
|
06049d27a4
|
feat: better error messages when Canaille is launched without configuration
|
2024-03-29 19:31:01 +01:00 |
|
Éloi Rivard
|
a72489fb54
|
tests: ignore pytest skipped tests in coverage
|
2024-03-29 17:44:42 +01:00 |
|
Éloi Rivard
|
5379259a15
|
chore: bump to 0.0.44
|
2024-03-29 17:37:11 +01:00 |
|
Éloi Rivard
|
dd7768e0d2
|
tests: no OIDC test outside the OIDC zone
|
2024-03-29 17:34:08 +01:00 |
|
Éloi Rivard
|
b36c654550
|
doc: release instructions improvements
|
2024-03-29 17:30:56 +01:00 |
|
Éloi Rivard
|
163c0155b7
|
fix: OIDC JWT settings initialization
|
2024-03-29 17:30:12 +01:00 |
|
Éloi Rivard
|
ea220e8a93
|
fix: pytest skip decorator
|
2024-03-29 17:17:59 +01:00 |
|