Merge pull request #12 from YunoHost-Apps/testing

Update manifest.toml
This commit is contained in:
eric_G 2024-07-07 14:46:26 +02:00 committed by GitHub
commit eb8de9692b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 24 additions and 46 deletions

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Easy!Appointments for YunoHost # Easy!Appointments for YunoHost
[![Integration level](https://dash.yunohost.org/integration/easyappointments.svg)](https://dash.yunohost.org/appci/app/easyappointments) ![Working status](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/easyappointments.svg)](https://ci-apps.yunohost.org/ci/apps/easyappointments/) ![Working status](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg)
[![Install Easy!Appointments with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments) [![Install Easy!Appointments with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments)
@ -30,7 +30,7 @@ The application is designed to be flexible enough so that it can handle any ente
- Translated user interface. - Translated user interface.
**Shipped version:** 1.4.3~ynh3 **Shipped version:** 1.5.0~ynh1
**Demo:** <https://demo.easyappointments.org/> **Demo:** <https://demo.easyappointments.org/>

View file

@ -5,7 +5,7 @@ No se debe editar a mano.
# Easy!Appointments para Yunohost # Easy!Appointments para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/easyappointments.svg)](https://dash.yunohost.org/appci/app/easyappointments) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg) [![Nivel de integración](https://dash.yunohost.org/integration/easyappointments.svg)](https://ci-apps.yunohost.org/ci/apps/easyappointments/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg)
[![Instalar Easy!Appointments con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments) [![Instalar Easy!Appointments con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments)
@ -30,7 +30,7 @@ The application is designed to be flexible enough so that it can handle any ente
- Translated user interface. - Translated user interface.
**Versión actual:** 1.4.3~ynh3 **Versión actual:** 1.5.0~ynh1
**Demo:** <https://demo.easyappointments.org/> **Demo:** <https://demo.easyappointments.org/>

View file

@ -5,7 +5,7 @@ EZ editatu eskuz.
# Easy!Appointments YunoHost-erako # Easy!Appointments YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/easyappointments.svg)](https://dash.yunohost.org/appci/app/easyappointments) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg) [![Integrazio maila](https://dash.yunohost.org/integration/easyappointments.svg)](https://ci-apps.yunohost.org/ci/apps/easyappointments/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg)
[![Instalatu Easy!Appointments YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments) [![Instalatu Easy!Appointments YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments)
@ -30,7 +30,7 @@ The application is designed to be flexible enough so that it can handle any ente
- Translated user interface. - Translated user interface.
**Paketatutako bertsioa:** 1.4.3~ynh3 **Paketatutako bertsioa:** 1.5.0~ynh1
**Demoa:** <https://demo.easyappointments.org/> **Demoa:** <https://demo.easyappointments.org/>

View file

@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
# Easy!Appointments pour YunoHost # Easy!Appointments pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/easyappointments.svg)](https://dash.yunohost.org/appci/app/easyappointments) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/easyappointments.svg)](https://ci-apps.yunohost.org/ci/apps/easyappointments/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg)
[![Installer Easy!Appointments avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments) [![Installer Easy!Appointments avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments)
@ -29,7 +29,7 @@ Easy!Appointments est une application Web hautement personnalisable qui permet a
- Interface utilisateur traduite. - Interface utilisateur traduite.
**Version incluse:** 1.4.3~ynh3 **Version incluse:** 1.5.0~ynh1
**Démo:** <https://demo.easyappointments.org/> **Démo:** <https://demo.easyappointments.org/>

View file

@ -5,7 +5,7 @@ NON debe editarse manualmente.
# Easy!Appointments para YunoHost # Easy!Appointments para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/easyappointments.svg)](https://dash.yunohost.org/appci/app/easyappointments) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg) [![Nivel de integración](https://dash.yunohost.org/integration/easyappointments.svg)](https://ci-apps.yunohost.org/ci/apps/easyappointments/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg)
[![Instalar Easy!Appointments con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments) [![Instalar Easy!Appointments con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments)
@ -30,7 +30,7 @@ The application is designed to be flexible enough so that it can handle any ente
- Translated user interface. - Translated user interface.
**Versión proporcionada:** 1.4.3~ynh3 **Versión proporcionada:** 1.5.0~ynh1
**Demo:** <https://demo.easyappointments.org/> **Demo:** <https://demo.easyappointments.org/>

View file

@ -5,7 +5,7 @@
# YunoHost 上的 Easy!Appointments # YunoHost 上的 Easy!Appointments
[![集成程度](https://dash.yunohost.org/integration/easyappointments.svg)](https://dash.yunohost.org/appci/app/easyappointments) ![工作状态](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg) [![集成程度](https://dash.yunohost.org/integration/easyappointments.svg)](https://ci-apps.yunohost.org/ci/apps/easyappointments/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/easyappointments.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/easyappointments.maintain.svg)
[![使用 YunoHost 安装 Easy!Appointments](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments) [![使用 YunoHost 安装 Easy!Appointments](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=easyappointments)
@ -30,7 +30,7 @@ The application is designed to be flexible enough so that it can handle any ente
- Translated user interface. - Translated user interface.
**分发版本:** 1.4.3~ynh3 **分发版本:** 1.5.0~ynh1
**演示:** <https://demo.easyappointments.org/> **演示:** <https://demo.easyappointments.org/>

View file

@ -5,7 +5,7 @@ name = "Easy!Appointments"
description.en = "Open Source Appointment Scheduler" description.en = "Open Source Appointment Scheduler"
description.fr = "Planificateur de rendez-vous Open Source" description.fr = "Planificateur de rendez-vous Open Source"
version = "1.4.3~ynh3" version = "1.5.0~ynh1"
maintainers = ["eric_G"] maintainers = ["eric_G"]
@ -17,7 +17,7 @@ admindoc = "https://easyappointments.org/docs.html#1.4.3/readme.md"
code = "https://github.com/alextselegidis/easyappointments" code = "https://github.com/alextselegidis/easyappointments"
[integration] [integration]
yunohost = ">= 11.2" yunohost = ">= 11.2.20"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
@ -46,8 +46,8 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/alextselegidis/easyappointments/releases/download/1.4.3/easyappointments-1.4.3.zip" url = "https://github.com/alextselegidis/easyappointments/releases/download/1.5.0/easyappointments-1.5.0.zip"
sha256 = "8b7f56269f2ce2ac21195bbce96f9f35f465da92eb4d48ca8027a9df7e5106eb" sha256 = "2875e77fd019167ea62b304a93a39a3c0a402e602b642aaaf0d1f5c749265be1"
in_subdir = false in_subdir = false
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"
@ -59,7 +59,7 @@ ram.runtime = "50M"
main.url = "/" main.url = "/"
[resources.apt] [resources.apt]
packages = "mariadb-server, php8.2-mbstring, php8.2-gd, php8.2-curl, php8.2-mysql" packages = "mariadb-server, php8.3-mbstring, php8.3-gd, php8.3-curl, php8.3-mysql"
[resources.database] [resources.database]
type = "mysql" type = "mysql"

View file

@ -22,15 +22,11 @@ ynh_print_info --message="Declaring files to be backed up..."
ynh_backup --src_path="$install_dir" ynh_backup --src_path="$install_dir"
#================================================= #=================================================
# BACKUP THE NGINX CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# BACKUP THE PHP-FPM CONFIGURATION
#=================================================
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
#================================================= #=================================================

View file

@ -26,7 +26,7 @@ ynh_change_url_nginx_config
ynh_script_progression --message="Updating a configuration file..." --weight=1 ynh_script_progression --message="Updating a configuration file..." --weight=1
domain=$new_domain domain=$new_domain
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" ynh_add_config --template="config.php" --destination="$install_dir/config.php"
chmod 400 "$install_dir/config.php" chmod 400 "$install_dir/config.php"
chown $app:$app "$install_dir/config.php" chown $app:$app "$install_dir/config.php"

View file

@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
ynh_script_progression --message="Setting up source files..." --weight=7 ynh_script_progression --message="Setting up source files..." --weight=7
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
@ -26,11 +25,9 @@ chmod -R 770 "$install_dir/storage"
#================================================= #=================================================
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
# Create a dedicated PHP-FPM config ynh_add_fpm_config
ynh_add_fpm_config --usage=low --footprint=low
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP
@ -39,7 +36,7 @@ ynh_add_fpm_config --usage=low --footprint=low
#================================================= #=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1 ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="../conf/config.php" --destination="$install_dir/config.php" ynh_add_config --template="config.php" --destination="$install_dir/config.php"
chmod 400 "$install_dir/config.php" chmod 400 "$install_dir/config.php"
chown $app "$install_dir/config.php" chown $app "$install_dir/config.php"

View file

@ -16,10 +16,8 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
# Remove the dedicated NGINX config
ynh_remove_nginx_config ynh_remove_nginx_config
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config ynh_remove_fpm_config
#================================================= #=================================================

View file

@ -9,23 +9,12 @@
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
ynh_script_progression --message="Upgrading source files..." --weight=1
if [ "$upgrade_type" == "UPGRADE_APP" ] ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/"
then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/"
fi
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
@ -36,11 +25,9 @@ chmod -R 770 "$install_dir/storage"
#================================================= #=================================================
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
# Create a dedicated NGINX config
ynh_add_nginx_config ynh_add_nginx_config
# Create a dedicated PHP-FPM config ynh_add_fpm_config
ynh_add_fpm_config --usage=low --footprint=low
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT