É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
Éloi Rivard
44aed27719
tests: domain is localhost.local
2023-09-20 09:54:17 +02:00
Éloi Rivard
46c795b3b5
refactor: only load oidc module if OIDC is configured
2023-09-15 17:56:23 +02:00
Éloi Rivard
588ec8792e
Implement a dummy inmemory backend
2023-08-17 12:33:45 +02:00
Éloi Rivard
ccaba0b9d5
feat: registration email admin debug page
2023-08-15 17:00:38 +02:00
Éloi Rivard
e55b56419d
refactor: extract auth.py from account.py
2023-08-14 16:15:41 +02:00
Éloi Rivard
d27aab8651
refactor: the core module has its own main blueprint
2023-08-14 13:52:24 +02:00
Éloi Rivard
fd24c704c0
feat: implement email verification
2023-08-06 11:58:16 +02:00
Éloi Rivard
8fe8494587
feat: validate phone numbers
2023-08-03 19:08:34 +02:00
Éloi Rivard
1352752db8
refactor: utilities for form field readonliness
2023-07-24 18:07:35 +02:00
Éloi Rivard
f504bb3a66
Implements a flask User converter
2023-06-29 15:55:39 +02:00
Éloi Rivard
57af18d557
Use a unique identifier to indentify users in URLS
...
Previously we used the uid since we supposed this value was always
valid, but some users user the mail attribute as the User RDN in their
OpenLDAP installation, and do not have a uuid.
2023-06-29 15:55:39 +02:00
Éloi Rivard
45ec950f5f
Fixed FieldList readonly state
2023-06-28 13:26:15 +02:00
Éloi Rivard
7b9e97f5e4
Defer and clean up JS scripts
2023-06-26 18:00:58 +02:00
Éloi Rivard
c091ca19cf
Removed html5shiv
2023-06-26 17:48:25 +02:00
Éloi Rivard
b7e1590510
User emails and phone numbers are now multiple
2023-06-22 17:55:26 +02:00
Éloi Rivard
8617fc0f2b
Implement multiple fields
2023-06-22 16:56:44 +02:00
Éloi Rivard
371f806695
Renamed User.email in User.emails
2023-06-22 15:15:46 +02:00
É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
14ccb69762
backend fixture is parametrizable
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
c7f23e845c
datetime-local input fields are transformed in UTC server-side
2023-06-01 13:53:32 +02:00
Éloi Rivard
e20fb23e6f
typo 'successfuly' -> 'successfully'
2023-05-30 09:44:11 +02:00
Éloi Rivard
d8158d6a72
Use ruff linter
2023-05-25 13:37:58 +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
0b3362f4c5
Remove useless calls to slapd_server fixture
2023-05-20 18:28:31 +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
8c33649872
Avoid direct call to ldap in logging unit tests
2023-05-19 19:35:10 +02:00
Éloi Rivard
2b0b5a5213
Avoid direct call to ldap in configuration unit tests
2023-05-19 19:28:56 +02:00
Éloi Rivard
88179b23b8
fix non-generic model attribute calls
2023-05-11 16:02:32 +02:00
Éloi Rivard
fa62c16768
Moved canaille.ldap_backend to canaille.backends.ldap
2023-04-18 20:22:55 +02:00
Éloi Rivard
850d274157
Flaskutil tests avoid to use ldap configuration options
2023-04-10 23:08:09 +02:00