cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 1496a6726b488487a52ee3b30a374ffa4634824d
parent 62ede61ba39574e6ec044e362758353a0b5c4a76
Author: MTRNord <mtrnord1@gmail.com>
Date:   Tue, 11 Apr 2023 01:18:46 +0200

Update worker endpoints

Diffstat:
Mapps/base/matrix/synapse/release.yaml | 171+++++++++++++++++++++++++++++++++++++++++--------------------------------------
1 file changed, 89 insertions(+), 82 deletions(-)

diff --git a/apps/base/matrix/synapse/release.yaml b/apps/base/matrix/synapse/release.yaml @@ -59,7 +59,7 @@ spec: - "/_matrix/federation/v1/send/" synchrotron: - enabled: true + enabled: false generic: true listeners: [client] csPaths: @@ -74,96 +74,103 @@ spec: generic: true listeners: [client, federation] csPaths: - ## Sync requests - # - "/_matrix/client/(r0|v3)/sync$" - #- "/_matrix/client/(api/v1|r0|v3)/events$" - # - "/_matrix/client/(api/v1|r0|v3)/initialSync$" - # - "/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$" - - ## Client API requests - - "/_matrix/client/(api/v1|r0|v3|unstable)/createRoom$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/publicRooms$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/joined_members$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/context/" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state$" - - "/_matrix/client/v1/rooms/.*/hierarchy$" - - "/_matrix/client/unstable/org.matrix.msc2716/rooms/.*/batch_send$" - - "/_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$" - - "/_matrix/client/(r0|v3|unstable)/account/3pid$" - - "/_matrix/client/(r0|v3|unstable)/account/whoami$" - - "/_matrix/client/(r0|v3|unstable)/devices$" - - "/_matrix/client/versions$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/event/" - - "/_matrix/client/(api/v1|r0|v3|unstable)/joined_rooms$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/search$" - - ## Encryption requests - - "/_matrix/client/(r0|v3|unstable)/keys/query$" - - "/_matrix/client/(r0|v3|unstable)/keys/changes$" - - "/_matrix/client/(r0|v3|unstable)/keys/claim$" - - "/_matrix/client/(r0|v3|unstable)/room_keys/" + # Sync requests + - /_matrix/client/(r0|v3)/sync$ + - /_matrix/client/(api/v1|r0|v3)/events$ + - /_matrix/client/(api/v1|r0|v3)/initialSync$ + - # Sync requests + - ^/_matrix/client/(r0|v3)/sync$ + - ^/_matrix/client/(api/v1|r0|v3)/events$ + - ^/_matrix/client/(api/v1|r0|v3)/initialSync$ + - ^/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$/_matrix/client/(api/v1|r0|v3)/rooms/[^/]+/initialSync$ - ## Registration/login requests - - "/_matrix/client/(api/v1|r0|v3|unstable)/login$" - - "/_matrix/client/(r0|v3|unstable)/register$" - - "/_matrix/client/v1/register/m.login.registration_token/validity$" + # Client API requests + - /_matrix/client/(api/v1|r0|v3|unstable)/createRoom$ + - /_matrix/client/(api/v1|r0|v3|unstable)/publicRooms$ + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/joined_members$ + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/context/.*$ + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/members$ + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state$ + - /_matrix/client/v1/rooms/.*/hierarchy$ + - /_matrix/client/(v1|unstable)/rooms/.*/relations/ + - /_matrix/client/v1/rooms/.*/threads$ + - /_matrix/client/unstable/org.matrix.msc2716/rooms/.*/batch_send$ + - /_matrix/client/unstable/im.nheko.summary/rooms/.*/summary$ + - /_matrix/client/(r0|v3|unstable)/account/3pid$ + - /_matrix/client/(r0|v3|unstable)/account/whoami$ + - /_matrix/client/(r0|v3|unstable)/devices$ + - /_matrix/client/versions$ + - /_matrix/client/(api/v1|r0|v3|unstable)/voip/turnServer$ + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/event/ + - /_matrix/client/(api/v1|r0|v3|unstable)/joined_rooms$ + - /_matrix/client/v1/rooms/.*/timestamp_to_event$ + - /_matrix/client/(api/v1|r0|v3|unstable/.*)/rooms/.*/aliases + - /_matrix/client/(api/v1|r0|v3|unstable)/search$ + - /_matrix/client/(r0|v3|unstable)/user/.*/filter(/|$) - ## Event sending requests - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/redact" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state/" - - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)$" - - "/_matrix/client/(api/v1|r0|v3|unstable)/join/" - - "/_matrix/client/(api/v1|r0|v3|unstable)/profile/" + # Encryption requests + - /_matrix/client/(r0|v3|unstable)/keys/query$ + - /_matrix/client/(r0|v3|unstable)/keys/changes$ + - /_matrix/client/(r0|v3|unstable)/keys/claim$ + - /_matrix/client/(r0|v3|unstable)/room_keys/ + - /_matrix/client/(r0|v3|unstable)/keys/upload/ - ## User directory search requests - #- "/_matrix/client/(r0|v3|unstable)/user_directory/search" + # Registration/login requests + - /_matrix/client/(api/v1|r0|v3|unstable)/login$ + - /_matrix/client/(r0|v3|unstable)/register$ + - /_matrix/client/(r0|v3|unstable)/register/available$ + - /_matrix/client/v1/register/m.login.registration_token/validity$ - ## Worker event streams - ## See https://matrix-org.github.io/synapse/latest/workers.html#stream-writers - ## + # Event sending requests + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/redact + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/send + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/state/ + - /_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/(join|invite|leave|ban|unban|kick)$ + - /_matrix/client/(api/v1|r0|v3|unstable)/join/ + - /_matrix/client/(api/v1|r0|v3|unstable)/knock/ + - /_matrix/client/(api/v1|r0|v3|unstable)/profile/ - ## The typing event stream - # - "/_matrix/client/(api/v1|r0|v3|unstable)/rooms/.*/typing" + # # User directory search requests + # - /_matrix/client/(r0|v3|unstable)/user_directory/search$ - ## The to_device event stream - # - "/_matrix/client/(r0|v3|unstable)/sendToDevice/" + # Worker event streams + # See https://matrix-org.github.io/synapse/latest/workers.html#stream-writers + # - ## The account_data event stream - # - "/_matrix/client/(r0|v3|unstable)/.*/tags" - # - "/_matrix/client/(r0|v3|unstable)/.*/account_data" + # The account_data event stream + # - /_matrix/client/(r0|v3|unstable)/.*/tags + # - /_matrix/client/(r0|v3|unstable)/.*/account_data - ## The receipts event stream - # - "/_matrix/client/(r0|v3|unstable)/rooms/.*/receipt" - # - "/_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers" + # The receipts event stream + # - /_matrix/client/(r0|v3|unstable)/rooms/.*/receipt + # - /_matrix/client/(r0|v3|unstable)/rooms/.*/read_markers - ## The presence event stream - # - "/_matrix/client/(api/v1|r0|v3|unstable)/presence/" + # The presence event stream + # - /_matrix/client/(api/v1|r0|v3|unstable)/presence/ paths: - ## Federation requests - - "/_matrix/federation/v1/event/" - - "/_matrix/federation/v1/state/" - - "/_matrix/federation/v1/state_ids/" - - "/_matrix/federation/v1/backfill/" - - "/_matrix/federation/v1/get_missing_events/" - - "/_matrix/federation/v1/publicRooms" - - "/_matrix/federation/v1/query/" - - "/_matrix/federation/v1/make_join/" - - "/_matrix/federation/v1/make_leave/" - - "/_matrix/federation/(v1|v2)/send_join/" - - "/_matrix/federation/(v1|v2)/send_leave/" - - "/_matrix/federation/(v1|v2)/invite/" - - "/_matrix/federation/v1/event_auth/" - - "/_matrix/federation/v1/exchange_third_party_invite/" - - "/_matrix/federation/v1/user/devices/" - - "/_matrix/key/v2/query" - - "/_matrix/federation/v1/hierarchy/" + # Federation requests + - /_matrix/federation/v1/state_ids/ + - /_matrix/federation/v1/state/ + - /_matrix/federation/v1/event/ + - /_matrix/federation/v1/backfill/ + - /_matrix/federation/v1/get_missing_events/ + - /_matrix/federation/v1/publicRooms + - /_matrix/federation/v1/query/ + - /_matrix/federation/v1/make_join/ + - /_matrix/federation/v1/make_leave/ + - /_matrix/federation/(v1|v2)/send_join/ + - /_matrix/federation/(v1|v2)/send_leave/ + - /_matrix/federation/(v1|v2)/invite/ + - /_matrix/federation/v1/event_auth/ + - /_matrix/federation/v1/timestamp_to_event/ + - /_matrix/federation/v1/exchange_third_party_invite/ + - /_matrix/federation/v1/user/devices/ + - /_matrix/key/v2/query + - /_matrix/federation/v1/hierarchy/ - ## Inbound federation transaction request - #- "/_matrix/federation/v1/send/" + # # Inbound federation transaction request + # - /_matrix/federation/v1/send/ pusher: enabled: true @@ -194,12 +201,12 @@ spec: # name: federation-sender-6 # enabled: true user_dir: - enabled: true + enabled: false listeners: [client] csPaths: - - "/_matrix/client/(api/v1|r0|v3|unstable)/user_directory/search$" + - /_matrix/client/(r0|v3|unstable)/user_directory/search$ frontend_proxy: - enabled: true + enabled: false listeners: [client] csPaths: - "/_matrix/client/(api/v1|r0|v3|unstable)/keys/upload"