1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00

Merge pull request #56 from YunoHost-Apps/testing

Testing
This commit is contained in:
CodeShakingSheep 2024-04-07 17:43:07 -05:00 committed by GitHub
commit bb109f37de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 71 additions and 13 deletions

View file

@ -1,6 +1,6 @@
# All available README files by language # All available README files by language
- [Read the README in English](README.md) - [Read the README in English](README.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md) - [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md) - [Le o README en galego](README_gl.md)
- [Leggi il “README” in italiano](README_it.md)

View file

@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install n8n with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=n8n) [![Install n8n with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=n8n)
*[Read this README is other languages.](./ALL_README.md)* *[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install n8n quickly and simply on a YunoHost server.* > *This package allows you to install n8n 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.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
@ -18,7 +18,7 @@ It shall NOT be edited by hand.
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything. n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.
**Shipped version:** 1.9.3~ynh1 **Shipped version:** 1.29.0~ynh1
## Screenshots ## Screenshots

51
README_eu.md Normal file
View file

@ -0,0 +1,51 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# n8n YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/n8n.svg)](https://dash.yunohost.org/appci/app/n8n) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/n8n.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/n8n.maintain.svg)
[![Instalatu n8n YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=n8n)
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
> *Pakete honek n8n YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
## Aurreikuspena
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.
**Paketatutako bertsioa:** 1.29.0~ynh1
## Pantaila-argazkiak
![n8n(r)en pantaila-argazkia](./doc/screenshots/n8n-screenshot.png)
## :red_circle: Ezaugarri zalantzagarriak
- **Jatorrizkoa ez da erabat librea**: Aplikazioak lizentzia librea du orokorrean, baina bere erabilera mugatzen duten klausulekin.
## Dokumentazioa eta baliabideak
- Aplikazioaren webgune ofiziala: <https://n8n.io/>
- Administratzaileen dokumentazio ofiziala: <https://docs.n8n.io/>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/n8n-io/n8n>
- YunoHost Denda: <https://apps.yunohost.org/app/n8n>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/n8n_ynh/issues>
## Garatzaileentzako informazioa
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/n8n_ynh/tree/testing).
`testing` abarra probatzeko, ondorengoa egin:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/n8n_ynh/tree/testing --debug
edo
sudo yunohost app upgrade n8n -u https://github.com/YunoHost-Apps/n8n_ynh/tree/testing --debug
```
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>

View file

@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
n8n est un outil d'automatisation de flux de travail extensible. Avec un modèle de distribution de code équitable, n8n aura toujours un code source visible, sera disponible pour s'auto-héberger et vous permettra d'ajouter vos propres fonctions, logiques et applications personnalisées. L'approche basée sur les nœuds de n8n le rend très polyvalent, vous permettant de connecter n'importe quoi à tout. n8n est un outil d'automatisation de flux de travail extensible. Avec un modèle de distribution de code équitable, n8n aura toujours un code source visible, sera disponible pour s'auto-héberger et vous permettra d'ajouter vos propres fonctions, logiques et applications personnalisées. L'approche basée sur les nœuds de n8n le rend très polyvalent, vous permettant de connecter n'importe quoi à tout.
**Version incluse:** 1.9.3~ynh1 **Version incluse:** 1.29.0~ynh1
## Captures décran ## Captures décran
@ -27,7 +27,7 @@ n8n est un outil d'automatisation de flux de travail extensible. Avec un modèle
## :red_circle: Anti-fonctionnalités ## :red_circle: Anti-fonctionnalités
- **Application sous licence libre restreinte**: L'application packagée est sous une licence globalement libre, mais avec des clauses qui pourraient restreindre son utilisation. - **Application sous licence libre restreinte **: L'application packagée est sous une licence globalement libre, mais avec des clauses qui pourraient restreindre son utilisation.
## Documentations et ressources ## Documentations et ressources

View file

@ -18,7 +18,7 @@ NON debe editarse manualmente.
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything. n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.
**Versión proporcionada:** 1.9.3~ynh1 **Versión proporcionada:** 1.29.0~ynh1
## Capturas de pantalla ## Capturas de pantalla

View file

@ -18,7 +18,7 @@ NON DEVE essere modificato manualmente.
n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything. n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.
**Versione pubblicata:** 1.9.3~ynh1 **Versione pubblicata:** 1.29.0~ynh1
## Screenshot ## Screenshot

View file

@ -5,7 +5,7 @@ name = "n8n"
description.en = "Workflow Automation Tool. Easily automate tasks across different services" description.en = "Workflow Automation Tool. Easily automate tasks across different services"
description.fr = "Outil d'automatisation du flux de travail. Automatisez facilement les tâches sur différents services" description.fr = "Outil d'automatisation du flux de travail. Automatisez facilement les tâches sur différents services"
version = "1.9.3~ynh1" version = "1.29.0~ynh1"
maintainers = [] maintainers = []
@ -18,7 +18,7 @@ code = "https://github.com/n8n-io/n8n"
[integration] [integration]
yunohost = ">= 11.2" yunohost = ">= 11.2"
architectures = "all" architectures = "all"
multi_instance = false multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
@ -53,6 +53,15 @@ ram.runtime = "50M"
[resources.ports] [resources.ports]
[resources.sources]
[resources.sources.main]
url = "https://github.com/n8n-io/n8n/archive/refs/tags/n8n@1.9.3.zip"
sha256 = "53114a7817f319bfc065566cd77ae889aacb2f2ffd8283f905292a31e19d41e1"
autoupdate.strategy = "latest_github_release"
autoupdate.version_regex = "^n8n@(.*)$"
prefetch = false
[resources.system_user] [resources.system_user]
allow_email = true allow_email = true

View file

@ -6,8 +6,6 @@
nodejs_version=20 nodejs_version=20
n8n_version=1.9.3
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
main_domain=$(cat /etc/yunohost/current_host) main_domain=$(cat /etc/yunohost/current_host)

View file

@ -59,7 +59,7 @@ ynh_script_progression --message="Installing $app..." --weight=2
pushd $install_dir pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@${n8n_version} ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@$(ynh_app_upstream_version)
ynh_replace_string --match_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'),$" \ ynh_replace_string --match_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'),$" \
--replace_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'), tls: {servername:'${main_domain}'}," \ --replace_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'), tls: {servername:'${main_domain}'}," \
--target_file="node_modules/n8n/dist/UserManagement/email/NodeMailer.js" --target_file="node_modules/n8n/dist/UserManagement/email/NodeMailer.js"

View file

@ -82,7 +82,7 @@ ynh_script_progression --message="Installing $app..." --weight=2
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
pushd $install_dir pushd $install_dir
ynh_use_nodejs ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@${n8n_version} ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install n8n@$(ynh_app_upstream_version)
ynh_replace_string --match_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'),$" \ ynh_replace_string --match_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'),$" \
--replace_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'), tls: {servername:'${main_domain}'}," \ --replace_string="secure: config_1.default.getEnv('userManagement.emails.smtp.secure'), tls: {servername:'${main_domain}'}," \
--target_file="node_modules/n8n/dist/UserManagement/email/NodeMailer.js" --target_file="node_modules/n8n/dist/UserManagement/email/NodeMailer.js"