From da45bb70754a7f9d16af2573f79766ff6f1abd98 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 21 Jan 2024 22:20:49 +0100 Subject: [PATCH 1/3] fix admin docs --- doc/ADMIN.md | 3 +-- doc/ADMIN_fr.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index c87b3d2..f2e3271 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1,2 +1 @@ -The config file path is `__INSTALL_DIR__/server/config.js`. -You can configure things such as the max file size, max downloads, or max file expire time. +You can edit the Send settings such as the max file size, max downloads, or max file expire time in the app configuration panel under your admin YunoHost interface. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 0e7b52e..b567721 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,2 +1 @@ -Le chemin du fichier de configuration est `__INSTALL_DIR__/server/config.js`. -Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements, ou temps d'expiration des fichiers maximums. +Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements, ou temps d'expiration des fichiers maximums dans le panneau de configuration de l'app dans votre interface d'administration YunoHost. From d480b66a3c87af49b9b6698469c0e8141e4e7683 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 21 Jan 2024 22:21:01 +0100 Subject: [PATCH 2/3] add warning about manual editing --- conf/config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conf/config.js b/conf/config.js index 47fe7cc..fb9e23d 100644 --- a/conf/config.js +++ b/conf/config.js @@ -1,3 +1,11 @@ +// ⚠️ IMPORTANT WARNING: do NOT edit this config file by hand, +// else your modifications will be ERASED at each update of the Send package! +// Instead, use the config panel in your web admin interface: +// Applications ➡️ Send ➡️ Config panel ➡️ do your config edit ➡️ Save +// Most of the relevant settings are available in the config panel, if you're +// missing one, open an issue: https://github.com/YunoHost-Apps/send_ynh/issues + + const convict = require('convict'); const convict_format_with_validator = require('convict-format-with-validator'); const { tmpdir } = require('os'); From 3fe0658b448cfbb3f7768c200008d4ce808efaf7 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 21 Jan 2024 22:24:38 +0100 Subject: [PATCH 3/3] typo --- doc/ADMIN.md | 2 +- doc/ADMIN_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index f2e3271..0142a94 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -1 +1 @@ -You can edit the Send settings such as the max file size, max downloads, or max file expire time in the app configuration panel under your admin YunoHost interface. +You can edit the Send settings such as the max file size, max downloads or max file expire time in the app configuration panel under your admin YunoHost interface. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index b567721..2ef3934 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1 +1 @@ -Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements, ou temps d'expiration des fichiers maximums dans le panneau de configuration de l'app dans votre interface d'administration YunoHost. +Vous pouvez configurer des paramètres tels que les taille de fichier, nombre de téléchargements ou temps d'expiration des fichiers maximums dans le panneau de configuration de l'app dans votre interface d'administration YunoHost.