Commit Graph

4708 Commits

Author SHA1 Message Date
Quentin Gliech
e8fadc3c70 Bump all the frontend dependencies (#4481) 2025-04-30 15:09:10 +02:00
Quentin Gliech
492cf14708 Bump all the frontend dependencies 2025-04-30 15:02:25 +02:00
Quentin Gliech
986f5e35bf build(deps): bump insta from 1.42.2 to 1.43.1 (#4478) 2025-04-30 14:03:43 +02:00
Quentin Gliech
dce0a4d0e3 build(deps): bump psl from 2.1.102 to 2.1.105 (#4479) 2025-04-30 14:03:27 +02:00
Quentin Gliech
ac4b4ef654 build(deps-dev): bump the vitest group in /frontend with 2 updates (#4453) 2025-04-30 14:02:22 +02:00
Quentin Gliech
a7fa4b3016 build(deps): bump chrono from 0.4.40 to 0.4.41 (#4480) 2025-04-30 14:02:14 +02:00
Quentin Gliech
591d5931a0 build(deps-dev): bump vite from 6.3.2 to 6.3.3 in /frontend in the vite group (#4454) 2025-04-30 14:02:05 +02:00
Quentin Gliech
552525e446 build(deps): bump tokio-util from 0.7.14 to 0.7.15 (#4455) 2025-04-30 14:01:54 +02:00
Quentin Gliech
ff057e22f3 build(deps-dev): bump storybook-react-i18next from 3.2.1 to 3.3.1 in /frontend in the storybook group (#4477) 2025-04-30 14:01:13 +02:00
Quentin Gliech
2a7caff5fd build(deps): bump docker/bake-action from 6.5.0 to 6.6.0 (#4460) 2025-04-30 13:58:31 +02:00
dependabot[bot]
c3906d3a9a build(deps): bump chrono from 0.4.40 to 0.4.41
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.40 to 0.4.41.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.40...v0.4.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 11:55:20 +00:00
dependabot[bot]
0b9ecdd42b build(deps): bump psl from 2.1.102 to 2.1.105
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.102 to 2.1.105.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.102...v2.1.105)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 11:54:54 +00:00
dependabot[bot]
8f60ea725d build(deps): bump insta from 1.42.2 to 1.43.1
Bumps [insta](https://github.com/mitsuhiko/insta) from 1.42.2 to 1.43.1.
- [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.42.2...1.43.1)

---
updated-dependencies:
- dependency-name: insta
  dependency-version: 1.43.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 11:54:35 +00:00
dependabot[bot]
35f0724e0d build(deps-dev): bump vite in /frontend in the vite group
Bumps the vite group in /frontend with 1 update: [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite).


Updates `vite` from 6.3.2 to 6.3.3
- [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/v6.3.3/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 11:53:42 +00:00
dependabot[bot]
e87e790537 build(deps-dev): bump storybook-react-i18next
Bumps the storybook group in /frontend with 1 update: [storybook-react-i18next](https://github.com/stevensacks/storybook-react-i18next).


Updates `storybook-react-i18next` from 3.2.1 to 3.3.1
- [Release notes](https://github.com/stevensacks/storybook-react-i18next/releases)
- [Changelog](https://github.com/stevensacks/storybook-react-i18next/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stevensacks/storybook-react-i18next/compare/v3.2.1...v3.3.1)

---
updated-dependencies:
- dependency-name: storybook-react-i18next
  dependency-version: 3.3.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: storybook
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 11:53:42 +00:00
dependabot[bot]
1543801581 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
7b8ff852cc Remove the old migration tool and document the new one (#4447) 2025-04-30 13:52:31 +02:00
Quentin Gliech
5185dd2773 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
53494cc53a 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
aba9ca38e6 Insert client_name when upserting statically registered clients (#4417) 2025-04-30 11:50:49 +02:00
Quentin Gliech
3e7b7d7463 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]
7e178c0602 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
83dfa7c045 Rework the error fallback to better report the error to Sentry (#4474) 2025-04-29 11:24:34 +02:00
Quentin Gliech
ad21263b70 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
dc33cee038 Remove duplicate OTEL meter for the Tokio runtime (#4473) 2025-04-29 08:45:59 +02:00
Quentin Gliech
cb56a6e880 Remove duplicate OTEL meter for the Tokio runtime 2025-04-29 08:38:57 +02:00
Quentin Gliech
a05e4983f8 Allow user deactivation on the Synapse side to take longer than 30s (#4471) 2025-04-28 19:48:22 +02:00
Quentin Gliech
8be6b2785f Allow Synapse user deactivation to take up to 5 minutes 2025-04-28 19:40:17 +02:00
Quentin Gliech
b637e55f4a 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
10e1389bea Don't check for availability of usernames that aren't ASCII (#4469) 2025-04-28 17:36:38 +02:00
Quentin Gliech
ff65153f7b Don't check for availability of usernames that aren't ASCII 2025-04-28 17:29:54 +02:00
Quentin Gliech
a8c4eff4d2 Record the axum route in the Sentry context (#4468) 2025-04-28 17:21:59 +02:00
Quentin Gliech
53836fbc13 Record the axum route in the Sentry context 2025-04-28 17:12:51 +02:00
dependabot[bot]
869c880aed 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
34d404b093 Avoid deadlocks when flushing session activities (#4463) 2025-04-28 10:54:33 +02:00
Quentin Gliech
60c92ebdf4 Add a gauge which tracks the number of pending activity records 2025-04-28 10:45:10 +02:00
Quentin Gliech
a6f6cfadb0 Reduce the size of the activity tracker batches 2025-04-28 10:37:23 +02:00
Quentin Gliech
009c4baa6c Avoid using anyhow in the activity tracker worker 2025-04-28 10:00:12 +02:00
Quentin Gliech
fa5bd313be Use a tokio interval instead of a sleep in the activity tracker 2025-04-28 09:59:58 +02:00
Quentin Gliech
0396de202a Avoid deadlocks when updating the last activity of sessions 2025-04-28 09:56:30 +02:00
dependabot[bot]
cd19120b0f 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
dependabot[bot]
f855510916 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
0c6124b670 Fix the ordering of the middlewares (#4452) 2025-04-24 15:12:51 +02:00
Quentin Gliech
fd258ccf23 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
fc8b92e879 perf: avoid unnecessary clones of the log context (#4451) 2025-04-24 14:26:49 +02:00
Quentin Gliech
564e70d8dc perf: avoid unnecessary clones of the log context 2025-04-24 14:19:26 +02:00
Quentin Gliech
7f1edf21f3 perf: avoid unnecessary parsing of user-agents (#4449) 2025-04-24 13:55:19 +02:00
Quentin Gliech
f457bd8d35 Don't parse the user agent unless we need to 2025-04-24 13:13:26 +02:00
Quentin Gliech
dbb68257fc Compile the user-agent regexes once 2025-04-24 12:36:41 +02:00
Quentin Gliech
f24d94c6f5 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