Commit graph

1619 commits

Author SHA1 Message Date
É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
Éloi Rivard
e9f17b26d6 form HTML macro refactoring 2023-06-19 18:10:14 +02:00
Éloi Rivard
599f600a3f Merge branch 'issue-134-configuration-fields-in-file' into 'main'
Configuration entries can be loaded from files.

Closes #134

See merge request yaal/canaille!134
2023-06-15 16:41:14 +00: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
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
Denise
d553d23ef3 Merge branch canaille:main into main 2023-06-12 13:36:07 +00: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
Denise Bitca
2a4acf21eb [NO CI] fix up style 2023-06-05 10:48:16 +02:00
Denise Bitca
c89bb48499 fix up style, attempt at fixing registration redirection bug 2023-06-05 10:38:24 +02:00