Commit Graph
6062 Commits
Author SHA1 Message Date
dependabot[bot] 8fa44dab8c build(deps-dev): bump the vitest group in /frontend with 2 updates
Bumps the vitest group in /frontend with 2 updates: [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).


Updates `@vitest/coverage-v8` from 3.1.1 to 3.1.2
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.2/packages/coverage-v8)

Updates `vitest` from 3.1.1 to 3.1.2
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.2/packages/vitest)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 3.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
- dependency-name: vitest
  dependency-version: 3.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vitest
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 11:53:39 +00:00
Quentin Gliech 0c16b3320c Remove the old migration tool and document the new one (#4447) 2025-04-30 13:52:31 +02:00
Quentin Gliech 161306e96f build(deps): bump rustls-platform-verifier from 0.5.1 to 0.5.2 (#4466) 2025-04-30 13:52:10 +02:00
Quentin Gliech 1d3bc565cc build(deps-dev): bump knip from 5.50.2 to 5.51.0 in /frontend (#4475) 2025-04-30 13:52:00 +02:00
Quentin Gliech 9cfecaf5db Insert client_name when upserting statically registered clients (#4417) 2025-04-30 11:50:49 +02:00
Quentin GliechandWill Lewis 6c0c110503 Apply suggestions from code review
Co-authored-by: Will Lewis <1543626+wrjlewis@users.noreply.github.com>
2025-04-30 11:49:29 +02:00
dependabot[bot] 9ce50da615 build(deps-dev): bump knip from 5.50.2 to 5.51.0 in /frontend
Bumps [knip](https://github.com/webpro-nl/knip/tree/HEAD/packages/knip) from 5.50.2 to 5.51.0.
- [Release notes](https://github.com/webpro-nl/knip/releases)
- [Changelog](https://github.com/webpro-nl/knip/blob/main/packages/knip/.release-it.json)
- [Commits](https://github.com/webpro-nl/knip/commits/5.51.0/packages/knip)

---
updated-dependencies:
- dependency-name: knip
  dependency-version: 5.51.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-29 13:23:32 +00:00
Quentin Gliech 19b4f0d27b Rework the error fallback to better report the error to Sentry (#4474) 2025-04-29 11:24:34 +02:00
Quentin Gliech 9a5255f89b Rework the error fallback to better report the error to Sentry
This means we keep the std::error::Error boxed longer, and transform it
into an error context later
2025-04-29 11:15:34 +02:00
Quentin Gliech 5cbb5d9fc7 Remove duplicate OTEL meter for the Tokio runtime (#4473) 2025-04-29 08:45:59 +02:00
Quentin Gliech dec4c03d42 Remove duplicate OTEL meter for the Tokio runtime 2025-04-29 08:38:57 +02:00
Quentin Gliech 79bf027571 Allow user deactivation on the Synapse side to take longer than 30s (#4471) 2025-04-28 19:48:22 +02:00
Quentin Gliech d7791db643 Allow Synapse user deactivation to take up to 5 minutes 2025-04-28 19:40:17 +02:00
Quentin Gliech 28676f3d56 Remove the global read_timeout on the HTTP client
The `connect_timeout` plus `timeout` are enough to handle general
network issues
2025-04-28 19:39:46 +02:00
Quentin Gliech 2622de1917 Don't check for availability of usernames that aren't ASCII (#4469) 2025-04-28 17:36:38 +02:00
Quentin Gliech ecade0aa9d Don't check for availability of usernames that aren't ASCII 2025-04-28 17:29:54 +02:00
Quentin Gliech 17632a0903 Record the axum route in the Sentry context (#4468) 2025-04-28 17:21:59 +02:00
Quentin Gliech 8c9e32e1fb Record the axum route in the Sentry context 2025-04-28 17:12:51 +02:00
dependabot[bot] ee5c169abb build(deps): bump rustls-platform-verifier from 0.5.1 to 0.5.2
Bumps [rustls-platform-verifier](https://github.com/rustls/rustls-platform-verifier) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/rustls/rustls-platform-verifier/releases)
- [Changelog](https://github.com/rustls/rustls-platform-verifier/blob/main/CHANGELOG)
- [Commits](https://github.com/rustls/rustls-platform-verifier/compare/v/0.5.1...v/0.5.2)

---
updated-dependencies:
- dependency-name: rustls-platform-verifier
  dependency-version: 0.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 14:50:55 +00:00
Quentin Gliech e243b62d26 Avoid deadlocks when flushing session activities (#4463) 2025-04-28 10:54:33 +02:00
Quentin Gliech e2dde8268a Add a gauge which tracks the number of pending activity records 2025-04-28 10:45:10 +02:00
Quentin Gliech a4a6cce9ed Reduce the size of the activity tracker batches 2025-04-28 10:37:23 +02:00
Quentin Gliech ea0a563930 Avoid using anyhow in the activity tracker worker 2025-04-28 10:00:12 +02:00
Quentin Gliech ed8eec669b Use a tokio interval instead of a sleep in the activity tracker 2025-04-28 09:59:58 +02:00
Quentin Gliech 062d554a6f Avoid deadlocks when updating the last activity of sessions 2025-04-28 09:56:30 +02:00
Quentin Gliech 4f9e75c33d frontend: allow setting custom names to sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech 1696102592 graphql: add mutation to update device name 2025-04-25 16:55:30 +02:00
Quentin Gliech 9a660b211a storage: methods to set the sessions human name 2025-04-25 16:55:30 +02:00
Quentin Gliech 0b47355398 frontend: display the custom device name on OAuth 2.0 sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech 498c0ac3a7 admin: expose the sessions 'human_name' 2025-04-25 16:55:30 +02:00
Quentin Gliech fe1d15ab0e graphql: expose the humanName field on OAuth 2.0 sessions 2025-04-25 16:55:30 +02:00
Quentin Gliech 3b6581ab3d storage: add a user-provided human name to OAuth 2.0 sessions 2025-04-25 16:55:29 +02:00
Quentin Gliech 7c0eeec347 Generate a device name based on the client name and user agent 2025-04-25 16:55:29 +02:00
dependabot[bot] 8f8d522b40 build(deps): bump docker/bake-action from 6.5.0 to 6.6.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v6.5.0...v6.6.0)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 6.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 13:57:13 +00:00
Quentin Gliech fc94c751bc templates: introduce a parse_user_agent filter and use it in the device consent page 2025-04-25 12:55:30 +02:00
Quentin Gliech b708c403e3 Save the locale detected when starting an authorization grant 2025-04-25 12:55:22 +02:00
Quentin Gliech d550fce698 compat: allow setting an initial_device_display_name on login 2025-04-25 12:55:19 +02:00
Quentin Gliech 4341bff235 frontend: expose the compat session humanName 2025-04-25 12:55:11 +02:00
Quentin Gliech 60a0285d36 storage: allow setting the human_name when creating compat sessions 2025-04-25 12:55:10 +02:00
Quentin Gliech 8735bdb7f0 matrix: allow setting a custom device display name 2025-04-25 12:55:06 +02:00
dependabot[bot] 2bef1b743e build(deps): bump tokio-util from 0.7.14 to 0.7.15
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.14 to 0.7.15.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.14...tokio-util-0.7.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 14:07:26 +00:00
Quentin Gliech 305914ee69 Fix the ordering of the middlewares (#4452) 2025-04-24 15:12:51 +02:00
Quentin Gliech cb7472995d Fix the ordering of the middlewares
This was causing the number of event processors to constantly grow
with each request, making the server use up more memory and CPU over
time.
2025-04-24 14:59:07 +02:00
Quentin Gliech 3ef91d5248 perf: avoid unnecessary clones of the log context (#4451) 2025-04-24 14:26:49 +02:00
Quentin Gliech 2a99af6349 perf: avoid unnecessary clones of the log context 2025-04-24 14:19:26 +02:00
Quentin Gliech 7d17f34780 perf: avoid unnecessary parsing of user-agents (#4449) 2025-04-24 13:55:19 +02:00
Quentin Gliech 0cfea60fa0 Don't parse the user agent unless we need to 2025-04-24 13:13:26 +02:00
Quentin Gliech 691c283a1e Compile the user-agent regexes once 2025-04-24 12:36:41 +02:00
Hugh Nimmo-Smith 074f8ffae7 No need for the action as can link direct to /account/plan 2025-04-23 19:24:44 +01:00
Quentin Gliech e3d1b8abfa docs: stop talking about the .well-known/matrix/client changes
These were relevant on an old version of the specs, and just confuses people.
2025-04-23 18:52:34 +02:00