From ea2587d992cfd1634debacc7e57f682c9eb6b6ac Mon Sep 17 00:00:00 2001 From: Jules Bertholet Date: Sat, 17 Jul 2021 15:52:52 +0200 Subject: [PATCH] Update to v0.16.0 --- README.md | 2 +- README_fr.md | 2 +- conf/app.src | 4 ++-- conf/nginx.conf | 4 +--- conf/photonix.env | 2 ++ manifest.json | 2 +- scripts/_common.sh | 2 +- sources/patches/app-00-photonix-web-settings.py.patch | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index acd7f96..7be7d72 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview Photonix is a photo management application that streamlines the process of storing, presenting and re-discovering photos. Smart filtering is made possible automatically by object and face recognition, location awareness, color analysis and other algorithms. -**Shipped version:** 0.11.0 +**Shipped version:** 0.16.0 ## Screenshots diff --git a/README_fr.md b/README_fr.md index 58fb6c6..8f4e401 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,7 +11,7 @@ Si vous n'avez pas YunoHost, consultez [le guide](https://yunohost.org/#/install ## Vue d'ensemble Photonix est une application de gestion de photos qui simplifie le processus de stocker, présenter er re-découvrir ses photos. Le filtrage intelligent est rendu possible automatiquement grâce à la reconnaissance d'objets et de visages, la localisation, l'analyse de couleurs, et d'autres algorithmes. -**Version incluse :** 0.11.0 +**Version incluse :** 0.16.0 ## Captures d'écran diff --git a/conf/app.src b/conf/app.src index 49b4715..fcfa299 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/photonixapp/photonix/archive/refs/tags/v0.11.0.tar.gz -SOURCE_SUM=9c895cab72cc65a8443975b23d10de7bbcf923af9e8d60ca2d99b2892385ac97 +SOURCE_URL=https://github.com/photonixapp/photonix/archive/refs/tags/v0.16.0.tar.gz +SOURCE_SUM=1ed5daf0ff27b9e7e09331e2ca3f5d057884f6f509671fb122731b36cde03cd5 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/conf/nginx.conf b/conf/nginx.conf index f1ea158..5c2a375 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,7 @@ -default_type text/html; - error_page 500 502 503 504 /500.html; location /500.html { - root __FINALPATH__/srv/ui/public; + root __FINALPATH__/srv/ui/public/; } location /photos { diff --git a/conf/photonix.env b/conf/photonix.env index 822b4da..16434d2 100644 --- a/conf/photonix.env +++ b/conf/photonix.env @@ -4,6 +4,8 @@ POSTGRES_DB=__DB_NAME__ POSTGRES_USER=__DB_NAME__ POSTGRES_PASSWORD=__DB_PWD__ REDIS_HOST=127.0.0.1 +REDIS_PORT=6379 +POSTGRES_PORT=5432 ALLOWED_HOSTS='*' DEMO=0 diff --git a/manifest.json b/manifest.json index d8a54d2..3859ec2 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Photo management application that streamlines the process of storing, presenting and re-discovering photos", "fr": "Application de gestion de photos qui simplifie le processus de stocker, présenter er re-découvrir ses photos" }, - "version": "0.11.0~ynh1", + "version": "0.16.0~ynh1", "url": "https://photonix.org/", "license": "AGPL-3.0-only", "maintainer": { diff --git a/scripts/_common.sh b/scripts/_common.sh index 7760c93..1736ad2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="acl python3 python3-pip python3-venv nodejs postgresql postgresql-contrib postgresql-common redis-server libsasl2-dev libldap2-dev libssl-dev build-essential curl gfortran gnupg libatlas-base-dev libblas-dev libblas3 libfreetype6 libfreetype6-dev libhdf5-dev libjpeg-dev liblapack-dev liblapack3 libpq-dev libtiff5-dev netcat libimage-exiftool-perl" +pkg_dependencies="acl python3 python3-pip python3-venv nodejs postgresql postgresql-contrib postgresql-common redis-server libsasl2-dev libldap2-dev libssl-dev build-essential curl gfortran gnupg libatlas-base-dev libblas-dev libblas3 libfreetype6 libfreetype6-dev libhdf5-dev libheif-examples libjpeg-dev liblapack-dev liblapack3 libpq-dev libtiff5-dev netcat libimage-exiftool-perl" #================================================= # PERSONAL HELPERS diff --git a/sources/patches/app-00-photonix-web-settings.py.patch b/sources/patches/app-00-photonix-web-settings.py.patch index 9d53b72..f03c712 100644 --- a/sources/patches/app-00-photonix-web-settings.py.patch +++ b/sources/patches/app-00-photonix-web-settings.py.patch @@ -1,5 +1,5 @@ diff --git a/photonix/web/settings.py b/photonix/web/settings.py -index 8397662..5ebaa37 100644 +index 45ba924..96d6dd4 100644 --- a/photonix/web/settings.py +++ b/photonix/web/settings.py @@ -16,6 +16,7 @@ from pathlib import Path @@ -10,7 +10,7 @@ index 8397662..5ebaa37 100644 # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = str(Path(__file__).parent.parent.resolve()) -@@ -92,12 +93,17 @@ DATABASES = { +@@ -133,12 +134,17 @@ LOGGING = { } AUTHENTICATION_BACKENDS = [