dependabot[bot]
4adfc91a7d
build(deps): bump axum-extra from 0.7.1 to 0.7.2
...
Bumps [axum-extra](https://github.com/tokio-rs/axum ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-extra-v0.7.1...axum-extra-v0.7.2 )
---
updated-dependencies:
- dependency-name: axum-extra
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-04-14 10:48:19 +02:00
Quentin Gliech
1974786209
Proactively provision devices & delete them when using the compat Matrix API
2023-04-14 10:22:22 +02:00
Quentin Gliech
8a2be43fe7
Proactively provision users on registration & sync threepids
2023-04-14 10:22:22 +02:00
Quentin Gliech
1f748f7d1e
Schedule jobs through the repository
2023-04-14 10:22:22 +02:00
Quentin Gliech
cdd535ddc4
WIP: use apalis to schedule jobs
2023-04-14 10:22:22 +02:00
dependabot[bot]
6fbd352591
build(deps): bump serde from 1.0.156 to 1.0.158
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.156 to 1.0.158.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.156...v1.0.158 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-21 17:26:05 +01:00
dependabot[bot]
ce142247ea
build(deps): bump mime from 0.3.16 to 0.3.17
...
Bumps [mime](https://github.com/hyperium/mime ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/mime/releases )
- [Commits](https://github.com/hyperium/mime/compare/v0.3.16...v0.3.17 )
---
updated-dependencies:
- dependency-name: mime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-21 17:03:23 +01:00
dependabot[bot]
3372a8ff9a
build(deps): bump serde from 1.0.155 to 1.0.156
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.155 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.155...v1.0.156 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-03-15 14:51:14 +01:00
Quentin Gliech
83cb9158a0
Fix clippy errors
2023-03-14 10:47:35 +01:00
Quentin Gliech
c6f31d0102
Bump Rust dependencies
2023-03-14 10:47:35 +01:00
Quentin Gliech
a79b4060d4
Check that an OAuth session is valid before revoking it
2023-03-02 16:31:36 +01:00
Quentin Gliech
380f722d67
Bump Rust dependencies
2023-02-27 17:32:13 +01:00
dependabot[bot]
dc6b515906
build(deps): bump axum from 0.6.7 to 0.6.8
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.6.7...axum-v0.6.8 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-27 11:05:40 +01:00
dependabot[bot]
b7219967bc
build(deps): bump lettre from 0.10.2 to 0.10.3
...
Bumps [lettre](https://github.com/lettre/lettre ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/lettre/lettre/releases )
- [Changelog](https://github.com/lettre/lettre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lettre/lettre/compare/v0.10.2...v0.10.3 )
---
updated-dependencies:
- dependency-name: lettre
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-24 18:17:18 +01:00
dependabot[bot]
c38dd7ae06
build(deps): bump camino from 1.1.2 to 1.1.3
...
Bumps [camino](https://github.com/camino-rs/camino ) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/camino-rs/camino/releases )
- [Changelog](https://github.com/camino-rs/camino/blob/main/CHANGELOG.md )
- [Commits](https://github.com/camino-rs/camino/compare/camino-1.1.2...camino-1.1.3 )
---
updated-dependencies:
- dependency-name: camino
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-24 18:17:07 +01:00
Quentin Gliech
67753c0e26
handlers: add tests for introspection endpoint
2023-02-24 17:45:50 +01:00
Quentin Gliech
97635375cc
handlers: Add test for the compatibility login API
2023-02-24 15:52:21 +01:00
Quentin Gliech
17471c651e
handlers: add tests for the token endpoint
...
This also simplifies the way we issue tokens in tests
2023-02-22 19:38:01 +01:00
Quentin Gliech
03583d2936
handlers: add a test for OIDC discovery
2023-02-22 16:38:48 +01:00
Quentin Gliech
1e9ce8d6d6
handlers: add tests for client registration
2023-02-22 14:29:53 +01:00
dependabot[bot]
304ec10d1b
build(deps): bump axum from 0.6.6 to 0.6.7
...
Bumps [axum](https://github.com/tokio-rs/axum ) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/tokio-rs/axum/releases )
- [Changelog](https://github.com/tokio-rs/axum/blob/main/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/axum/compare/axum-v0.6.6...axum-v0.6.7 )
---
updated-dependencies:
- dependency-name: axum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-21 15:42:37 +01:00
dependabot[bot]
bd6efbd1f3
build(deps): bump time from 0.3.18 to 0.3.19
...
Bumps [time](https://github.com/time-rs/time ) from 0.3.18 to 0.3.19.
- [Release notes](https://github.com/time-rs/time/releases )
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md )
- [Commits](https://github.com/time-rs/time/compare/v0.3.18...v0.3.19 )
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-21 15:42:19 +01:00
dependabot[bot]
bf4faa9531
build(deps): bump insta from 1.26.0 to 1.28.0
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.26.0 to 1.28.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.26.0...1.28.0 )
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-21 15:41:33 +01:00
Quentin Gliech
64ce271d08
Add test helpers for handlers and use them
...
Also expands the test coverage of the revoke handler.
2023-02-21 12:06:30 +01:00
Quentin Gliech
a6cd4412c1
Write tests for the token revocation endpoint
2023-02-21 12:06:30 +01:00
Quentin Gliech
543b4b229f
Support for token revocation
2023-02-21 12:06:30 +01:00
Quentin Gliech
823b27a714
Bump Rust dependencies
2023-02-16 15:14:27 +01:00
Quentin Gliech
eb8bda6bbb
Bump Rust dependencies
2023-02-13 17:27:33 +01:00
dependabot[bot]
471e3c71eb
build(deps): bump bcrypt from 0.13.0 to 0.14.0
...
Bumps [bcrypt](https://github.com/Keats/rust-bcrypt ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/Keats/rust-bcrypt/releases )
- [Commits](https://github.com/Keats/rust-bcrypt/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: bcrypt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 16:16:32 +01:00
dependabot[bot]
649424003c
build(deps): bump lettre from 0.10.1 to 0.10.2
...
Bumps [lettre](https://github.com/lettre/lettre ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/lettre/lettre/releases )
- [Changelog](https://github.com/lettre/lettre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lettre/lettre/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: lettre
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 16:15:13 +01:00
dependabot[bot]
2f5d2dd8ca
build(deps): bump hyper from 0.14.23 to 0.14.24
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.23 to 0.14.24.
- [Release notes](https://github.com/hyperium/hyper/releases )
- [Changelog](https://github.com/hyperium/hyper/blob/v0.14.24/CHANGELOG.md )
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.23...v0.14.24 )
---
updated-dependencies:
- dependency-name: hyper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 16:12:27 +01:00
Quentin Gliech
792d3c793b
Convert many match/if expressions to let-else
2023-02-01 10:37:04 +01:00
dependabot[bot]
235b0b46a8
build(deps): bump indoc from 1.0.8 to 2.0.0
...
Bumps [indoc](https://github.com/dtolnay/indoc ) from 1.0.8 to 2.0.0.
- [Release notes](https://github.com/dtolnay/indoc/releases )
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.8...2.0.0 )
---
updated-dependencies:
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-01 09:52:41 +01:00
dependabot[bot]
d81c0296d1
build(deps): bump futures-util from 0.3.25 to 0.3.26
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.25 to 0.3.26.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.25...0.3.26 )
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-31 23:41:07 +01:00
dependabot[bot]
d8817b9f25
build(deps): bump tokio from 1.24.2 to 1.25.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-31 23:22:32 +01:00
Quentin Gliech
ba2471d637
Fix the compat login_sso_redirect handler not committing the transaction
2023-01-31 17:11:13 +01:00
Quentin Gliech
39c126318f
Fix the authorization grant template
...
It previously relied on the client being in the authorization grant,
which is not the case anymore. This commit also adds a test to ensure
we're not breaking this template in the future.
2023-01-31 16:50:48 +01:00
Quentin Gliech
87914cbcb3
Capture better errors in Sentry
2023-01-31 16:25:15 +01:00
Quentin Gliech
875025467e
Log more errors and setup Sentry integration
2023-01-30 18:04:44 +01:00
Quentin Gliech
6bda071e3f
Bump all Rust dependencies to latest version ( #828 )
2023-01-27 14:23:59 +00:00
Quentin Gliech
4850c79711
Merge branch 'main' into quenting/storage-repository
2023-01-27 11:16:38 +01:00
Quentin Gliech
d14ca156ad
storage: split the repository trait
2023-01-24 16:05:14 +01:00
Quentin Gliech
6a8c79c497
storage: impl Repository for Box<impl Repository + ?Sized>
2023-01-24 09:51:49 +01:00
Quentin Gliech
a9facab131
Box the repository everywhere
2023-01-20 17:53:04 +01:00
Quentin Gliech
f4c64c2171
storage: ensure the repository trait can be boxed
...
and define some wrappers to map the errors
2023-01-19 19:10:35 +01:00
Quentin Gliech
876bc9fcb3
handlers: extract the PgRepository from the request
...
Also fix a bunch of clippy errors & doctests
2023-01-18 18:22:13 +01:00
Quentin Gliech
9005931e2a
handlers: box the rng and clock, and extract it from the state
2023-01-18 17:49:59 +01:00
Quentin Gliech
142fdbd45a
storage: make the Clock a trait
2023-01-18 12:20:30 +01:00
Quentin Gliech
73a921cc30
Split the storage trait from the implementation
2023-01-18 10:38:22 +01:00
Quentin Gliech
195203823a
storage: wrap the postgres repository in a struct
2023-01-13 18:03:37 +01:00