Commit Graph

4658 Commits

Author SHA1 Message Date
Quentin Gliech
badaf35fcf frontend: expose the compat session humanName 2025-04-25 12:55:11 +02:00
Quentin Gliech
bcd83ef649 storage: allow setting the human_name when creating compat sessions 2025-04-25 12:55:10 +02:00
Quentin Gliech
c55d0e7c0b matrix: allow setting a custom device display name 2025-04-25 12:55:06 +02: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
143b15f20d New logging output (#4424) 2025-04-23 18:44:41 +02:00
Quentin Gliech
39fd5ad90c Merge branch 'main' into quenting/better-logging 2025-04-23 18:37:30 +02:00
reivilibre
3ea4b89232 Fix cargo doc choking on invalid [DEPRECATED] 'link' (#4446) 2025-04-23 16:00:37 +00:00
Olivier 'reivilibre
f94a808e7a Fix cargo doc choking on invalid [DEPRECATED] 'link'
Could have escaped with a backslash but I thought just using round
brackets would be more readable than that.
2025-04-23 16:54:10 +01:00
Quentin Gliech
dcf7c13c14 build(deps): bump sea-query from 0.32.3 to 0.32.4 in the sea-query group (#4426) 2025-04-23 17:50:30 +02:00
Quentin Gliech
687df8276c build(deps): bump der from 0.7.9 to 0.7.10 (#4428) 2025-04-23 17:50:20 +02:00
Quentin Gliech
f4cc4dd3ae build(deps): bump clap from 4.5.36 to 4.5.37 (#4429) 2025-04-23 17:50:11 +02:00
Quentin Gliech
9282d169b6 build(deps-dev): bump the vite group across 1 directory with 2 updates (#4430) 2025-04-23 17:50:02 +02:00
Quentin Gliech
2c6b4a1c61 build(deps): bump psl from 2.1.100 to 2.1.102 (#4439) 2025-04-23 17:49:42 +02:00
Quentin Gliech
617b1b7b96 build(deps): bump sigstore/cosign-installer from 3.8.1 to 3.8.2 (#4440) 2025-04-23 17:49:33 +02:00
Quentin Gliech
2de001038e build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#4412) 2025-04-23 17:48:38 +02:00
Quentin Gliech
1f5a55d84a build(deps): bump swagger-ui-dist from 5.20.7 to 5.21.0 in /frontend (#4409) 2025-04-23 17:48:25 +02:00
Quentin Gliech
ae819a398f Format code 2025-04-23 17:36:48 +02:00
Quentin Gliech
df7109364f Merge remote-tracking branch 'origin/main' into quenting/better-logging 2025-04-23 17:28:40 +02:00
Quentin Gliech
9991ebde2c Suggestions from code review:
- what unit is cpu_time in
 - reduce the number of digits when logging timings
2025-04-23 17:24:18 +02:00
Quentin Gliech
6ec318374d Make the new migration tool generally available (#4444) 2025-04-23 17:01:19 +02:00
dependabot[bot]
53f1d33171 build(deps): bump der from 0.7.9 to 0.7.10
Bumps [der](https://github.com/RustCrypto/formats) from 0.7.9 to 0.7.10.
- [Commits](https://github.com/RustCrypto/formats/compare/der/v0.7.9...der/v0.7.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:16:39 +00:00
dependabot[bot]
d72e404dcd build(deps): bump clap from 4.5.36 to 4.5.37
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.36 to 4.5.37.
- [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/clap_complete-v4.5.36...clap_complete-v4.5.37)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:16:32 +00:00
matrixbot
f94372fdeb Automatic merge back to main (#4441) 2025-04-23 16:15:06 +02:00
github-actions[bot]
ac41b41d9c 0.15.0 2025-04-23 14:08:02 +00:00
dependabot[bot]
bd95303612 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.4.0 to 4.4.1
- [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.1/packages/plugin-react)

Updates `vite` from 6.3.0 to 6.3.2
- [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.2/packages/vite)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-version: 4.4.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
- dependency-name: vite
  dependency-version: 6.3.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: vite
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:08:00 +00:00
dependabot[bot]
5f356b816a build(deps): bump sigstore/cosign-installer from 3.8.1 to 3.8.2
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.8.1...v3.8.2)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-version: 3.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 14:03:11 +00:00
dependabot[bot]
3b84f19095 build(deps): bump psl from 2.1.100 to 2.1.102
Bumps [psl](https://github.com/addr-rs/psl) from 2.1.100 to 2.1.102.
- [Release notes](https://github.com/addr-rs/psl/releases)
- [Commits](https://github.com/addr-rs/psl/compare/v2.1.100...v2.1.102)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 13:55:11 +00:00
dependabot[bot]
9bf197f176 build(deps): bump sea-query from 0.32.3 to 0.32.4 in the sea-query group
Bumps the sea-query group with 1 update: [sea-query](https://github.com/SeaQL/sea-query).


Updates `sea-query` from 0.32.3 to 0.32.4
- [Release notes](https://github.com/SeaQL/sea-query/releases)
- [Changelog](https://github.com/SeaQL/sea-query/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SeaQL/sea-query/compare/0.32.3...0.32.4)

---
updated-dependencies:
- dependency-name: sea-query
  dependency-version: 0.32.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sea-query
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-23 13:53:45 +00:00
Quentin Gliech
348eb56344 syn2mas: introduce a dry-run mode 2025-04-23 14:42:30 +02:00
Quentin Gliech
ae29ef1f9d syn2mas: log progress more often 2025-04-23 14:21:15 +02:00
Quentin Gliech
30a0e5054a Allow syn2mas arguments to be specified after the subcommand 2025-04-23 14:18:59 +02:00
Quentin Gliech
db5c39e11d Fix headings in config doc (#4419) 2025-04-23 14:11:33 +02:00
Quentin Gliech
44727912c0 Add a few missing license headers 2025-04-23 13:46:44 +02:00
Quentin Gliech
be09f62bfa syn2mas: drop the experimental flag 2025-04-23 13:39:16 +02:00
Quentin Gliech
d62fe98f5a syn2mas: provide guidance on how to re-do a fresh migration 2025-04-23 13:34:34 +02:00
Quentin Gliech
fa1ecc5216 syn2mas: warn about existing oauth-delegated user_external_ids 2025-04-23 13:30:02 +02:00
Quentin Gliech
b827c3b8ef Remove reference to unsupported aws_ses email transport (#4435) 2025-04-23 12:00:00 +02:00
Quentin Gliech
5c7ddc7282 Fix starting up when no telemetry config is set (#4437) 2025-04-23 11:55:59 +02:00
matrixbot
4d1de82ce1 Translations updates for v0.15 (#4438) 2025-04-23 11:28:24 +02:00
github-actions[bot]
ed319dc43c Translations updates 2025-04-23 09:22:20 +00:00
Quentin Gliech
f84f6142b9 Fix starting up when no telemetry config is set 2025-04-23 11:18:28 +02:00
Quentin Gliech
31c8a08dd1 syn2mas: spawn the writer connections in parallel
Also make sure we have a single span for them
2025-04-22 17:57:30 +02:00
Quentin Gliech
853b987a4a syn2mas: only log once when rebuilding constraints 2025-04-22 17:46:12 +02:00
Quentin Gliech
9aafc576a1 syn2mas: log the number of entities migrated at each step 2025-04-22 17:38:58 +02:00