Commit Graph

395 Commits

Author SHA1 Message Date
Quentin Gliech
5fc6b369ce Allow setting a custom clock on the QueueWorker & add one to the
TestState
2025-07-09 17:24:04 +02:00
Quentin Gliech
e8627166a9 Log out oauth & compat sessions when receiving a backchannel logout request 2025-07-04 16:27:10 +02:00
Quentin Gliech
db8c557f81 Backchannel logout behavior settings on upstream providers 2025-07-04 16:27:10 +02:00
Quentin Gliech
52b0a9b2ba Update license headers to match the actual license 2025-06-12 10:32:16 +02:00
Quentin Gliech
642c8ba508 Support for experimental plan management tab in UI (#4549) 2025-06-10 14:14:24 +02:00
Quentin Gliech
186b5cbdbe Add secrets.encryption_file config option (#4617) 2025-06-05 15:14:55 +02:00
Quentin Gliech
3821c6550d CLI tool to issue user registration tokens 2025-06-03 17:42:55 +02:00
Quentin Gliech
dcef4bcf3f Add config flag to require registration tokens for password registrations 2025-06-03 17:42:53 +02:00
Kai A. Hiller
1d88c875e8 Add secrets.encryption_file config option
Signed-off-by: Kai A. Hiller <git@kaialexhiller.de>
2025-06-02 18:39:19 +02:00
Quentin Gliech
7ab69f4d92 Reduce the cache time for 404s on the assets 2025-06-02 13:32:57 +02:00
Quentin Gliech
f63b466145 Allow applying unicode normalisation to passwords before hashing 2025-05-30 15:42:32 +02:00
Hugh Nimmo-Smith
aad2d8afb3 Merge branch 'main' into hughns/plan-management 2025-05-09 10:33:39 +01:00
Quentin Gliech
bdd56faa02 Don't hold database connections open when talking to the homeserver (#4527) 2025-05-09 09:13:42 +02:00
Quentin Gliech
e78590748e Adjust tokio metrics for tokio 1.45 2025-05-07 19:28:50 +02:00
Quentin Gliech
4f96190f78 Use the new RepositoryFactory everywhere 2025-05-07 17:27:59 +02:00
Quentin Gliech
481b2d4cf9 Move the pool acquisition metric logic to the PgRepositoryFactory 2025-05-07 17:09:20 +02:00
Quentin Gliech
90faa72633 Introduce a RepositoryFactory 2025-05-07 17:00:49 +02:00
Quentin Gliech
3ccf858e5a Sample traces based on the parent (#4514) 2025-05-07 14:53:52 +02:00
Quentin Gliech
d6198c1bda Suppress warning with Jaeger propagator when the header is unset (#4513) 2025-05-07 14:53:40 +02:00
Quentin Gliech
a6ac8d88fc Sample traces based on the parent span if available 2025-05-07 10:53:33 +02:00
Quentin Gliech
72bb36e84a Suppress warning with Jaeger propagator when the header is unset 2025-05-07 10:32:47 +02:00
Doug
7f91c8948b Add a configuration for forwarding the login hint to the upstream provider. 2025-05-06 17:50:33 +01:00
Quentin Gliech
687b1b35c4 syn2mas: allow setting the db name via the database field
This is supported (but deprecated) by psycopg2, which Synapse uses
2025-05-05 09:58:46 +02:00
Quentin Gliech
7b9b44c644 Allow setting custom names on sessions (#4459) 2025-04-30 15:32:25 +02:00
Quentin Gliech
aba9ca38e6 Insert client_name when upserting statically registered clients (#4417) 2025-04-30 11:50:49 +02:00
Quentin Gliech
cb56a6e880 Remove duplicate OTEL meter for the Tokio runtime 2025-04-29 08:38:57 +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
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
564e70d8dc perf: avoid unnecessary clones of the log context 2025-04-24 14:19:26 +02:00
Quentin Gliech
39fd5ad90c Merge branch 'main' into quenting/better-logging 2025-04-23 18:37:30 +02: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
df7109364f Merge remote-tracking branch 'origin/main' into quenting/better-logging 2025-04-23 17:28:40 +02:00
Quentin Gliech
6ec318374d Make the new migration tool generally available (#4444) 2025-04-23 17:01:19 +02:00
matrixbot
f94372fdeb Automatic merge back to main (#4441) 2025-04-23 16:15:06 +02: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
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
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
Hugh Nimmo-Smith
57cc89a0c8 WIP support for experimental plan management tab in UI 2025-04-22 13:17:29 +01:00
Quentin Gliech
1fcf650322 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
3a8d4a1e8a Replace most remaining #[instrument(err)] annotations 2025-04-18 09:59:29 +02:00
Quentin Gliech
d70877a1c9 Fix Sentry creating transactions for every request 2025-04-18 09:59:24 +02:00
Quentin Gliech
c380cd0f98 Exclude the HTTP server response events from Sentry 2025-04-18 09:59:18 +02:00
Quentin Gliech
c8c63a10ad Log on every HTTP response 2025-04-18 09:58:57 +02:00
Quentin Gliech
7c9754d537 Add context to some log messages 2025-04-18 09:58:48 +02:00
Quentin Gliech
aa174a5ea0 Roll our own event formatter 2025-04-18 09:58:47 +02:00