bundles/matrix-synapse: remove sliding sync
This commit is contained in:
parent
74ca0ad2bc
commit
accd214576
3 changed files with 0 additions and 45 deletions
|
@ -57,32 +57,3 @@ svc_systemd = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
if node.metadata.get('matrix-synapse/sliding_sync/version', None):
|
|
||||||
files['/usr/local/bin/matrix-sliding-sync'] = {
|
|
||||||
'content_type': 'download',
|
|
||||||
'source': 'https://github.com/matrix-org/sliding-sync/releases/download/{}/syncv3_linux_amd64'.format(
|
|
||||||
node.metadata.get('matrix-synapse/sliding_sync/version'),
|
|
||||||
),
|
|
||||||
'content_hash': node.metadata.get('matrix-synapse/sliding_sync/sha1', None),
|
|
||||||
'mode': '0755',
|
|
||||||
'triggers': {
|
|
||||||
'svc_systemd:matrix-sliding-sync:restart',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
files['/usr/local/lib/systemd/system/matrix-sliding-sync.service'] = {
|
|
||||||
'content_type': 'mako',
|
|
||||||
'triggers': {
|
|
||||||
'action:systemd-reload',
|
|
||||||
'svc_systemd:matrix-sliding-sync:restart',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
svc_systemd['matrix-sliding-sync'] = {
|
|
||||||
'needs': {
|
|
||||||
'file:/usr/local/bin/matrix-sliding-sync',
|
|
||||||
'file:/usr/local/lib/systemd/system/matrix-sliding-sync.service',
|
|
||||||
'postgres_db:synapse',
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
|
@ -88,14 +88,6 @@ def nginx(metadata):
|
||||||
if not node.has_bundle('nginx'):
|
if not node.has_bundle('nginx'):
|
||||||
raise DoNotRunAgain
|
raise DoNotRunAgain
|
||||||
|
|
||||||
wellknown_client_sliding_sync = {}
|
|
||||||
if metadata.get('matrix-synapse/sliding_sync/version', None):
|
|
||||||
wellknown_client_sliding_sync = {
|
|
||||||
'org.matrix.msc3575.proxy': {
|
|
||||||
'url': 'https://{}'.format(metadata.get('matrix-synapse/baseurl')),
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
wellknown = {
|
wellknown = {
|
||||||
'/.well-known/matrix/client': {
|
'/.well-known/matrix/client': {
|
||||||
'content': dumps({
|
'content': dumps({
|
||||||
|
@ -105,7 +97,6 @@ def nginx(metadata):
|
||||||
'm.identity_server': {
|
'm.identity_server': {
|
||||||
'base_url': metadata.get('matrix-synapse/identity_server', 'https://matrix.org'),
|
'base_url': metadata.get('matrix-synapse/identity_server', 'https://matrix.org'),
|
||||||
},
|
},
|
||||||
**wellknown_client_sliding_sync,
|
|
||||||
**metadata.get('matrix-synapse/additional_client_config', {}),
|
**metadata.get('matrix-synapse/additional_client_config', {}),
|
||||||
}, sort_keys=True),
|
}, sort_keys=True),
|
||||||
'return': 200,
|
'return': 200,
|
||||||
|
@ -134,9 +125,6 @@ def nginx(metadata):
|
||||||
'target': 'http://[::1]:20080',
|
'target': 'http://[::1]:20080',
|
||||||
'max_body_size': '50M',
|
'max_body_size': '50M',
|
||||||
},
|
},
|
||||||
'/_matrix/client/unstable/org.matrix.msc3575/sync': {
|
|
||||||
'target': 'http://127.0.0.1:20070',
|
|
||||||
},
|
|
||||||
'/_synapse': {
|
'/_synapse': {
|
||||||
'target': 'http://[::1]:20080',
|
'target': 'http://[::1]:20080',
|
||||||
},
|
},
|
||||||
|
|
|
@ -81,10 +81,6 @@ server_name = "franzi.business"
|
||||||
trusted_key_servers = ["matrix.org", "161.rocks"]
|
trusted_key_servers = ["matrix.org", "161.rocks"]
|
||||||
additional_client_config.'im.vector.riot.jitsi'.preferredDomain = "meet.ffmuc.net"
|
additional_client_config.'im.vector.riot.jitsi'.preferredDomain = "meet.ffmuc.net"
|
||||||
wellknown_also_on_vhosts = ["franzi.business"]
|
wellknown_also_on_vhosts = ["franzi.business"]
|
||||||
[metadata.matrix-synapse.sliding_sync]
|
|
||||||
version = "v0.99.15"
|
|
||||||
sha1 = "cecb371ff5f1dd528cfc490484a0967dcc28cd82"
|
|
||||||
secret = "!decrypt:encrypt$gAAAAABl9yJlbEZafJ2mumtg03rW0-440NIgFcgdWGMo3Axrypugwctacy9Cq7MYtCBGjnDyNvVLI5B2QMJ9ssCD46NCsFRN3-X4u9rDtxPhRZV7rls_LQ_Csc_GsffJfvpmHbn_wsljd3I74h4ouWlYhhEQUIKwb3eErSZ_VTZhu_bC4jTa0FY="
|
|
||||||
|
|
||||||
[metadata.mautrix-telegram]
|
[metadata.mautrix-telegram]
|
||||||
version = "v0.15.2"
|
version = "v0.15.2"
|
||||||
|
|
Loading…
Add table
Reference in a new issue