1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-07 22:41:18 +03:00
Commit Graph

260 Commits

Author SHA1 Message Date
f4fff72b22 Properly propagate trace contexts
This also fixes a long-running issue where the OTEL context was not properly set in the tracing spans.
2023-04-14 10:22:22 +02:00
cdd535ddc4 WIP: use apalis to schedule jobs 2023-04-14 10:22:22 +02:00
7137a9e5c8 build(deps): bump clap from 4.1.8 to 4.1.9
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.8 to 4.1.9.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.8...v4.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-17 18:40:53 +01:00
83cb9158a0 Fix clippy errors 2023-03-14 10:47:35 +01:00
c6f31d0102 Bump Rust dependencies 2023-03-14 10:47:35 +01:00
380f722d67 Bump Rust dependencies 2023-02-27 17:32:13 +01:00
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
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
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
823b27a714 Bump Rust dependencies 2023-02-16 15:14:27 +01:00
eb8bda6bbb Bump Rust dependencies 2023-02-13 17:27:33 +01:00
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
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
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
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
6bda071e3f Bump all Rust dependencies to latest version (#828) 2023-01-27 14:23:59 +00:00
4850c79711 Merge branch 'main' into quenting/storage-repository 2023-01-27 11:16:38 +01:00
d14ca156ad storage: split the repository trait 2023-01-24 16:05:14 +01:00
a9facab131 Box the repository everywhere 2023-01-20 17:53:04 +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
195203823a storage: wrap the postgres repository in a struct 2023-01-13 18:03:37 +01:00
d21733f73f 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
51b3af1111 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
19d0c488e3 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
04c37560e8 build(deps): bump tokio from 1.23.0 to 1.23.1
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.23.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 22:01:38 +01:00
603a26eabd storage: oauth2 session repository 2023-01-05 16:44:56 +01:00
a7883618be Better tracing spans 2023-01-04 16:30:38 +01:00
09a567ab17 storage: OAuth2 client repository 2023-01-04 16:30:32 +01:00
1caf776d75 Allow updating clients from the config without truncating them 2023-01-03 16:43:18 +01:00
53172d6a3f strorage: browser session and user password repositories 2023-01-03 15:58:01 +01:00
13a9d03647 storage: user and user email repository 2023-01-02 15:28:44 +01:00
0faf08fce2 storage: repository pattern for upstream oauth2 providers 2022-12-30 10:55:37 +01:00
75d102ec8e Bump clap from 4.0.31 to 4.0.32
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.31 to 4.0.32.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.31...v4.0.32)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-23 23:23:19 +01:00
1d018984ee Bump clap from 4.0.29 to 4.0.31
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.29 to 4.0.31.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.29...v4.0.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-22 20:59:28 +01:00
1eda19de09 Bump serde_json from 1.0.89 to 1.0.91
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.89 to 1.0.91.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.89...v1.0.91)

---
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-12-21 22:11:17 +01:00
0d355d5500 Bump anyhow from 1.0.66 to 1.0.68
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.66 to 1.0.68.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.66...1.0.68)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 09:47:28 +01:00
ea6ea86702 Bump serde_yaml from 0.9.14 to 0.9.16
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.9.14 to 0.9.16.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.14...0.9.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 09:28:06 +01:00
a6e7cb0b22 Bump indoc from 1.0.7 to 1.0.8
Bumps [indoc](https://github.com/dtolnay/indoc) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/1.0.7...1.0.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 22:04:12 +01:00
ca112d45e1 ci: Update clippy to 1.66 and fix new warnings 2022-12-16 18:16:18 +01:00
808a8218fd Refactor and simplify the templates hot-reload logic 2022-12-15 16:51:43 +01:00
ee42250660 Remove the dependency on sqlx in the config crate 2022-12-15 16:51:43 +01:00
fbbb842255 Remove dependency on mas-email and lettre in mas-config 2022-12-15 16:51:43 +01:00
a475a9a164 Make the compat login use the new password manager 2022-12-14 16:04:36 +01:00
533cabe005 Use the new password manager 2022-12-14 16:04:36 +01:00
ff2f009b0e Password schemes configuration 2022-12-14 16:04:36 +01:00
102571512e storage: unify most oauth2 related errors 2022-12-08 15:29:15 +01:00
b7cad48bbd storage: unify user operations errors 2022-12-08 15:29:15 +01:00
feebbd0e97 data-model: simplify users and sessions 2022-12-08 15:29:15 +01:00