Commit graph

1265 commits

Author SHA1 Message Date
Éloi Rivard
a9d9d43152 Configuration entries can be loaded from files.
Co-authored-by: Sofi <sofi+git@mailbox.org>
2023-06-15 18:38:37 +02:00
Éloi Rivard
f254cd94f1 Merge branch 'ci-fix' into 'main'
Fixed Gitlab CI

See merge request yaal/canaille!135
2023-06-15 16:37:59 +00:00
Éloi Rivard
bf490308cf Fixed Gitlab CI
No need to install slapd from the backports now that Debian 12 is out.
2023-06-15 18:35:03 +02:00
Éloi Rivard
e0bd8e734c Bump to flask-themer 2.0.0 2023-06-06 09:16:51 +02:00
Éloi Rivard
23e9e7e71a Renamed Backend in BaseBackend 2023-06-05 18:10:37 +02:00
Éloi Rivard
93b5446c56 Merge branch 'generic-backend-unit-tests' into 'main'
Generic backend unit tests

See merge request yaal/canaille!132
2023-06-03 21:42:52 +00:00
Éloi Rivard
14ccb69762 backend fixture is parametrizable 2023-06-03 23:39:38 +02:00
Éloi Rivard
422af73b89 moved slapd_server in the ldap unit tests module 2023-06-03 23:39:38 +02:00
Éloi Rivard
e3aede6645 Fixed a unit test control value 2023-06-03 23:38:45 +02:00
Éloi Rivard
fa7c68ff5b Moved CustomSlapdObject class into the ldap test module 2023-06-03 18:35:59 +02:00
Éloi Rivard
453a7d5c52 Merge branch 'py37-eol' into 'main'
Stop support for python<3.8

See merge request yaal/canaille!131
2023-06-03 14:16:29 +00:00
Éloi Rivard
a89544c953 Stop support for python<3.8 2023-06-03 16:12:58 +02:00
Éloi Rivard
e5ba0a8c86 compatibility bugfix for flask 2.3 2023-06-03 13:42:23 +02:00
Éloi Rivard
9517e2d73c Bumped to 0.0.26 2023-06-03 12:31:48 +02:00
Éloi Rivard
4f46e14f30 LDAP backends documentation 2023-06-03 12:25:47 +02:00
Éloi Rivard
1cccae1cf0 Updated dependencies 2023-06-03 12:11:19 +02:00
Éloi Rivard
5f5e22acbf pre-commit ruff automatic fix 2023-06-03 11:52:27 +02:00
Éloi Rivard
bc8b918bd1 OIDC keypair generation fix 2023-06-01 17:41:17 +02:00
Éloi Rivard
7816b0e82f Merge branch 'issue-137-timezones' into 'main'
datetime-local input fields are transformed in UTC server-side

See merge request yaal/canaille!130
2023-06-01 11:56:29 +00:00
Éloi Rivard
c7f23e845c datetime-local input fields are transformed in UTC server-side 2023-06-01 13:53:32 +02:00
Éloi Rivard
f112583b09
Translated using Weblate (French)
Currently translated at 100.0% (328 of 328 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-05-31 21:28:17 +02:00
gallegonovato
2aae49508f
Translated using Weblate (Spanish)
Currently translated at 100.0% (328 of 328 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-05-31 21:28:17 +02:00
Hosted Weblate
111cfab48b
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/
2023-05-30 09:44:22 +02:00
Éloi Rivard
e20fb23e6f typo 'successfuly' -> 'successfully' 2023-05-30 09:44:11 +02:00
Ettore Atalan
d1dad1c505
Translated using Weblate (German)
Currently translated at 22.8% (75 of 328 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/de/
2023-05-29 17:50:48 +02:00
gallegonovato
7dbababb8d
Translated using Weblate (Spanish)
Currently translated at 100.0% (328 of 328 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-05-29 17:50:47 +02:00
Éloi Rivard
cc4b11a113
Translated using Weblate (French)
Currently translated at 100.0% (328 of 328 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-05-27 16:50:18 +02:00
Éloi Rivard
38ee26db83 refactored User locking mechanism 2023-05-26 17:48:50 +02:00
Hosted Weblate
e64c759151
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/
2023-05-26 15:31:38 +02:00
Éloi Rivard
c140a624d0 Updated translations 2023-05-26 15:31:28 +02:00
Éloi Rivard
83a8658003 Merge branch 'issue-13-password-policy' into 'main'
Implemented account locking with LDAP ppolicy controls.

See merge request yaal/canaille!118
2023-05-26 13:30:24 +00: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
ca8374acf4 demo ldap checks if schemas exist before loading them 2023-05-24 17:06:13 +02:00
Éloi Rivard
3d3858b317 docker demo flask process reloads on configuration changes 2023-05-24 17:04:42 +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
8b68a862bf Profile settings edition redirects to the same page 2023-05-24 14:12:32 +02:00
Éloi Rivard
8ed10da81e Removed duplicate test 2023-05-24 14:10:45 +02:00
Éloi Rivard
a92542cd81 Moved models specificities in the backend module 2023-05-20 21:24:14 +02:00
Éloi Rivard
a9f9eab5a4 password minimum length is not a magic constant anymore 2023-05-20 20:46:39 +02:00
Éloi Rivard
fd493fb8d0 check command unit test looks for a invalid SMTP server instead of a invalid LDAP server 2023-05-20 20:11:19 +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
0b3362f4c5 Remove useless calls to slapd_server fixture 2023-05-20 18:28:31 +02:00
Éloi Rivard
3ec92fc54f Fixes demo auto-reloading conflicts 2023-05-20 18:20:48 +02:00
Éloi Rivard
6f637b8129 Refactored the unit test backend fixtures 2023-05-20 17:17:46 +02:00
Éloi Rivard
475a6d153c add pytest-flask dependency 2023-05-20 16:42:35 +02:00
Éloi Rivard
30282e633b The LDAP Backend is now a class 2023-05-20 12:08:04 +02:00