1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-06 05:42:30 +03:00
Commit Graph

1305 Commits

Author SHA1 Message Date
e3b995eae6 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
004427911f 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
23392e9fc1 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
bdce2210ea 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
84aa506645 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
01b4ab7e10 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
311cad47c2 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
792d3c793b Convert many match/if expressions to let-else 2023-02-01 10:37:04 +01:00
d9649975b9 Upgrade rustc (and clippy) to 1.67.0 2023-02-01 10:37:04 +01:00
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
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
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
ba2471d637 Fix the compat login_sso_redirect handler not committing the transaction 2023-01-31 17:11:13 +01:00
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
87914cbcb3 Capture better errors in Sentry 2023-01-31 16:25:15 +01:00
875025467e Log more errors and setup Sentry integration 2023-01-30 18:04:44 +01:00
694e97e96c 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
e0def90c70 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
e30dbb5b7d frontend: bump dependencies 2023-01-27 17:23:20 +01:00
09cf0dfccd docs: fix links to other docs 2023-01-27 15:54:19 +01:00
8f56d8efad ci: Build Storybook docs in CI 2023-01-27 15:46:13 +01:00
4737bad462 frontend: bump Storybook to 7.0.0-beta.35 2023-01-27 15:46:13 +01:00
6bda071e3f Bump all Rust dependencies to latest version (#828) 2023-01-27 14:23:59 +00:00
1e78f37353 Merge pull request #733 from matrix-org/quenting/storage-repository
Repository pattern
2023-01-27 11:59:08 +01:00
e8537473a4 docs: link to rustdoc pages from the mdbook 2023-01-27 11:40:19 +01:00
4d0a5d7c5b ci: deploy docs only on push to master 2023-01-27 11:19:48 +01:00
f4f292716f ci: fix the docs build 2023-01-27 11:18:11 +01:00
4850c79711 Merge branch 'main' into quenting/storage-repository 2023-01-27 11:16:38 +01:00
1b60c22678 ci: publish docs without pushing to the gh-pages branch 2023-01-27 10:49:41 +01:00
4d53e210b3 axum-utils: remove an unnecessary ?Sized bound 2023-01-27 10:30:59 +01:00
0c08e50846 Implement Clone on ClientCredentials 2023-01-26 18:14:59 +01:00
2171265dcd Revert "Implement Clone on ClientCredentials"
This reverts commit 1f3fe4fdbc.
2023-01-26 18:14:59 +01:00
d0c5eb3741 Implement Clone on ClientCredentials 2023-01-26 18:14:59 +01:00
6ad8b82a35 storage{,-pg}: better documentation of both crates 2023-01-26 18:13:14 +01:00
0bf1a1998e storage-pg: add tests for most remaining repositories
Also fixes all the list_paginated() repository methods
2023-01-26 15:51:53 +01:00
3f4ad789bf storage-pg: write tests for the OAuth2 repositories 2023-01-25 17:24:34 +01:00
90dbc5d6ff storage: document all the repository traits and methods 2023-01-25 16:09:36 +01:00
d14ca156ad storage: split the repository trait 2023-01-24 16:05:14 +01:00
6a8c79c497 storage: impl Repository for Box<impl Repository + ?Sized> 2023-01-24 09:51:49 +01:00
a9facab131 Box the repository everywhere 2023-01-20 17:53:04 +01:00
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
876bc9fcb3 handlers: extract the PgRepository from the request
Also fix a bunch of clippy errors & doctests
2023-01-18 18:22:13 +01:00
9005931e2a handlers: box the rng and clock, and extract it from the state 2023-01-18 17:49:59 +01:00
8c585b20f0 Fix rustfmt 2023-01-18 12:27:44 +01:00
3798f25f7d Fix rustdoc lints 2023-01-18 12:25:49 +01:00
142fdbd45a storage: make the Clock a trait 2023-01-18 12:20:30 +01:00
73a921cc30 Split the storage trait from the implementation 2023-01-18 10:38:22 +01:00
b33a330b5f storage: don't use references for pagination 2023-01-17 16:44:22 +01:00
5e32c218d5 storage: add tests for the upstream provider paginated list 2023-01-17 16:11:13 +01:00
0d02864589 storage: simplify the paginated queries 2023-01-17 15:09:53 +01:00