Commit Graph
6062 Commits
Author SHA1 Message Date
Quentin Gliech 0f30933fe2 syn2mas: implement WriteBatch for MasNewCompatRefreshToken 2025-04-22 14:42:52 +02:00
Quentin Gliech 28d3ab3cff syn2mas: implement WriteBatch for MasNewCompatAccessToken 2025-04-22 14:39:59 +02:00
Quentin Gliech de2caeb322 syn2mas: implement WriteBatch for MasNewCompatSession 2025-04-22 14:37:32 +02:00
Quentin Gliech 151f5a73f1 syn2mas: implement WriteBatch for MasNewUpstreamOauthLink 2025-04-22 14:33:16 +02:00
Quentin Gliech cd9f7bbba6 syn2mas: implement WriteBatch for MasNewUnsupportedThreepid 2025-04-22 14:30:51 +02:00
Quentin Gliech 202eab0972 syn2mas: implement WriteBatch for MasNewEmailThreepid 2025-04-22 14:25:13 +02:00
Hugh Nimmo-Smith 2414e147fb Remove reference to unsupported aws_ses email transport 2025-04-22 13:21:07 +01:00
Quentin Gliech 1fe7e6cb25 syn2mas: implement WriteBatch for MasNewUserPassword 2025-04-22 14:17:37 +02:00
Hugh Nimmo-Smith 457ade5a60 WIP support for experimental plan management tab in UI 2025-04-22 13:17:29 +01:00
Quentin Gliech 521a96f0a2 syn2mas: implement WriteBatch for MasNewUser 2025-04-22 14:14:44 +02:00
Quentin Gliech d4a43fba0f syn2mas: introduce a WriteBatch trait to refactor how we write to MAS 2025-04-22 14:14:20 +02:00
Quentin Gliech 0af16617e4 syn2mas: add a buffered channel for writing refreshable tokens 2025-04-22 13:49:22 +02:00
Quentin Gliech a9a7929388 syn2mas: add a buffered channel for writing external IDs 2025-04-22 13:44:52 +02:00
Quentin Gliech 46c44e0b43 syn2mas: add a buffered channel for writing threepids 2025-04-22 13:40:14 +02:00
Quentin Gliech f49b8dcc3c Option to generate a MAS config from an existing Synapse config
This is a best-effort conversion, which will warn about unsupported options.
2025-04-18 18:27:15 +02:00
Quentin Gliech aef5dca40d Move the synapse_idp_id field to the top of the provider section
This means that when serializing those, it will be at a more obvious place.
2025-04-18 18:25:46 +02:00
Quentin Gliech b58ad863c5 Make a few password-related options public in the config crate
It also adds docs to a few of those options
2025-04-18 18:24:35 +02:00
Quentin Gliech 59bcf1b963 syn2mas: replace #[allow] annotations with #[expect]
Also removes unused #[allow] annotations.
2025-04-18 11:34:27 +02:00
Quentin Gliech cdb35d97ef syn2mas: refactor the metrics logic in the progress module
We don't need to carry around the various meters. Just make them global.
2025-04-18 11:32:26 +02:00
Quentin Gliech 76adf18b2e tasks: don't rely on #[instrument(err)] for logging errors 2025-04-18 09:59:31 +02:00
Quentin Gliech 9aa94859d6 Record the job result from within the job LogContext
This means we can log stats about the job when it finishes, and its
status will have the right log context attached to it.
2025-04-18 09:59:30 +02:00
Quentin Gliech d748f18be6 Replace most remaining #[instrument(err)] annotations 2025-04-18 09:59:29 +02:00
Quentin Gliech eb03522bb5 Make the error wrapper log errors 2025-04-18 09:59:28 +02:00
Quentin Gliech d2806ed392 Create log contexts for accepted connections & log errors in them 2025-04-18 09:59:27 +02:00
Quentin Gliech 2b46f98674 handlers::views: don't rely on #[instrument(err)] to capture errors 2025-04-18 09:59:26 +02:00
Quentin Gliech a8ed39d4c6 handlers::upstream_oauth2: don't rely on #[instrument(err)] to capture errors 2025-04-18 09:59:25 +02:00
Quentin Gliech 0f24789abb handlers::oauth2: don't rely on #[instrument(err)] for error logging 2025-04-18 09:59:25 +02:00
Quentin Gliech af9dd97599 Fix Sentry creating transactions for every request 2025-04-18 09:59:24 +02:00
Quentin Gliech 10a7113146 Make the FancyError type log the error when being transformed into a response. 2025-04-18 09:59:23 +02:00
Quentin Gliech fb0bd8fa39 Better errors for the introspection endpoint 2025-04-18 09:59:22 +02:00
Quentin Gliech c32557b465 Better logging of client cretentials verification errors 2025-04-18 09:59:21 +02:00
Quentin Gliech b14e4cbb12 handlers::oauth2::token: Way better error logging on the token endpoint 2025-04-18 09:59:20 +02:00
Quentin Gliech 34bd5b301b handlers::compat: don't rely on #[instrument(err)] for logging errors 2025-04-18 09:59:20 +02:00
Quentin Gliech 2959ce6929 handlers::admin: don't rely on #[instrument(err)] for logging errors 2025-04-18 09:59:19 +02:00
Quentin Gliech 6fbb072075 Exclude the HTTP server response events from Sentry 2025-04-18 09:59:18 +02:00
Quentin Gliech 62c598f2ed Macro to record an HTTP response error with the Sentry event ID attached 2025-04-18 09:59:13 +02:00
Quentin Gliech 78ccdf7db2 Log on every HTTP response 2025-04-18 09:58:57 +02:00
Quentin Gliech 2b4eaf55b0 Add context to some log messages 2025-04-18 09:58:48 +02:00
Quentin Gliech 4820b75157 Roll our own event formatter 2025-04-18 09:58:47 +02:00
Quentin Gliech 9075ed771d Provide log context stats in a separate structure 2025-04-18 09:58:42 +02:00
Adis Veletanlic c0582ed74e Merge branch 'main' into feat/upsert-static-reg-client-name 2025-04-16 22:20:00 +02:00
Quentin Gliech bfc92f5f28 Create a few basic logging contexts 2025-04-16 16:07:29 +02:00
Quentin Gliech 3c7b8618f2 Introduce a task-level log context 2025-04-16 16:07:27 +02:00
dependabot[bot] c51bb4029b build(deps): bump swagger-ui-dist from 5.20.7 to 5.21.0 in /frontend
Bumps [swagger-ui-dist](https://github.com/swagger-api/swagger-ui) from 5.20.7 to 5.21.0.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v5.20.7...v5.21.0)

---
updated-dependencies:
- dependency-name: swagger-ui-dist
  dependency-version: 5.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 13:59:53 +00:00
Quentin Gliech 3e4bd28870 build(deps): bump sqlx from 0.8.4 to 0.8.5 (#4418) 2025-04-16 15:58:55 +02:00
Quentin Gliech d4fc745677 build(deps-dev): bump the vite group across 1 directory with 2 updates (#4420) 2025-04-16 15:58:30 +02:00
dependabot[bot] 51717cae4c build(deps-dev): bump the vite group across 1 directory with 2 updates
Bumps the vite group with 2 updates in the /frontend directory: [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `@vitejs/plugin-react` from 4.3.4 to 4.4.0
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.4.0/packages/plugin-react)

Updates `vite` from 6.2.6 to 6.3.0
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.3.0/packages/vite)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
- dependency-name: vite
  dependency-version: 6.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 13:52:21 +00:00
dependabot[bot] f428bd12ce build(deps): bump sqlx from 0.8.4 to 0.8.5
Bumps [sqlx](https://github.com/launchbadge/sqlx) from 0.8.4 to 0.8.5.
- [Changelog](https://github.com/launchbadge/sqlx/blob/main/CHANGELOG.md)
- [Commits](https://github.com/launchbadge/sqlx/commits/v0.8.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 13:15:35 +00:00
Kai A. Hiller 54a8e1194c Fix headings in config doc
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-04-16 15:05:36 +02:00
Adis Veletanlic 6579980924 Run ./misc/update.sh 2025-04-16 13:16:43 +02:00