1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Upgrade to 11.5.0

This commit is contained in:
ericgaspar 2021-05-14 19:52:59 +02:00
parent 66c2e99aaa
commit 9fbc308890
6 changed files with 11 additions and 50 deletions

View file

@ -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:** 11.3.0
**Shipped version:** 11.5.0
## Screenshots

View file

@ -1,10 +1,10 @@
;; Test complet
; Manifest
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
admin="john" (USER)
domain="domain.tld"
path="/path"
admin="john"
language="fr"
is_public=1 (PUBLIC|public=1|private=0)
is_public=1
; Checks
pkg_linter=1
setup_sub_dir=1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://piwigo.org/download/dlcounter.php?code=11.3.0
SOURCE_SUM=07b0a364484c85acecf9abd6ac2b87e9c8793795b760134b4fab96be99228943
SOURCE_URL=https://piwigo.org/download/dlcounter.php?code=11.5.0
SOURCE_SUM=bfecdd743c62cdb4e1936662178d019af264ea763d26c8c832da836fbe09652d
SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Open source photo gallery for the web",
"fr": "Galerie de photos open source pour le web"
},
"version": "11.3.0~ynh2",
"version": "11.5.0~ynh1",
"url": "http://piwigo.org",
"license": "GPL-2.0",
"maintainer": {
@ -15,7 +15,7 @@
"url": ""
},
"requirements": {
"yunohost": ">= 4.1.0"
"yunohost": ">= 4.1.7"
},
"multi_instance": true,
"services": [
@ -28,38 +28,22 @@
{
"name": "domain",
"type": "domain",
"ask": {
"en": "Choose a domain for Piwigo",
"fr": "Choisissez un nom de domaine pour Piwigo"
},
"example": "domain.org"
},
{
"name": "path",
"type": "path",
"ask": {
"en": "Choose a path for Piwigo",
"fr": "Choisissez un chemin pour Piwigo"
},
"example": "/piwigo",
"default": "/piwigo"
},
{
"name": "admin",
"type": "user",
"ask": {
"en": "Choose an admin user",
"fr": "Choisissez l'administrateur"
},
"example": "homer"
},
{
"name": "is_public",
"type": "boolean",
"ask": {
"en": "Is it a public application?",
"fr": "Est-ce une application publique ?"
},
"default": true
},
{

View file

@ -174,18 +174,9 @@ ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_n
#=================================================
ynh_script_progression --message="Configuring Piwigo..."
# Change local config
cp ../conf/config.inc.php $final_path/local/config/
# Calculate and store the config file checksum
ynh_store_file_checksum --file="$final_path/local/config/config.inc.php"
# Setup database in local/config/database.inc.php
ynh_add_config --template="../conf/config.inc.php" --destination="$final_path/local/config/config.inc.php"
ynh_add_config --template="../conf/database.inc.php" --destination="$final_path/local/config/database.inc.php"
# Calculate and store the database config file checksum
ynh_store_file_checksum --file="$final_path/local/config/database.inc.php"
#=================================================
# ADD LDAP PLUGIN
#=================================================

View file

@ -214,23 +214,9 @@ ynh_local_curl "/upgrade.php?language=$applanguage&now=true" "language=$applangu
#=================================================
ynh_script_progression --message="Configuring Piwigo..."
# Make a backup of the original config file if modified
ynh_backup_if_checksum_is_different --file="$final_path/local/config/config.inc.php"
# Change local config
cp ../conf/config.inc.php $final_path/local/config/
# Calculate and store the config file checksum
ynh_store_file_checksum --file="$final_path/local/config/config.inc.php"
# Make a backup of the original database config file if modified
ynh_backup_if_checksum_is_different --file="$final_path/local/config/database.inc.php"
ynh_add_config --template="../conf/config.inc.php" --destination="$final_path/local/config/config.inc.php"
ynh_add_config --template="../conf/database.inc.php" --destination="$final_path/local/config/database.inc.php"
# Calculate and store the database config file checksum
ynh_store_file_checksum --file="$final_path/local/config/database.inc.php"
#=================================================
# CONFIGURE LDAP PLUGIN
#=================================================