Commit graph

85 commits

Author SHA1 Message Date
Éloi Rivard
7e01008ac0
tests: avoid producing test artifacts in the repository 2025-01-10 10:44:15 +01:00
Éloi Rivard
c96b4b47e3
refactor: use 'dump' command instead of 'get --all' 2025-01-09 15:15:52 +01:00
É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
e1ca7dfe1e
feat: --version CLI option 2025-01-02 23:31:24 +01:00
Éloi Rivard
c6eec2b399
tests: test HTMX rendering 2024-12-22 17:03:57 +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
Éloi Rivard
a4985184fa
tests: fix dotenv unit test after 21464e952a 2024-12-06 15:06:20 +01:00
Éloi Rivard
21464e952a
fix: do not automatically load .env files 2024-12-05 15:14:12 +01:00
Éloi Rivard
57bb0e01bc
tests: put 'TESTING=True' in the common conf 2024-12-05 14:56:18 +01:00
Éloi Rivard
77667c6f52
refactor: all domains used in the unit test suite are now .test
this ensures they will never be valid, and will never generate real
world requests
2024-11-20 23:30:48 +01:00
sebastien
bfff1bcdc1 refacto form test: separating htmx request and form submit 2024-11-19 14:46:38 +01:00
sebastien
9b8f8e9cd4 updates configuration and config.sample and demo config files toinclude new parameters. adds new tests for configuration condition. 2024-11-15 16:28:21 +01:00
sebastien
a7a93a7d1c adds comment to explain API response content in test 2024-11-15 12:22:10 +01:00
sebastien
dc2824da2b adds tests for admin mails display 2024-11-15 12:21:28 +01:00
sebastien
d6dfd439f3 adds tests for ENABLE_PASSWORD_COMPROMISSION_CHECK config 2024-11-14 16:10:43 +01:00
sebastien
ec43d9157f avoids api call from tests 2024-11-14 15:32:31 +01:00
sebastien
d951c2e18d new tests on failure of api request with htmx and without SMTP 2024-11-08 15:15:12 +01:00
sebastien
f173a66793 adds new tests for compromised_password_check_failure situation. 2024-11-07 15:51:21 +01:00
sebastien
ff871f1340 updates tests with compromised password check with api HIBP 2024-11-05 15:44:25 +01:00
sebastien yaal
a4bd03f71c feat: password strength indicator 2024-10-28 21:17:47 +00:00
Éloi Rivard
3a3cd304b8
tests: refactor logging tests
add restaure 100% coverage
2024-10-27 21:46:47 +01:00
Éloi Rivard
cfabcc485c
chore: automitaclly fix typos 2024-09-11 09:33:42 +02:00
Éloi Rivard
25f2b6dedd
feat: model management commands 2024-05-13 14:16:14 +02:00
Éloi Rivard
b16630063b
fix: check command when SMTP configuration is not defined 2024-05-12 10:42:41 +02:00
Éloi Rivard
473a262ea2
refactor: move BackendModel.reload to Backend.reload 2024-05-03 22:25:20 +02:00
Éloi Rivard
09588e0f48
refactor: move BackendModel.save to Backend.save 2024-05-03 22:22:06 +02:00
Éloi Rivard
288ad161d3
tests: test mail attachments mimetypes 2024-04-27 14:36:34 +02:00
Éloi Rivard
ebcaaeaded
tests: fix GHA
For some reasons, webp mimetypes failed to be guessed on GHA.
2024-04-27 14:06:20 +02:00
Éloi Rivard
afa0a6ff1e
feat: env_prefix create_app variable can select the environment var prefix 2024-04-22 18:10:49 +02:00
Éloi Rivard
7fc887a492
feat: ENV_FILE configuration variable can customize the .env file 2024-04-22 16:37:31 +02:00
Éloi Rivard
dd7768e0d2
tests: no OIDC test outside the OIDC zone 2024-03-29 17:34:08 +01:00
Éloi Rivard
ea220e8a93
fix: pytest skip decorator 2024-03-29 17:17:59 +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
8625318341
feat: use pydantic to validate the configuration 2024-03-28 17:44:26 +01:00
Éloi Rivard
dc81832159
feat: usedefault python logging configuration format 2024-03-15 20:12:07 +01:00
Éloi Rivard
4edffcaa9f
chore: use isort instead of reoder-python-imports 2024-03-15 19:58:37 +01:00
Éloi Rivard
bd57d69765
chore: pre-commit update 2024-03-07 18:52:23 +01:00
Éloi Rivard
38038d8db9
refactor: use 'url_for' in templates instead of static urls 2023-12-25 20:15:21 +01:00
Éloi Rivard
52fc93a481
refactor: avoid to directly use the 'configuration' fixture in tests 2023-12-19 18:28:04 +01:00
Éloi Rivard
7a2d7ca1db
tests: add a test that sends a mail without SERVER_NAME 2023-12-14 22:39:42 +01:00
Éloi Rivard
49466012e7
chore: bump to flask 2.3 2023-12-14 22:01:08 +01:00
Éloi Rivard
f08c452a03
tests: mail testing refactoring 2023-12-14 19:27:37 +01:00
Éloi Rivard
066aed7735
feat: convert the png in webp 2023-12-01 22:09:54 +01:00
Éloi Rivard
e6cf6ad7bd
tests: backport tests from sqlachemy branch 2023-11-24 12:10:17 +01:00
Éloi Rivard
09673fdf4d
tests: fix UTCDatetime form field unit tests during light saving 2023-11-16 17:42:04 +01:00
Éloi Rivard
88dcf94750
Revert "tests: domain is localhost.local"
This reverts commit 44aed27719.
2023-10-01 15:42:16 +02:00