Commit graph

1579 commits

Author SHA1 Message Date
Éloi Rivard
13dc41f691 Removed unused code 2023-06-29 17:53:32 +02:00
Éloi Rivard
7ff2360174 send reset emails to all the user emails 2023-06-29 17:47:01 +02:00
Éloi Rivard
1a98f14f6f updated dependencies 2023-06-29 16:05:10 +02:00
Éloi Rivard
59136abcd9 Merge branch 'issue-148-user-rdn' into 'main'
Use a unique identifier to indentify users in URLS

See merge request yaal/canaille!139
2023-06-29 13:58:19 +00:00
Éloi Rivard
52482ca19c Implements flask OIDC converters 2023-06-29 15:55:39 +02:00
Éloi Rivard
7bce9b9a74 ldap backend: make sure to escape special chars in object identifiers 2023-06-29 15:55:39 +02:00
Éloi Rivard
3ecb8b4722 Implements a flask Group converter 2023-06-29 15:55:39 +02:00
Éloi Rivard
f504bb3a66 Implements a flask User converter 2023-06-29 15:55:39 +02:00
Éloi Rivard
251e114bc0 Changelog 2023-06-29 15:55:39 +02:00
Éloi Rivard
e4e49da44a Renamed configuration entries
- USER_ID_ATTRIBUTE is now USER_RDN
- GROUP_ID_ATTRIBUTE is now GROUP_RDN
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
4551dc3f60 Add unit test for user with different RDN 2023-06-29 15:55:39 +02:00
Éloi Rivard
c2c9e6a056 Bump to authlib 1.2.1 2023-06-29 15:53:27 +02:00
Éloi Rivard
4217fc027c temporarily remove form customization on the login page
At the moment I don't know how to build something that would be generic
enough to bring customization on form fields for regular HTML rendering
and for HTMX inline validation. This is not a blocker feature, so let us
move on on more important things.
2023-06-28 16:23:40 +02:00
Éloi Rivard
df34b1462d Flat is better than nested 2023-06-28 16:11:30 +02:00
Éloi Rivard
4eda4f6c99 inline validation keep the profile indicator icons 2023-06-28 15:42:35 +02:00
Éloi Rivard
12379c50d7 Merge branch 'jquery-3.7' into 'main'
Bump to jquery 3.7.0

See merge request yaal/canaille!138
2023-06-28 12:24:40 +00:00
Éloi Rivard
5dc83bc840 Bump to jquery 3.7.0 2023-06-28 13:32:31 +02:00
Éloi Rivard
45ec950f5f Fixed FieldList readonly state 2023-06-28 13:26:15 +02:00
Éloi Rivard
005c806bf0 Disable htmx boosting for the impersonate form 2023-06-28 12:28:50 +02:00
Éloi Rivard
159e26aa20 Remove python 3.7 classifier 2023-06-27 09:20:47 +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
dae9db4528 Merge branch 'issue-144-boosting' into 'main'
Boosts webpages with HTMX

Closes #145 et #144

See merge request yaal/canaille!137
2023-06-26 15:19:50 +00:00
Éloi Rivard
bb95978376 Boosts webpages with HTMX
Fixes #144
Fixes #145
2023-06-26 17:17:07 +02:00
gallegonovato
6ec282c98f
Translated using Weblate (Spanish)
Currently translated at 100.0% (332 of 332 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/es/
2023-06-23 23:50:19 +02:00
Éloi Rivard
9b75f4d302
Translated using Weblate (French)
Currently translated at 100.0% (332 of 332 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-06-22 21:19:13 +02:00
Hosted Weblate
5388454177
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-06-22 21:19:13 +02:00
Éloi Rivard
1e58abfa34
Translated using Weblate (French)
Currently translated at 98.7% (328 of 332 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/fr/
2023-06-22 21:19:13 +02:00
Hosted Weblate
f20a1020dd
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-06-22 21:19:13 +02:00
Éloi Rivard
17c3987a79 Set flask and werkzeug dependencies to 2.2.* max 2023-06-22 18:51:19 +02:00
Éloi Rivard
0342e30ec0 Fixed strings inadvertently refactored 2023-06-22 18:12:54 +02:00
Éloi Rivard
51825be678 Updated translations 2023-06-22 18:02:22 +02:00
Éloi Rivard
d71caf56ec Merge branch 'issue-115-multiple-fields' into 'main'
Multiple fields

See merge request yaal/canaille!136
2023-06-22 15:58:04 +00: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
42730f72d3 Fixed email unicity check 2023-06-22 16:41:35 +02:00
Éloi Rivard
fb90b6effd Jinja rendering macro calls uniformization 2023-06-22 15:51:53 +02:00
Éloi Rivard
c12ceca741 Forgotten phone_number plurals in configuration 2023-06-22 15:45:24 +02:00
Éloi Rivard
361fda0386 Renamed User.phone_number in User.phone_numbers 2023-06-22 15:33:03 +02:00
Éloi Rivard
b5bd497d0e Implemented User.preferred_email 2023-06-22 15:24:13 +02:00
Éloi Rivard
371f806695 Renamed User.email in User.emails 2023-06-22 15:15:46 +02:00
Éloi Rivard
14ec6e9c9e ldap backend avoid to store empty values 2023-06-22 13:27:43 +02:00
Éloi Rivard
d65dbfbe96 listify utility 2023-06-22 13:09:44 +02:00
Éloi Rivard
ec02aa0ad9 Force OIDC Clients contact field to be a valid email. 2023-06-22 11:39:50 +02:00
Éloi Rivard
0cbac78624 htmx: return a 400 error when a request sends an invalid form 2023-06-21 15:59:28 +02:00
Éloi Rivard
caf434a1fc debug template variable is available everywhere 2023-06-20 14:22:19 +02:00
Éloi Rivard
40594190d3 Display error description on debug environments 2023-06-20 14:14:35 +02:00
Éloi Rivard
485a0c2ff1 render_field macro passes kwargs to its submethods 2023-06-20 09:33:36 +02:00
Éloi Rivard
8061042e46 client admin test refactoring 2023-06-20 09:32:43 +02:00