@@ -10,6 +10,7 @@ SPDX-License-Identifier: AGPL-3.0-only
10
10
{ { $hasHttp := (list " main"
11
11
" account-data"
12
12
" client-reader"
13
+ " device-lists"
13
14
" encryption"
14
15
" event-creator"
15
16
" federation-inbound"
@@ -35,6 +36,7 @@ hasHttp
35
36
{ {- with required " element-io.synapse.process.hasReplication missing context" .context -} }
36
37
{ {- $hasReplication := (list " main"
37
38
" account-data"
39
+ " device-lists"
38
40
" encryption"
39
41
" event-persister"
40
42
" push-rules"
@@ -134,6 +136,8 @@ responsibleForMedia
134
136
{ {- with required " element-io.synapse.process.streamWriters missing context" .context -} }
135
137
{ {- if eq . " account-data" } }
136
138
{ { list " account_data" | toJson } }
139
+ { {- else if eq . " device-lists" } }
140
+ { { list " device_lists" | toJson } }
137
141
{ {- else if eq . " encryption" } }
138
142
{ { list " to_device" | toJson } }
139
143
{ {- else if eq . " event-persister" } }
@@ -257,6 +261,7 @@ responsibleForMedia
257
261
"^/_matrix/client/unstable/im.nheko.summary/summary/.*$"
258
262
"^/_matrix/client/(r0|v3|unstable)/account/3pid$"
259
263
"^/_matrix/client/(r0|v3|unstable)/account/whoami$"
264
+ "^/_matrix/client/(r0|v3|unstable)/account/deactivate$"
260
265
"^/_matrix/client/(r0|v3|unstable)/devices$"
261
266
"^/_matrix/client/versions$"
262
267
"^/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$"
@@ -293,14 +298,23 @@ responsibleForMedia
293
298
{{ $workerPaths = concat $workerPaths (list
294
299
"^/_matrix/client/(r0|v3|unstable)/keys/claim$"
295
300
"^/_matrix/client/(r0|v3|unstable)/room_keys/"
301
+ ) }}
302
+ {{- end }}
303
+
304
+ {{- if eq .workerType "device-lists" }}
305
+ {{ $workerPaths = concat $workerPaths (list
306
+ "^/_matrix/client/(r0|v3)/delete_devices$"
307
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/devices(/|$)"
296
308
"^/_matrix/client/(r0|v3|unstable)/keys/upload"
309
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/keys/device_signing/upload$"
310
+ "^/_matrix/client/(api/v1|r0|v3|unstable)/keys/signatures/upload$"
297
311
) }}
298
312
{{- end }}
299
313
300
314
{{- if eq .workerType "encryption" }}
301
- {{ $workerPaths = append $workerPaths
315
+ {{ $workerPaths = concat $workerPaths (list
302
316
"^/_matrix/client/(r0|v3|unstable)/sendToDevice/"
303
- }}
317
+ ) }}
304
318
{{- end }}
305
319
306
320
{{- if eq .workerType "event-creator" }}
@@ -373,9 +387,9 @@ responsibleForMedia
373
387
{{- end }}
374
388
375
389
{{- if eq .workerType "presence-writer" }}
376
- {{ $workerPaths = append $workerPaths
390
+ {{ $workerPaths = concat $workerPaths (list
377
391
"^/_matrix/client/(api/v1|r0|v3|unstable)/presence/"
378
- }}
392
+ ) }}
379
393
{{- end }}
380
394
381
395
{{- if eq .workerType "push-rules" }}
@@ -392,9 +406,9 @@ responsibleForMedia
392
406
{{- end }}
393
407
394
408
{{- if eq .workerType "sliding-sync" }}
395
- {{ $workerPaths = append $workerPaths
409
+ {{ $workerPaths = concat $workerPaths (list
396
410
"^/_matrix/client/unstable/org.matrix.simplified_msc3575/.*"
397
- }}
411
+ ) }}
398
412
{{- end }}
399
413
400
414
{{- if eq .workerType "sso-login" }}
@@ -408,11 +422,12 @@ responsibleForMedia
408
422
"^/_synapse/client/saml2/authn_response$"
409
423
"^/_matrix/client/(api/v1|r0|v3|unstable)/login/cas/ticket$"
410
424
) }}
411
- {{- if (and $root.Values.matrixAuthenticationService.enabled (not $root.Values.matrixAuthenticationService.preMigrationSynapseHandlesAuth) ) }}
425
+ {{- if include "element-io.matrix-authentication-service.readyToHandleAuth" (dict "root" $root) }}
412
426
{{ $workerPaths = concat $workerPaths (list
413
427
"^/_synapse/admin/v2/users/[^/]+$"
414
428
"^/_synapse/admin/v1/username_available$"
415
429
"^/_synapse/admin/v1/users/[^/]+/_allow_cross_signing_replacement_without_uia$"
430
+ "^/_synapse/admin/v1/users/[^/]+/devices$"
416
431
) }}
417
432
{{- end }}
418
433
{{- end }}
@@ -428,15 +443,15 @@ responsibleForMedia
428
443
{{- end }}
429
444
430
445
{{- if eq .workerType "typing-persister" }}
431
- {{ $workerPaths = append $workerPaths
446
+ {{ $workerPaths = concat $workerPaths (list
432
447
"^/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing"
433
- }}
448
+ ) }}
434
449
{{- end }}
435
450
436
451
{{- if eq .workerType "user-dir" }}
437
- {{ $workerPaths = append $workerPaths
452
+ {{ $workerPaths = concat $workerPaths (list
438
453
"^/_matrix/client/(r0|v3|unstable)/user_directory/search$"
439
- }}
454
+ ) }}
440
455
{{- end }}
441
456
{{ $workerPaths | toJson }}
442
457
{{- end }}
0 commit comments