diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8f61d0..edb456d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ -image: ofalk/centos7-python36 +image: docker.io/ofalk/fedora28-python3 before_script: - - virtualenv -p python3.6 /tmp/.virtualenv + - virtualenv-3 -p python3 /tmp/.virtualenv - source /tmp/.virtualenv/bin/activate - pip install Pillow - pip install -r requirements.txt diff --git a/README.md b/README.md index e2ea9a9..20995ca 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ +ivatar / libravatar +=================== + +Pipeline and coverage status +============================ + [](https://git.linux-kernel.at/oliver/ivatar/commits/master) [](http://git.linux-kernel.at/oliver/ivatar/commits/master) +Reports / code documentation +============================ + - [Coverage HTML report](http://oliver.git.linux-kernel.at/ivatar) - [Code documentation (autogenerated, pycco)](http://oliver.git.linux-kernel.at/ivatar/pycco/) + +Authors and contributors +======================== + +Lead developer/Owner: Oliver Falk (aka ofalk or falko) - https://git.linux-kernel.at/oliver +Operations: Michal Novotny (aka clime) +QA: Tristan Le Guern (aka tleguern) +Frontend developer: Niklas Poslovski (aka nipos) +Organisation/Meeting moderation: Lars Kruse (aka sumpfralle) + +Initial developer: François Marier - https://fmarier.org/ diff --git a/config.py b/config.py index bdadc3c..71207dc 100644 --- a/config.py +++ b/config.py @@ -187,3 +187,7 @@ CACHES = { ], } } + +# This is 5 minutes caching for generated/resized images, +# so the sites don't hit ivatar so much +CACHE_IMAGES_MAX_AGE = 5 * 60 diff --git a/ivatar/ivataraccount/templates/upload_photo.html b/ivatar/ivataraccount/templates/upload_photo.html index 4eb3e7b..19177b5 100644 --- a/ivatar/ivataraccount/templates/upload_photo.html +++ b/ivatar/ivataraccount/templates/upload_photo.html @@ -28,13 +28,13 @@