mirror of
https://github.com/YunoHost-Apps/piwigo_ynh.git
synced 2024-09-03 20:06:03 +02:00
Merge 967ede2277
into d0dd98551c
This commit is contained in:
commit
449a2eadcb
14 changed files with 22 additions and 1056 deletions
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Piwigo for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/piwigo)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/piwigo/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=piwigo)
|
||||
|
||||
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
|||
Piwigo is a photo gallery software for the web, built by an active community of users and developers. Extensions make Piwigo easily customizable.
|
||||
|
||||
|
||||
**Shipped version:** 14.3.0~ynh1
|
||||
**Shipped version:** 14.4.0~ynh1
|
||||
|
||||
**Demo:** <https://piwigo.org/demo>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ No se debe editar a mano.
|
|||
|
||||
# Piwigo para Yunohost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/piwigo)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/piwigo/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=piwigo)
|
||||
|
||||
|
@ -19,7 +19,7 @@ No se debe editar a mano.
|
|||
Piwigo is a photo gallery software for the web, built by an active community of users and developers. Extensions make Piwigo easily customizable.
|
||||
|
||||
|
||||
**Versión actual:** 14.3.0~ynh1
|
||||
**Versión actual:** 14.4.0~ynh1
|
||||
|
||||
**Demo:** <https://piwigo.org/demo>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ EZ editatu eskuz.
|
|||
|
||||
# Piwigo YunoHost-erako
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/piwigo)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/piwigo/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=piwigo)
|
||||
|
||||
|
@ -19,7 +19,7 @@ EZ editatu eskuz.
|
|||
Piwigo is a photo gallery software for the web, built by an active community of users and developers. Extensions make Piwigo easily customizable.
|
||||
|
||||
|
||||
**Paketatutako bertsioa:** 14.3.0~ynh1
|
||||
**Paketatutako bertsioa:** 14.4.0~ynh1
|
||||
|
||||
**Demoa:** <https://piwigo.org/demo>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
|
|||
|
||||
# Piwigo pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/piwigo)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/piwigo/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=piwigo)
|
||||
|
||||
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
|||
Piwigo est un logiciel de galerie photo pour le web, construit par une communauté active d'utilisateurs et de développeurs. Des extensions rendent Piwigo facilement personnalisable.
|
||||
|
||||
|
||||
**Version incluse :** 14.3.0~ynh1
|
||||
**Version incluse :** 14.4.0~ynh1
|
||||
|
||||
**Démo :** <https://piwigo.org/demo>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ NON debe editarse manualmente.
|
|||
|
||||
# Piwigo para YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/piwigo)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/piwigo/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=piwigo)
|
||||
|
||||
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
|||
Piwigo is a photo gallery software for the web, built by an active community of users and developers. Extensions make Piwigo easily customizable.
|
||||
|
||||
|
||||
**Versión proporcionada:** 14.3.0~ynh1
|
||||
**Versión proporcionada:** 14.4.0~ynh1
|
||||
|
||||
**Demo:** <https://piwigo.org/demo>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
# YunoHost 上的 Piwigo
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/piwigo)  
|
||||
[](https://ci-apps.yunohost.org/ci/apps/piwigo/)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=piwigo)
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
Piwigo is a photo gallery software for the web, built by an active community of users and developers. Extensions make Piwigo easily customizable.
|
||||
|
||||
|
||||
**分发版本:** 14.3.0~ynh1
|
||||
**分发版本:** 14.4.0~ynh1
|
||||
|
||||
**演示:** <https://piwigo.org/demo>
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@ name = "Piwigo"
|
|||
description.en = "Open source photo gallery for the web"
|
||||
description.fr = "Galerie de photos open source pour le web"
|
||||
|
||||
version = "14.3.0~ynh1"
|
||||
version = "14.4.0~ynh1"
|
||||
|
||||
maintainers = ["JimboJoe"]
|
||||
|
||||
|
@ -48,7 +48,7 @@ ram.runtime = "50M"
|
|||
ask.fr = "Choisissez la langue de l'application"
|
||||
type = "select"
|
||||
choices = ["fr_FR", "en_UK"]
|
||||
default = "en_UK"
|
||||
default = "fr_FR"
|
||||
|
||||
[install.admin]
|
||||
type = "user"
|
||||
|
@ -58,8 +58,8 @@ ram.runtime = "50M"
|
|||
|
||||
[resources]
|
||||
[resources.sources.main]
|
||||
url = "https://piwigo.org/download/dlcounter.php?code=14.3.0"
|
||||
sha256 = "ab1d329afbb092ef74534bc09f56ef75a81d26443383e6ae47fe9801808552ef"
|
||||
url = "https://piwigo.org/download/dlcounter.php?code=14.4.0"
|
||||
sha256 = "d9c4c422626537e1beb65a9cadcf712a5ead2f63cae3775d85ae17241c3e3dc0"
|
||||
format = "zip"
|
||||
|
||||
autoupdate.strategy = "latest_github_release"
|
||||
|
@ -79,12 +79,9 @@ ram.runtime = "50M"
|
|||
format = "zip"
|
||||
|
||||
[resources.system_user]
|
||||
allow_email = true
|
||||
|
||||
[resources.install_dir]
|
||||
|
||||
[resources.data_dir]
|
||||
|
||||
[resources.permissions]
|
||||
main.url = "/"
|
||||
|
||||
|
|
|
@ -8,16 +8,6 @@
|
|||
# PERSONAL HELPERS
|
||||
#=================================================
|
||||
|
||||
_create_data_dirs_if_required() {
|
||||
dirs=(_data galleries upload)
|
||||
for dir in "${dirs[@]}"; do
|
||||
if [ ! -d "$data_dir/$dir" ]; then
|
||||
rsync -a "$install_dir/$dir/" "$data_dir/$dir/"
|
||||
fi
|
||||
ynh_secure_remove "$install_dir/$dir"
|
||||
done
|
||||
}
|
||||
|
||||
#=================================================
|
||||
# EXPERIMENTAL HELPERS
|
||||
#=================================================
|
||||
|
|
|
@ -19,12 +19,6 @@ ynh_print_info --message="Declaring files to be backed up..."
|
|||
|
||||
ynh_backup --src_path="$install_dir"
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE DATA DIR
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="$data_dir" --is_big
|
||||
|
||||
#=================================================
|
||||
# BACKUP THE SYSTEM CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -21,14 +21,11 @@ ynh_setup_source --dest_dir="$install_dir"
|
|||
ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin
|
||||
ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin
|
||||
|
||||
_create_data_dirs_if_required
|
||||
#_create_data_dirs_if_required
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
||||
chmod -R o-rwx "$data_dir"
|
||||
chown -R "$app:www-data" "$data_dir"
|
||||
|
||||
#=================================================
|
||||
# SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
|
|
|
@ -18,15 +18,6 @@ ynh_restore_file --origin_path="$install_dir"
|
|||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE DATA DIRECTORY
|
||||
#=================================================
|
||||
ynh_script_progression --message="Restoring the data directory..." --weight=2
|
||||
|
||||
ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
||||
|
||||
chown -R "$app:www-data" "$data_dir"
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
|
|
|
@ -25,15 +25,10 @@ fi
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=3
|
||||
|
||||
ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="local/config/config.inc.php local/config/database.inc.php"
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep="local/config/config.inc.php local/config/database.inc.php" #--full_replace=1
|
||||
ynh_setup_source --dest_dir="$install_dir/plugins/Ldap_Login" --source_id=ldap_plugin --full_replace=1
|
||||
ynh_setup_source --dest_dir="$install_dir/plugins" --source_id=log_failed_logins_plugin --full_replace=1
|
||||
|
||||
_create_data_dirs_if_required
|
||||
|
||||
chmod -R o-rwx "$data_dir"
|
||||
chown -R "$app:www-data" "$data_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir"
|
||||
|
||||
|
|
14
tests.toml
14
tests.toml
|
@ -8,20 +8,6 @@ test_format = 1.0
|
|||
# Commits to test upgrade from
|
||||
# -------------------------------
|
||||
|
||||
[default.test_upgrade_from.bc9ab6f21a7dcaab9245ef5cbfc9d6c4bd026925]
|
||||
name = "Upgrade from 12.0.0"
|
||||
args.domain = "domain.tld"
|
||||
args.path = "/"
|
||||
args.language = "en"
|
||||
args.admin = "package_checker"
|
||||
|
||||
[default.test_upgrade_from.cd09a41142c55f4d4c0e654574ccb3e9d1ad3f91]
|
||||
name = "Upgrade from 12.1.0"
|
||||
args.domain = "domain.tld"
|
||||
args.path = "/"
|
||||
args.language = "en"
|
||||
args.admin = "package_checker"
|
||||
|
||||
[default.test_upgrade_from.1cac04c39ba70cef6571bcb9ae4afca5ccb48ca7]
|
||||
name = "Upgrade from 13.1.0"
|
||||
args.domain = "domain.tld"
|
||||
|
|
Loading…
Add table
Reference in a new issue