From ca9f83984a21b3ac1755605655c6195d09772c4a Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Thu, 22 Apr 2021 07:43:32 +0200 Subject: [PATCH 1/5] Add patch from #81 (install instruction for Pillow) --- INSTALL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/INSTALL.md b/INSTALL.md index da3e500..ee596c4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,6 +23,7 @@ cd ivatar virtualenv -p python3 .virtualenv source .virtualenv/bin/activate pip install -r requirements.txt +pip install pillow ~~~~ ## (SQL) Migrations From 73fca0b953628bc6d95f1dde0f528fa7e3c8bf1e Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Thu, 27 May 2021 02:05:27 +0200 Subject: [PATCH 2/5] Add newer version of matrix contact page This patch provides a first draft for the new matrix contact details. It'S not perfect yet, since the matrix room name is still cumbersome. However, this should be fixed in the future and currently the matrix.to link should manage most of the directions. --- templates/contact.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/contact.html b/templates/contact.html index 6d02405..499bebe 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -14,9 +14,7 @@ There are a few ways to get in touch with the ivatar/libravatar developers:

IRC

-If you have an IRC client already, you can join #libravatar on chat.freenode.net. -
-Otherwise, you can use this simple web interface. +You can join the Libravatar community chat at #libravatar:shivering-isles.com. It is also bridged to #libravatar on irc.libera.chat for those prefering IRC.
Please keep in mind that you may live in a different timezone than most of the developers. So if you do not get a response, it's not because we're ignoring you, it's probably because we're sleeping :) From 552da91044535470ff30c2b80a813e128139162e Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Fri, 28 May 2021 15:19:51 +0200 Subject: [PATCH 3/5] Adapt for Django 3.2. See also: https://docs.djangoproject.com/en/3.2/releases/3.2/ --- .../migrations/0017_auto_20210528_1314.py | 48 +++++++++++++++++++ ivatar/settings.py | 2 + 2 files changed, 50 insertions(+) create mode 100644 ivatar/ivataraccount/migrations/0017_auto_20210528_1314.py diff --git a/ivatar/ivataraccount/migrations/0017_auto_20210528_1314.py b/ivatar/ivataraccount/migrations/0017_auto_20210528_1314.py new file mode 100644 index 0000000..411c08f --- /dev/null +++ b/ivatar/ivataraccount/migrations/0017_auto_20210528_1314.py @@ -0,0 +1,48 @@ +# Generated by Django 3.2.3 on 2021-05-28 13:14 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('ivataraccount', '0016_auto_20210413_0904'), + ] + + operations = [ + migrations.AlterField( + model_name='confirmedemail', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='confirmedopenid', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='openidassociation', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='openidnonce', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='photo', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='unconfirmedemail', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + migrations.AlterField( + model_name='unconfirmedopenid', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), + ), + ] diff --git a/ivatar/settings.py b/ivatar/settings.py index 7546ee1..82cf3f0 100644 --- a/ivatar/settings.py +++ b/ivatar/settings.py @@ -118,4 +118,6 @@ PROJECT_ROOT = os.path.abspath( STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR, 'static') +DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField' + from config import * # pylint: disable=wildcard-import,wrong-import-position,unused-wildcard-import From 7a53a182220973eb60b5a4acf3e5b92dcbaa3955 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 28 May 2021 13:46:03 +0000 Subject: [PATCH 4/5] Replace matrix room alias The new alias is `#libravatar:matrix.org` as it sounds way more official. --- templates/contact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/contact.html b/templates/contact.html index 499bebe..30040ab 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -14,7 +14,7 @@ There are a few ways to get in touch with the ivatar/libravatar developers:

IRC

-You can join the Libravatar community chat at #libravatar:shivering-isles.com. It is also bridged to #libravatar on irc.libera.chat for those prefering IRC. +You can join the Libravatar community chat at #libravatar:matrix.org. It is also bridged to #libravatar on irc.libera.chat for those prefering IRC.
Please keep in mind that you may live in a different timezone than most of the developers. So if you do not get a response, it's not because we're ignoring you, it's probably because we're sleeping :) From d9f4a4f63418e2da644097ba416a03a55fec4375 Mon Sep 17 00:00:00 2001 From: Oliver Falk Date: Fri, 28 May 2021 18:10:01 +0200 Subject: [PATCH 5/5] Add link to libera.chat --- templates/contact.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/contact.html b/templates/contact.html index 30040ab..65997d0 100644 --- a/templates/contact.html +++ b/templates/contact.html @@ -14,7 +14,7 @@ There are a few ways to get in touch with the ivatar/libravatar developers:

IRC

-You can join the Libravatar community chat at #libravatar:matrix.org. It is also bridged to #libravatar on irc.libera.chat for those prefering IRC. +You can join the Libravatar community chat at #libravatar:matrix.org. It is also bridged to #libravatar on irc.libera.chat for those prefering IRC.
Please keep in mind that you may live in a different timezone than most of the developers. So if you do not get a response, it's not because we're ignoring you, it's probably because we're sleeping :)