Quentin Gliech
93ce5c797c
Mount the static assets on /assets
2022-10-17 11:39:45 +02:00
dependabot[bot]
4d9f1be58f
Bump thiserror from 1.0.36 to 1.0.37
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.36...1.0.37 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-29 14:15:07 +02:00
dependabot[bot]
f716eddea9
Bump tokio from 1.21.1 to 1.21.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.21.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-29 13:52:45 +02:00
Quentin Gliech
348912b3fb
Bump Crypto crates
2022-09-27 18:27:52 +02:00
dependabot[bot]
93c75c09e3
Bump tokio from 1.21.0 to 1.21.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.0 to 1.21.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.0...tokio-1.21.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-14 09:05:25 +02:00
dependabot[bot]
b3e44b4241
Bump thiserror from 1.0.34 to 1.0.35
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.34...1.0.35 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-14 08:42:55 +02:00
dependabot[bot]
9ae7e2216d
Bump url from 2.3.0 to 2.3.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-08 23:18:54 +02:00
dependabot[bot]
db0360948d
Bump url from 2.2.2 to 2.3.0
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.0 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-08 01:20:45 +02:00
dependabot[bot]
36c643cb8e
Bump thiserror from 1.0.33 to 1.0.34
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.33...1.0.34 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-06 00:17:05 +02:00
dependabot[bot]
7f485c0c92
Bump anyhow from 1.0.63 to 1.0.64
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.63...1.0.64 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 23:53:36 +02:00
Quentin Gliech
cc6c6e8bdb
Remove the config dependency from the email, templates & handlers crates
2022-09-02 16:01:11 +02:00
dependabot[bot]
14ab53ddfc
Bump serde_json from 1.0.83 to 1.0.85
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.83 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.83...v1.0.85 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-22 15:44:03 +02:00
dependabot[bot]
2eed13639f
Bump serde from 1.0.143 to 1.0.144
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.143 to 1.0.144.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.143...v1.0.144 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-22 15:22:04 +02:00
dependabot[bot]
22b1406279
Bump chrono from 0.4.20 to 0.4.22
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.20 to 0.4.22.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.20...v0.4.22 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-19 12:21:07 +02:00
dependabot[bot]
9d3dd3d168
Bump tera from 1.16.0 to 1.17.0
...
Bumps [tera](https://github.com/Keats/tera ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/Keats/tera/releases )
- [Changelog](https://github.com/Keats/tera/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Keats/tera/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: tera
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-19 11:55:24 +02:00
dependabot[bot]
31aa7b6913
Bump anyhow from 1.0.59 to 1.0.62
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.59 to 1.0.62.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.59...1.0.62 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-19 10:23:21 +02:00
Quentin Gliech
c1ed726dc8
Enable the clippy::str_to_string lint
2022-08-08 10:06:20 +02:00
Hugh Nimmo-Smith
3215e86eaa
Use unstable prefixes for scope names ( #337 )
2022-08-05 17:58:22 +00:00
dependabot[bot]
2568720106
Bump chrono from 0.4.19 to 0.4.20
...
Bumps [chrono](https://github.com/chronotope/chrono ) from 0.4.19 to 0.4.20.
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.19...v0.4.20 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-05 09:48:09 +02:00
dependabot[bot]
3cfd0f1553
Bump serde from 1.0.141 to 1.0.142
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.141 to 1.0.142.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.142 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 11:30:39 +02:00
dependabot[bot]
25a7d6cba5
Bump serde_json from 1.0.82 to 1.0.83
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.82...v1.0.83 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 10:43:50 +02:00
dependabot[bot]
3b56287c99
Bump thiserror from 1.0.31 to 1.0.32
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.32 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-04 09:21:37 +02:00
Quentin Gliech
23360bc233
Support the autocorrect and autocapitalize attributes in the field macro
2022-08-01 20:27:27 +02:00
Doug
669773ae4d
Disable autocorrection/captialisation on username text fields
2022-08-01 20:27:27 +02:00
Quentin Gliech
44b2708f7a
Bump serde_with
2022-08-01 19:38:22 +02:00
Quentin Gliech
d4c718ef4b
Bump Rust dependencies
2022-08-01 17:50:33 +02:00
Quentin Gliech
ba6a382f2c
Authorization grant policy ( #288 )
...
Co-authored-by: Hugh Nimmo-Smith <hughns@matrix.org >
2022-07-21 16:18:59 +00:00
Quentin Gliech
ba90ee2614
Bump dependencies
2022-07-04 18:27:18 +02:00
Quentin Gliech
4870d1e899
Fix some false-positive clippy lints
...
Those were introduced in clippy 1.62 (under clippy::pedantic) and are in
proc-macro generated code
2022-07-01 16:36:35 +02:00
dependabot[bot]
52a400eb9e
Bump serde_json from 1.0.81 to 1.0.82
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.81...v1.0.82 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-30 19:12:20 +02:00
dependabot[bot]
2ed22a618a
Bump anyhow from 1.0.57 to 1.0.58
...
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-23 18:33:39 +02:00
dependabot[bot]
98b248f959
Bump tera from 1.15.0 to 1.16.0
...
Bumps [tera](https://github.com/Keats/tera ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/Keats/tera/releases )
- [Changelog](https://github.com/Keats/tera/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Keats/tera/compare/v1.15.0...v1.16.0 )
---
updated-dependencies:
- dependency-name: tera
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-23 17:46:54 +02:00
dependabot[bot]
3f9863e7d3
Bump tracing from 0.1.34 to 0.1.35
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.34 to 0.1.35.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-09 11:40:21 +02:00
dependabot[bot]
274739b537
Bump tokio from 1.19.0 to 1.19.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.19.0 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-07 14:05:45 +02:00
dependabot[bot]
b94983ca41
Bump tokio from 1.18.2 to 1.19.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-04 15:52:31 +02:00
Quentin Gliech
7c8893e596
Switch the policies to a violation list based approach
...
This allows policies to give proper feedback on form fields
2022-06-03 13:37:20 +02:00
Quentin Gliech
a2b53f0395
Run OPA policies during registration
2022-06-03 13:37:20 +02:00
Quentin Gliech
e0c4b39482
Add an email field in the registration form
2022-06-02 16:18:55 +02:00
Quentin Gliech
125afd61c0
Make email verification mandatory
2022-06-02 16:18:55 +02:00
Quentin Gliech
89597dbf81
Switch email verification to a code-based flow
2022-06-02 16:18:55 +02:00
Quentin Gliech
bfc20b6faa
Have a better error on registration if the username is already taken
2022-05-23 14:36:38 +02:00
Quentin Gliech
99ac59bc5d
Make the sign out buttons keep the current action context
2022-05-23 10:42:25 +02:00
Quentin Gliech
1d61a94da4
Have a consent screen before continuing the SSO login
2022-05-23 10:42:25 +02:00
Quentin Gliech
033d60eb73
Legacy login via m.login.sso
2022-05-23 10:42:25 +02:00
Quentin Gliech
bf1d96fc23
Add password change discovery
...
See https://web.dev/change-password-url/
2022-05-12 15:06:37 +02:00
Quentin Gliech
a6f931840c
Add autocomplete attributes to form fields
2022-05-12 14:59:53 +02:00
Quentin Gliech
185562c866
Form error state overhaul
...
This adds a new FormState structure here to hold the state of an errored
from, including retaining field value and better error codes.
It also adds error recovery for the registration form, and properly
loads the post_login_action context in case of errors.
2022-05-12 13:35:58 +02:00
Quentin Gliech
ca7b26cf18
Simplify error handling in user-facing routes
2022-05-10 17:47:38 +02:00
Jonas Platte
2cba5e7ad2
Use platform-native fs path building
2022-05-10 11:35:18 +02:00
Quentin Gliech
f4353b660e
Have a unified URL builder/router
2022-05-10 09:52:48 +02:00