From fa22984c16740087f94113749085f2c4d10a39c0 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 2 Jul 2025 00:18:38 +0200 Subject: [PATCH 1/6] Upgrade sources - `main` v3.4.27: https://github.com/timvisee/send/releases/tag/3.4.27 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 5c39fed..8037f1e 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.25~ynh1" +version = "3.4.27~ynh1" maintainers = [] @@ -42,8 +42,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.25.tar.gz" - sha256 = "826224832ac8facdd368f9960d99afdef0a549d92b003af1d93bc271b6fa036a" + url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.27.tar.gz" + sha256 = "fda2db869f3affbaf1fa025501c8b32b92cd85d350a1424b20db7f9164dce301" autoupdate.strategy = "latest_github_tag" [resources.ports] From 4d5965ed33baa96b52f3c3b23a37cae855c3343d Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 2 Jul 2025 00:18:39 +0200 Subject: [PATCH 2/6] Auto-update READMEs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f8952fe..9b8e0a2 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ File sharing which allows to send encrypted files [![🌐 Official app website](https://img.shields.io/badge/Official_app_website-darkgreen?style=for-the-badge)](https://send.vis.ee/) [![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)](https://send.vis.ee/) -[![Version: 3.4.25~ynh1](https://img.shields.io/badge/Version-3.4.25~ynh1-rgba(0,150,0,1)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/) +[![Version: 3.4.27~ynh1](https://img.shields.io/badge/Version-3.4.27~ynh1-rgba(0,150,0,1)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/)
From 85bd8b0e877f0dc2b74723a131836bde95072be1 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Tue, 2 Sep 2025 22:49:32 +0200 Subject: [PATCH 3/6] [autopatch] Automatic patch to use nodejs/ruby/go/compose resources + remove empty _common.sh --- manifest.toml | 5 ++++- scripts/_common.sh | 7 ------- scripts/backup | 2 +- scripts/change_url | 2 +- scripts/install | 4 ++-- scripts/remove | 4 ++-- scripts/restore | 4 ++-- scripts/upgrade | 4 ++-- 8 files changed, 14 insertions(+), 18 deletions(-) delete mode 100644 scripts/_common.sh diff --git a/manifest.toml b/manifest.toml index 8037f1e..5ca55b1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -18,7 +18,7 @@ demo = "https://send.vis.ee/" code = "https://github.com/timvisee/send" [integration] -yunohost = ">= 12.0.9" +yunohost = ">= 12.1.17" helpers_version = "2.1" architectures = ["amd64", "arm64", "armhf"] multi_instance = true @@ -70,3 +70,6 @@ ram.runtime = "50M" [resources.apt] packages = "redis-server" + + [resources.nodejs] + version = "16" diff --git a/scripts/_common.sh b/scripts/_common.sh deleted file mode 100644 index f5f7b4c..0000000 --- a/scripts/_common.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -#================================================= -# COMMON VARIABLES AND CUSTOM HELPERS -#================================================= - -nodejs_version="16" diff --git a/scripts/backup b/scripts/backup index 50e701d..1d9fb4f 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,6 @@ #!/bin/bash -source ../settings/scripts/_common.sh + source /usr/share/yunohost/helpers ynh_print_info "Declaring files to be backed up..." diff --git a/scripts/change_url b/scripts/change_url index ef434ab..072532a 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/install b/scripts/install index 056a1a5..05caae9 100644 --- a/scripts/install +++ b/scripts/install @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= @@ -8,7 +8,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Installing dependencies..." -ynh_nodejs_install +#REMOVEME? ynh_nodejs_install #================================================= # CREATE A REDIS DATABASE diff --git a/scripts/remove b/scripts/remove index f2ae961..0f67c70 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= @@ -18,7 +18,7 @@ ynh_redis_remove_db "$redis_db" ynh_config_remove_nginx -ynh_nodejs_remove +#REMOVEME? ynh_nodejs_remove #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index a8a434e..a0761e1 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,6 +1,6 @@ #!/bin/bash -source ../settings/scripts/_common.sh + source /usr/share/yunohost/helpers #================================================= @@ -17,7 +17,7 @@ chmod +x "$install_dir/server/bin/prod.js" #================================================= ynh_script_progression "Reinstalling dependencies..." -ynh_nodejs_install +#REMOVEME? ynh_nodejs_install ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" diff --git a/scripts/upgrade b/scripts/upgrade index 2aba8b3..fa2bc69 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,6 +1,6 @@ #!/bin/bash -source _common.sh + source /usr/share/yunohost/helpers #================================================= @@ -31,7 +31,7 @@ chmod +x "$install_dir/server/bin/prod.js" #================================================= ynh_script_progression "Upgrading dependencies..." -ynh_nodejs_install +#REMOVEME? ynh_nodejs_install #================================================= # NGINX CONFIGURATION From 5a138df06d35cb96ed3db126a9a8447f842687b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Thu, 25 Sep 2025 19:21:47 +0200 Subject: [PATCH 4/6] Remove warning about manifest schema --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8037f1e..885d4dd 100644 --- a/manifest.toml +++ b/manifest.toml @@ -69,4 +69,4 @@ ram.runtime = "50M" download.additional_urls = [ "re:^__DOMAIN__/.*.css$", "re:^__DOMAIN__/.*.js$", "re:^__DOMAIN__/.*.svg$", "re:^__DOMAIN__/.*.woff2$", "re:^__DOMAIN__/favicon.*.png$" ] [resources.apt] - packages = "redis-server" + packages = ["redis-server"] From ac822e76c0fbc9cbacbb20d77ea2277dc6e69716 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Thu, 25 Sep 2025 19:21:52 +0200 Subject: [PATCH 5/6] Auto-update READMEs --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9b8e0a2..8fef31f 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,17 @@ File sharing which allows to send encrypted files [![🌐 Official app website](https://img.shields.io/badge/Official_app_website-darkgreen?style=for-the-badge)](https://send.vis.ee/) [![App Demo](https://img.shields.io/badge/App_Demo-blue?style=for-the-badge)](https://send.vis.ee/) -[![Version: 3.4.27~ynh1](https://img.shields.io/badge/Version-3.4.27~ynh1-rgba(0,150,0,1)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/) +[![Version: 3.4.27~ynh1](https://img.shields.io/badge/Version-3.4.27~ynh1-rgb(18,138,11)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/)
+ +## Screenshots +![Screenshot of Send](./doc/screenshots/screenshot.png) + ## 📦 Developer info [![Automatic tests level](https://apps.yunohost.org/badge/cilevel/send)](https://ci-apps.yunohost.org/ci/apps/send/) From 7b9c7cc947e2dfc64826145486eb28778c8b2191 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 28 Sep 2025 13:06:37 +0200 Subject: [PATCH 6/6] cleaning --- scripts/backup | 1 - scripts/change_url | 1 - scripts/install | 8 -------- scripts/remove | 3 --- scripts/restore | 3 --- scripts/upgrade | 8 -------- 6 files changed, 24 deletions(-) diff --git a/scripts/backup b/scripts/backup index 1d9fb4f..18e8cc6 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers ynh_print_info "Declaring files to be backed up..." diff --git a/scripts/change_url b/scripts/change_url index 072532a..cb7f89a 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= diff --git a/scripts/install b/scripts/install index 05caae9..5f5a1cb 100644 --- a/scripts/install +++ b/scripts/install @@ -1,15 +1,7 @@ #!/bin/bash - source /usr/share/yunohost/helpers -#================================================= -# INSTALL DEPENDENCIES -#================================================= -ynh_script_progression "Installing dependencies..." - -#REMOVEME? ynh_nodejs_install - #================================================= # CREATE A REDIS DATABASE #================================================= diff --git a/scripts/remove b/scripts/remove index 0f67c70..f6416b0 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= @@ -18,8 +17,6 @@ ynh_redis_remove_db "$redis_db" ynh_config_remove_nginx -#REMOVEME? ynh_nodejs_remove - #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/restore b/scripts/restore index a0761e1..64581cf 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= @@ -17,8 +16,6 @@ chmod +x "$install_dir/server/bin/prod.js" #================================================= ynh_script_progression "Reinstalling dependencies..." -#REMOVEME? ynh_nodejs_install - ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore "/etc/systemd/system/$app.service" diff --git a/scripts/upgrade b/scripts/upgrade index fa2bc69..d706da7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,6 +1,5 @@ #!/bin/bash - source /usr/share/yunohost/helpers #================================================= @@ -26,13 +25,6 @@ ynh_setup_source --dest_dir="$install_dir" --keep="server/config.js" --full_repl chmod +x "$install_dir/server/bin/prod.js" -#================================================= -# UPGRADE DEPENDENCIES -#================================================= -ynh_script_progression "Upgrading dependencies..." - -#REMOVEME? ynh_nodejs_install - #================================================= # NGINX CONFIGURATION #=================================================