Commit graph

832 commits

Author SHA1 Message Date
Éloi Rivard
6ac5107f1a CHANGELOG 2023-01-15 09:13:14 +01:00
Éloi Rivard
bf0e41e608 Merge branch 'es' into 'main'
Add Spanish translation.

See merge request yaal/canaille!85
2023-01-15 08:10:37 +00:00
Jesús Pérez Rey (Chuso)
9a17923cea
Add Spanish translation. 2023-01-14 20:45:32 +01:00
Éloi Rivard
9970c09d2b Bumped to 0.0.19 2023-01-14 18:24:14 +01:00
Éloi Rivard
998e11deb2 Merge branch 'expires-in' into 'main'
Ensures the token `expires_in` claim and the `access_token` `exp` claim have the same value.

See merge request yaal/canaille!83
2023-01-14 17:14:21 +00:00
Éloi Rivard
d8bcb0bdf0 Ensures the token expires_in claim and the access_token exp claim have the same value. 2023-01-14 14:59:13 +01:00
Éloi Rivard
415fe2dfa2 refactoring: moved a flask global variable in a blueprint 2022-12-29 02:18:41 +01:00
Éloi Rivard
292c47afed debug environment only creates keypair if needed 2022-12-29 02:14:40 +01:00
Éloi Rivard
7cb2da3ca3 refactoring: start to split the canaille installation between submodules 2022-12-29 02:11:56 +01:00
Éloi Rivard
a66ac32689 refactoring: moved the authlib related test configuration in the oidc module 2022-12-29 02:06:54 +01:00
Éloi Rivard
adec1acbaa refactoring: removed useless imports 2022-12-29 01:53:08 +01:00
Éloi Rivard
ab517f4fc0 refactoring: use Group.name when possible 2022-12-29 01:27:22 +01:00
Éloi Rivard
cae49fcec9 avoid ldap related session variable names 2022-12-29 01:10:07 +01:00
Éloi Rivard
cd1d0a30d5 added 'autoflake' to the precommit tool list 2022-12-29 00:41:32 +01:00
Éloi Rivard
b65d822e5c objectClass is not mandatory anymore for Group creation 2022-12-29 00:33:15 +01:00
Éloi Rivard
32f6595c02 objectClass is not mandatory for User and Group creation 2022-12-29 00:29:26 +01:00
Éloi Rivard
2d74df19e6 Bump to 0.0.18 2022-12-28 02:23:00 +01:00
Éloi Rivard
7274f9cc02 fixed the consent list and authorization pages translations 2022-12-28 01:46:05 +01:00
Éloi Rivard
b84ce2f50b homepage: wording 2022-12-28 01:06:42 +01:00
Éloi Rivard
08769f8c07 login page: automatically focuses the input field 2022-12-28 00:51:23 +01:00
Éloi Rivard
b0534896b5 Improved flash messages display on the homepage 2022-12-28 00:45:34 +01:00
Éloi Rivard
f89d45a3e7 Removed unused template 2022-12-28 00:26:25 +01:00
Éloi Rivard
64ac2af981 Merge branch 'endsession-bugfix' into 'main'
OIDC end_session was not returning the `state` parameter in the `post_logout_redirect_uri`

See merge request yaal/canaille!82
2022-12-27 21:16:52 +00:00
Éloi Rivard
1efe6c8879 coverage: ignore some teardown branching 2022-12-27 22:16:21 +01:00
Éloi Rivard
c1ae5e059c refactoring: edited mail error test to improve coverage 2022-12-27 22:09:53 +01:00
Éloi Rivard
70f0941278 refactoring: removed a guard to increase coverage 2022-12-27 22:02:06 +01:00
Éloi Rivard
5793a73801 OIDC end_session was not returning the state parameter in the post_logout_redirect_uri 2022-12-27 21:48:44 +01:00
Éloi Rivard
63bb459d16 unit tests: mails configuration without credentials 2022-12-27 21:37:58 +01:00
Éloi Rivard
630d602a7a groups minor refactoring 2022-12-27 21:32:21 +01:00
Éloi Rivard
234eeacb6a ldapobject: minor refactoring 2022-12-27 21:10:53 +01:00
Éloi Rivard
45246c25aa removed useless guards for LDAP timeout 2022-12-27 20:25:59 +01:00
Éloi Rivard
69da0b83ce unit tests: SMTP connection with bad TLS configuration 2022-12-27 18:48:55 +01:00
Éloi Rivard
9c29abb269 unit tests: refresh token with invalid user 2022-12-27 18:32:53 +01:00
Éloi Rivard
a08e6c4acd unit tests: password flow with invalid credentials 2022-12-27 18:12:19 +01:00
Éloi Rivard
746c09a3bb unit tests: authorization code flow with invalid users and expired codes 2022-12-27 18:07:24 +01:00
Éloi Rivard
e9731e7e67 unit tests: end_session with invalid client ids 2022-12-26 22:03:43 +01:00
Éloi Rivard
35a63e7cd6 Bumped to 0.0.17 2022-12-26 14:55:12 +01:00
Éloi Rivard
12700dea22 Updated python dependencies 2022-12-26 14:53:47 +01:00
Éloi Rivard
b74c2d1497 refactoring: moved mail related functions into mail.py 2022-12-24 03:06:44 +01:00
Éloi Rivard
1df1c89ea0 unit tests: user creation without password 2022-12-24 02:52:05 +01:00
Éloi Rivard
a811d22467 pre-commit: use 'fix-byte-order-marker' instead of 'check-byte-order-marker' 2022-12-24 02:41:26 +01:00
Éloi Rivard
619c828780 unit tests: test logout when not logged in 2022-12-24 02:40:50 +01:00
Éloi Rivard
ca2d3de83b Moved the OIDC configuration in the oidc test subdir conftest.py 2022-12-24 02:06:28 +01:00
Éloi Rivard
c53c0cce70 updated pre-commit 2022-12-24 02:03:43 +01:00
Éloi Rivard
6ec2f183fd removed unused import 2022-12-24 02:03:37 +01:00
Éloi Rivard
19793fe8aa unit tests: userinfo 2022-12-24 01:44:16 +01:00
Éloi Rivard
fa503b37f9 unit tests: removed useless condition in slapd_connection fixture teardown 2022-12-22 17:17:18 +01:00
Éloi Rivard
8daed19550 Enabled branch coverage 2022-12-22 17:14:46 +01:00
Éloi Rivard
f71c3ce2da unit tests: user photo access 2022-12-22 17:12:24 +01:00
Éloi Rivard
87d57ea9c1 unit tests: forgotten mail sending error 2022-12-22 17:02:07 +01:00