diff --git a/README.md b/README.md index 38a31e7..6f50f84 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Invoice Ninja is the the leading self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Shipped version:** 5.7.48~ynh1 +**Shipped version:** 5.7.57~ynh1 **Demo:** https://react.invoicing.co/demo diff --git a/README_fr.md b/README_fr.md index dae0d90..3fd651c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Invoice Ninja is the the leading self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**Version incluse :** 5.7.48~ynh1 +**Version incluse :** 5.7.57~ynh1 **Démo :** https://react.invoicing.co/demo diff --git a/manifest.toml b/manifest.toml index 31b81b9..b45ffab 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "InvoiceNinja 5" 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" -version = "5.7.48~ynh1" +version = "5.7.57~ynh1" maintainers = ["Sebastian Gumprich"] @@ -18,11 +18,14 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 11.1.19" +yunohost = ">= 11.2" architectures = "all" multi_instance = true + ldap = false + sso = false + disk = "50M" ram.build = "200M" ram.runtime = "50M" @@ -38,7 +41,7 @@ ram.runtime = "50M" [install.language] ask.en = "Choose the application language" ask.fr = "Choisissez la langue de l'application" - type = "string" + type = "select" choices = ["fr", "en"] default = "fr" @@ -55,11 +58,11 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.7.48/invoiceninja.zip" - sha256 = "636e7501eae0420af43946cb31aa4615f5230660411da427ee9c7d44ab19be1d" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.7.57/invoiceninja.zip" + sha256 = "b3340715e7a56cf10f0e20c03fb63f213f52963d756e7c1feb634222426af3de" in_subdir = false autoupdate.strategy = "latest_github_release" - autoupdate.asset = "invoiceninja.zip" + autoupdate.asset = "invoiceninja.zip" [resources.system_user] @@ -69,7 +72,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "mariadb-server php8.2-bcmath php8.2-gmp php8.2-fileinfo php8.2-gd php8.2-mbstring php8.2-pdo php8.2-xml php8.2-curl php8.2-zip php8.2-mysql libnss3-dev libatk1.0-0 libatk-bridge2.0-0 libxcomposite1 libxrandr2 libasound2 libcups2 libdrm2 libxkbcommon0 libxdamage1 libxfixes3 libgbm1 libpango-1.0-0 libcairo2" + packages = "mariadb-server, php8.2-bcmath, php8.2-gmp, php8.2-fileinfo, php8.2-gd, php8.2-mbstring, php8.2-pdo, php8.2-xml, php8.2-curl, php8.2-zip, php8.2-mysql, libnss3-dev, libatk1.0-0, libatk-bridge2.0-0, libxcomposite1, libxrandr2, libasound2, libcups2, libdrm2, libxkbcommon0, libxdamage1, libxfixes3, libgbm1, libpango-1.0-0, libcairo2" [resources.database] type = "mysql" diff --git a/scripts/install b/scripts/install index 598c9e8..fd9eba3 100755 --- a/scripts/install +++ b/scripts/install @@ -47,7 +47,7 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config # Create a dedicated nginx config ynh_add_nginx_config @@ -91,7 +91,7 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression --message="Adding a cron job..." --weight=1 -ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app" diff --git a/scripts/upgrade b/scripts/upgrade index 9e81856..91c535f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -36,12 +36,12 @@ chown -R $app:www-data "$install_dir" ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 # Create a dedicated PHP-FPM config -ynh_add_fpm_config --usage=low --footprint=low +ynh_add_fpm_config -# Create a dedicated nginx config +# Create a dedicated NGINX config ynh_add_nginx_config -ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app" +ynh_add_config --template="cron" --destination="/etc/cron.d/$app" chown root: "/etc/cron.d/$app" chmod 644 "/etc/cron.d/$app"