Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
4ded80f8
Verified
Commit
4ded80f8
authored
Jan 28, 2022
by
Jan Alexander Steffens (heftig)
Browse files
matrix: Update synapse to 1.51.0
parent
525bd790
Pipeline
#15308
passed with stage
in 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/matrix/tasks/main.yml
View file @
4ded80f8
...
...
@@ -77,7 +77,7 @@
-
name
:
install synapse
pip
:
name
:
-
'
matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.5
0.1
'
-
'
matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.5
1.0
'
state
:
latest
extra_args
:
'
--upgrade-strategy=eager'
virtualenv
:
/var/lib/synapse/venv
...
...
roles/matrix/templates/homeserver.yaml.j2
View file @
4ded80f8
...
...
@@ -74,13 +74,7 @@ server_name: "{{ matrix_server_name }}"
#
#pid_file: DATADIR/homeserver.pid
# The absolute URL to the web client which /_matrix/client will redirect
# to if 'webclient' is configured under the 'listeners' configuration.
#
# This option can be also set to the filesystem path to the web client
# which will be served at /_matrix/client/ if 'webclient' is configured
# under the 'listeners' configuration, however this is a security risk:
# https://github.com/matrix-org/synapse#security-note
# The absolute URL to the web client which / will redirect to.
#
#web_client_location: https://riot.example.com/
...
...
@@ -164,7 +158,7 @@ allow_public_rooms_over_federation: true
# The default room version for newly created rooms.
#
# Known room versions are listed here:
# https://matrix.org/
docs/spec
/#complete-list-of-room-versions
# https://
spec.
matrix.org/
latest/rooms
/#complete-list-of-room-versions
#
# For example, for room version 1, default_room_version should be set
# to "1".
...
...
@@ -310,8 +304,6 @@ allow_public_rooms_over_federation: true
# static: static resources under synapse/static (/_matrix/static). (Mostly
# useful for 'fallback authentication'.)
#
# webclient: A web client. Requires web_client_location to be set.
#
listeners
:
# TLS-enabled listener: for when matrix traffic is sent directly to synapse.
#
...
...
@@ -1527,6 +1519,21 @@ room_prejoin_state:
#additional_event_types:
# - org.example.custom.event.type
# We record the IP address of clients used to access the API for various
# reasons, including displaying it to the user in the "Where you're signed in"
# dialog.
#
# By default, when puppeting another user via the admin API, the client IP
# address is recorded against the user who created the access token (ie, the
# admin user), and *not* the puppeted user.
#
# Uncomment the following to also record the IP address against the puppeted
# user. (This also means that the puppeted user will count as an "active" user
# for the purpose of monthly active user tracking - see 'limit_usage_by_mau' etc
# above.)
#
#track_puppeted_user_ips: true
# A list of application service config files to use
#
...
...
@@ -1893,10 +1900,13 @@ saml2_config:
# Defaults to false. Avoid this in production.
#
# user_profile_method: Whether to fetch the user profile from the userinfo
# endpoint. Valid values are: 'auto' or 'userinfo_endpoint'.
# endpoint, or to rely on the data returned in the id_token from the
# token_endpoint.
#
# Valid values are: 'auto' or 'userinfo_endpoint'.
#
# Defaults to 'auto', which
fetch
es the userinfo endpoint if 'openid' is
# included in 'scopes'. Set to 'userinfo_endpoint' to always
fetch
the
# Defaults to 'auto', which
us
es the userinfo endpoint if 'openid' is
#
not
included in 'scopes'. Set to 'userinfo_endpoint' to always
use
the
# userinfo endpoint.
#
# allow_existing_users: set to 'true' to allow a user logging in via OIDC to
...
...
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