From 61860e93a4bb6cfd9ad2a1ae3518bf3bfa79452d Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:54:02 -0500 Subject: [PATCH 01/17] Update install Grant write permission to owner for .env --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 93a679c..b3b8717 100755 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ ynh_script_progression --message="Modifying a config file..." --weight=1 ynh_add_config --template="default.env" --destination="$install_dir/.env" -chmod 400 "$install_dir/.env" +chmod 600 "$install_dir/.env" chown $app:$app "$install_dir/.env" #================================================= From 434c411d876029dc5867d8084882851620a22ad8 Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:54:40 -0500 Subject: [PATCH 02/17] Update upgrade Give write permission to owner for .env --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index de23274..0b15889 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -69,7 +69,7 @@ then ynh_add_config --template="default.env" --destination="$install_dir/.env" - chmod 400 "$install_dir/.env" + chmod 600 "$install_dir/.env" chown $app:$app "$install_dir/.env" fi From ee21a97d8d968b02e5a62ff5ed65714e67a3a074 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 4 Aug 2024 03:35:29 +0200 Subject: [PATCH 03/17] Upgrade sources - `main` v5.10.17: https://github.com/invoiceninja/invoiceninja/releases/tag/v5.10.17 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 70d35d1..0d32d66 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.10.12~ynh1" +version = "5.10.17~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.10.12/invoiceninja.tar" - sha256 = "c6062fd860ae1a016c8453b313a8a3f5a717b0c6245a7493068d58eda7a541d8" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.17/invoiceninja.tar" + sha256 = "68fe9c22307db021905a4f61d028e305a10bd7f6fd735b8c0e4a76c5e648cf12" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From 2d7a8de721306fc8ac9e5aacb8b5701f64ef5486 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 4 Aug 2024 01:35:31 +0000 Subject: [PATCH 04/17] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 4 ++-- README_zh_Hans.md | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 60ccdf8..85a07a9 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.10.12~ynh1 +**Shipped version:** 5.10.17~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 14eddf3..40ce269 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.10.12~ynh1 +**Versión actual:** 5.10.17~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 9faaaac..36d7c68 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.10.12~ynh1 +**Paketatutako bertsioa:** 5.10.17~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 1904686..32e4507 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.10.12~ynh1 +**Version incluse :** 5.10.17~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index ea7f054..1ae83a7 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.10.12~ynh1 +**Versión proporcionada:** 5.10.17~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index dd683b7..68d83cb 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,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. -**Versi terkirim:** 5.10.12~ynh1 +**Versi terkirim:** 5.10.17~ynh1 **Demo:** @@ -32,7 +32,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, tr - Website aplikasi resmi: - Dokumentasi pengguna resmi: - Dokumentasi admin resmi: -- Repositori kode aplikasi hulu: +- Depot kode aplikasi hulu: - Gudang YunoHost: - Laporkan bug: diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 452a35d..0c40db8 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.10.12~ynh1 +**分发版本:** 5.10.17~ynh1 **演示:** From 1ce4f36ddcf9033081830b77a158908cf1a8a035 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 4 Aug 2024 16:35:32 +0000 Subject: [PATCH 05/17] Auto-update READMEs --- README_id.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_id.md b/README_id.md index dd683b7..0d6012f 100644 --- a/README_id.md +++ b/README_id.md @@ -32,7 +32,7 @@ Invoice Ninja is a self-hosted invoicing platform to create & email invoices, tr - Website aplikasi resmi: - Dokumentasi pengguna resmi: - Dokumentasi admin resmi: -- Repositori kode aplikasi hulu: +- Depot kode aplikasi hulu: - Gudang YunoHost: - Laporkan bug: From 6d0ac41466d29034a93a80f58842b011e3f20eab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 18:35:47 +0200 Subject: [PATCH 06/17] cleaning --- scripts/backup | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/scripts/backup b/scripts/backup index dbbf81c..b7f5254 100755 --- a/scripts/backup +++ b/scripts/backup @@ -22,23 +22,13 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= 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" -#================================================= -# SPECIFIC BACKUP -#================================================= -# BACKUP A CRON FILE -#================================================= - ynh_backup --src_path="/etc/cron.d/$app" #================================================= From d5f1158a6f397197db1ecb4ec0c2b842926e516d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 18:50:22 +0200 Subject: [PATCH 07/17] bump php --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 70d35d1..43adc47 100644 --- a/manifest.toml +++ b/manifest.toml @@ -73,7 +73,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.3-bcmath, php8.3-gmp, php8.3-fileinfo, php8.3-gd, php8.3-mbstring, php8.3-pdo, php8.3-xml, php8.3-curl, php8.3-zip, php8.3-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" From ca204fb874f341bb18dfcc2a2a1f0ede9db15945 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 18:52:12 +0200 Subject: [PATCH 08/17] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 43adc47..e73b016 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.10.12~ynh1" +version = "5.10.12~ynh2" maintainers = ["Sebastian Gumprich"] From 7ccd1ab893454c772bf356cb54a8d0ae4318b8b7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 4 Aug 2024 16:52:16 +0000 Subject: [PATCH 09/17] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_zh_Hans.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 60ccdf8..57b58bf 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.10.12~ynh1 +**Shipped version:** 5.10.12~ynh2 **Demo:** diff --git a/README_es.md b/README_es.md index 14eddf3..d0f3db2 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.10.12~ynh1 +**Versión actual:** 5.10.12~ynh2 **Demo:** diff --git a/README_eu.md b/README_eu.md index 9faaaac..4dfae54 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.10.12~ynh1 +**Paketatutako bertsioa:** 5.10.12~ynh2 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 1904686..e2de27b 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.10.12~ynh1 +**Version incluse :** 5.10.12~ynh2 **Démo :** diff --git a/README_gl.md b/README_gl.md index ea7f054..11374fd 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.10.12~ynh1 +**Versión proporcionada:** 5.10.12~ynh2 **Demo:** diff --git a/README_id.md b/README_id.md index 0d6012f..4ba3fac 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,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. -**Versi terkirim:** 5.10.12~ynh1 +**Versi terkirim:** 5.10.12~ynh2 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 452a35d..cfd66bc 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.10.12~ynh1 +**分发版本:** 5.10.12~ynh2 **演示:** From 1140d215a0c605f48166efa033400e768233397c Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 4 Aug 2024 16:54:09 +0000 Subject: [PATCH 10/17] Auto-update READMEs --- README_eu.md | 1 + README_gl.md | 1 + 2 files changed, 2 insertions(+) diff --git a/README_eu.md b/README_eu.md index e976250..36d7c68 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,6 +18,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.10.17~ynh1 **Demoa:** diff --git a/README_gl.md b/README_gl.md index 6c92d04..1ae83a7 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,6 +18,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.10.17~ynh1 **Demo:** From 206f636c566a8520a4dfddcae187bc2846e80656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:32:49 +0200 Subject: [PATCH 11/17] fix --- conf/default.env | 1 + manifest.toml | 2 +- scripts/install | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/default.env b/conf/default.env index e03cada..1e1fb5b 100644 --- a/conf/default.env +++ b/conf/default.env @@ -51,6 +51,7 @@ NINJA_ENVIRONMENT=selfhost #options - snappdf / phantom / hosted_ninja PDF_GENERATOR=snappdf +SNAPPDF_CHROMIUM_PATH=/usr/bin/chromium PHANTOMJS_KEY='__PHANTOMJS_KEY__' PHANTOMJS_SECRET=__APP_KEY__ diff --git a/manifest.toml b/manifest.toml index 76750ec..ac9afa4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -73,7 +73,7 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "mariadb-server, php8.3-bcmath, php8.3-gmp, php8.3-fileinfo, php8.3-gd, php8.3-mbstring, php8.3-pdo, php8.3-xml, php8.3-curl, php8.3-zip, php8.3-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.3-bcmath, php8.3-gmp, php8.3-fileinfo, php8.3-gd, php8.3-mbstring, php8.3-pdo, php8.3-xml, php8.3-curl, php8.3-zip, php8.3-mysql, libnss3-dev, libatk1.0-0, libatk-bridge2.0-0, libxcomposite1, libxrandr2, libasound2, libcups2, libdrm2, libxkbcommon0, libxdamage1, libxfixes3, libgbm1, libpango-1.0-0, libcairo2, chromium" [resources.database] type = "mysql" diff --git a/scripts/install b/scripts/install index b3b8717..30ba5e9 100755 --- a/scripts/install +++ b/scripts/install @@ -76,9 +76,9 @@ 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 + #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 {} \; + #find vendor/beganovich/snappdf/versions/*-Linux_x64/chrome-linux/ -type f -name chrome* ! -name "*.*" -print -exec chmod 755 {} \; popd chmod 750 "$install_dir" From 029939f92ce01e70af697184fdaa5a8e9f13c614 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:43:56 +0200 Subject: [PATCH 12/17] cleaning --- scripts/install | 6 ------ scripts/upgrade | 6 ------ 2 files changed, 12 deletions(-) diff --git a/scripts/install b/scripts/install index 30ba5e9..2c91c39 100755 --- a/scripts/install +++ b/scripts/install @@ -73,12 +73,6 @@ pushd "$install_dir" php$phpversion artisan optimize --no-interaction --verbose php$phpversion artisan view:clear php$phpversion artisan cache:clear - - # 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" diff --git a/scripts/upgrade b/scripts/upgrade index 0b15889..8a2c1a5 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -100,12 +100,6 @@ pushd "$install_dir" # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) php$phpversion artisan view:clear php$phpversion artisan cache:clear - - # 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 4d1cd0b7b31c5a32329cbae4857bdd9cbd825b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:44:26 +0200 Subject: [PATCH 13/17] Update upgrade --- scripts/upgrade | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8a2c1a5..cc7a027 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,23 +9,13 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -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" --full_replace=1 --keep=".env public/storage" -fi +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep=".env public/storage" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" @@ -62,16 +52,12 @@ email="$(ynh_user_get_info --username=$admin --key=mail)" #================================================= # UPDATE A CONFIG FILE #================================================= +ynh_script_progression --message="Updating a configuration file..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Updating a configuration file..." --weight=1 +ynh_add_config --template="default.env" --destination="$install_dir/.env" - ynh_add_config --template="default.env" --destination="$install_dir/.env" - - chmod 600 "$install_dir/.env" - chown $app:$app "$install_dir/.env" -fi +chmod 600 "$install_dir/.env" +chown $app:$app "$install_dir/.env" #================================================= # UPGRADE DATABASE From e1658a348f6d825851e466de7de56f32f28d1191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:50:20 +0200 Subject: [PATCH 14/17] Update manifest.toml --- manifest.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifest.toml b/manifest.toml index ac9afa4..d4d4ed6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -71,6 +71,10 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" + api.url = "/api" + api.allowed = "visitors" + api.auth_header = false + api.show_tile = false [resources.apt] packages = "mariadb-server, php8.3-bcmath, php8.3-gmp, php8.3-fileinfo, php8.3-gd, php8.3-mbstring, php8.3-pdo, php8.3-xml, php8.3-curl, php8.3-zip, php8.3-mysql, libnss3-dev, libatk1.0-0, libatk-bridge2.0-0, libxcomposite1, libxrandr2, libasound2, libcups2, libdrm2, libxkbcommon0, libxdamage1, libxfixes3, libgbm1, libpango-1.0-0, libcairo2, chromium" From 8e0bd5ce93188b14e3bed2c57b6743b06dc0122c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 4 Aug 2024 19:53:02 +0200 Subject: [PATCH 15/17] Update upgrade --- scripts/upgrade | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index cc7a027..4676115 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -67,11 +67,11 @@ ynh_script_progression --message="Upgrading the database..." --weight=1 pushd "$install_dir" # Clear caches # https://github.com/invoiceninja/invoiceninja/issues/7397 - ynh_secure_remove --file=$install_dir/bootstrap/cache/ - ynh_secure_remove --file=$install_dir/storage/framework/cache/ - ynh_secure_remove --file=$install_dir/storage/framework/sessions/ + #ynh_secure_remove --file=$install_dir/bootstrap/cache/ + #ynh_secure_remove --file=$install_dir/storage/framework/cache/ + #ynh_secure_remove --file=$install_dir/storage/framework/sessions/ - mkdir -p $install_dir/bootstrap/cache/ $install_dir/storage/framework/cache/ $install_dir/storage/framework/sessions/ + #mkdir -p $install_dir/bootstrap/cache/ $install_dir/storage/framework/cache/ $install_dir/storage/framework/sessions/ # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) php$phpversion artisan view:clear @@ -84,8 +84,8 @@ pushd "$install_dir" php$phpversion artisan optimize --no-interaction --verbose # clear cached stuff under /app/data/storage/framework (https://github.com/laravel/framework/issues/17377) - php$phpversion artisan view:clear - php$phpversion artisan cache:clear + #php$phpversion artisan view:clear + #php$phpversion artisan cache:clear popd chmod 750 "$install_dir" From 917e2e11c5ed3cc43377290348c2fe6b83b35cc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 5 Aug 2024 08:29:28 +0200 Subject: [PATCH 16/17] Update manifest.toml --- manifest.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index d4d4ed6..76a3cec 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.10.17~ynh1" +version = "5.10.18~ynh1" maintainers = ["Sebastian Gumprich"] @@ -18,7 +18,7 @@ userdoc = "https://invoiceninja.github.io/" code = "https://github.com/invoiceninja/invoiceninja" [integration] -yunohost = ">= 11.2" +yunohost = ">= 11.2.20" architectures = "all" multi_instance = true @@ -58,8 +58,8 @@ ram.runtime = "50M" [resources.sources] [resources.sources.main] - url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.17/invoiceninja.tar" - sha256 = "68fe9c22307db021905a4f61d028e305a10bd7f6fd735b8c0e4a76c5e648cf12" + url = "https://github.com/invoiceninja/invoiceninja/releases/download/v5.10.18/invoiceninja.tar" + sha256 = "2904126a058881af5072102b0456414030e733b6d52cab43d8ac9c6afa01d406" format = "tar.gz" in_subdir = false autoupdate.strategy = "latest_github_release" From 76a6c8d2a5c70ab4bc116d2abef19b5d7584bac7 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 5 Aug 2024 06:29:33 +0000 Subject: [PATCH 17/17] Auto-update READMEs --- README.md | 2 +- README_es.md | 2 +- README_eu.md | 2 +- README_fr.md | 2 +- README_gl.md | 2 +- README_id.md | 2 +- README_zh_Hans.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 85a07a9..9694f52 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.10.17~ynh1 +**Shipped version:** 5.10.18~ynh1 **Demo:** diff --git a/README_es.md b/README_es.md index 40ce269..7f9a1a3 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.10.17~ynh1 +**Versión actual:** 5.10.18~ynh1 **Demo:** diff --git a/README_eu.md b/README_eu.md index 36d7c68..6f72143 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.10.17~ynh1 +**Paketatutako bertsioa:** 5.10.18~ynh1 **Demoa:** diff --git a/README_fr.md b/README_fr.md index 32e4507..5589c9f 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.10.17~ynh1 +**Version incluse :** 5.10.18~ynh1 **Démo :** diff --git a/README_gl.md b/README_gl.md index 1ae83a7..99a6b12 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.10.17~ynh1 +**Versión proporcionada:** 5.10.18~ynh1 **Demo:** diff --git a/README_id.md b/README_id.md index 68d83cb..db9c0ae 100644 --- a/README_id.md +++ b/README_id.md @@ -19,7 +19,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. -**Versi terkirim:** 5.10.17~ynh1 +**Versi terkirim:** 5.10.18~ynh1 **Demo:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 0c40db8..0c42595 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.10.17~ynh1 +**分发版本:** 5.10.18~ynh1 **演示:**