-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge #3
Merge #3
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for fe7bed5 - Browse repository at this point
Copy the full SHA fe7bed5View commit details
Commits on Nov 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6dbb902 - Browse repository at this point
Copy the full SHA 6dbb902View commit details
Commits on Nov 30, 2020
-
Add some notes about recent Jitsi changes
A bit late, but still better than nothing.
Configuration menu - View commit details
-
Copy full SHA for d64ad91 - Browse repository at this point
Copy the full SHA d64ad91View commit details -
Add matrix_services_autostart_enabled variable for preventing service…
…s autostart Some people requested that `--tags=start` not set up service autostart. One can now do `--tags=start --extra-vars="matrix_services_autostart_enabled=false"` to just start services ones and not set up autostarting.
Configuration menu - View commit details
-
Copy full SHA for 90078dd - Browse repository at this point
Copy the full SHA 90078ddView commit details
Commits on Dec 1, 2020
-
Update matrix-mautrix-facebook config a bit
This also disables presence if it's disabled for Synapse.
Configuration menu - View commit details
-
Copy full SHA for 04da1bd - Browse repository at this point
Copy the full SHA 04da1bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 694e6fe - Browse repository at this point
Copy the full SHA 694e6feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06ade5e - Browse repository at this point
Copy the full SHA 06ade5eView commit details
Commits on Dec 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for edd4081 - Browse repository at this point
Copy the full SHA edd4081View commit details -
This may be a bit premature, because the bridge didn't work for me the last time I tried it (RC3). Some bugs have been fixed to make our config compatible with v1.0.0 though, so it may work for some people (especially those starting fresh). I'm not for shipping potentially broken things, but given that we were using `docker.io/halfshot/matrix-appservice-discord:latest` and that points to v1.0.0 already (with no other tag we can use), our setup was already broken in any case. Now, at least it has some chance of running.
Configuration menu - View commit details
-
Copy full SHA for 05cecb5 - Browse repository at this point
Copy the full SHA 05cecb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b3d91ed - Browse repository at this point
Copy the full SHA b3d91edView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5ae7e9 - Browse repository at this point
Copy the full SHA a5ae7e9View commit details
Commits on Dec 6, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ec2a9d4 - Browse repository at this point
Copy the full SHA ec2a9d4View commit details -
Merge pull request #744 from hardye/jitsi-recording
Remove the recording button from the Jitsi UI if recording is disabled.
Configuration menu - View commit details
-
Copy full SHA for cc683a8 - Browse repository at this point
Copy the full SHA cc683a8View commit details -
Properly serialize some ma1sd configuration values
We've had a report of the `connection` value getting cut off, supposedly because it contains something that breaks off the string. Using `|to_json` takes care of it.
Configuration menu - View commit details
-
Copy full SHA for 7372480 - Browse repository at this point
Copy the full SHA 7372480View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9713ac9 - Browse repository at this point
Copy the full SHA 9713ac9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e0777f - Browse repository at this point
Copy the full SHA 1e0777fView commit details
Commits on Dec 7, 2020
-
Update docker-ce.repo to not hardcode $releasever=7
This keeps it in line with https://download.docker.com/linux/centos/docker-ce.repo Whether or not Docker works well on CentOS 8 for our purposes hasn't been verified yet. Related to #300
Configuration menu - View commit details
-
Copy full SHA for d556aa9 - Browse repository at this point
Copy the full SHA d556aa9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c02f7b - Browse repository at this point
Copy the full SHA 8c02f7bView commit details
Commits on Dec 8, 2020
-
Automatically enable openid listeners when ma1sd enabled
ma1sd requires the openid endpoints for certain functionality. Example: https://github.com/ma1uta/ma1sd/blob/90b2b5301c34168346fdc5e7eccc09d6958e999f/src/main/java/io/kamax/mxisd/auth/AccountManager.java#L67-L99 If federation is disabled, we still need to expose these openid APIs on the federation port. Previously, we were doing similar magic for Dimension. As per its documentation, when running unfederated, one is to enable the openid listener as well. As per their recommendation, people are advised to do enable it on the Client-Server API port and use the `federationUrl` variable to override where the federation port is (making federation requests go to the Client-Server API). Because ma1sd always uses the federation port (unless you do some DNS overwriting magic using its configuration -- which we'd rather not do), it's better if we just default to putting the `openid` listener where it belongs - on the federation port. With this commit, we retain the "automatically enable openid APIs" thing we've been doing for Dimension, but move it to the federation port instead. We also now do the same thing when ma1sd is enabled.
Configuration menu - View commit details
-
Copy full SHA for c07c927 - Browse repository at this point
Copy the full SHA c07c927View commit details
Commits on Dec 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ad92c61 - Browse repository at this point
Copy the full SHA ad92c61View commit details -
Merge pull request #747 from benkuly/master
updated matrix-sms-bridge
Configuration menu - View commit details
-
Copy full SHA for f453d28 - Browse repository at this point
Copy the full SHA f453d28View commit details -
Upgrade Synapse (v1.23.0 -> v1.24.0)
Because the ARM images are not pushed yet, we hold back to v1.23.0 for now.
Configuration menu - View commit details
-
Copy full SHA for aa86e0d - Browse repository at this point
Copy the full SHA aa86e0dView commit details -
Upgrade Synapse for ARM (v1.23.0 -> v1.24.0)
Continuation of aa86e0d, now that ARM images are out.
Configuration menu - View commit details
-
Copy full SHA for 245b749 - Browse repository at this point
Copy the full SHA 245b749View commit details
Commits on Dec 10, 2020
-
Correct inabillity for appservice-discord to connect
After recently updating my matrix-docker-ansible-deploy installation, matrix-appservice-discord would refuse to start, logging ECONNREFUSED to https://matrix.[mydomain]:443, which was resolving to 172.18.0.2 due to the `--hostname` in mailer grabbing that hostname. Curious why the IRC bridge didn't have this issue, I looked into it, and it was connecting to `http://matrix-synapse:8008`. Correcting this one to that URL resolved the issue.
Configuration menu - View commit details
-
Copy full SHA for 673e19f - Browse repository at this point
Copy the full SHA 673e19fView commit details -
Merge pull request #748 from jgoerzen/patch-1
Correct inabillity for appservice-discord to connect
Configuration menu - View commit details
-
Copy full SHA for 327ca84 - Browse repository at this point
Copy the full SHA 327ca84View commit details -
Fix systemd services autostart problem with Docker 20.10
The Docker 19.04 -> 20.10 upgrade contains the following change in `/usr/lib/systemd/system/docker.service`: ``` -BindsTo=containerd.service -After=network-online.target firewalld.service containerd.service +After=network-online.target firewalld.service containerd.service multi-user.target -Requires=docker.socket +Requires=docker.socket containerd.service Wants=network-online.target ``` The `multi-user.target` requirement in `After` seems to be in conflict with our `WantedBy=multi-user.target` and `After=docker.service` / `Requires=docker.service` definitions, causing the following error on startup for all of our systemd services: > Job matrix-synapse.service/start deleted to break ordering cycle starting with multi-user.target/start A workaround which appears to work is to add `DefaultDependencies=no` to all of our services.
Configuration menu - View commit details
-
Copy full SHA for d08b277 - Browse repository at this point
Copy the full SHA d08b277View commit details -
WIP: postgres: create databases for all services
If a service is enabled, a database for it is created in postgres with a uniqque password. The service can then use this database for data storage instead of relying on sqlite.
Configuration menu - View commit details
-
Copy full SHA for d9f4914 - Browse repository at this point
Copy the full SHA d9f4914View commit details -
Make matrix-mailer not occupy matrix_server_fqn_matrix
Starting with Docker 20.10, `--hostname` seems to have the side-effect of making Docker's internal DNS server resolve said hostname to the IP address of the container. Because we were giving the mailer service a hostname of `matrix.DOMAIN`, all requests destined for `matrix.DOMAIN` originating from other services on the container network were resolving to `matrix-mailer`. This is obviously wrong. Initially reported here: #748 We normally try to not use the public hostname (and IP address) on the container network and try to make services talk to one another locally, but it sometimes could happen. With this, we use a `matrix-mailer` hostname for the matrix-mailer container. My testing shows that it doesn't cause any trouble with email deliverability.
Configuration menu - View commit details
-
Copy full SHA for 7593d96 - Browse repository at this point
Copy the full SHA 7593d96View commit details -
Configuration menu - View commit details
-
Copy full SHA for eae4f67 - Browse repository at this point
Copy the full SHA eae4f67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c2a644 - Browse repository at this point
Copy the full SHA 3c2a644View commit details -
Merge pull request #749 from aaronraimist/synapse-admin-0.6.1
Upgrade synapse-admin (v0.5.0 -> 0.6.1)
Configuration menu - View commit details
-
Copy full SHA for 7f1f3fd - Browse repository at this point
Copy the full SHA 7f1f3fdView commit details
Commits on Dec 11, 2020
-
Use latest/master version of matrix-registration
v0.7.0 is broken right now, because it calls `/_matrix/client/r0/admin/register`, which is now at `/_synapse/admin/v1/register`. This has been fixed here: zeratax/matrix-registration@6b26255 .. but it's not part of any release. Switching to `master` (`docker.io/devture/zeratax-matrix-registration:latest`) until it gets resolved. Reported upstream here: zeratax/matrix-registration#43
Configuration menu - View commit details
-
Copy full SHA for 0a91097 - Browse repository at this point
Copy the full SHA 0a91097View commit details -
Switch matrix-registration to v0.7.1
Now that a new release has been made, we no longer need to use `latest` / `master`. Related to 0a91097 and zeratax/matrix-registration#43
Configuration menu - View commit details
-
Copy full SHA for 86988ae - Browse repository at this point
Copy the full SHA 86988aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47613e5 - Browse repository at this point
Copy the full SHA 47613e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d96d7f2 - Browse repository at this point
Copy the full SHA d96d7f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bae4113 - Browse repository at this point
Copy the full SHA bae4113View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dc023c - Browse repository at this point
Copy the full SHA 9dc023cView commit details
Commits on Dec 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 77a5c7c - Browse repository at this point
Copy the full SHA 77a5c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for dac0d3a - Browse repository at this point
Copy the full SHA dac0d3aView commit details -
Relocate Postgres additional database creation logic
Moving it above the "uninstalling" set of tasks is better. Extracting it out to another file at the same time, for readability, especially given that it will probably have to become more complex in the future (potentially installing `jq`, etc.)
Configuration menu - View commit details
-
Copy full SHA for 527d5f5 - Browse repository at this point
Copy the full SHA 527d5f5View commit details -
Allow username of additional Postgres databases to be different
We'll most likely use one that matches the database name, but it's better to have it configurable.
Configuration menu - View commit details
-
Copy full SHA for 0641106 - Browse repository at this point
Copy the full SHA 0641106View commit details -
Fix syntax issues in matrix_postgres_additional_databases
Quotes are necessary around dictionary field names. There was a missing `}` as well.
Configuration menu - View commit details
-
Copy full SHA for d251764 - Browse repository at this point
Copy the full SHA d251764View commit details -
Configuration menu - View commit details
-
Copy full SHA for f47e8a9 - Browse repository at this point
Copy the full SHA f47e8a9View commit details -
Determine matrix-postgres IP address without relying on jq
To avoid needing to have `jq` installed on the machine, we could: - try to run jq in a Docker container using some small image providing that - better yet, avoid `jq` altogether
Configuration menu - View commit details
-
Copy full SHA for e2952f1 - Browse repository at this point
Copy the full SHA e2952f1View commit details -
> Invalid data passed to 'loop', it requires a list, got this instead: matrix_postgres_additional_databases. Hint: If you passed a list/dict of just one element, try adding wantlist=True to your lookup invocation or use q/query instead of lookup. Well, or working around it, as I've done in this commit (which seems more sane than `wantlist=True` stuff).
Configuration menu - View commit details
-
Copy full SHA for c765ceb - Browse repository at this point
Copy the full SHA c765cebView commit details -
Do not execute additional databases creation code if not necessary
The tasks in `create_additional_databases.yml` will likely ensure `matrix-postgres.service` is started, etc. If no additional databases are defined, we'd rather not execute that file and all these tasks that it may do in the future.
Configuration menu - View commit details
-
Copy full SHA for bbc09d0 - Browse repository at this point
Copy the full SHA bbc09d0View commit details -
Do not use the postgresql_user/postgresql_db modules
While these modules are really nice and helpful, we can't use them for at least 2 reasons: - for us, Postgres runs in a container on a private Docker network (`--network=matrix`) without usually being exposed to the host. These modules execute on the host so they won't be able to reach it. - these modules require `psycopg2`, so we need to install it before using it. This might or might not be its own can of worms.
Configuration menu - View commit details
-
Copy full SHA for da4cb2f - Browse repository at this point
Copy the full SHA da4cb2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a037a5 - Browse repository at this point
Copy the full SHA 3a037a5View commit details -
Use "password" for additional Postgres databases, not "pass"
Being more explicit sounds better.
Configuration menu - View commit details
-
Copy full SHA for 46a4034 - Browse repository at this point
Copy the full SHA 46a4034View commit details -
Make appservice-discord support both SQLite and Postgres
People can toggle between them now. The playbook also defaults to using SQLite if an external Postgres server is used. Ideally, we'd be able to create databases/users in external Postgres servers as well, but our initialization logic (and `docker run` command, etc.) hardcode too many things right now.
Configuration menu - View commit details
-
Copy full SHA for a374d30 - Browse repository at this point
Copy the full SHA a374d30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 183d2a1 - Browse repository at this point
Copy the full SHA 183d2a1View commit details -
Simplify password for additional Postgres databases
Using the result of `password_hash` works for creating them, but authentication seems to be failing with some tools like pgloader. It's possible that we're not escaping things properly somewhere. Ideally, it'd be nice to solve that. But the easier (and still relatively safe/good) solution is to just turn that password hash into a UUID that's safe for passing around without worrying about escaping.
Configuration menu - View commit details
-
Copy full SHA for dd99499 - Browse repository at this point
Copy the full SHA dd99499View commit details -
Configuration menu - View commit details
-
Copy full SHA for b87b754 - Browse repository at this point
Copy the full SHA b87b754View commit details -
Rename some doc files and commands related to importing
Since we'll likely have generic SQLite database importing via [pgloader](https://pgloader.io/) for migrating bridge databases from SQLite to Postgres, we'd rather avoid calling the "import Synapse SQLite database" command as just `--tags=import-sqlite-db`. Similarly, for the media store, we'd like to mention that it's related to Synapse as well. We'd like to be more explicit, so as to be less confusing, especially in light of other homeserver implementations coming in the future.
Configuration menu - View commit details
-
Copy full SHA for 6e1dfb6 - Browse repository at this point
Copy the full SHA 6e1dfb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c66c084 - Browse repository at this point
Copy the full SHA c66c084View commit details
Commits on Dec 14, 2020
-
Add --tags=import-generic-sqlite-db (pgloader import)
This can be used by various bridges, etc., to import an SQLite (or some other supported) database into Postgres.
Configuration menu - View commit details
-
Copy full SHA for cb969c6 - Browse repository at this point
Copy the full SHA cb969c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4617984 - Browse repository at this point
Copy the full SHA 4617984View commit details -
Configuration menu - View commit details
-
Copy full SHA for b217a2e - Browse repository at this point
Copy the full SHA b217a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1e85f7 - Browse repository at this point
Copy the full SHA f1e85f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d91aa5a - Browse repository at this point
Copy the full SHA d91aa5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0edacb - Browse repository at this point
Copy the full SHA c0edacbView commit details -
Rename Postgres-related variables (
matrix*database_*
-> `matrix*pos……tgres_*`) `matrix_SERVICE_database_engine` remains as it is - the only one with a `_database_` infix. Postgres-related ones move to `_postgres_`.
Configuration menu - View commit details
-
Copy full SHA for 2a99e84 - Browse repository at this point
Copy the full SHA 2a99e84View commit details -
Make --tags=import-generic-sqlite-db commands not pass a sensitive co…
…nnection string around Instead of passing the connection string, we can now pass a name of a variable, which contains a connection string. Both are supported for having extra flexibility.
Configuration menu - View commit details
-
Copy full SHA for 5dba0c0 - Browse repository at this point
Copy the full SHA 5dba0c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d99ade - Browse repository at this point
Copy the full SHA 2d99adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3406a1 - Browse repository at this point
Copy the full SHA a3406a1View commit details -
Add (Postgres + SQLite) support to matrix-mautrix-telegram bridge
I don't use this bridge, so this is completely untested.
Configuration menu - View commit details
-
Copy full SHA for 9bf8ce8 - Browse repository at this point
Copy the full SHA 9bf8ce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05dd091 - Browse repository at this point
Copy the full SHA 05dd091View commit details -
Fix typo (matrix_telegram_facebook_postgres_hostname -> matrix_mautri…
…x_telegram_postgres_hostname) Related to 9bf8ce8.
Configuration menu - View commit details
-
Copy full SHA for 6a2dd80 - Browse repository at this point
Copy the full SHA 6a2dd80View commit details -
Remove some remaining
_database_password
usage in favor of `_postgr……es_pasword` The only one that remains is `matrix_synapse_database_password`, but that's something old and should be dealt with separately in the future (unless it remains as it is).
Configuration menu - View commit details
-
Copy full SHA for 2848322 - Browse repository at this point
Copy the full SHA 2848322View commit details -
Add (Postgres + SQLite) support to matrix-mautrix-whatsapp bridge
I don't use this bridge, so this is completely untested.
Configuration menu - View commit details
-
Copy full SHA for 6c77eae - Browse repository at this point
Copy the full SHA 6c77eaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d6ff2 - Browse repository at this point
Copy the full SHA 43d6ff2View commit details -
Add (Postgres + SQLite) support to matrix-mautrix-hangouts bridge
I don't use this bridge, so this is completely untested.
Configuration menu - View commit details
-
Copy full SHA for ce21ea3 - Browse repository at this point
Copy the full SHA ce21ea3View commit details -
Rename
matrix_*_postgres_*
back tomatrix_*_database_*
I was thinking that it makes sense to be more specific, and using `_postgres_` also separated these variables from the `_database_` variables that ended up in bridge configuration. However, @jdreichmann makes a good point (#740 (comment)) that we don't need to be so specific and can allow for other engines (like MySQL) to use these variables.
Configuration menu - View commit details
-
Copy full SHA for 087dbe4 - Browse repository at this point
Copy the full SHA 087dbe4View commit details -
add postgres support for mx-puppet-* with fallback to sqlite in role …
…and migration notice
Configuration menu - View commit details
-
Copy full SHA for 5d70bc1 - Browse repository at this point
Copy the full SHA 5d70bc1View commit details -
Rename some remaining
matrix_*_postgres_*
vars back to `matrix_*_da……tabase_*` Looks like there are some that I missed in 087dbe4
Configuration menu - View commit details
-
Copy full SHA for b9a04a7 - Browse repository at this point
Copy the full SHA b9a04a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa828ff - Browse repository at this point
Copy the full SHA aa828ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for dde1c9f - Browse repository at this point
Copy the full SHA dde1c9fView commit details -
Add (Postgres + SQLite) support to matrix-reminder-bot
This has been tested and appears to work.
Configuration menu - View commit details
-
Copy full SHA for e3a0c9a - Browse repository at this point
Copy the full SHA e3a0c9aView commit details -
add postgres support mx-appservice-[slack|irc] with fallback to nedb …
…in role and migration notice
Configuration menu - View commit details
-
Copy full SHA for 54da61f - Browse repository at this point
Copy the full SHA 54da61fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc376c2 - Browse repository at this point
Copy the full SHA bc376c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc7850e - Browse repository at this point
Copy the full SHA dc7850eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac37091 - Browse repository at this point
Copy the full SHA ac37091View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1431b2 - Browse repository at this point
Copy the full SHA c1431b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbc0872 - Browse repository at this point
Copy the full SHA bbc0872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ba8520 - Browse repository at this point
Copy the full SHA 3ba8520View commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a8091 - Browse repository at this point
Copy the full SHA 86a8091View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13f84e2 - Browse repository at this point
Copy the full SHA 13f84e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cba973d - Browse repository at this point
Copy the full SHA cba973dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7248eb3 - Browse repository at this point
Copy the full SHA 7248eb3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ca48f3 - Browse repository at this point
Copy the full SHA 0ca48f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for af3ea67 - Browse repository at this point
Copy the full SHA af3ea67View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ab7dd1 - Browse repository at this point
Copy the full SHA 3ab7dd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13d8a9b - Browse repository at this point
Copy the full SHA 13d8a9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 516ccb2 - Browse repository at this point
Copy the full SHA 516ccb2View commit details -
Prepare matrix-registation for (SQLite + Postgres) support
Auto-migration and everything seems to work. It's just that matrix-registration cannot load the Python modules required for talking to a Postgres database. Tracked here: zeratax/matrix-registration#44 Until this gets fixed, we'll continue default to 'sqlite'.
Configuration menu - View commit details
-
Copy full SHA for 8d74593 - Browse repository at this point
Copy the full SHA 8d74593View commit details -
Configuration menu - View commit details
-
Copy full SHA for 374f437 - Browse repository at this point
Copy the full SHA 374f437View commit details -
Add support for matrix_dimension_systemd_{required,wanted}_services_list
We were referencing them from `group_vars/matrix_servers` since recently, but there were no such variables and they weren't being put to use.
Configuration menu - View commit details
-
Copy full SHA for 0790a7b - Browse repository at this point
Copy the full SHA 0790a7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a502db - Browse repository at this point
Copy the full SHA 2a502dbView commit details -
Fix Postgres database importing/upgrading conflicts
We were running into conflicts, because having initialized the roles (users) and databases, trying to import leads to errors (role XXX already exists, etc.). We were previously ignoring the Synapse database (`homeserver`) when upgrading/importing, because that one gets created by default whenever the container starts. For our additional databases, it's a similar situation now. It's not created by default as soon as Postgres starts with an empty database, but rather we create it as part of running the playbook. So we either need to skip those role/database creation statements while upgrading/importing, or to avoid creating the additional database and rely on the import for that. I've gone for the former, because it's already similar to what we were doing and it's simpler (it lets `setup_postgres.yml` be the same in all scenarios).
Configuration menu - View commit details
-
Copy full SHA for dd797ba - Browse repository at this point
Copy the full SHA dd797baView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ba46b - Browse repository at this point
Copy the full SHA e2ba46bView commit details
Commits on Dec 15, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6a3f6fb - Browse repository at this point
Copy the full SHA 6a3f6fbView commit details -
Merge pull request #754 from straend/patch-1
Missing ` in traefik domains instructions
Configuration menu - View commit details
-
Copy full SHA for 6ebebca - Browse repository at this point
Copy the full SHA 6ebebcaView commit details -
Upgrade matrix-registration (v0.7.1 -> 0.7.2) and use official image
This switches us to a container image maintained by the matrix-registration developer. 0.7.2 also supports a `base_url` configuration option we can use to make it easier to reverse-proxy at a different base URL. We still keep some workarounds, because of this issue: zeratax/matrix-registration#47
Configuration menu - View commit details
-
Copy full SHA for 69f71f4 - Browse repository at this point
Copy the full SHA 69f71f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3289298 - Browse repository at this point
Copy the full SHA 3289298View commit details -
Add support for executing additional DB migration statements
In cases where pgloader is not enough and we need to do some additional migration work after it, we can now use `additional_psql_statements_list` and `additional_psql_statements_db_name`. This is to be used when migrating `matrix-registration`'s data at the very least.
Configuration menu - View commit details
-
Copy full SHA for 1bd5c24 - Browse repository at this point
Copy the full SHA 1bd5c24View commit details -
Make matrix-registration use Postgres by default
Now that 0.7.2 is out, the Docker image supports Postgres and we can do the (SQLite -> Postgres) migration. I've also found out that we needed to fix up the `tokens.ex_date` column data type a bit to prevent matrix-registration from raising exceptions when comparing `datetime.now()` with `ex_date` coming from the database. Example: > File "/usr/local/lib/python3.8/site-packages/matrix_registration/tokens.py", line 58, in valid > expired = self.ex_date < datetime.now() > TypeError: can't compare offset-naive and offset-aware datetimes
Configuration menu - View commit details
-
Copy full SHA for a197968 - Browse repository at this point
Copy the full SHA a197968View commit details
Commits on Dec 16, 2020
-
Fix inability to send (Matrix -> Discord) messages via appservice-dis…
…cord Revert "Correct inabillity for appservice-discord to connect" This reverts commit 673e19f. While certain things do work even with such a local URL, sending messages leads to an error like this: > [DiscordBot] verbose: DiscordAPIError: Invalid Form Body > avatar_url: Not a well formed URL. Fixes matrix-org/matrix-appservice-discord#649 The sample configuration file for appservice-discord https://github.com/Half-Shot/matrix-appservice-discord/blob/c29cfc72f55f1f81e43e2d71f5c080d752d1a884/config/config.sample.yaml#L8 explicitly says that we need a public URL.
Configuration menu - View commit details
-
Copy full SHA for a4b8bae - Browse repository at this point
Copy the full SHA a4b8baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f4649a - Browse repository at this point
Copy the full SHA 0f4649aView commit details -
Do not recommend usePrivilegedIntents for appservice-discord
We're getting reports of it being broken and I can confirm that the bridge works well without it, so I don't see why we'd be asking people to enable it. Fixes #751
Configuration menu - View commit details
-
Copy full SHA for db69a51 - Browse repository at this point
Copy the full SHA db69a51View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e6cfa - Browse repository at this point
Copy the full SHA e2e6cfaView commit details
Commits on Dec 17, 2020
-
Move matrix_architecture to matrix-base
We were only defining this in `group_vars/matrix_servers`, which is inconsistent with how we normally do things.
Configuration menu - View commit details
-
Copy full SHA for ed159cc - Browse repository at this point
Copy the full SHA ed159ccView commit details -
Do not hardcode amd64 in setup_debian.yml
Until now, we've only supported non-amd64 on Raspbian. Seems like there are now people running Debian/Ubuntu on ARM, so we were forcing them into amd64 Docker packages. I've gotten a report that this change fixes support for Ubuntu Server 20.04 on RPi 4B.
Configuration menu - View commit details
-
Copy full SHA for 55f252a - Browse repository at this point
Copy the full SHA 55f252aView commit details -
Do not hardcode "ubuntu" for the Docker APT key URL
Well, `ubuntu` or `debian`, the same key is served right now, so it doesn't really matter. This seems cleaner and less prone to breakage though.
Configuration menu - View commit details
-
Copy full SHA for f545de5 - Browse repository at this point
Copy the full SHA f545de5View commit details -
Ensure gnupg installed on Raspbian
It's likely installed by default, but it doesn't hurt to specify it. It also makes us more the same with `setup_debian.yml`.
Configuration menu - View commit details
-
Copy full SHA for a09ed58 - Browse repository at this point
Copy the full SHA a09ed58View commit details -
Do not hardcode armhf for Raspbian
Raspbian doesn't seem to support arm64, so this is somewhat pointless right now. However, they might in the future. Doing this should also unify us some more with `setup_debian.yml` with the ultimate goal of eliminating `setup_raspbian.yml`.
Configuration menu - View commit details
-
Copy full SHA for 349fbb6 - Browse repository at this point
Copy the full SHA 349fbb6View commit details -
Move python{,3}-docker installation to another task
This also adds support for installing python3-docker (not python-docker) in systems that run Python 3.
Configuration menu - View commit details
-
Copy full SHA for 8748f3d - Browse repository at this point
Copy the full SHA 8748f3dView commit details
Commits on Dec 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d0ee86e - Browse repository at this point
Copy the full SHA d0ee86eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dcd4716 - Browse repository at this point
Copy the full SHA dcd4716View commit details -
Merge pull request #757 from 0x46616c6b/disable-nginx-logging-option
add option to disable nginx access log
Configuration menu - View commit details
-
Copy full SHA for ca06621 - Browse repository at this point
Copy the full SHA ca06621View commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6488e11 - Browse repository at this point
Copy the full SHA 6488e11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b4bf73 - Browse repository at this point
Copy the full SHA 9b4bf73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 149872e - Browse repository at this point
Copy the full SHA 149872eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e64758c - Browse repository at this point
Copy the full SHA e64758cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44c9f4d - Browse repository at this point
Copy the full SHA 44c9f4dView commit details -
Ensure mx-puppet-discord directories are created before attempting mi…
…gration Our old (base-path -> data-path) SQLite migration can't work otherwise. It's probably not necessary to keep it anymore, but since we still do, at least we should take care to ensure it works.
Configuration menu - View commit details
-
Copy full SHA for d135cd9 - Browse repository at this point
Copy the full SHA d135cd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e0fa1 - Browse repository at this point
Copy the full SHA 10e0fa1View commit details -
Merge pull request #760 from thedanbob/nginx-1.19.6
Update nginx (1.19.5 -> 1.19.6)
Configuration menu - View commit details
-
Copy full SHA for c180fa4 - Browse repository at this point
Copy the full SHA c180fa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c3b63c6 - Browse repository at this point
Copy the full SHA c3b63c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e49eb07 - Browse repository at this point
Copy the full SHA e49eb07View commit details -
Merge pull request #761 from thedanbob/element-1.7.16
Update element-web (1.7.15 -> 1.7.16)
Configuration menu - View commit details
-
Copy full SHA for a80b5b2 - Browse repository at this point
Copy the full SHA a80b5b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 262a25f - Browse repository at this point
Copy the full SHA 262a25fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69cc214 - Browse repository at this point
Copy the full SHA 69cc214View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab6563c - Browse repository at this point
Copy the full SHA ab6563cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15f4cc9 - Browse repository at this point
Copy the full SHA 15f4cc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 815a80c - Browse repository at this point
Copy the full SHA 815a80cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 715bdf2 - Browse repository at this point
Copy the full SHA 715bdf2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b95e19 - Browse repository at this point
Copy the full SHA 9b95e19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8675ded - Browse repository at this point
Copy the full SHA 8675dedView commit details
Commits on Dec 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ad1425e - Browse repository at this point
Copy the full SHA ad1425eView commit details -
Merge pull request #740 from jdreichmann/postgres-per-default
postgres: create databases for all services
Configuration menu - View commit details
-
Copy full SHA for f19b298 - Browse repository at this point
Copy the full SHA f19b298View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3475b98 - Browse repository at this point
Copy the full SHA 3475b98View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fe1248 - Browse repository at this point
Copy the full SHA 4fe1248View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5f8b1f - Browse repository at this point
Copy the full SHA c5f8b1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4675c8a - Browse repository at this point
Copy the full SHA 4675c8aView commit details -
Do not use salts longer than 16 characters
We've hit this problem before as well. Certain Ansible installations choke on it.
Configuration menu - View commit details
-
Copy full SHA for 9f00970 - Browse repository at this point
Copy the full SHA 9f00970View commit details -
Merge pull request #764 from KloolK/patch-1
Update updating-users-passwords.md
Configuration menu - View commit details
-
Copy full SHA for f3fc832 - Browse repository at this point
Copy the full SHA f3fc832View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b61747 - Browse repository at this point
Copy the full SHA 8b61747View commit details -
Do not use underscore in salts passed to sha512
Some Ansible installations choke on it, it seems. Similar to 9f00970
Configuration menu - View commit details
-
Copy full SHA for ea804f2 - Browse repository at this point
Copy the full SHA ea804f2View commit details -
Feed more slashes to mautrix bridges when using SQLite
This makes the `sqlite://` URI match what we were using before and what the config expects.
Configuration menu - View commit details
-
Copy full SHA for be0c599 - Browse repository at this point
Copy the full SHA be0c599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 019a4d7 - Browse repository at this point
Copy the full SHA 019a4d7View commit details -
Merge pull request #765 from Cadair/fix-db
Use role relative paths for references to matrix-postgres role
Configuration menu - View commit details
-
Copy full SHA for a284b6f - Browse repository at this point
Copy the full SHA a284b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21662af - Browse repository at this point
Copy the full SHA 21662afView commit details -
Fixup all Dimension boolean fields after pgloader import
This is 8b61747 done right. There were many more fields that we had to account for.
Configuration menu - View commit details
-
Copy full SHA for 80c7261 - Browse repository at this point
Copy the full SHA 80c7261View commit details -
Make mautrix-python-based bridges E2EE happier
Fixes a problem like this: > File "/usr/lib/python3.8/site-packages/mautrix/bridge/e2ee.py", line 79, in __init__ > raise RuntimeError("Unsupported database scheme") mautrix-python's e2ee.py module expects to find `postgres://` instead of `postgresql://`.
Configuration menu - View commit details
-
Copy full SHA for a2a4218 - Browse repository at this point
Copy the full SHA a2a4218View commit details -
Fix concatenation of additional databases
Otherwise the postgres upgrade fails with the following error: Unexpected templating type error occurred on ({{ [matrix_postgres_connection_username] + matrix_postgres_additional_databases|map(attribute='username') }} ): can only concatenate list (not "generator") to list
Configuration menu - View commit details
-
Copy full SHA for befffa9 - Browse repository at this point
Copy the full SHA befffa9View commit details -
Merge pull request #766 from lxp/fix-postgres-upgrade
Fix concatenation of additional databases
Configuration menu - View commit details
-
Copy full SHA for 067f12b - Browse repository at this point
Copy the full SHA 067f12bView commit details