Merge branch 'testing' into env

This commit is contained in:
eric committed 2026-10-26 15:44:30 +01:00
commit 58eac95ac3
9 files changed
+12 -36

No files matched your search

+5 -1
View File
@@ -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/) [![🌐 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/) [![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-rgb(18,138,11)?style=for-the-badge)](https://ci-apps.yunohost.org/ci/apps/send/)
<div align="center"> <div align="center">
<a href="https://apps.yunohost.org/app/send"><img height="100px" src="https://github.com/YunoHost/yunohost-artwork/raw/refs/heads/main/badges/neopossum-badges/badge_more_info_on_the_appstore.svg"/></a> <a href="https://apps.yunohost.org/app/send"><img height="100px" src="https://github.com/YunoHost/yunohost-artwork/raw/refs/heads/main/badges/neopossum-badges/badge_more_info_on_the_appstore.svg"/></a>
<a href="https://github.com/YunoHost-Apps/send_ynh/issues"><img height="100px" src="https://github.com/YunoHost/yunohost-artwork/raw/refs/heads/main/badges/neopossum-badges/badge_report_an_issue.svg"/></a> <a href="https://github.com/YunoHost-Apps/send_ynh/issues"><img height="100px" src="https://github.com/YunoHost/yunohost-artwork/raw/refs/heads/main/badges/neopossum-badges/badge_report_an_issue.svg"/></a>
</div> </div>
## Screenshots
![Screenshot of Send](./doc/screenshots/screenshot.png)
## 📦 Developer info ## 📦 Developer info
[![Automatic tests level](https://apps.yunohost.org/badge/cilevel/send)](https://ci-apps.yunohost.org/ci/apps/send/) [![Automatic tests level](https://apps.yunohost.org/badge/cilevel/send)](https://ci-apps.yunohost.org/ci/apps/send/)
+7 -4
View File
@@ -7,7 +7,7 @@ name = "Send"
description.en = "File sharing which allows to send encrypted files" description.en = "File sharing which allows to send encrypted files"
description.fr = "Partage de fichiers qui permet d'envoyer des fichiers chiffrés" description.fr = "Partage de fichiers qui permet d'envoyer des fichiers chiffrés"
version = "3.4.25~ynh1" version = "3.4.27~ynh1"
maintainers = [] maintainers = []
@@ -18,7 +18,7 @@ demo = "https://send.vis.ee/"
code = "https://github.com/timvisee/send" code = "https://github.com/timvisee/send"
[integration] [integration]
yunohost = ">= 12.0.9" yunohost = ">= 12.1.17"
helpers_version = "2.1" helpers_version = "2.1"
architectures = ["amd64", "arm64", "armhf"] architectures = ["amd64", "arm64", "armhf"]
multi_instance = true multi_instance = true
@@ -43,8 +43,8 @@ ram.runtime = "50M"
[resources] [resources]
[resources.sources.main] [resources.sources.main]
url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.25.tar.gz" url = "https://github.com/timvisee/send/archive/refs/tags/v3.4.27.tar.gz"
sha256 = "826224832ac8facdd368f9960d99afdef0a549d92b003af1d93bc271b6fa036a" sha256 = "fda2db869f3affbaf1fa025501c8b32b92cd85d350a1424b20db7f9164dce301"
autoupdate.strategy = "latest_github_tag" autoupdate.strategy = "latest_github_tag"
[resources.ports] [resources.ports]
@@ -73,3 +73,6 @@ ram.runtime = "50M"
[resources.apt] [resources.apt]
packages = "redis-server" packages = "redis-server"
[resources.nodejs]
version = "16"
-7
View File
@@ -1,7 +0,0 @@
#!/bin/bash
#=================================================
# COMMON VARIABLES AND CUSTOM HELPERS
#=================================================
nodejs_version="16"
-1
View File
@@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
ynh_print_info "Declaring files to be backed up..." ynh_print_info "Declaring files to be backed up..."
-1
View File
@@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
-8
View File
@@ -1,15 +1,7 @@
#!/bin/bash #!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# INSTALL DEPENDENCIES
#=================================================
ynh_script_progression "Installing dependencies..."
ynh_nodejs_install
#================================================= #=================================================
# CREATE A REDIS DATABASE # CREATE A REDIS DATABASE
#================================================= #=================================================
-3
View File
@@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
@@ -18,8 +17,6 @@ ynh_redis_remove_db "$redis_db"
ynh_config_remove_nginx ynh_config_remove_nginx
ynh_nodejs_remove
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================
-3
View File
@@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
@@ -24,8 +23,6 @@ ynh_restore "$data_dir"
#================================================= #=================================================
ynh_script_progression "Reinstalling dependencies..." ynh_script_progression "Reinstalling dependencies..."
ynh_nodejs_install
ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_restore "/etc/systemd/system/$app.service" ynh_restore "/etc/systemd/system/$app.service"
-8
View File
@@ -1,6 +1,5 @@
#!/bin/bash #!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#================================================= #=================================================
@@ -26,13 +25,6 @@ ynh_setup_source --dest_dir="$install_dir" --keep=".env" --full_replace
chmod +x "$install_dir/server/bin/prod.js" chmod +x "$install_dir/server/bin/prod.js"
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression "Upgrading dependencies..."
ynh_nodejs_install
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================