Commit graph

1507 commits

Author SHA1 Message Date
Éloi Rivard
4d64b3fcba Removed useless import in jinja templates 2023-05-17 16:21:00 +02:00
Éloi Rivard
77c5d7ac7a Improved account unit tests 2023-05-17 16:20:37 +02:00
Éloi Rivard
0c5a559bba Ensures User.formatted_name is correctly formatted when parts are missing 2023-05-17 16:18:35 +02:00
Éloi Rivard
be78b50e97 Removed User.authenticate method 2023-05-17 12:48:14 +02:00
Éloi Rivard
2f924c4b7e Fixes calls to the Consent.oauthClient and Consent.oauthSubject attributes 2023-05-17 12:07:52 +02:00
Éloi Rivard
7503ac772f Fixes calls to the LDAP 'Client.dn' attribute 2023-05-17 12:03:55 +02:00
Éloi Rivard
d66619a01c OIDC lifetimes are not casted to string anymore 2023-05-17 09:29:32 +02:00
Éloi Rivard
b4014cfd73 Use explicit attributes in Consent.get 2023-05-17 09:19:15 +02:00
Éloi Rivard
572ef585a0 Escape strings in the authorization details view 2023-05-17 08:55:00 +02:00
Éloi Rivard
b346b0db8a Use generic Consent.consent_id instead of LDAP Consent.cn attribute 2023-05-17 08:54:13 +02:00
Éloi Rivard
a7013f2360 Explicited OIDC authorization admin variable 2023-05-16 22:28:34 +02:00
Éloi Rivard
00b5997a61 Avoid calls to LDAPUser.may and LDAPUser.must 2023-05-16 22:18:38 +02:00
Éloi Rivard
5836a0bd61 Use generic 'formatted_name' attribute instead of LDAP 'name' 2023-05-16 18:01:48 +02:00
Éloi Rivard
28e7d1c662 LDAPObject __getattr__ filters None values 2023-05-16 16:05:09 +02:00
Éloi Rivard
01c1ae4eef Rename LDAPObject.attrs to state 2023-05-16 15:48:05 +02:00
Éloi Rivard
8998fe9b62 Explicit arguments when using Model.get 2023-05-16 11:29:40 +02:00
Éloi Rivard
124a4b54a8 Merge branch 'forgotten-password-oidc-login' into 'main'
Display password recovery button on OIDC login page

See merge request yaal/canaille!129
2023-05-15 16:09:00 +00:00
Éloi Rivard
26dc4d425c Display password recovery button on OIDC login page 2023-05-15 18:06:22 +02:00
Éloi Rivard
2ecee5d42e updated python dependencies 2023-05-15 15:37:52 +02:00
Ettore Atalan
5b7aec0959
Translated using Weblate (German)
Currently translated at 14.0% (44 of 314 strings)

Translation: Canaille/Canaille
Translate-URL: https://hosted.weblate.org/projects/canaille/canaille/de/
2023-05-15 01:49:24 +02:00
Éloi Rivard
8162bd3e24 Fixes calls to the LDAP 'Group.member' attribute 2023-05-13 00:24:24 +02:00
Éloi Rivard
bace94b1f5 Explicit Group.get attributes 2023-05-13 00:19:32 +02:00
Éloi Rivard
ad388d2fac Fixes a call to the LDAP 'cn' attribute 2023-05-12 20:36:38 +02:00
Éloi Rivard
1695331772 Fixes a call to the LDAP 'jpegPhoto' attribute 2023-05-12 20:02:19 +02:00
Éloi Rivard
65013403a1 Fixes a call to the LDAP 'userPassword' attribute 2023-05-12 20:00:13 +02:00
Éloi Rivard
8f8ac5f31b Fixes a call to the LDAP 'uid' attribute 2023-05-12 19:53:06 +02:00
Éloi Rivard
6c5053afb1 Fixes a call to a LDAP named attribute, again 2023-05-12 18:51:50 +02:00
Éloi Rivard
534e0a507b Fixes a call to a LDAP named attribute 2023-05-12 18:45:32 +02:00
Éloi Rivard
c09b2b5321 Implemented LDAPObject __delattr__ 2023-05-11 23:34:10 +02:00
Éloi Rivard
ca1ea9ca92 Removed unused code 2023-05-11 23:29:34 +02:00
Éloi Rivard
9480e43ad9 Removed LDAPObject __getitem__ and __setitem__ methods 2023-05-11 23:08:39 +02:00
Éloi Rivard
df60821e29 Rename LDAPObject.attribute_table to attributes 2023-05-11 16:55:33 +02:00
Éloi Rivard
1167d336d9 fixes wrong attribute name in impersonate page flash message 2023-05-11 16:50:06 +02:00
Éloi Rivard
02b553b9db remove unnecessary step in the password reset unit test 2023-05-11 16:27:13 +02:00
Éloi Rivard
88179b23b8 fix non-generic model attribute calls 2023-05-11 16:02:32 +02:00
Éloi Rivard
abf9a23ac8 unit tests: only use user_name to authenticate users 2023-05-11 15:33:34 +02:00
Denise Bitca
d067ca4220 refactor(#55): removed debug print call 2023-05-08 11:48:49 +02:00
Denise Bitca
518548bb74 add(#55): added signup and onboarding routes in account route file 2023-05-08 11:47:23 +02:00
Denise Bitca
7537390fea add(#55): added join and onboarding forms 2023-05-08 11:44:21 +02:00
Denise Bitca
544f7f8c64 add(#55): onboarding template for sign-in / sign-up 2023-05-08 11:43:19 +02:00
Éloi Rivard
70193b3409 CHANGELOG 2023-05-05 13:28:55 +02:00
Éloi Rivard
9e6a1b85f1 Avoid setting 'None' in claims when they are empty 2023-05-05 13:28:02 +02:00
Éloi Rivard
d483083840 Changelog indications 2023-05-05 11:06:48 +02:00
Éloi Rivard
32bbb623d1 Bumped to 0.0.25 2023-05-05 11:01:36 +02:00
Éloi Rivard
b14b6edb28 Merge branch 'initialization-mail-fix' into 'main'
Fixed password initialization mail recipients

See merge request yaal/canaille!128
2023-05-05 08:58:00 +00:00
Éloi Rivard
6e6d15fec1 Fixed password initialization mail recipients 2023-05-05 10:53:48 +02:00
Éloi Rivard
c95e86832e Merge branch 'htmx' into 'main'
Update to htmx 1.9.2

See merge request yaal/canaille!127
2023-05-05 08:46:55 +00:00
Éloi Rivard
6148d8d682 Updated to htmx 1.9.2 2023-05-05 10:43:01 +02:00
Éloi Rivard
ab00b7dbf1 Attempt to fix RTD build, again 2023-05-05 10:26:07 +02:00
Éloi Rivard
89ec83e174 Attempt to fix RTD build 2023-05-05 10:20:10 +02:00