diff --git a/README.md b/README.md index 4a469327..70466270 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in ## Overview The federated image sharing service Pixelfed, for YunoHost -**Shipped version:** 0.10.9 +**Shipped version:** 0.10.10 ## Important points to read before installing diff --git a/check_process b/check_process index b41333c5..eb98ed67 100644 --- a/check_process +++ b/check_process @@ -20,6 +20,8 @@ # upgrade=1 from_commit=8c5e710060da43a946336d66a30b9c311cfdbc37 # 0.10.9~ynh2 # upgrade=1 from_commit=c81ed6b760a1a68b8993917e808434166766a37a + # 0.10.9~ynh3 + upgrade=1 from_commit=9c7d0ff114bb0bd3482901fde4bd82b494aa2e6d backup_restore=1 multi_instance=1 # This test is no longer necessary since the version 2.7 (PR: https://github.com/YunoHost/yunohost/pull/304), you can still do it if your app could be installed with this version. @@ -39,3 +41,5 @@ Notification=all name=0.10.9~ynh1 ; commit=c81ed6b760a1a68b8993917e808434166766a37a name=0.10.9~ynh2 + ; commit=9c7d0ff114bb0bd3482901fde4bd82b494aa2e6d + name=0.10.9~ynh3 diff --git a/conf/.env b/conf/.env index 99f0c0f9..a07a2c96 100644 --- a/conf/.env +++ b/conf/.env @@ -76,6 +76,7 @@ REDIS_SCHEME=tcp REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379 +REDIS_DATABASE=0 ## EXPERIMENTS EXP_LC=false diff --git a/conf/app.src b/conf/app.src index ff7ce9c6..e519ee7e 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.10.9.tar.gz -SOURCE_SUM=d843796473858de2f0f3cda11db2f711b8303a058660d62c6696d4cb828a8a45 +SOURCE_URL=https://github.com/pixelfed/pixelfed/archive/v0.10.10.tar.gz +SOURCE_SUM=096faddbf43c41552e9f03eb4b76b70a04e314ca6974d13c0f2a73c42a4aa617 OURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true diff --git a/manifest.json b/manifest.json index 05b030f8..b34f269e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "ActivityPub Federated Image Sharing", "fr": "Logiciel de partage d'image fédéré via ActivityPub" }, - "version": "0.10.9~ynh3", + "version": "0.10.10~ynh1", "url": "https://pixelfed.org/", "license": "AGPL-3.0-or-later", "maintainer": [ diff --git a/scripts/_common.sh b/scripts/_common.sh index da29b1d7..324ffdf2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,11 +5,11 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql redis-server imagemagick jpegoptim optipng pngquant supervisor" +pkg_dependencies="postgresql redis-server libgd3 jpegoptim optipng pngquant ffmpeg imagemagick supervisor" YNH_PHP_VERSION="7.3" -extra_php_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-ctype php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-iconv php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tokenizer php${YNH_PHP_VERSION}-simplexml php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-pdo php${YNH_PHP_VERSION}-imagick php${YNH_PHP_VERSION}-redis" +extra_php_dependencies="php${YNH_PHP_VERSION}-bcmath php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-ctype php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-exif php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-iconv php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-redis php${YNH_PHP_VERSION}-tokenizer php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-pdo php${YNH_PHP_VERSION}-pgsql php${YNH_PHP_VERSION}-fileinfo php${YNH_PHP_VERSION}-imagick" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index 2b583984..ec3bd055 100644 --- a/scripts/install +++ b/scripts/install @@ -153,6 +153,7 @@ ynh_script_progression --message="Deploying..." pushd "$final_path" php$phpversion artisan -n key:generate --force php$phpversion artisan horizon:install + php$phpversion artisan horizon:publish php$phpversion artisan config:clear php$phpversion artisan config:cache php$phpversion artisan route:cache @@ -161,7 +162,8 @@ pushd "$final_path" php$phpversion artisan migrate --force php$phpversion artisan update php$phpversion artisan horizon:purge - php$phpversion artisan horizon:assets + php$phpversion artisan import:cities + php$phpversion artisan instance:actor popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 59e6f8aa..f71be0aa 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -195,6 +195,7 @@ ynh_script_progression --message="Deploying..." pushd "$final_path" php$phpversion artisan horizon:install + php$phpversion artisan horizon:publish php$phpversion artisan config:clear php$phpversion artisan config:cache php$phpversion artisan route:clear @@ -205,7 +206,8 @@ pushd "$final_path" php$phpversion artisan migrate --force php$phpversion artisan update php$phpversion artisan horizon:purge - php$phpversion artisan horizon:assets + php$phpversion artisan import:cities + php$phpversion artisan instance:actor popd #=================================================