Commit graph

1237 commits

Author SHA1 Message Date
Éloi Rivard
2049d4e929
feat: CLI commands can dump hashed passwords 2025-01-09 09:36:42 +01:00
Éloi Rivard
b830e110b7
feat: implement '--all' option of 'get' command
this allows administrators to perform full database dumps
2025-01-08 16:54:30 +01:00
Éloi Rivard
fdf8f1e550
fix: SQL backend password scheme loading
Use Backend.instance instead of flask.current_app, so it allows the
backend to be loaded independently from the Flask context.
2025-01-08 16:53:11 +01:00
sebastien yaal
de541fc8ca password-hashing-configuration 2025-01-08 09:25:06 +00:00
sebastien yaal
9c1253878c Resolve "Impossible to update my password" 2025-01-07 15:58:39 +00:00
Éloi Rivard
e1ca7dfe1e
feat: --version CLI option 2025-01-02 23:31:24 +01:00
Hosted Weblate
ed070e3851
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/
2024-12-23 14:26:52 +01:00
sebastien
0896ab2a68 updates translation with pybabel 2024-12-23 10:42:49 +01:00
sebastien
909896077d refacto password validation by adds chanes in class PasswordResetForm instead of in functions, AND readds validators in registration function because of required caracter of the password fields 2024-12-23 10:42:49 +01:00
sebastien
25fb809269 update translation for refacto password form 2024-12-23 10:42:49 +01:00
sebastien
2f1b44d4d9 creates a new function for all password form verifications 2024-12-23 10:42:49 +01:00
sebastien
72fa8a8f03 adds progress bar in reset form 2024-12-23 10:42:49 +01:00
sebastien
1d5c4b9fa9 restores comparison between 'password' and 'confirmation' and validators in reset form 2024-12-23 10:42:49 +01:00
sebastien
4bdd2de8f2 restores comparison between 'password' and 'confirmation' in registration form 2024-12-23 10:42:49 +01:00
Éloi Rivard
f56032ec4e
doc: wording 2024-12-22 16:36:37 +01:00
Éloi Rivard
29535d5032
doc: 'PASSWORD_LIFETIME' wording 2024-12-22 16:13:10 +01:00
Éloi Rivard
a20ba92064
refactor: rename 'themes' module in 'templating' 2024-12-22 15:59:09 +01:00
Éloi Rivard
ded45de354
feat: Features check lib imports
This prevents errors when features are enabled by configuration but the
dependencies are missing.
2024-12-22 12:26:50 +01:00
Éloi Rivard
b7bb14cfe7
feat: JSON HTTP errors on the OAuth endpoints 2024-12-22 11:50:37 +01:00
Éloi Rivard
7493ce3c35
refactor: move errorhandlers out of the theming module 2024-12-22 11:42:47 +01:00
Éloi Rivard
527869b6dd
refactor: use 'mfa' term instead of '2fa' 2024-12-21 23:02:04 +01:00
Hosted Weblate
373af77fea
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/
2024-12-20 08:38:12 +00:00
sebastien
1c64a7deed updates translation with pybabel for password expiry policy branch 2024-12-20 09:36:22 +01:00
sebastien
6f219b54e8 updates with new path for templates 2024-12-19 12:25:38 +01:00
sebastien
85304639fb updates pybabel translation for password expiry policy 2024-12-19 11:20:26 +01:00
sebastien
0fb3d588b9 adds password expiry policy with a new method on User class 2024-12-19 11:20:26 +01:00
Éloi Rivard
ad875455b8
doc: document templates 2024-12-19 10:08:09 +01:00
Éloi Rivard
fe8929d992
refactor: move templates in a common directory
without this, theming was broken because it needs one single directory
for templates.
2024-12-19 00:17:03 +01:00
gallegonovato
ec2490b594
Translated using Weblate (Spanish)
Currently translated at 100.0% (417 of 417 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2024-12-16 20:00:25 +00:00
Félix Rohrlich
36c73dd3ef Merge branch '173-intruder-lockout-2' into 'main'
Implement intruder lockout

Closes #173

See merge request yaal/canaille!194
2024-12-16 15:32:21 +00:00
Éloi Rivard
768122509a
Translated using Weblate (French)
Currently translated at 100.0% (417 of 417 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2024-12-12 21:03:33 +00:00
Éloi Rivard
9fff4e1f7f
doc: fix invalid references 2024-12-12 22:03:10 +01:00
Hosted Weblate
f2598caf46
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/
2024-12-12 11:05:17 +00:00
Éloi Rivard
44c5669d97
doc: prefer 'multi-factor' over 'two-factor' term 2024-12-12 12:04:40 +01:00
Hosted Weblate
21ec8e8260
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/
2024-12-12 09:00:02 +00:00
Éloi Rivard
8f11fcbe9c
doc: message extraction 2024-12-12 09:59:50 +01:00
Hosted Weblate
6210c1e105
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/
2024-12-12 09:58:34 +01:00
Éloi Rivard
55b1d7a7f3
doc: slightly improved the SCIM documentation 2024-12-12 09:56:22 +01:00
தமிழ்நேரம்
1cab2b78e8
Translated using Weblate (Tamil)
Currently translated at 100.0% (401 of 401 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/ta/
2024-12-12 05:24:58 +01:00
Éloi Rivard
309511e91c
feat: generic blueprint HTTP 404 error handler
This allows blueprint to handle 404 errors. This is not supported
directly in Flask.
https://flask.palletsprojects.com/en/stable/errorhandling/#handling
    However, the blueprint cannot handle 404 routing errors because the
    404 occurs at the routing level before the blueprint can be determined.
2024-12-11 23:19:22 +01:00
Éloi Rivard
92214d932d
wip 2024-12-11 17:46:14 +01:00
Éloi Rivard
10abb2013a
feat: scim endpoint authentication 2024-12-11 17:35:16 +01:00
Éloi Rivard
a299bb92ba
feat: basic SCIM server implementation 2024-12-11 17:35:16 +01:00
தமிழ்நேரம்
a0b7a34921
Added translation using Weblate (Tamil) 2024-12-11 00:22:49 +01:00
gallegonovato
d6175a3a98
Translated using Weblate (Spanish)
Currently translated at 100.0% (401 of 401 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2024-12-11 00:12:59 +01:00
Félix Rohrlich
80ef1741a7 feat : Added intruder lockout login delay 2024-12-10 14:23:11 +01:00
Félix Rohrlich
e1d70ef8cd feat : Added sms OTP authentication and multi-factor authentication methods chaining 2024-12-10 11:27:18 +01:00
Félix Rohrlich
6d48ce9043 feat: Added email OTP authentication 2024-12-10 11:27:18 +01:00
Félix Rohrlich
c8e774ab46 refactor: moved reset-mfa cli function and added documentation and test cases for it 2024-12-10 11:27:18 +01:00
Félix Rohrlich
b01e8323d8 feat : Added HOTP authentication and CLI Multi-factor authentication reset 2024-12-10 11:27:18 +01:00