Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
hashworks
infrastructure
Commits
72af7786
Verified
Commit
72af7786
authored
Jun 17, 2022
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Update synapse to 1.61.0
parent
8a04aa3b
Changes
5
Hide whitespace changes
Inline
Side-by-side
roles/matrix/defaults/main.yml
View file @
72af7786
...
...
@@ -24,9 +24,8 @@ matrix_nginx_config:
-
"
~
^/_matrix/federation/v1/event_auth/"
-
"
~
^/_matrix/federation/v1/exchange_third_party_invite/"
-
"
~
^/_matrix/federation/v1/user/devices/"
-
"
~
^/_matrix/federation/v1/get_groups_publicised$"
-
"
~
^/_matrix/key/v2/query"
-
"
~
^/_matrix/federation/
(
v1
|unstable/org.matrix.msc2946)
/hierarchy/"
-
"
~
^/_matrix/federation/v1/hierarchy/"
-
"
~
^/_matrix/federation/v1/send/"
-
name
:
media_repository
port
:
8013
...
...
roles/matrix/tasks/main.yml
View file @
72af7786
...
...
@@ -75,7 +75,7 @@
-
name
:
install synapse
pip
:
name
:
-
'
matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.6
0
.0'
-
'
matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.6
1
.0'
state
:
latest
extra_args
:
'
--upgrade-strategy=eager'
virtualenv
:
/var/lib/synapse/venv
...
...
roles/matrix/templates/appservice-registration-irc.yaml.j2
View file @
72af7786
...
...
@@ -7,7 +7,6 @@ namespaces:
{
%
for network in vault_matrix_secrets.irc_networks %
}
-
exclusive
:
true
regex
:
'
@{{
network.name
|
regex_escape()
}}_.*:{{
matrix_server_name
|
regex_escape()
}}'
group_id
:
'
+{{
network.name
}}:{{
matrix_server_name
}}'
{
%
endfor %
}
aliases
:
...
...
roles/matrix/templates/homeserver.yaml.j2
View file @
72af7786
...
...
@@ -386,6 +386,13 @@ manhole_settings:
#
#dummy_events_threshold: 5
# An optional duration. If set, Synapse will run a daily background task to log out and
# delete any device that hasn't been accessed for more than the specified amount of time.
#
# Defaults to no duration, which means devices are never pruned.
#
delete_stale_devices_after
:
1y
## Homeserver blocking ##
...
...
@@ -1077,6 +1084,14 @@ max_upload_size: {{ matrix_max_upload_size }}
# height: 600
# method: scale
# Controls whether local media and entries in the remote media cache
# (media that is downloaded from other homeservers) should be removed
# under certain conditions, typically for the purpose of saving space.
#
media_retention
:
local_media_lifetime
:
1y
remote_media_lifetime
:
28d
# Is the preview URL API enabled?
#
# 'false' by default: uncomment the following to enable it (and specify a
...
...
@@ -2564,16 +2579,6 @@ push:
# "events_default": 1
# Uncomment to allow non-server-admin users to create groups on this server
#
#enable_group_creation: true
# If enabled, non server admins can only create groups with local parts
# starting with this prefix
#
#group_creation_prefix: "unofficial_"
# User Directory configuration
#
...
...
roles/matrix/templates/irc-bridge.yaml.j2
View file @
72af7786
...
...
@@ -208,7 +208,7 @@ ircService:
# This should be set to the same thing as namespaces.users.group_id in irc_registration.
# This does not alter existing rooms.
# Leaving this option empty will not set the event.
groupId: "
+{{ network.name }}:{{ matrix_server_name }}
"
groupId: ""
# Should created Matrix rooms be federated? If false, only users on the
# HS attached to this AS will be able to interact with this room.
# Default: true.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment