Commit Graph

1938 Commits

Author SHA1 Message Date
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
Quentin Gliech
3081140f34 storage{,-pg}: better documentation of both crates 2023-01-26 18:13:14 +01:00
Quentin Gliech
45f5674801 storage-pg: add tests for most remaining repositories
Also fixes all the list_paginated() repository methods
2023-01-26 15:51:53 +01:00
Quentin Gliech
6f6572ddda storage-pg: write tests for the OAuth2 repositories 2023-01-25 17:24:34 +01:00
Quentin Gliech
2e4b1c5492 storage: document all the repository traits and methods 2023-01-25 16:09:36 +01:00
Quentin Gliech
59ce524586 storage: split the repository trait 2023-01-24 16:05:14 +01:00
Quentin Gliech
aaa6944815 storage: impl Repository for Box<impl Repository + ?Sized> 2023-01-24 09:51:49 +01:00
Quentin Gliech
50825ce660 Box the repository everywhere 2023-01-20 17:53:04 +01:00
Quentin Gliech
aa830db9f9 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
34136a2a97 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
2265327bac handlers: box the rng and clock, and extract it from the state 2023-01-18 17:49:59 +01:00
Quentin Gliech
5f2a8b6cb1 Fix rustfmt 2023-01-18 12:27:44 +01:00
Quentin Gliech
7099a8df20 Fix rustdoc lints 2023-01-18 12:25:49 +01:00
Quentin Gliech
2c26ddb249 storage: make the Clock a trait 2023-01-18 12:20:30 +01:00
Quentin Gliech
eb4ce7e7f0 Split the storage trait from the implementation 2023-01-18 10:38:22 +01:00
Quentin Gliech
b7d342daf6 storage: don't use references for pagination 2023-01-17 16:44:22 +01:00
Quentin Gliech
1be5c9f5cf storage: add tests for the upstream provider paginated list 2023-01-17 16:11:13 +01:00
Quentin Gliech
3ccaafbbe9 storage: simplify the paginated queries 2023-01-17 15:09:53 +01:00
Quentin Gliech
7e116b1a1c storage: test compat {session, access token, refresh token} repositories 2023-01-16 19:27:43 +01:00
Quentin Gliech
8c3b78ec61 storage: tests for the user {,email,password,session} repositories 2023-01-16 17:56:51 +01:00
Quentin Gliech
d0d7f1653f storage: simplify pagination 2023-01-13 18:25:25 +01:00
Quentin Gliech
2d781d32ec storage: wrap the postgres repository in a struct 2023-01-13 18:03:37 +01:00
Quentin Gliech
8e5b3e46ea storage: remaining oauth2 repositories
- authorization grants
 - access tokens
 - refresh tokens
2023-01-12 18:26:04 +01:00
Quentin Gliech
af267657c5 storage: repository pattern for the compat layer 2023-01-12 15:41:26 +01:00
dependabot[bot]
75c39699b3 build(deps): bump async-trait from 0.1.60 to 0.1.61
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.60 to 0.1.61.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.60...0.1.61)

---
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-01-12 11:01:56 +01:00
dependabot[bot]
caf496a09e build(deps): bump axum from 0.6.1 to 0.6.2
Bumps [axum](https://github.com/tokio-rs/axum) from 0.6.1 to 0.6.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-v0.6.1...axum-v0.6.2)

---
updated-dependencies:
- dependency-name: axum
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 10:34:37 +01:00
dependabot[bot]
c67b7ac271 build(deps): bump insta from 1.24.1 to 1.26.0
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.24.1 to 1.26.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.24.1...1.26.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-01-12 10:11:52 +01:00
dependabot[bot]
6877598eff build(deps): bump camino from 1.1.1 to 1.1.2
Bumps [camino](https://github.com/camino-rs/camino) from 1.1.1 to 1.1.2.
- [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.1...camino-1.1.2)

---
updated-dependencies:
- dependency-name: camino
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 10:06:47 +01:00
dependabot[bot]
2d1637deb0 build(deps): bump axum-macros from 0.3.0 to 0.3.1
Bumps [axum-macros](https://github.com/tokio-rs/axum) from 0.3.0 to 0.3.1.
- [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-macros-v0.3.0...axum-macros-v0.3.1)

---
updated-dependencies:
- dependency-name: axum-macros
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-12 10:06:33 +01:00
Quentin Gliech
3a1fc8982c storage: cleanup access/refresh token lookups 2023-01-11 12:14:52 +01:00
Quentin Gliech
f0a44fcd5e storage: do less joins in compat sessions 2023-01-10 18:49:35 +01:00
Quentin Gliech
2b2f452d96 data-model: have more structs use a state machine 2023-01-09 18:02:32 +01:00
Quentin Gliech
31779f5222 data-model: don't embed the client in the auth grant 2023-01-09 10:49:51 +01:00
dependabot[bot]
ce29ac40a9 build(deps): bump tokio from 1.23.1 to 1.24.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.1 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.1...tokio-1.24.1)

---
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-07 12:39:06 +01:00
dependabot[bot]
c9cd9131e5 build(deps): bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.1
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](de7ea6f8ef...64b46b4226)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 22:32:00 +01:00