From d0b7de496cd022bd048e59c8bf638b5f3df26c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 18 Feb 2021 19:52:56 +0100 Subject: [PATCH] Testing (#61) * Upgrade to version 11.3.0 (#59) --- README.md | 2 +- check_process | 9 +++---- conf/app.src | 4 +-- conf/database.inc.php | 6 ++--- manifest.json | 6 ++--- pull_request_template.md | 12 ++------- scripts/_common.sh | 2 +- scripts/backup | 2 +- scripts/install | 29 +++++++++------------- scripts/restore | 2 +- scripts/upgrade | 53 ++++++++++++++++++++-------------------- 11 files changed, 55 insertions(+), 72 deletions(-) diff --git a/README.md b/README.md index 78871d2..288724b 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to [Piwigo](http://piwigo.org) is a photo gallery software for the web, built by an active community of users and developers. Extensions make Piwigo easily customizable. -**Shipped version:** 2.10.2 +**Shipped version:** 11.3.0 ## Screenshots diff --git a/check_process b/check_process index 8fcaf61..050f061 100644 --- a/check_process +++ b/check_process @@ -13,18 +13,15 @@ setup_private=1 setup_public=1 upgrade=1 - upgrade=1 from_commit=f7a6d6ca2dbbd39f20d299478c28f92e83f6f53c + upgrade=1 from_commit=d28c7cd4613a7455f316c91920a065676730ca46 backup_restore=1 multi_instance=1 - incorrect_path=1 port_already_use=0 change_url=1 -;;; Levels - Level 5=auto ;;; Options Email= Notification=none ;;; Upgrade options - ; commit=f7a6d6ca2dbbd39f20d299478c28f92e83f6f53c - name=Take more official review comments into account + ; commit=d28c7cd4613a7455f316c91920a065676730ca46 + name=Upgrade to upstream version 2.9.5 manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1& diff --git a/conf/app.src b/conf/app.src index 75fa0fb..e0244d4 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=http://piwigo.org/download/dlcounter.php?code=2.10.2 -SOURCE_SUM=0de75de7da9d9b8058e208cf78d6f20852a790fca6d8231d432f3f62d12939ff +SOURCE_URL=https://piwigo.org/download/dlcounter.php?code=11.3.0 +SOURCE_SUM=07b0a364484c85acecf9abd6ac2b87e9c8793795b760134b4fab96be99228943 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=zip SOURCE_IN_SUBDIR=true diff --git a/conf/database.inc.php b/conf/database.inc.php index fe6160c..9001a57 100644 --- a/conf/database.inc.php +++ b/conf/database.inc.php @@ -1,8 +1,8 @@ " --max_retry=6 -#================================================= -# GENERIC FINALIZATION #================================================= # SETUP SSOWAT #================================================= -ynh_script_progression --message="Upgrading SSOwat configuration..." +ynh_script_progression --message="Configuring permissions..." -# Protect URIs if private +# Make app public if necessary if [ $is_public -eq 0 ] then - ynh_app_setting_delete --app=$app --key=unprotected_uris - ynh_app_setting_set --app=$app --key=protected_uris --value="/" + ynh_permission_update --permission="main" --remove="visitors" fi +#================================================= +# GENERIC FINALIZATION #================================================= # RELOAD NGINX #=================================================