Marcel Partap
b05d298ae4
synapse workers nginx rule: add client_max_body_size on media endpoints
so transfer limits are properly set in accord to the relevant setting
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/456#issuecomment-719996778
5 anni fa
Marcel Partap
1e971312e8
synapse workers: handle auth fallback endpoint on main process only
(allegedly breaks with SSO enabled)
5 anni fa
Marcel Partap
e5072c20d9
synapse workers/nginx: handle media_repository worker endpoints on federation port
to prevent "404 on the federation port for the path `/_matrix/media`,
if a remote server is trying to get the media object on federation
port, see https://github.com/matrix-org/synapse/issues/8695 "
https://github.com/matrix-org/synapse/pull/8701
5 anni fa
Marcel Partap
cce90b187a
synapse workers: fix undefined variable cases when removing workers
5 anni fa
Marcel Partap
e078e29ef8
synapse workers: fix self name in workers-doc-to-yaml.awk script
5 anni fa
Marcel Partap
2d1b9f2dbf
synapse workers: reworkings + get endpoints from upstream docs via awk
(yes, a bit awkward and brittle… xD)
5 anni fa
Marcel Partap
a4125d5446
synapse workers: polishing, cleansing and installation of jq dependency
5 anni fa
Marcel Partap
501efee07e
synapse workers: supply systemd with actual worker PIDs (requires jq)
also, worker.yaml.j2:
- hone worker_name
- remove worker_pid_file entry (would only be used if worker_daemonize
set to true; also, synapse only knows about the container namespace
and thus can not provide the required host-view PID)
5 anni fa
Slavi Pantaleev
24c6d7e81f
Upgrade Element (1.7.9 -> 1.7.10)
5 anni fa
Tobias Küchel
1cf5b1d80f
e2ee_backup: rename variables to be consistent with naming scheme
5 anni fa
Tobias Küchel
5158fa4df9
e2ee_backup_methods: rather leave the default empty, so that the system default may apply
5 anni fa
Tobias Küchel
8f7e21892d
fix indentation, updated to proposed changes from Slavi: no more ifdef
5 anni fa
Tobias Küchel
4cfa112755
update default backup_methods as proposed by the system anyway
5 anni fa
Tobias Küchel
6599204334
fix commata not being set when secure_backup_required false
5 anni fa
Tobias Küchel
48f929dc91
add variables for secure_backup_required and secure_backup_setup_methods
5 anni fa
Slavi Pantaleev
f7ecc7a2a5
Upgrade Synapse (v1.21.1 -> v1.21.2)
5 anni fa
jgbresson
640166e4c3
Upgrade Element (1.7.8 -> 1.7.9)
5 anni fa
Dan Arnfield
b65bfc38ce
Update nginx (1.19.2 -> 1.19.3)
5 anni fa
Scott Crossen
fa5d85426b
Renamed systemd descriptions for all bridges
5 anni fa
Slavi Pantaleev
5abd511368
Upgrade Synapse (v1.21.0 -> v1.21.1)
5 anni fa
Slavi Pantaleev
d250727e8b
Upgrade certbot (1.7.0 -> 1.9.0)
5 anni fa
Aaron Raimist
78529cbd47
Upgrade Synapse (v1.20.1 -> v1.21.0)
5 anni fa
Marcel Partap
d2e61af224
Add worker_name to synapse worker config template
& restrict federation listener; frontend_proxy / user_dir don't need it
5 anni fa
Marcel Partap
36e9be6092
matrix_synapse_workers_{avail,enabled}_list: sort non-generic workers
.. alphabetically and put those not documented as multi-instance
capable on ports ending on zero.
5 anni fa
Marcel Partap
e9241f5fb9
Improve synapse-workers systemd service template
Is the PID magic gonna work? or will it need an ExecStartPost hack..
5 anni fa
Marcel Partap
40024e9b81
Prevent workers failing if their config doesn't exist
- cherry-pick "Ensure worker config exists in systemd service (#7528 )"
from synapse d74cdc1a42e8b487d74c214b1d0ca575429d546a:
"check that the worker config file exists instead of silently failing."
5 anni fa
Fanch
1a9cafa3a3
add run-docker-prune command
5 anni fa
Slavi Pantaleev
6a72e3fa54
Try to make importing SQLite from older Synapse version work
If the SQLite database was from an older version of Synapse, it appears
that Synapse would try to run migrations on it first, before importing.
This was failing, because the file wasn't writable.
Hopefully, this fixes the problem.
5 anni fa
Slavi Pantaleev
23daec748c
Require Ansible v2.7 or newer (because of items2dict and dict2items)
Interestingly, no one has reported this failure before #662 (Github
Issue).
It doesn't make sense to keep saying that we support such old Ansible
versions, when we're not even testing on anything close to those.
Time is also passing and such versions are getting more and more
ancient. It's time we bumped our requirements to something that is more
likely to work.
5 anni fa
Slavi Pantaleev
07fa8404bf
Upgrade matrix-corporal (1.10.1 -> 1.11.0)
5 anni fa
Dan Arnfield
3a3383fada
Add support for postgres 13
5 anni fa
Slavi Pantaleev
43c5f3ec6e
Do not create /home/matrix when creating the matrix user
5 anni fa
Clement Renaud
ac3ba1d919
element web : update welcome page template
5 anni fa
Slavi Pantaleev
7eb8192a51
Comlain about version requirement on Ansible v1
I don't believe Ansible v1 would even go as far as executing this
sanity check, but.. Adding an extra defensive check for completeness.
5 anni fa
Slavi Pantaleev
3d702fe03b
Avoid set_fact with error message to prevent confusion
5 anni fa
Slavi Pantaleev
3818d82852
Upgrade Element (1.7.7 -> 1.7.8)
5 anni fa
Slavi Pantaleev
3e2f0a4240
Upgrade matrix-synapse-admin (0.4.1 -> 0.5.0)
Related to #658 (Github Issue).
5 anni fa
Chris van Dijk
b9c8d059d0
Support both the im.vector.riot and io.element variants in client .well-known
According to the docs, "e2ee" is already under "io.element":
https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md#disabling-encryption-by-default
however "jitsi" is still under "im.vector.riot":
https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md#configuring-element-to-use-your-self-hosted-jitsi-server
For now let's just maintain backward and forward compatibility for both
settings since the client version is out of the control of this
playbook.
5 anni fa
Chris van Dijk
f6b0f0a477
Rename matrix_riot_jitsi_preferredDomain and matrix_riot_e2ee_default to Element
5 anni fa
Aaron Raimist
dc2def914e
Allow configuration of Element's bug_report_endpoint_url and showLabsSettings
showLabsSettings is the new enableLabs I guess. enableLabs doesn't seem to do anything anymore. It had been deprecated for a while.
This PR also removes @riot-bot:matrix.org as the default welcome_user_id since it doesn't exist anymore.
5 anni fa
Slavi Pantaleev
e68450f094
Upgrade Synapse (v1.20.0 -> v1.20.1)
5 anni fa
Slavi Pantaleev
329fef048f
Upgrade matrix-corporal (1.10.0 -> 1.10.1)
5 anni fa
Slavi Pantaleev
32ac4706cb
Upgrade matrix-corporal (1.9.0 -> 1.10.0)
5 anni fa
Slavi Pantaleev
dd217137b6
Upgrade Synapse (v1.19.3 -> v1.20.0)
5 anni fa
Slavi Pantaleev
65e22a6888
Upgrade Synapse (v1.19.2 -> v1.19.3)
5 anni fa
Daniel Wiegreffe
b3926e7cca
Update main.yml
5 anni fa
Max Klenk
fc2edcbecf
fix media routing
5 anni fa
Max Klenk
132daba1af
fix worker routes
5 anni fa
Slavi Pantaleev
e10e3e354d
Upgrade Synapse (v1.19.1 -> v1.19.2)
5 anni fa
Dan Arnfield
faa96ca0c3
Update element (1.7.5 -> 1.7.7)
5 anni fa