From 66572bf0534c743156fe9d4e3b88c31b965ddb21 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 12 Apr 2024 03:40:53 +0200 Subject: [PATCH 01/13] Upgrade to v3.1.9 https://github.com/node-red/node-red/releases/tag/3.1.9 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 3f1a2ad..70fabe1 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Node-RED" description.en = "Flow-based programming for the Internet of Things" description.fr = "Programmation par flux de données pour l'Internet des objets" -version = "3.1.8~ynh1" +version = "3.1.9~ynh1" maintainers = ["tituspijean"] @@ -48,8 +48,8 @@ ram.runtime = "70M" [resources] [resources.sources.main] - url = "https://github.com/node-red/node-red/releases/download/3.1.8/node-red-3.1.8.zip" - sha256 = "d1e90ca9ac7bd73fce48945428f7697f070217eb7b60279be95a732205bc3b0d" + url = "https://github.com/node-red/node-red/releases/download/3.1.9/node-red-3.1.9.zip" + sha256 = "420cbaaa6499ce5d5b9fb3e6bac0ffc24b23eb02f3dc8f4491207015dc7c6052" autoupdate.strategy = "latest_github_release" autoupdate.asset = "node-red-.*zip" From b91cc1b6568b2efbed4071f444734e07091fa26b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 12 Apr 2024 01:40:57 +0000 Subject: [PATCH 02/13] Auto-update READMEs --- ALL_README.md | 3 +- README.md | 4 +-- README_eu.md | 76 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 2 +- README_gl.md | 2 +- README_zh_Hans.md | 76 +++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 158 insertions(+), 5 deletions(-) create mode 100644 README_eu.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 5d0dbc1..37298b5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Node-RED with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nodered) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Node-RED quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* @@ -47,7 +47,7 @@ logging: { // replace the default logging option ...defaultSettings.logging, // You can check the default settings Yunohost generates at `__INSTALL_DIR__/data/settings.js` and find the documentation for configuring Node-RED here: -**Shipped version:** 3.1.8~ynh1 +**Shipped version:** 3.1.9~ynh1 ## Screenshots diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..e2b635f --- /dev/null +++ b/README_eu.md @@ -0,0 +1,76 @@ + + +# Node-RED YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/nodered.svg)](https://dash.yunohost.org/appci/app/nodered) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/nodered.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/nodered.maintain.svg) + +[![Instalatu Node-RED YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nodered) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Node-RED YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. + +It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click. + +### Features + +- Browser-based flow editing +- On-click deployment of the flows +- Over 225,000 modules available +- Custom JavaScript functions can be written + +### Override the default settings + +From the installation directory, go edit the `__INSTALL_DIR__/data/settings.user.js`. For example: + +```js +module.exports = (defaultSettings) => ({ + lang: "de", // define the language as "de" + exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value +logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging + console: { + ...defaultSettings.logging.level, // this will reinject the default settings in logging.console + level: "debug", // but here, we override the "info" level by "debug" + }, + }, +}); +``` + +You can check the default settings Yunohost generates at `__INSTALL_DIR__/data/settings.js` and find the documentation for configuring Node-RED here: + + +**Paketatutako bertsioa:** 3.1.9~ynh1 + +## Pantaila-argazkiak + +![Node-RED(r)en pantaila-argazkia](./doc/screenshots/screenshot.jpg) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Erabiltzaileen dokumentazio ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/nodered_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug +edo +sudo yunohost app upgrade nodered -u https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 239206b..aba0b8e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -49,7 +49,7 @@ module.exports = (defaultSettings) => ({ Vous pouvez consulter les paramètres par défaut générez par Yunohost dans `__INSTALL_DIR__/data/settings.js` et trouver la documentation pour configurer Node-RED ici: -**Version incluse :** 3.1.8~ynh1 +**Version incluse :** 3.1.9~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 49b6bbc..5f75bbc 100644 --- a/README_gl.md +++ b/README_gl.md @@ -47,7 +47,7 @@ logging: { // replace the default logging option ...defaultSettings.logging, // You can check the default settings Yunohost generates at `__INSTALL_DIR__/data/settings.js` and find the documentation for configuring Node-RED here: -**Versión proporcionada:** 3.1.8~ynh1 +**Versión proporcionada:** 3.1.9~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..574ef85 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,76 @@ + + +# YunoHost 的 Node-RED + +[![集成程度](https://dash.yunohost.org/integration/nodered.svg)](https://dash.yunohost.org/appci/app/nodered) ![工作状态](https://ci-apps.yunohost.org/ci/badges/nodered.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/nodered.maintain.svg) + +[![使用 YunoHost 安装 Node-RED](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nodered) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Node-RED。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. + +It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click. + +### Features + +- Browser-based flow editing +- On-click deployment of the flows +- Over 225,000 modules available +- Custom JavaScript functions can be written + +### Override the default settings + +From the installation directory, go edit the `__INSTALL_DIR__/data/settings.user.js`. For example: + +```js +module.exports = (defaultSettings) => ({ + lang: "de", // define the language as "de" + exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value +logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging + console: { + ...defaultSettings.logging.level, // this will reinject the default settings in logging.console + level: "debug", // but here, we override the "info" level by "debug" + }, + }, +}); +``` + +You can check the default settings Yunohost generates at `__INSTALL_DIR__/data/settings.js` and find the documentation for configuring Node-RED here: + + +**分发版本:** 3.1.9~ynh1 + +## 截图 + +![Node-RED 的截图](./doc/screenshots/screenshot.jpg) + +## 文档与资源 + +- 官方应用网站: +- 官方用户文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/nodered_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug +或 +sudo yunohost app upgrade nodered -u https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** From 4b9b86823f0acb56f538988aee64fe80e635ac06 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sat, 13 Apr 2024 00:02:26 +0200 Subject: [PATCH 03/13] UX: give proper admin permission upon install (#94) --- manifest.toml | 13 ++++++++----- tests.toml | 5 +++++ 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/manifest.toml b/manifest.toml index 70fabe1..9c439d6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -37,14 +37,17 @@ ram.runtime = "70M" type = "path" default = "/nodered" - [install.admin] - type = "user" + [install.init_admin_permission] + ask.en = "Which group should be able to administer the app and edit flows?" + ask.fr = "Quel group devrait pouvoir adminstrer l'app et modifier des flux ?" + type = "group" + default = "admins" [install.init_main_permission] - help.en = "Should the dashboard and HTTP endpoints be publicly accessible?" - help.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" + ask.en = "Should the dashboard and HTTP endpoints be publicly accessible?" + ask.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" type = "group" - default = false + default = "visitors" [resources] [resources.sources.main] diff --git a/tests.toml b/tests.toml index c97f408..d8bd7fa 100644 --- a/tests.toml +++ b/tests.toml @@ -10,6 +10,11 @@ test_format = 1.0 [default.test_upgrade_from.3dae97a7] name = "3.0.2~ynh2" + args.admin = "package_checker" + args.domain = "domain.tld" [default.test_upgrade_from.ca5545af] name = "3.1.4~ynh1 (update nodejs 16 to 20)" + args.admin = "package_checker" + args.domain = "domain.tld" + args.init_main_permission = "visitors" From 89f99e7c276759d8661b24cdbfa801b390cf9dc7 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 17 Apr 2024 00:11:03 +0200 Subject: [PATCH 04/13] syslog output is deprecated in favor of journal --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index c5e26ec..ec6f3ab 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ Environment="__YNH_NODE_LOAD_PATH__" ExecStart=__YNH_NODE__ red.js -p __PORT__ -u __INSTALL_DIR__/data -StandardOutput=syslog +StandardOutput=journal StandardError=inherit # Sandboxing options to harden security From d17d0ab60e5393cec0705d20e7a401e838d63604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=CD=8A=CC=85=CC=8A=CC=9A=CD=A2=CC=99=CD=9C=CC=ABn=CC=A4?= =?UTF-8?q?=CD=A8=CC=A8=CC=90=CC=99=CC=B0=CC=A0=CC=9Ci=CC=B5=CD=82=CC=BE?= =?UTF-8?q?=CC=B4=CC=B0=CC=9C=CC=B2=CC=96c=CD=A4=CC=8D=CC=8C=CC=83=CC=A1?= =?UTF-8?q?=CD=95=CD=9B=CC=AEo=CC=B1=CC=B3=CC=BD=CD=85=CD=99=CC=B9=CD=9D?= =?UTF-8?q?=CD=93d=CC=AD=CC=8C=CC=9C=CD=AE=CD=9B=CC=A0=CC=BA=CD=86e=CC=A6?= =?UTF-8?q?=CC=94=CC=AC=CC=A4=CC=B0=CC=A6=CC=99=CD=9E=20A=CC=A7=CC=BE?= =?UTF-8?q?=CC=82=CC=81=CD=9A=CD=88=CC=99=CD=9Bp=CC=86=CC=A2=CD=A3=CC=A8?= =?UTF-8?q?=CC=A9=CC=A3=CC=AC=CC=99o=CC=8A=CC=81=CC=A3=CC=BD=CD=9A=CC=A8?= =?UTF-8?q?=CD=95=CC=A9c=CC=90=CC=87=CD=AB=CD=97=CD=88=CC=A7=CC=AD=CD=9Ca?= =?UTF-8?q?=CC=89=CC=9B=CC=89=CC=82=CC=AA=CC=96=CC=9C=CC=97l=CC=AD=CC=BC?= =?UTF-8?q?=CC=BD=CC=B6=CD=85=CC=9F=CC=AE=CC=9Cy=CC=B5=CD=84=CC=8B=CC=8D?= =?UTF-8?q?=CC=9C=CC=A2=CC=9F=CD=99p=CD=A6=CC=AE=CC=87=CC=AE=CD=9B=CC=AD?= =?UTF-8?q?=CC=98=CD=9As=CC=A4=CC=A1=CC=85=CD=81=CD=9C=CC=AB=CC=BA=CD=94e?= =?UTF-8?q?=CC=A5=CD=80=CC=93=CC=93=CC=A7=CC=A2=CC=B1=CC=A4?= <64479312+UnicodeApocalypse@users.noreply.github.com> Date: Sun, 21 Apr 2024 18:37:29 +0200 Subject: [PATCH 05/13] Fix palette catalog not loading (#101) --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 02d4d9e..b1dfcde 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -12,7 +12,7 @@ location ^~ __PATH__/ { proxy_set_header Connection "Upgrade"; # Enable websockets (see: https://github.com/YunoHost-Apps/nodered_ynh/issues/78 ) - more_set_headers "Content-Security-Policy : upgrade-insecure-requests; default-src https: data: blob: ; connect-src 'self' wss://$host; object-src https: data: 'unsafe-inline'; style-src https: data: 'unsafe-inline' ; script-src https: data: 'unsafe-inline' 'unsafe-eval'; worker-src 'self' blob:;"; + more_set_headers "Content-Security-Policy : upgrade-insecure-requests; default-src https: data: blob: ; connect-src 'self' wss://$host https://catalogue.nodered.org/; object-src https: data: 'unsafe-inline'; style-src https: data: 'unsafe-inline' ; script-src https: data: 'unsafe-inline' 'unsafe-eval'; worker-src 'self' blob:;"; # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; From 325fa755eb77d2f03c0aeee4c01ba27b3cfad72a Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 21 Apr 2024 18:40:07 +0200 Subject: [PATCH 06/13] Appease linter --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index 9c439d6..1920cd8 100644 --- a/manifest.toml +++ b/manifest.toml @@ -44,8 +44,8 @@ ram.runtime = "70M" default = "admins" [install.init_main_permission] - ask.en = "Should the dashboard and HTTP endpoints be publicly accessible?" - ask.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" + help.en = "Should the dashboard and HTTP endpoints be publicly accessible?" + help.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" type = "group" default = "visitors" From bdc8029a142370e886a945f93d7f9372b9d0b876 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 21 Apr 2024 18:41:09 +0200 Subject: [PATCH 07/13] Update tests.toml --- tests.toml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/tests.toml b/tests.toml index d8bd7fa..2774a4b 100644 --- a/tests.toml +++ b/tests.toml @@ -8,13 +8,8 @@ test_format = 1.0 # Commits to test upgrade from # ------------------------------- - [default.test_upgrade_from.3dae97a7] - name = "3.0.2~ynh2" + [default.test_upgrade_from.6eb3cdb] + name = "3.1.8~ynh1" args.admin = "package_checker" args.domain = "domain.tld" - [default.test_upgrade_from.ca5545af] - name = "3.1.4~ynh1 (update nodejs 16 to 20)" - args.admin = "package_checker" - args.domain = "domain.tld" - args.init_main_permission = "visitors" From af7d74adbdfdf4c01337709ffc8119da7c8476c7 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 21 Apr 2024 19:01:11 +0200 Subject: [PATCH 08/13] Fix tests.toml --- tests.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests.toml b/tests.toml index 2774a4b..eb01fa9 100644 --- a/tests.toml +++ b/tests.toml @@ -10,6 +10,6 @@ test_format = 1.0 [default.test_upgrade_from.6eb3cdb] name = "3.1.8~ynh1" - args.admin = "package_checker" args.domain = "domain.tld" - + args.init_main_permission = "visitors" + args.init_admin_permission = "package_checker" From 8c181fa28c425f65a331f31e5d718157b6cc5b89 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 21 Apr 2024 19:27:20 +0200 Subject: [PATCH 09/13] Fix tests.toml --- tests.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests.toml b/tests.toml index eb01fa9..df422e5 100644 --- a/tests.toml +++ b/tests.toml @@ -13,3 +13,4 @@ test_format = 1.0 args.domain = "domain.tld" args.init_main_permission = "visitors" args.init_admin_permission = "package_checker" + args.admin = "package_checker" From 2b56459a6639327038257c543b13c0f5884a6e68 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 12 May 2024 19:35:16 +0200 Subject: [PATCH 10/13] manifest: better UX for help for questions --- manifest.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 1920cd8..7cf4d2b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -38,14 +38,14 @@ ram.runtime = "70M" default = "/nodered" [install.init_admin_permission] - ask.en = "Which group should be able to administer the app and edit flows?" - ask.fr = "Quel group devrait pouvoir adminstrer l'app et modifier des flux ?" + ask.en = "For example, to edit flows" + ask.fr = "Par exemple, pour modifier les flux" type = "group" default = "admins" [install.init_main_permission] - help.en = "Should the dashboard and HTTP endpoints be publicly accessible?" - help.fr = "Le tableau de bord et les points d'accès HTTP doivent-ils être publiquement accessibles ?" + help.en = "This corresponds to access to the dashboard and HTTP endpoints" + help.fr = "Ceci corresponds à l'accès au tableau de bord et aux points d'accès HTTP" type = "group" default = "visitors" From 20eee2225412e26d4bb26c59148cbc3bc2cdb1f8 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 12 May 2024 17:35:20 +0000 Subject: [PATCH 11/13] Auto-update READMEs --- ALL_README.md | 1 + README_es.md | 76 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 2 +- 3 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 README_es.md diff --git a/ALL_README.md b/ALL_README.md index a01b345..8938aae 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Lee el README en español](README_es.md) - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..5972cfd --- /dev/null +++ b/README_es.md @@ -0,0 +1,76 @@ + + +# Node-RED para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/nodered.svg)](https://dash.yunohost.org/appci/app/nodered) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/nodered.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/nodered.maintain.svg) + +[![Instalar Node-RED con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nodered) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarNode-RED rapidamente y simplement en un servidor YunoHost.* +> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.* + +## Descripción general + +Node-RED is a programming tool for wiring together hardware devices, APIs and online services in new and interesting ways. + +It provides a browser-based editor that makes it easy to wire together flows using the wide range of nodes in the palette that can be deployed to its runtime in a single-click. + +### Features + +- Browser-based flow editing +- On-click deployment of the flows +- Over 225,000 modules available +- Custom JavaScript functions can be written + +### Override the default settings + +From the installation directory, go edit the `__INSTALL_DIR__/data/settings.user.js`. For example: + +```js +module.exports = (defaultSettings) => ({ + lang: "de", // define the language as "de" + exportGlobalContextKeys: true, // override the `exportGlobalContextKeys` value +logging: { // replace the default logging option ...defaultSettings.logging, // this will reinject the default settings in logging + console: { + ...defaultSettings.logging.level, // this will reinject the default settings in logging.console + level: "debug", // but here, we override the "info" level by "debug" + }, + }, +}); +``` + +You can check the default settings Yunohost generates at `__INSTALL_DIR__/data/settings.js` and find the documentation for configuring Node-RED here: + + +**Versión actual:** 3.1.9~ynh1 + +## Capturas + +![Captura de Node-RED](./doc/screenshots/screenshot.jpg) + +## Documentaciones y recursos + +- Sitio web oficial: +- Documentación usuario oficial: +- Repositorio del código fuente oficial de la aplicación : +- Catálogo YunoHost: +- Reportar un error: + +## Información para desarrolladores + +Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/nodered_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug +o +sudo yunohost app upgrade nodered -u https://github.com/YunoHost-Apps/nodered_ynh/tree/testing --debug +``` + +**Mas informaciones sobre el empaquetado de aplicaciones:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 574ef85..471415e 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -3,7 +3,7 @@ 请勿手动编辑。 --> -# YunoHost 的 Node-RED +# YunoHost 上的 Node-RED [![集成程度](https://dash.yunohost.org/integration/nodered.svg)](https://dash.yunohost.org/appci/app/nodered) ![工作状态](https://ci-apps.yunohost.org/ci/badges/nodered.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/nodered.maintain.svg) From f96eeb858408141809e50040e4f05f681c023bf4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Sun, 12 May 2024 19:36:02 +0200 Subject: [PATCH 12/13] Update tests.toml: fix test from upgrade, CI assumes the app to be installed on sub.domain.tld --- tests.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.toml b/tests.toml index df422e5..f14b4b2 100644 --- a/tests.toml +++ b/tests.toml @@ -10,7 +10,7 @@ test_format = 1.0 [default.test_upgrade_from.6eb3cdb] name = "3.1.8~ynh1" - args.domain = "domain.tld" + args.domain = "sub.domain.tld" args.init_main_permission = "visitors" args.init_admin_permission = "package_checker" args.admin = "package_checker" From 294170300285abe06b58e2e049cfd1f32d324379 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Mon, 13 May 2024 17:34:08 +0200 Subject: [PATCH 13/13] Update tests.toml: zrmglflf --- tests.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests.toml b/tests.toml index f14b4b2..dd4a4d0 100644 --- a/tests.toml +++ b/tests.toml @@ -11,6 +11,7 @@ test_format = 1.0 [default.test_upgrade_from.6eb3cdb] name = "3.1.8~ynh1" args.domain = "sub.domain.tld" + args.path = "/" args.init_main_permission = "visitors" args.init_admin_permission = "package_checker" args.admin = "package_checker"