Commit graph

1625 commits

Author SHA1 Message Date
Éloi Rivard
97394823bf
fix: return a 403 error when users are missing permissions for OIDC authentication 2023-12-22 16:39:20 +01:00
Éloi Rivard
cccbafeb0e
tests: fix a wrong default permission 2023-12-21 19:04:05 +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
bf8d62e08f
chore: dependencies update 2023-12-18 09:17:12 +01:00
Éloi Rivard
7afb86cf50
chore: launch demo with all the package extras
so it won't uninstall ldap when launching sql demo and vice versa
2023-12-15 20:43:42 +01:00
Éloi Rivard
d4b0fa91e7
chore: bump to 0.0.39 2023-12-15 16:14:03 +01:00
Éloi Rivard
7fed235437
fix: redirection after password reset 2023-12-15 16:12:33 +01:00
Éloi Rivard
67733699aa
fix: OIDC Userinfo endpoint is also available in POST 2023-12-15 12:03:21 +01:00
Éloi Rivard
7c06d8d51e
refactor: custom error pages are only loaded when themer is loaded 2023-12-15 11:58:25 +01:00
Éloi Rivard
214b16db37
fix: another mimetype guard 2023-12-15 11:02:31 +01:00
Éloi Rivard
3255eaa31c
fix: a crash when no ACL was defined 2023-12-15 10:50:53 +01:00
Éloi Rivard
45df2ec553
chore: bump to 0.0.38 2023-12-15 10:25:54 +01:00
Éloi Rivard
11f969a71f
fix: don't crash when mimetype detection fails 2023-12-15 10:25:08 +01:00
Éloi Rivard
8f4a402c84
doc: client attribute description based on oauth/oidc specs 2023-12-14 23:22:33 +01:00
Éloi Rivard
c0f0114496
doc: user and group attribute description based on scim specs 2023-12-14 23:08:17 +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
3137e72e41
chore: dependency update 2023-12-14 22:21:59 +01:00
Éloi Rivard
23923a69cf Merge branch 'issue-161-flask' into 'main'
update to flask 3

See merge request yaal/canaille!163
2023-12-14 21:20:11 +00:00
Éloi Rivard
a2683dfec8
chore: bump to flask 3.0.0 2023-12-14 22:14:16 +01:00
Éloi Rivard
49466012e7
chore: bump to flask 2.3 2023-12-14 22:01:08 +01:00
Éloi Rivard
a3908883e3
tests: use canaille.test domain instead of localhost 2023-12-14 20:07:49 +01:00
Éloi Rivard
c563646bfe
tests: dynamic smtp configuration 2023-12-14 20:04:18 +01:00
Éloi Rivard
2a7dfa5ad8
tests: use pytest-smtpd instead of smtpdfix 2023-12-14 19:46:30 +01:00
Éloi Rivard
f08c452a03
tests: mail testing refactoring 2023-12-14 19:27:37 +01:00
Éloi Rivard
88aa9e27fb
fix: get_mail_domain ignores the server port 2023-12-14 19:24:09 +01:00
Éloi Rivard
3b46d6af61
tests: remove pytest-flask dependency 2023-12-14 16:28:46 +01:00
Éloi Rivard
02a7e84833
feat: raise an exception when toml is not installed and a configuration file is passed in the environment 2023-12-14 16:04:46 +01:00
Éloi Rivard
2a799c6fb8 Merge branch 'png-to-webp' into 'main'
feat: convert the png in webp

See merge request yaal/canaille!162
2023-12-01 21:19:15 +00:00
Éloi Rivard
066aed7735
feat: convert the png in webp 2023-12-01 22:09:54 +01:00
Éloi Rivard
0b2c980173
chore: bump to 0.0.37 2023-12-01 12:11:59 +01:00
Éloi Rivard
a2ab6a4ed1 Merge branch 'issue-171-htmx-errors' into 'main'
handle 4xx and 5xx error codes with htmx

See merge request yaal/canaille!161
2023-12-01 10:54:23 +00:00
Éloi Rivard
e09a3071d4
fix: handle 4xx and 5xx error codes with htmx 2023-12-01 11:49:09 +01:00
Éloi Rivard
8e960d956b
chore: bump to 0.0.36 2023-12-01 09:34:45 +01:00
Éloi Rivard
a7e574f754
feat: use sqlalchemy-utils PasswordType to store and hash user passwords 2023-12-01 09:29:59 +01:00
Éloi Rivard
9463d0c52a
doc: link to the LDAP ppolicy draft 2023-11-30 16:52:03 +01:00
Éloi Rivard
208981147e
chore: pre-commit autoupdate 2023-11-29 16:46:28 +01:00
Éloi Rivard
410d464242
refactor: force objects to be string for hashing 2023-11-28 18:51:28 +01:00
Éloi Rivard
969f3e980c
fix: password comparision was too permissive on login 2023-11-28 18:10:47 +01:00
Éloi Rivard
aa07059357
fix: password and initalization emails were only sent to the preferred user email address 2023-11-28 17:59:50 +01:00
Éloi Rivard
15124f29bb
fix: incorrect user photo and group description cardinality 2023-11-28 15:54:41 +01:00
Éloi Rivard
98e8aa9b39
fix: only the first password letter was used 2023-11-28 15:51:14 +01:00
Éloi Rivard
c2250ec77e
fix: password reset and initialization mail sending
Password reset and initialization mails were not sent at all the user
  addresses if one email address could not be reached.
2023-11-28 15:27:08 +01:00
Éloi Rivard
d9dbd8ad0e
fix: crash when LDAP groups are refering to unexisting users 2023-11-28 09:37:37 +01:00
Éloi Rivard
cba95cf666
doc: wording 2023-11-24 15:56:01 +01:00
Éloi Rivard
3fb1f29a96
chore: bump to 0.0.35 2023-11-24 15:50:58 +01:00
Éloi Rivard
02cdaf72fa
doc: readme tweaks 2023-11-24 15:45:24 +01:00
Éloi Rivard
e1f54fffbc
fix: demo client issue date 2023-11-24 15:24:46 +01:00
Éloi Rivard
77072db5c8
fix: demo client audiences 2023-11-24 15:17:15 +01:00
Éloi Rivard
12cb353a9c Merge branch 'issue-170-htmx-login-page' into 'main'
fix: disable HTMX boosting during the OIDC dance

Closes #170

See merge request yaal/canaille!160
2023-11-24 13:51:17 +00:00
Éloi Rivard
4e380436d3
fix: disable HTMX boosting during the OIDC dance 2023-11-24 14:45:59 +01:00