From 41f832edf48b6fd38945cdfb41251d721ac91464 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:59:51 +0100 Subject: [PATCH 1/5] cleaning --- conf/nginx.conf | 6 ------ conf/systemd.service | 2 +- manifest.toml | 2 +- scripts/_common.sh | 2 +- scripts/restore | 2 -- scripts/upgrade | 4 ++-- 6 files changed, 5 insertions(+), 13 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 7bca8ff..484c0d5 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -6,11 +6,5 @@ location ^~ __PATH__/ { proxy_set_header Connection "upgrade"; proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-For $remote_addr; - - # by default nginx times out connections in one minute proxy_read_timeout 1d; - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; - more_clear_input_headers 'Accept-Encoding'; } diff --git a/conf/systemd.service b/conf/systemd.service index 3dbd034..301bb0d 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,5 +1,5 @@ [Unit] -Description=Actual +Description=Actual: personal finance tool After=network.target [Service] diff --git a/manifest.toml b/manifest.toml index 0a4eb73..6d6e597 100644 --- a/manifest.toml +++ b/manifest.toml @@ -15,7 +15,7 @@ admindoc = "https://actualbudget.github.io/docs/" code = "https://github.com/actualbudget/actual-server" [integration] -yunohost = ">= 11.2.30" +yunohost = ">= 12.0.9" helpers_version = "2.1" architectures = "all" multi_instance = true diff --git a/scripts/_common.sh b/scripts/_common.sh index 87e1075..c5314c9 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,4 +4,4 @@ # COMMON VARIABLES AND CUSTOM HELPERS #================================================= -nodejs_version="20" +nodejs_version="22" diff --git a/scripts/restore b/scripts/restore index 08e55a8..2708f35 100755 --- a/scripts/restore +++ b/scripts/restore @@ -10,8 +10,6 @@ ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" -chown -R "$app:www-data" "$install_dir" - #================================================= # RESTORE THE CONFIG #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index cfd8357..a96931f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,9 +38,9 @@ yunohost service add $app --description="Local-first personal finance tool" --lo #================================================= # APP INITIAL CONFIGURATION #================================================= -ynh_script_progression "Adding $app's configuration files..." +#ynh_script_progression "Adding $app's configuration files..." -ynh_config_add --template=".env" --destination="$install_dir/.env" +#ynh_config_add --template=".env" --destination="$install_dir/.env" #================================================= # INSTALL ACTUAL From 1e2ad600b33f03cdb78ecbe53b8f2fde5b535e6b Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:59:58 +0100 Subject: [PATCH 2/5] Update manifest.toml --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 6d6e597..a653470 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Actual" description.en = "Local-first personal finance tool" description.fr = "Premier outil de finances personnelles local" -version = "25.1.0~ynh1" +version = "25.1.0~ynh2" maintainers = ["eric_G"] From 4db309603a6657249512be3b101a45ae28404dc1 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Mon, 27 Jan 2025 14:00:03 +0100 Subject: [PATCH 3/5] 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_nl.md | 2 +- README_pl.md | 2 +- README_ru.md | 2 +- README_zh_Hans.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f049b2f..dec2e35 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ It shall NOT be edited by hand. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Shipped version:** 25.1.0~ynh1 +**Shipped version:** 25.1.0~ynh2 ## Screenshots diff --git a/README_es.md b/README_es.md index 1ebd221..2963633 100644 --- a/README_es.md +++ b/README_es.md @@ -20,7 +20,7 @@ No se debe editar a mano. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Versión actual:** 25.1.0~ynh1 +**Versión actual:** 25.1.0~ynh2 ## Capturas diff --git a/README_eu.md b/README_eu.md index 5408f91..ff87397 100644 --- a/README_eu.md +++ b/README_eu.md @@ -20,7 +20,7 @@ EZ editatu eskuz. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Paketatutako bertsioa:** 25.1.0~ynh1 +**Paketatutako bertsioa:** 25.1.0~ynh2 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 9e252c9..5c22bd1 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Il NE doit PAS être modifié à la main. Actual est un outil de finances personnelles local. Il est 100% gratuit et open-source, écrit en NodeJS, il dispose d'un élément de synchronisation afin que toutes vos modifications puissent se déplacer entre les appareils sans aucune lourde charge. -**Version incluse :** 25.1.0~ynh1 +**Version incluse :** 25.1.0~ynh2 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 15dd074..65c671b 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,7 +20,7 @@ NON debe editarse manualmente. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Versión proporcionada:** 25.1.0~ynh1 +**Versión proporcionada:** 25.1.0~ynh2 ## Capturas de pantalla diff --git a/README_id.md b/README_id.md index 6d1db84..36551a9 100644 --- a/README_id.md +++ b/README_id.md @@ -20,7 +20,7 @@ Ini TIDAK boleh diedit dengan tangan. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Versi terkirim:** 25.1.0~ynh1 +**Versi terkirim:** 25.1.0~ynh2 ## Tangkapan Layar diff --git a/README_nl.md b/README_nl.md index 8d6de94..0942ce1 100644 --- a/README_nl.md +++ b/README_nl.md @@ -20,7 +20,7 @@ Hij mag NIET handmatig aangepast worden. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Geleverde versie:** 25.1.0~ynh1 +**Geleverde versie:** 25.1.0~ynh2 ## Schermafdrukken diff --git a/README_pl.md b/README_pl.md index e5f4c62..a443dd6 100644 --- a/README_pl.md +++ b/README_pl.md @@ -20,7 +20,7 @@ Nie powinno być ono edytowane ręcznie. Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Dostarczona wersja:** 25.1.0~ynh1 +**Dostarczona wersja:** 25.1.0~ynh2 ## Zrzuty ekranu diff --git a/README_ru.md b/README_ru.md index baf6ec6..8da9437 100644 --- a/README_ru.md +++ b/README_ru.md @@ -20,7 +20,7 @@ Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Поставляемая версия:** 25.1.0~ynh1 +**Поставляемая версия:** 25.1.0~ynh2 ## Снимки экрана diff --git a/README_zh_Hans.md b/README_zh_Hans.md index ab4490b..8c316c3 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -20,7 +20,7 @@ Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**分发版本:** 25.1.0~ynh1 +**分发版本:** 25.1.0~ynh2 ## 截图 From 46bbe90b47debc9725b62caf1ca60fc0441a98fc Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:06:48 +0100 Subject: [PATCH 4/5] Update manifest.toml --- manifest.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifest.toml b/manifest.toml index a653470..8383bbe 100644 --- a/manifest.toml +++ b/manifest.toml @@ -13,6 +13,7 @@ maintainers = ["eric_G"] license = "MIT" admindoc = "https://actualbudget.github.io/docs/" code = "https://github.com/actualbudget/actual-server" +fund = "https://opencollective.com/actual" [integration] yunohost = ">= 12.0.9" From 1aa0703f84e9bacceb290218be6cb9dc21d7f6b1 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 27 Jan 2025 14:12:14 +0100 Subject: [PATCH 5/5] Update nginx.conf --- conf/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 484c0d5..da4088e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,4 +7,5 @@ location ^~ __PATH__/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header X-Forwarded-For $remote_addr; proxy_read_timeout 1d; + client_max_body_size 50M; }