diff --git a/README.md b/README.md
index 8fef31f..cf7a095 100644
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ File sharing which allows to send encrypted files
[](https://send.vis.ee/)
[](https://send.vis.ee/)
-[?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/)
+[?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/)

diff --git a/conf/nginx.conf b/conf/nginx.conf
index b7baa04..ada238d 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -1,22 +1,14 @@
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
- proxy_pass http://127.0.0.1:__PORT__;
- proxy_set_header Host $host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_set_header X-Forwarded-Proto $scheme;
+ proxy_pass http://127.0.0.1:__PORT__;
+ include proxy_params_no_auth;
}
location /api/ws {
proxy_pass http://127.0.0.1:__PORT__;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header Host $host;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $connection_upgrade;
- proxy_set_header Connection "";
+ include proxy_params_no_auth;
proxy_connect_timeout 4000s;
proxy_read_timeout 4000s;
}
diff --git a/manifest.toml b/manifest.toml
index dc5281b..045f651 100644
--- a/manifest.toml
+++ b/manifest.toml
@@ -7,7 +7,7 @@ name = "Send"
description.en = "File sharing which allows to send encrypted files"
description.fr = "Partage de fichiers qui permet d'envoyer des fichiers chiffrés"
-version = "3.4.27~ynh1"
+version = "3.5.0~ynh1"
maintainers = []
@@ -18,7 +18,7 @@ demo = "https://send.vis.ee/"
code = "https://github.com/timvisee/send"
[integration]
-yunohost = ">= 12.1.17"
+yunohost = ">= 12.1.40"
helpers_version = "2.1"
architectures = ["amd64", "arm64", "armhf"]
multi_instance = true
@@ -43,8 +43,8 @@ ram.runtime = "50M"
[resources]
[resources.sources.main]
- url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.27.tar.gz"
- sha256 = "fda2db869f3affbaf1fa025501c8b32b92cd85d350a1424b20db7f9164dce301"
+ url = "https://github.com/timvisee/send/archive/refs/tags/v3.5.0.tar.gz"
+ sha256 = "d8e483c0ff1377ed9773dfe888af8b45a68a08769afb1e31eddb32fff79c0190"
autoupdate.strategy = "latest_github_tag"
[resources.ports]
@@ -75,4 +75,4 @@ ram.runtime = "50M"
packages = "redis-server"
[resources.nodejs]
- version = "16"
+ version = "26"
diff --git a/scripts/change_url b/scripts/change_url
index cb7f89a..f3d01be 100644
--- a/scripts/change_url
+++ b/scripts/change_url
@@ -7,7 +7,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression "Stopping $app's systemd service..."
-ynh_systemctl --service="$app" --action="stop" --log_path="systemd"
+ynh_systemctl --service="$app" --action="stop"
#=================================================
# MODIFY URL IN NGINX CONF
@@ -28,7 +28,7 @@ ynh_config_add --template="config.js" --destination="$install_dir/server/config.
#=================================================
ynh_script_progression "Starting $app's systemd service..."
-ynh_systemctl --service="$app" --action="start" --log_path="systemd"
+ynh_systemctl --service="$app" --action="start"
#=================================================
# END OF SCRIPT
diff --git a/scripts/install b/scripts/install
index b7632e1..fe0610b 100644
--- a/scripts/install
+++ b/scripts/install
@@ -52,7 +52,7 @@ popd
#=================================================
ynh_script_progression "Starting $app's systemd service..."
-ynh_systemctl --service="$app" --action="start" --log_path="systemd"
+ynh_systemctl --service="$app" --action="start"
#=================================================
# END OF SCRIPT
diff --git a/scripts/restore b/scripts/restore
index 2c4522b..5590e8f 100644
--- a/scripts/restore
+++ b/scripts/restore
@@ -35,7 +35,7 @@ yunohost service add "$app" --description="Simple, private file sharing" --log="
#=================================================
ynh_script_progression "Starting $app's systemd service..."
-ynh_systemctl --service="$app" --action="start" --log_path="systemd"
+ynh_systemctl --service="$app" --action="start"
ynh_systemctl --service=nginx --action=reload
diff --git a/scripts/upgrade b/scripts/upgrade
index 9aee226..2281a62 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -7,7 +7,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression "Stopping $app's systemd service..."
-ynh_systemctl --service="$app" --action="stop" --log_path="systemd"
+ynh_systemctl --service="$app" --action="stop"
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
@@ -58,7 +58,7 @@ popd
#=================================================
ynh_script_progression "Starting $app's systemd service..."
-ynh_systemctl --service="$app" --action="start" --log_path="systemd"
+ynh_systemctl --service="$app" --action="start"
#=================================================
# END OF SCRIPT