Merge pull request #383 from YunoHost-Apps/ci-auto-update-5.11.56

Upgrade to v5.11.56
This commit is contained in:
yalh76
2025-03-17 03:46:08 +01:00
committed by GitHub
18 changed files with 94 additions and 45 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ It shall NOT be edited by hand.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Shipped version:** 5.11.55~ynh1 **Shipped version:** 5.11.56~ynh1
**Demo:** <https://react.invoicing.co/demo> **Demo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ No se debe editar a mano.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Versión actual:** 5.11.55~ynh1 **Versión actual:** 5.11.56~ynh1
**Demo:** <https://react.invoicing.co/demo> **Demo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ EZ editatu eskuz.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Paketatutako bertsioa:** 5.11.55~ynh1 **Paketatutako bertsioa:** 5.11.56~ynh1
**Demoa:** <https://react.invoicing.co/demo> **Demoa:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ Il NE doit PAS être modifié à la main.
Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients. Invoice Ninja est une plate-forme de facturation auto-hébergée permettant de créer et d'envoyer des factures par courrier électronique, de suivre les paiements et les dépenses, ainsi que de chronométrer les tâches et projets facturables pour les clients.
**Version incluse:** 5.11.55~ynh1 **Version incluse:** 5.11.56~ynh1
**Démo:** <https://react.invoicing.co/demo> **Démo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ NON debe editarse manualmente.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Versión proporcionada:** 5.11.55~ynh1 **Versión proporcionada:** 5.11.56~ynh1
**Demo:** <https://react.invoicing.co/demo> **Demo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ Ini TIDAK boleh diedit dengan tangan.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Versi terkirim:** 5.11.55~ynh1 **Versi terkirim:** 5.11.56~ynh1
**Demo:** <https://react.invoicing.co/demo> **Demo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ Hij mag NIET handmatig aangepast worden.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Geleverde versie:** 5.11.55~ynh1 **Geleverde versie:** 5.11.56~ynh1
**Demo:** <https://react.invoicing.co/demo> **Demo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@ Nie powinno być ono edytowane ręcznie.
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Dostarczona wersja:** 5.11.55~ynh1 **Dostarczona wersja:** 5.11.56~ynh1
**Demo:** <https://react.invoicing.co/demo> **Demo:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**Поставляемая версия:** 5.11.55~ynh1 **Поставляемая версия:** 5.11.56~ynh1
**Демо-версия:** <https://react.invoicing.co/demo> **Демо-версия:** <https://react.invoicing.co/demo>
+1 -1
View File
@@ -21,7 +21,7 @@
Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients.
**分发版本:** 5.11.55~ynh1 **分发版本:** 5.11.56~ynh1
**演示:** <https://react.invoicing.co/demo> **演示:** <https://react.invoicing.co/demo>
+10 -8
View File
@@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2 packaging_format = 2
id = "invoiceninja5" id = "invoiceninja5"
@@ -5,7 +7,7 @@ name = "InvoiceNinja 5"
description.en = "Create and email invoices, track payments, expenses, and time tasks" description.en = "Create and email invoices, track payments, expenses, and time tasks"
description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires" description.fr = "Créer et envoyer des factures par e-mail, suivre les paiements, les dépenses et les tâches horaires"
version = "5.11.55~ynh1" version = "5.11.56~ynh1"
maintainers = ["Sebastian Gumprich"] maintainers = ["Sebastian Gumprich"]
@@ -58,13 +60,13 @@ ram.runtime = "50M"
[resources.sources] [resources.sources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.11.55/invoiceninja.tar" url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.11.56/invoiceninja.tar"
sha256 = "9133b41a0a0eb6ce17b888a762d3fdb84165b95ec547cebb86b69af67148625e" sha256 = "979498b1e5afffa8de305b919bd799ba6c6a2b343d5a82ce94f9f6b969a61b03"
format = "tar.gz" format = "tar.gz"
in_subdir = false in_subdir = false
autoupdate.strategy = "latest_github_release" autoupdate.strategy = "latest_github_release"
autoupdate.asset = "invoiceninja.tar$" autoupdate.asset = "invoiceninja.tar$"
[resources.system_user] [resources.system_user]
+13 -2
View File
@@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
@@ -12,12 +17,18 @@ ynh_print_info "Declaring files to be backed up..."
ynh_backup "$install_dir" ynh_backup "$install_dir"
#================================================= #=================================================
# SYSTEM CONFIGURATION # BACKUP SYSTEM CONFIGURATION
#================================================= #=================================================
# Backup the PHP-FPM configuration
ynh_backup "/etc/php/$php_version/fpm/pool.d/$app.conf"
# Backup the NGINX configuration
ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup "/etc/php/$php_version/fpm/pool.d/$app.conf" #=================================================
# BACKUP VARIOUS FILES
#=================================================
ynh_backup "/etc/cron.d/$app" ynh_backup "/etc/cron.d/$app"
+5
View File
@@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
@@ -8,6 +12,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
ynh_script_progression "Updating NGINX web server configuration..." ynh_script_progression "Updating NGINX web server configuration..."
# this will most likely adjust NGINX config correctly
ynh_config_change_url_nginx ynh_config_change_url_nginx
#================================================= #=================================================
+15 -13
View File
@@ -1,10 +1,14 @@
#!/bin/bash #!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
# GENERATE KEYS AND RETRIEVE ADMIN USER INFO # INITIALIZE AND STORE SETTINGS
#================================================= #=================================================
api_secret="$(ynh_string_random --length=32)" api_secret="$(ynh_string_random --length=32)"
@@ -14,11 +18,6 @@ phantomjs_key="$(ynh_string_random --length=32)"
email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)" email_fullname="$(ynh_user_get_info --username=$admin --key=fullname)"
email="$(ynh_user_get_info --username=$admin --key=mail)" email="$(ynh_user_get_info --username=$admin --key=mail)"
#=================================================
# STORE KEYS TO APP SETTINGS
#=================================================
ynh_script_progression "Storing secrets to app settings..."
ynh_app_setting_set --key=api_secret --value=$api_secret ynh_app_setting_set --key=api_secret --value=$api_secret
ynh_app_setting_set --key=app_key --value=$app_key ynh_app_setting_set --key=app_key --value=$app_key
ynh_app_setting_set --key=phantomjs_key --value=$phantomjs_key ynh_app_setting_set --key=phantomjs_key --value=$phantomjs_key
@@ -28,24 +27,27 @@ ynh_app_setting_set --key=phantomjs_key --value=$phantomjs_key
#================================================= #=================================================
ynh_script_progression "Setting up source files..." ynh_script_progression "Setting up source files..."
# Download, check integrity, uncompress and patch the source from manifest.toml
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
#=================================================
# APP INITIAL CONFIGURATION
#=================================================
ynh_script_progression "Adding $app's configuration files..."
ynh_config_add --template="default.env" --destination="$install_dir/.env"
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION
#================================================= #=================================================
ynh_script_progression "Adding system configurations related to $app..." ynh_script_progression "Adding system configurations related to $app..."
# Create a PHP-FPM config (with conf/extra_php-fpm.conf being appended to it)
ynh_config_add_phpfpm ynh_config_add_phpfpm
# Create a dedicated NGINX config using the conf/nginx.conf template
ynh_config_add_nginx ynh_config_add_nginx
#=================================================
# MODIFY A CONFIG FILE
#=================================================
ynh_script_progression "Updating configuration..."
ynh_config_add --template="default.env" --destination="$install_dir/.env"
#================================================= #=================================================
# BUILD THE APPLICATION # BUILD THE APPLICATION
#================================================= #=================================================
+4
View File
@@ -1,5 +1,9 @@
#!/bin/bash #!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
+13 -3
View File
@@ -1,5 +1,10 @@
#!/bin/bash #!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
# Keep this path for calling _common.sh inside the execution's context of backup and restore scripts
source ../settings/scripts/_common.sh source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
@@ -26,14 +31,19 @@ ynh_restore "/etc/php/$php_version/fpm/pool.d/$app.conf"
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
#=================================================
# RESTORE VARIOUS FILES
#=================================================
ynh_restore "/etc/cron.d/$app" ynh_restore "/etc/cron.d/$app"
#================================================= #=================================================
# RELOAD NGINX AND PHP-FPM # RELOAD NGINX AND PHP-FPM OR THE APP SERVICE
#================================================= #=================================================
ynh_script_progression "Reloading NGINX web server and PHP-FPM..." ynh_script_progression "Reloading NGINX web server and $app's service..."
ynh_systemctl --service="php$php_version-fpm" --action=reload
ynh_systemctl --service=php$php_version-fpm --action=reload
ynh_systemctl --service=nginx --action=reload ynh_systemctl --service=nginx --action=reload
#================================================= #=================================================
+14 -9
View File
@@ -1,12 +1,16 @@
#!/bin/bash #!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
# ENSURE BACKWARD COMPATIBILITY # ENSURE DOWNWARD COMPATIBILITY
#================================================= #=================================================
ynh_script_progression "Ensuring backward compatibility..." ynh_script_progression "Ensuring downward compatibility..."
# Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516 # Delete deprecated `firstname`/`lastname` settings. See upstream https://github.com/YunoHost/yunohost/pull/1516
ynh_app_setting_delete --key=email_firstname ynh_app_setting_delete --key=email_firstname
@@ -26,8 +30,16 @@ ynh_app_setting_set_default --key=phantomjs_key --value="$(ynh_string_random --l
#================================================= #=================================================
ynh_script_progression "Upgrading source files..." ynh_script_progression "Upgrading source files..."
# Download, check integrity, uncompress and patch the source from manifest.toml
ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env public/storage" ynh_setup_source --dest_dir="$install_dir" --full_replace --keep=".env public/storage"
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression "Updating $app's configuration files..."
ynh_config_add --template="default.env" --destination="$install_dir/.env"
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS
#================================================= #=================================================
@@ -39,13 +51,6 @@ ynh_config_add_nginx
ynh_config_add --template="cron" --destination="/etc/cron.d/$app" ynh_config_add --template="cron" --destination="/etc/cron.d/$app"
#=================================================
# UPDATE A CONFIG FILE
#=================================================
ynh_script_progression "Updating configuration..."
ynh_config_add --template="default.env" --destination="$install_dir/.env"
#================================================= #=================================================
# UPGRADE DATABASE # UPGRADE DATABASE
#================================================= #=================================================
+10
View File
@@ -1,7 +1,17 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
test_format = 1.0 test_format = 1.0
[default] [default]
# ------------
# Tests to run
# ------------
# -------------------------------
# Default args to use for install
# -------------------------------
# ------------------------------- # -------------------------------
# Commits to test upgrade from # Commits to test upgrade from
# ------------------------------- # -------------------------------