Slavi Pantaleev
b627d93cdc
Update homeserver.yaml to keep up with Synapse v1.23.0
...
Related to #724 (Github Pull Request)
4 years ago
transcaffeine
c58a7e03c7
synapse: update to 1.23.0
4 years ago
Slavi Pantaleev
5eed874199
Improve self-building experience (avoid conflict with pullable images)
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/716
This patch makes us use more fully-qualified container image names
(either prefixed with docker.io/ or with localhost/).
The latter happens when self-building is enabled.
We've recently had issues where if an image was removed manually
and the service was restarted (making `docker run` fetch it from Docker Hub, etc.),
we'd end up with a pulled image, even though we're aiming for a self-built one.
Re-running the playbook would then not do a rebuild, because:
- the image with that name already exists (even though it's something
else)
- we sometimes had conditional logic where we'd build only if the git
repo changed
By explicitly changing the name of the images (prefixing with localhost/),
we avoid such confusion and the possibility that we'd automatically pul something
which is not what we expect.
Also, I've removed that condition where building would happen on git
changes only. We now always build (unless an image with that name
already exists). We just force-build when the git repo changes.
4 years ago
Marcel Partap
4678c5d7bd
Merge remote-tracking branch 'origin/master' into synapse-workers
...
Also, replace vague FIXME by a proper NOTE on the complete
story of the user_dir endpoints..
4 years ago
Marcel Partap
f3d2797d9c
synapse workers: make awk script invocation handle paths with spaces
...
(quoting ftw)
4 years ago
Marcel Partap
1e971312e8
synapse workers: handle auth fallback endpoint on main process only
...
(allegedly breaks with SSO enabled)
4 years ago
Slavi Pantaleev
5c91e56898
Upgrade Synapse (v1.22.0 -> v1.22.1)
4 years ago
Marcel Partap
cce90b187a
synapse workers: fix undefined variable cases when removing workers
4 years ago
Marcel Partap
e078e29ef8
synapse workers: fix self name in workers-doc-to-yaml.awk script
4 years ago
Marcel Partap
2d1b9f2dbf
synapse workers: reworkings + get endpoints from upstream docs via awk
...
(yes, a bit awkward and brittle… xD)
4 years ago
Slavi Pantaleev
70f0b97a0a
Upgrade Synapse (v1.21.2 -> v1.22.0)
4 years ago
Marcel Partap
87bd64ce9e
Merge remote-tracking branch 'origin/master' into synapse-workers
4 years ago
Marcel Partap
a4125d5446
synapse workers: polishing, cleansing and installation of jq dependency
4 years ago
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)
4 years ago
Slavi Pantaleev
f7ecc7a2a5
Upgrade Synapse (v1.21.1 -> v1.21.2)
4 years ago
Slavi Pantaleev
5abd511368
Upgrade Synapse (v1.21.0 -> v1.21.1)
4 years ago
Aaron Raimist
78529cbd47
Upgrade Synapse (v1.20.1 -> v1.21.0)
4 years ago
Marcel Partap
d2e61af224
Add worker_name to synapse worker config template
...
& restrict federation listener; frontend_proxy / user_dir don't need it
4 years ago
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.
4 years ago
Marcel Partap
e9241f5fb9
Improve synapse-workers systemd service template
...
Is the PID magic gonna work? or will it need an ExecStartPost hack..
4 years ago
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."
4 years ago
Marcel Partap
93a8ea7e4a
Merge remote-tracking branch 'master' into feature/add-worker-support
4 years ago
Slavi Pantaleev
e68450f094
Upgrade Synapse (v1.20.0 -> v1.20.1)
4 years ago
Slavi Pantaleev
dd217137b6
Upgrade Synapse (v1.19.3 -> v1.20.0)
4 years ago
Slavi Pantaleev
65e22a6888
Upgrade Synapse (v1.19.2 -> v1.19.3)
4 years ago
Slavi Pantaleev
e10e3e354d
Upgrade Synapse (v1.19.1 -> v1.19.2)
4 years ago
Max Klenk
4fdfc0a34f
add missing ratelimiting options required for load testing
4 years ago
Max Klenk
a25a429a52
add redis support
4 years ago
Max Klenk
06bc430c7c
refactor to use new workers and routes they serve
4 years ago
Max Klenk
53ccc783b7
remove duplicated key
4 years ago
Max Klenk
567d0318b0
Merge branch 'synapse-workers' into feature/add-worker-support
4 years ago
Slavi Pantaleev
6e9600ffec
Upgrade Synapse (v1.19.0 -> v1.19.1)
4 years ago
Slavi Pantaleev
daf13107a0
Add support for rust-synapse-compress-state
4 years ago
Slavi Pantaleev
9952ec6c16
Upgrade Synapse (v1.18.0 -> v1.19.0)
4 years ago
Slavi Pantaleev
f78a5d4ee8
Upgrade Synapse (v1.17.0 -> v1.18.0)
4 years ago
Slavi Pantaleev
c6ab1c6a90
Riot is now Element
...
Fixes #586 (Github Issue)
4 years ago
Slavi Pantaleev
200f912c04
Upgrade Synapse (v1.16.1 -> v1.17.0)
...
Fixes #579 (Github Issue).
4 years ago
Slavi Pantaleev
eff55e4d00
Upgrade Synapse (v1.16.0 -> v1.16.1)
4 years ago
Slavi Pantaleev
928982cffe
Upgrade Synapse (v1.15.2 -> v1.16.0)
4 years ago
Slavi Pantaleev
18ab677a96
Remove useless file
4 years ago
shadow
6293f1bdb0
Run all API self checks in check_mode
4 years ago
Slavi Pantaleev
f758ee90cb
Add |to_json to some values
4 years ago
Justin Croonenberghs
35c2655fa4
Removed troublesome #s
4 years ago
Justin Croonenberghs
1f21f0c09a
Add variables for reCAPTCHA validation
4 years ago
Aaron Raimist
78382b0ce4
Upgrade Synapse (1.15.1 -> 1.15.2)
4 years ago
Slavi Pantaleev
10bc85962e
Upgrade Synapse (1.15.0 -> 1.15.1)
5 years ago
Slavi Pantaleev
6538ae34f5
Upgrade Synapse (v1.14 -> v1.15)
...
Fixes #539 (Github Issue).
5 years ago
Slavi Pantaleev
10b3ceff72
Make Matrix federation port configurable
...
Fixes #523 (Github Issue).
5 years ago
Slavi Pantaleev
0113852504
Upgrade matrix-synapse-shared-secret-auth (1.0.1 -> 1.0.2)
...
There's no change in the source code. Just a release bump for packaing
reasons. It doesn't matter much for us here, but let's be on the latest
tag anyway.
5 years ago
Slavi Pantaleev
f56a9a0f5f
Merge pull request #524 from cnvandijk/fix-executable-path
...
Remove hardcoded paths to commands on the host machine
5 years ago
Slavi Pantaleev
8bae39050e
Update settings for Synapse v1.14.0
5 years ago
tctovsli
45ba01510d
Synapse v.1.14.0
5 years ago
Chris van Dijk
6e3b877dc2
Remove hardcoded command paths in playbook shell usage
5 years ago
Chris van Dijk
6334f6c1ea
Remove hardcoded command paths in systemd unit files
...
Depending on the distro, common commands like sleep and chown may either
be located in /bin or /usr/bin.
Systemd added path lookup to ExecStart in v239, allowing only the
command name to be put in unit files and not the full path as
historically required. At least Ubuntu 18.04 LTS is however still on
v237 so we should maintain portability for a while longer.
5 years ago
Slavi Pantaleev
8fb3ce6f6d
Upgrade Synapse (v1.12.4 -> v1.13.0)
5 years ago
Chris van Dijk
7585bcc4ac
Allow the matrix user username and groupname to be configured separately
...
No migration steps should be required.
5 years ago
Chris van Dijk
cf0e56e92b
Consistent usage of matrix username and groupname, not uid and gid
...
This should be a no-op, no migration necessary.
5 years ago
Slavi Pantaleev
9cc0c5955d
Use |quote in some command calls
5 years ago
Aaron Raimist
23bfaa72ec
Upgrade Synapse (1.12.3 -> 1.12.4)
5 years ago
Chris van Dijk
3f4bc9b881
Move config supprt for unfederated dimension into group_vars
5 years ago
Marcel Partap
5f63d287b7
Move synapse worker ports up 10k
5 years ago
Marcel Partap
66a4073512
Publish synapse worker ports, need to be accessible to nginx
5 years ago
Marcel Partap
cf452fdf0a
Fix corner-cases found through testing (aka ansible is nuts)
5 years ago
Marcel Partap
353bc7c362
Add initial support for synapse workers
...
· needs documentation; no checks yet for port clashes or typos in worker name
· according to https://github.com/matrix-org/synapse/wiki/Workers-setup-with-nginx#results
about 90% of requests go to the synchrotron endpoint
· thus, the synchrotron worker is especially suited to be load-balanced
· most of the other workers are documented to support only a single instance
· https://github.com/matrix-org/synapse/blob/master/docs/workers.md
5 years ago
Chris van Dijk
3ddb8cd148
Add support for running dimension in an unfederated environment
...
This config change follows:
https://github.com/turt2live/matrix-dimension/blob/master/docs/unfederated.md
5 years ago
Slavi Pantaleev
c13c29f48e
Fix |to_nice_yaml breaking formatting
...
Well, actually 8cd9cde
won't work, unless we put the
`|to_nice_yaml` thing on a new line.
We can, but that takes more lines and makes things look uglier.
Using `|to_json` seems good enough.
The whole file is parsed as YAML later on and merged with the
`_extension` variable before being dumped as YAML again in the end.
5 years ago
Slavi Pantaleev
8cd9cdead0
Improve consistency
5 years ago
Tom
e54428b160
Expose allowed local 3pids as a configurable option
5 years ago
Slavi Pantaleev
f78fa3f328
Upgrade Synapse (1.12.0 -> 1.12.3)
5 years ago
Slavi Pantaleev
845f5f007b
Make Synapse use ma1sd (if enabled) for threepid registration
5 years ago
Slavi Pantaleev
ac60115190
Fix git installation bug during synapse-simple-antispam installation
...
Fixes #424 (Github Issue).
5 years ago
Christian Wolf
51c271905d
Removed bug in enhanced waiting
5 years ago
Christian Wolf
8c9b5ea6dd
Removed a few syntax bugs in Archlinux configuration
5 years ago
Christian Wolf
26bc66117d
Removed redunadant waiting
5 years ago
Christian Wolf
d84b2868b7
Added basic changes to make it compatible with Archlinux
5 years ago
mooomooo
eebc6e13f8
Made directory variables for /etc/systemd/system , /etc/cron.d , /usr/local/bin
5 years ago
Slavi Pantaleev
9032151486
Update Synapse configuration for v1.12.0
...
Some options are no longer required and have sensible default values.
5 years ago
tctovsli
949b5d7a46
Release synapse v.1.12.0
5 years ago
Slavi Pantaleev
027056e027
Fix weird path creation
...
Fixes #403 (Github Issue).
5 years ago
Slavi Pantaleev
3cee815baf
Fix some typos
5 years ago
Slavi Pantaleev
2b85fde103
Rename some variables for consistency
5 years ago
Slavi Pantaleev
8fe97abe7d
Wire matrix_container_images_self_build to self_build variables via group_vars/matrix_servers
...
This keeps the roles cleaner and more independent of matrix-base,
which may be important for people building their own playbook
out of the individual roles and not using the matrix-base role.
5 years ago
Horvath Gergely
2d537484d5
introduce variable
5 years ago
Horvath Gergely
3c8535c3bc
check ansible version for self-building in every role
5 years ago
Horvath Gergely
a5d94eec0b
refactor variable names
5 years ago
Horvath Gergely
310aa685f9
refactor based on Slavi's requests
5 years ago
Horvath Gergely
d53d63ab07
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
Slavi Pantaleev
a727e7c497
Upgrade Synapse (v1.11.0 -> v1.11.1)
5 years ago
Horvath Gergely
ac118d2f25
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
Slavi Pantaleev
5de8f27122
Upgrade Synapse (v1.10.1 -> v1.11.0)
5 years ago
Horvath Gergely
5a4e4f6fb9
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
Slavi Pantaleev
8343ff5268
Add missing to_json filter
5 years ago
Horvath Gergely
d8b31afd1a
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
orange
45e32bdad2
add synapse config enable_group_creation
5 years ago
Horvath Gergely
a096eafb45
add possibility to install synapse on raspberry pi
5 years ago
Dan Arnfield
96557c6280
Update synapse (1.10.0 -> 1.10.1)
5 years ago
Dan Arnfield
bac7685ce4
Update synapse (1.9.1 -> 1.10.0)
5 years ago
Slavi Pantaleev
f9a67624e1
Upgrade Synapse (1.9.0 -> 1.9.1)
5 years ago
Slavi Pantaleev
c9f2bf89b5
Fix incorrect REST Auth module URL
...
Regression since #362 (Github Pull Request).
5 years ago
Slavi Pantaleev
c2135d1afe
Switch from kamax-matrix/matrix-synapse-rest-password-provider to ma1uta/matrix-synapse-rest-password-provider
...
Synapse v1.9.0 changed some things which made the REST Auth Password
Provider break.
The ma1uta/matrix-synapse-rest-password-provider implements some
workarounds for now and will likely deliver a proper fix in the future.
Not much has changed between the 2 projects, so this should be a
painless transition.
5 years ago