From 9f54ee6e38da43cb28ffbcd26aa9aeb227694a77 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 29 Jun 2024 03:42:40 +0200 Subject: [PATCH 1/4] Upgrade to v5.10.4 https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.4 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index fc79d16..a2e5f6d 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.9.2~ynh1" +version = "5.10.4~ynh1" maintainers = ["Sebastian Gumprich"] @@ -58,8 +58,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.9.2/invoiceninja.zip" - sha256 = "bb470136407d4cede9739e9401d792d0f098b51ed21661e7eb6e14aebdf87114" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.4/invoiceninja.tar" + sha256 = "1f57020738a3d735dc1d5b16da4f915886a184c099e78f96be7c2d9fa78b7d70" in_subdir = false autoupdate.strategy = "latest_github_release" autoupdate.asset = "invoiceninja.tar" From 6980234312683474b5cebd1d6e3cce0528c38b99 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sat, 29 Jun 2024 01:42:41 +0000 Subject: [PATCH 2/4] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ca9df1e..ed810fa 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,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. -**Shipped version:** 5.9.2~ynh1 +**Shipped version:** 5.10.4~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index e32a858..4f1e863 100644 --- a/README_es.md +++ b/README_es.md @@ -19,7 +19,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. -**Versión actual:** 5.9.2~ynh1 +**Versión actual:** 5.10.4~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 8a6e2dd..c627511 100644 --- a/README_eu.md +++ b/README_eu.md @@ -19,7 +19,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. -**Paketatutako bertsioa:** 5.9.2~ynh1 +**Paketatutako bertsioa:** 5.10.4~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 8917708..46afe17 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,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. -**Version incluse :** 5.9.2~ynh1 +**Version incluse :** 5.10.4~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 32a7947..0d56f61 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,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. -**Versión proporcionada:** 5.9.2~ynh1 +**Versión proporcionada:** 5.10.4~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index e44e2e1..59d2c72 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -19,7 +19,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, track payments and expenses, and time billable tasks & projects for clients. -**分发版本:** 5.9.2~ynh1 +**分发版本:** 5.10.4~ynh1 **演示:** From 979c9d3cdde69010d5fcfd4024d0a4c19363218d Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sun, 30 Jun 2024 19:40:27 +0200 Subject: [PATCH 3/4] fix pdf generation error --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 4d1a9b5..93a679c 100755 --- a/scripts/install +++ b/scripts/install @@ -77,6 +77,8 @@ pushd "$install_dir" # install snappdf, since it isn't included by default anymore since # 5.5.12: https://invoiceninja.github.io/docs/self-host-troubleshooting/#pdf-conversion-issues php$phpversion vendor/bin/snappdf download + # see: https://forum.cloudron.io/topic/11932/invoice-ninja-server-500-internal-error/29 + find vendor/beganovich/snappdf/versions/*-Linux_x64/chrome-linux/ -type f -name chrome* ! -name "*.*" -print -exec chmod 755 {} \; popd chmod 750 "$install_dir" From ca382e478f468881ed56410b58665de0251a2f8f Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Sun, 30 Jun 2024 20:01:23 +0200 Subject: [PATCH 4/4] set format to wrong value bc otherwise the helper wont extract it --- manifest.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.toml b/manifest.toml index a2e5f6d..44e18ae 100644 --- a/manifest.toml +++ b/manifest.toml @@ -60,6 +60,7 @@ ram.runtime = "50M" [resources.sources.main] url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.4/invoiceninja.tar" sha256 = "1f57020738a3d735dc1d5b16da4f915886a184c099e78f96be7c2d9fa78b7d70" + format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" autoupdate.asset = "invoiceninja.tar"