1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/matrix-registration/tasks
Slavi Pantaleev a197968b7f 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
2020-12-15 23:19:56 +02:00
..
generate_token.yml Add matrix-registration support 2020-09-01 13:46:05 +03:00
init.yml Upgrade matrix-registration (v0.7.1 -> 0.7.2) and use official image 2020-12-15 22:02:06 +02:00
main.yml Separate matrix-registration install/uninstall tasks 2020-12-14 18:12:14 +02:00
setup_install.yml Make matrix-registration use Postgres by default 2020-12-15 23:19:56 +02:00
setup_uninstall.yml Separate matrix-registration install/uninstall tasks 2020-12-14 18:12:14 +02:00
validate_config.yml Make matrix-registration use Postgres by default 2020-12-15 23:19:56 +02:00