Quentin Gliech
4bb7b05c15
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
0b4112f410
handlers: add a test for OIDC discovery
2023-02-22 16:38:48 +01:00
Quentin Gliech
0da644a315
handlers: add tests for client registration
2023-02-22 14:29:53 +01:00
dependabot[bot]
f4d16424a7
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]
ba2b4f5aa6
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]
c7d41d3344
build(deps): bump http from 0.2.8 to 0.2.9
...
Bumps [http](https://github.com/hyperium/http ) from 0.2.8 to 0.2.9.
- [Release notes](https://github.com/hyperium/http/releases )
- [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/http/compare/v0.2.8...v0.2.9 )
---
updated-dependencies:
- dependency-name: http
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-21 15:42:06 +01:00
dependabot[bot]
00d71e1b77
build(deps): bump tokio-stream from 0.1.11 to 0.1.12
...
Bumps [tokio-stream](https://github.com/tokio-rs/tokio ) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-stream-0.1.11...tokio-stream-0.1.12 )
---
updated-dependencies:
- dependency-name: tokio-stream
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-21 15:41:49 +01:00
dependabot[bot]
a7e794e0a0
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
2161da93b3
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
ac4afb13b0
Write tests for the token revocation endpoint
2023-02-21 12:06:30 +01:00
Quentin Gliech
36cae34f4c
Support for token revocation
2023-02-21 12:06:30 +01:00
Quentin Gliech
c271b01216
Bump Rust dependencies
2023-02-16 15:14:27 +01:00
Quentin Gliech
e40ddc9114
Bump Rust dependencies
2023-02-13 17:27:33 +01:00
dependabot[bot]
384a867c61
build(deps): bump aws-smithy-async from 0.54.1 to 0.54.2
...
Bumps [aws-smithy-async](https://github.com/awslabs/smithy-rs ) from 0.54.1 to 0.54.2.
- [Release notes](https://github.com/awslabs/smithy-rs/releases )
- [Changelog](https://github.com/awslabs/smithy-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/awslabs/smithy-rs/commits )
---
updated-dependencies:
- dependency-name: aws-smithy-async
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-13 16:16:40 +01:00
dependabot[bot]
a9d5a6c2e8
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]
7e511481b7
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]
80f248df8a
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
dependabot[bot]
d380abb769
build(deps): bump uuid from 1.2.2 to 1.3.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.2...1.3.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-03 00:57:34 +01:00
dependabot[bot]
7fb698f018
build(deps): bump async-trait from 0.1.63 to 0.1.64
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.63 to 0.1.64.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.63...0.1.64 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-03 00:57:24 +01:00
dependabot[bot]
3060d8d40f
build(deps): bump futures from 0.3.25 to 0.3.26
...
Bumps [futures](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
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-02 12:04:44 +01:00
dependabot[bot]
de7c3bdbd3
build(deps): bump crc from 3.0.0 to 3.0.1
...
Bumps [crc](https://github.com/mrhooray/crc-rs ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/mrhooray/crc-rs/releases )
- [Commits](https://github.com/mrhooray/crc-rs/compare/3.0.0...3.0.1 )
---
updated-dependencies:
- dependency-name: crc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-02 11:45:20 +01:00
dependabot[bot]
f0f4d10a25
build(deps): bump bytes from 1.3.0 to 1.4.0
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: bytes
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-02 11:44:56 +01:00
dependabot[bot]
70d4b23379
build(deps): bump actions/deploy-pages from 1.2.3 to 1.2.4
...
Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/actions/deploy-pages/releases )
- [Commits](https://github.com/actions/deploy-pages/compare/v1.2.3...v1.2.4 )
---
updated-dependencies:
- dependency-name: actions/deploy-pages
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-02-02 11:44:33 +01:00
Quentin Gliech
3e2dd767d2
iana: manually implement JsonSchema/Display/FromStr/Serialize/Deserialize
...
This removes the dependency on serde_with and parse-display, and makes
the serde & schemars dependencies optional
2023-02-01 15:11:45 +01:00
Quentin Gliech
b08813f89d
Convert many match/if expressions to let-else
2023-02-01 10:37:04 +01:00
Quentin Gliech
8e485c397d
Upgrade rustc (and clippy) to 1.67.0
2023-02-01 10:37:04 +01:00
dependabot[bot]
72868f6931
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]
21ab6ae9e1
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]
762754a3b6
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
c0538d83c7
Fix the compat login_sso_redirect handler not committing the transaction
2023-01-31 17:11:13 +01:00
Quentin Gliech
99e05b4a4f
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
275c67863b
Capture better errors in Sentry
2023-01-31 16:25:15 +01:00
Quentin Gliech
cb4bfe5b6b
Log more errors and setup Sentry integration
2023-01-30 18:04:44 +01:00
dependabot[bot]
524cad4408
build(deps): bump wasmtime from 4.0.0 to 5.0.0
...
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime ) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases )
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md )
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v4.0.0...v5.0.0 )
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-28 20:08:01 +01:00
dependabot[bot]
5179fc1fad
build(deps): bump opa-wasm from 9922edd to dd3f699
...
Bumps [opa-wasm](https://github.com/matrix-org/rust-opa-wasm ) from `9922edd` to `dd3f699`.
- [Release notes](https://github.com/matrix-org/rust-opa-wasm/releases )
- [Commits](9922eddbb6...dd3f699714 )
---
updated-dependencies:
- dependency-name: opa-wasm
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-01-28 19:46:52 +01:00
Quentin Gliech
12e38e4698
frontend: bump dependencies
2023-01-27 17:23:20 +01:00
Quentin Gliech
3b015b4419
docs: fix links to other docs
2023-01-27 15:54:19 +01:00
Quentin Gliech
bcea592c04
ci: Build Storybook docs in CI
2023-01-27 15:46:13 +01:00
Quentin Gliech
e12e327c2a
frontend: bump Storybook to 7.0.0-beta.35
2023-01-27 15:46:13 +01:00
Quentin Gliech
28c139651d
Bump all Rust dependencies to latest version ( #828 )
2023-01-27 14:23:59 +00:00
Quentin Gliech
8d8705abdc
Merge pull request #733 from matrix-org/quenting/storage-repository
...
Repository pattern
2023-01-27 11:59:08 +01:00
Quentin Gliech
8b1f64d793
docs: link to rustdoc pages from the mdbook
2023-01-27 11:40:19 +01:00
Quentin Gliech
855178a613
ci: deploy docs only on push to master
2023-01-27 11:19:48 +01:00
Quentin Gliech
f1536b35e3
ci: fix the docs build
2023-01-27 11:18:11 +01:00
Quentin Gliech
f784189c23
Merge branch 'main' into quenting/storage-repository
2023-01-27 11:16:38 +01:00
Quentin Gliech
f2bc613d5c
ci: publish docs without pushing to the gh-pages branch
2023-01-27 10:49:41 +01:00
Quentin Gliech
fec5d20eee
axum-utils: remove an unnecessary ?Sized bound
2023-01-27 10:30:59 +01:00
Kévin Commaille
db78a5b255
Implement Clone on ClientCredentials
2023-01-26 18:14:59 +01:00
Kévin Commaille
91a53965f8
Revert "Implement Clone on ClientCredentials"
...
This reverts commit 1f3fe4fdbc3cd0394c59588272d847185df04076.
2023-01-26 18:14:59 +01:00
Kévin Commaille
b59fc83919
Implement Clone on ClientCredentials
2023-01-26 18:14:59 +01:00