Commit graph

1705 commits

Author SHA1 Message Date
É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
Éloi Rivard
5ceba1e41e Merge branch 'htmx-1.9.7' into 'main'
chore: bump to htmx 1.9.9

See merge request yaal/canaille!159
2023-11-24 13:15:57 +00:00
Éloi Rivard
d55489f24c
chore: bump to htmx 1.9.9 2023-11-24 14:10:42 +01:00
Éloi Rivard
be099d7d1e Merge branch 'issue-30-sqlalchemy' into 'main'
implement sqlalchemy backend

See merge request yaal/canaille!158
2023-11-24 13:02:38 +00:00
Éloi Rivard
27639081f0
feat: implement sqlalchemy backend
Co-authored-by: Loan Robert <loan@yaal.coop>
2023-11-24 13:57:46 +01:00
Éloi Rivard
d97459dbac
chore: changelog fixes 2023-11-24 13:04:06 +01:00
Éloi Rivard
24a1a2f7bf
tests: disable xdist in tox 2023-11-24 12:51:17 +01:00
Éloi Rivard
f2ee709c71
chore: dependency update 2023-11-24 12:50:14 +01:00
Éloi Rivard
4528526de4
fix: demo user initialization 2023-11-24 12:47:49 +01:00
Éloi Rivard
ff2ff68023
refactor: additional guards on user profile edition 2023-11-24 12:47:09 +01:00
Éloi Rivard
9cf17953ee
refactor: remove an useless OIDC guard 2023-11-24 12:45:41 +01:00
Éloi Rivard
8c2814c852
refactor: Backend.session can take parameters 2023-11-24 12:43:40 +01:00
Éloi Rivard
e6cf6ad7bd
tests: backport tests from sqlachemy branch 2023-11-24 12:10:17 +01:00
Éloi Rivard
ac149a2120
fix: group name displaying 2023-11-24 11:47:09 +01:00
Éloi Rivard
02c8f0b177
refactor: Backend.install calls uniformization 2023-11-24 11:13:17 +01:00
Éloi Rivard
ed73916fa7
tests: add missing __init__.py 2023-11-24 10:14:44 +01:00
Éloi Rivard
79533acc4b
tests: fix backend assignation for tests 2023-11-24 10:10:36 +01:00
Éloi Rivard
8a5dd04c87
refactor: OIDC client management factorization, again 2023-11-24 09:30:52 +01:00
Éloi Rivard
a308a40b11
refactor: OIDC client management factorization 2023-11-24 09:26:15 +01:00
Éloi Rivard
c19199b7a7
tests: use lists of strings for Token.scope and AuthorizationCode.scope 2023-11-23 22:07:42 +01:00
Éloi Rivard
7494800e57
fix: OIDC client 'client_secret_expires_at' claim must be 0, not None 2023-11-23 09:15:40 +01:00