Commit graph

1740 commits

Author SHA1 Message Date
É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
Éloi Rivard
e9c36dffd5
fix: OIDC feature detection 2024-03-29 17:17:06 +01:00
Éloi Rivard
66b7d813ed
chore: changelog entry 2024-03-29 17:15:35 +01:00
Éloi Rivard
dc12f89b49
chore: ignore .env files 2024-03-29 14:45:21 +01:00
Éloi Rivard
e299c84cab
fix: default LDAP USER_FILTER 2024-03-29 14:45:04 +01:00
Éloi Rivard
bfae3fbe18
doc: pydantic-settings nested secret directories are not ready yet
https://github.com/pydantic/pydantic-settings/issues/154
2024-03-29 13:57:03 +01:00
Éloi Rivard
4cd3d51de5
doc: fix LOGGING code snippet 2024-03-29 12:17:24 +01:00
Éloi Rivard
92d3585325
chore: bump to 0.0.43 2024-03-29 12:11:15 +01:00
Éloi Rivard
9f80792ad0
doc: release instructions improvements 2024-03-29 12:10:53 +01:00
Éloi Rivard
2d027a6790
doc: wording 2024-03-29 12:08:03 +01:00
Éloi Rivard
45db02de07
chore: dependencies update 2024-03-29 12:01:25 +01:00
Éloi Rivard
a6bd3e6002
chore: remove unused guard 2024-03-29 12:00:20 +01:00
Éloi Rivard
0fabf4c1a2
doc: release documentation 2024-03-29 11:59:31 +01:00
Éloi Rivard
3592b40f03
fix: i18n warnings on project installation 2024-03-29 11:16:13 +01:00
Éloi Rivard
9dbb16153d
chore: add setuptools dependency to build packages with python3.12+
As it is needed by Babel 2.14 and not shipped with python anymore.
2024-03-29 11:04:34 +01:00
Éloi Rivard
37d17b43aa
fix: python<3.10 union types 2024-03-29 10:56:21 +01:00
Éloi Rivard
be2fa8b7f5
doc: minor various improvements 2024-03-29 09:35:29 +01:00
Éloi Rivard
4067634c40 Merge branch 'conf-class' into 'main'
use pydantic to validate the configuration

See merge request yaal/canaille!170
2024-03-28 16:45:28 +00:00
Éloi Rivard
8625318341
feat: use pydantic to validate the configuration 2024-03-28 17:44:26 +01:00
Éloi Rivard
731016d7f3
doc: changelog improvements 2024-03-28 15:31:55 +01:00
gallegonovato
02656516e0
Translated using Weblate (Spanish)
Currently translated at 100.0% (365 of 365 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2024-03-28 15:01:52 +01:00
Éloi Rivard
d7675f18b7
doc: databases documentation improvements 2024-03-28 14:57:29 +01:00
Éloi Rivard
a4851b5ef0
doc: fix CHANGELOG titles 2024-03-28 14:35:01 +01:00
Éloi Rivard
1a57b5563e
doc: openldap installation istructions 2024-03-28 14:26:45 +01:00
Éloi Rivard
9290bbd892
doc: typo 2024-03-28 14:24:35 +01:00
Éloi Rivard
db84db760f
doc: documentation compilation instructions 2024-03-28 14:24:21 +01:00
Éloi Rivard
97470bffe6
doc: better translation documentation 2024-03-28 14:22:07 +01:00
Éloi Rivard
61df50aa39
doc: we use ruff instead of black 2024-03-28 12:03:20 +01:00