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 #44 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2023-04-01 09:33:35 +02:00 committed by GitHub
commit d9543b0d0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 32 additions and 31 deletions

View file

@ -6,6 +6,7 @@ It shall NOT be edited by hand.
# n8n for YunoHost # n8n for YunoHost
[![Integration level](https://dash.yunohost.org/integration/n8n.svg)](https://dash.yunohost.org/appci/app/n8n) ![Working status](https://ci-apps.yunohost.org/ci/badges/n8n.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/n8n.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/n8n.svg)](https://dash.yunohost.org/appci/app/n8n) ![Working status](https://ci-apps.yunohost.org/ci/badges/n8n.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/n8n.maintain.svg)
[![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)
*[Lire ce readme en français.](./README_fr.md)* *[Lire ce readme en français.](./README_fr.md)*
@ -17,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
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:** 0.203.1~ynh1 **Shipped version:** 0.218.0~ynh1
## Screenshots ## Screenshots

View file

@ -5,23 +5,24 @@ It shall NOT be edited by hand.
# n8n pour YunoHost # n8n pour YunoHost
[![Niveau d'intégration](https://dash.yunohost.org/integration/n8n.svg)](https://dash.yunohost.org/appci/app/n8n) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/n8n.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/n8n.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/n8n.svg)](https://dash.yunohost.org/appci/app/n8n) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/n8n.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/n8n.maintain.svg)
[![Installer n8n avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=n8n) [![Installer n8n avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=n8n)
*[Read this readme in english.](./README.md)* *[Read this readme in english.](./README.md)*
> *Ce package vous permet d'installer n8n rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet dinstaller n8n rapidement et simplement sur un serveur YunoHost.
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.*
## Vue d'ensemble ## Vue densemble
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.
**Version incluse :** 0.203.1~ynh1 **Version incluse :** 0.218.0~ynh1
## Captures d'écran ## Captures décran
![Capture d'écran de n8n](./doc/screenshots/n8n-screenshot.png) ![Capture décran de n8n](./doc/screenshots/n8n-screenshot.png)
## :red_circle: Fonctions indésirables ## :red_circle: Fonctions indésirables
@ -29,9 +30,9 @@ n8n is an extendable workflow automation tool. With a fair-code distribution mod
## Documentations et ressources ## Documentations et ressources
* Site officiel de l'app : <https://n8n.io/> * Site officiel de lapp : <https://n8n.io/>
* Documentation officielle de l'admin : <https://docs.n8n.io/> * Documentation officielle de ladmin : <https://docs.n8n.io/>
* Dépôt de code officiel de l'app : <https://github.com/n8n-io/n8n> * Dépôt de code officiel de lapp : <https://github.com/n8n-io/n8n>
* Documentation YunoHost pour cette app : <https://yunohost.org/app_n8n> * Documentation YunoHost pour cette app : <https://yunohost.org/app_n8n>
* Signaler un bug : <https://github.com/YunoHost-Apps/n8n_ynh/issues> * Signaler un bug : <https://github.com/YunoHost-Apps/n8n_ynh/issues>
@ -47,4 +48,4 @@ ou
sudo yunohost app upgrade n8n -u https://github.com/YunoHost-Apps/n8n_ynh/tree/testing --debug sudo yunohost app upgrade n8n -u https://github.com/YunoHost-Apps/n8n_ynh/tree/testing --debug
``` ```
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps> **Plus dinfos sur le packaging dapplications :** <https://yunohost.org/packaging_apps>

View file

@ -21,4 +21,4 @@ Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=0d34c8a15f95a3dc3b9e1d233bc03410d182628a ; commit=0d34c8a15f95a3dc3b9e1d233bc03410d182628a
name=#29 name=#29
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=9001& manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&port=9001&

View file

@ -1,10 +1,8 @@
# Folder where data should be saved # Folder where data should be saved
N8N_USER_FOLDER=__DATADIR__ N8N_USER_FOLDER=__DATADIR__
# Authentication - IMPORTANT ALWAYS CHANGE! # Disable Basic Auth in favour of User Management
N8N_BASIC_AUTH_ACTIVE=true N8N_BASIC_AUTH_ACTIVE=false
N8N_BASIC_AUTH_USER=__ADMIN__
N8N_BASIC_AUTH_PASSWORD="__PASSWORD__"
# The path n8n is deployed to. # The path n8n is deployed to.
N8N_PATH=__PATH__/ N8N_PATH=__PATH__/
@ -15,11 +13,16 @@ WEBHOOK_URL=https://__DOMAIN____PATH__
# Optional timezone to set which gets used by Cron-Node by default # Optional timezone to set which gets used by Cron-Node by default
# If not set New York time will be used # If not set New York time will be used
GENERIC_TIMEZONE=__TIMEZONE__ GENERIC_TIMEZONE=__TIMEZONE__
TZ=__TIMEZONE__
# Use http (we're behind a reverse-proxy) # Use http (we're behind a reverse-proxy)
N8N_PROTOCOL=http N8N_PROTOCOL=http
N8N_LISTEN_ADDRESS=127.0.0.1 N8N_LISTEN_ADDRESS=127.0.0.1
# Use filesystem for binary data and keep it for 2 hours
N8N_DEFAULT_BINARY_DATA_MODE=filesystem
N8N_PERSISTED_BINARY_DATA_TTL=120
DB_TYPE=mysqldb DB_TYPE=mysqldb
DB_MYSQLDB_DATABASE=__DB_NAME__ DB_MYSQLDB_DATABASE=__DB_NAME__
DB_MYSQLDB_HOST="localhost" DB_MYSQLDB_HOST="localhost"
@ -33,6 +36,7 @@ EXECUTIONS_DATA_SAVE_ON_PROGRESS=true
EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false
EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE=168 EXECUTIONS_DATA_MAX_AGE=168
EXECUTIONS_DATA_PRUNE_MAX_COUNT=2000
N8N_EMAIL_MODE=smtp N8N_EMAIL_MODE=smtp
N8N_SMTP_HOST=localhost N8N_SMTP_HOST=localhost

View file

@ -6,7 +6,7 @@
"en": "Workflow Automation Tool. Easily automate tasks across different services", "en": "Workflow Automation Tool. Easily automate tasks across different services",
"fr": "Outil d'automatisation du flux de travail. Automatisez facilement les tâches sur différents services" "fr": "Outil d'automatisation du flux de travail. Automatisez facilement les tâches sur différents services"
}, },
"version": "0.203.1~ynh1", "version": "0.218.0~ynh1",
"url": "https://n8n.io/", "url": "https://n8n.io/",
"upstream": { "upstream": {
"license": "Apache-2.0", "license": "Apache-2.0",
@ -39,7 +39,11 @@
}, },
{ {
"name": "admin", "name": "admin",
"type": "user" "type": "user",
"help": {
"en": "Users email address to use for notifications",
"fr": "Adresse e-mail des utilisateurs à utiliser pour les notifications"
}
}, },
{ {
"name": "is_public", "name": "is_public",
@ -49,10 +53,6 @@
"fr": "Si cette case est cochée, n8n sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." "fr": "Si cette case est cochée, n8n sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
}, },
"default": true "default": true
},
{
"name": "password",
"type": "password"
} }
] ]
} }

View file

@ -6,7 +6,7 @@
nodejs_version=16 nodejs_version=16
n8n_version=0.203.1 n8n_version=0.221.2
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS

View file

@ -34,7 +34,6 @@ db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
datadir=$(ynh_app_setting_get --app=$app --key=datadir) datadir=$(ynh_app_setting_get --app=$app --key=datadir)
admin=$(ynh_app_setting_get --app=$app --key=admin) admin=$(ynh_app_setting_get --app=$app --key=admin)
password=$(ynh_app_setting_get --app=$app --key=password)
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
email=$(ynh_app_setting_get --app=$app --key=email) email=$(ynh_app_setting_get --app=$app --key=email)

View file

@ -26,7 +26,6 @@ ynh_abort_if_errors
domain=$YNH_APP_ARG_DOMAIN domain=$YNH_APP_ARG_DOMAIN
path_url=$YNH_APP_ARG_PATH path_url=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD
admin=$YNH_APP_ARG_ADMIN admin=$YNH_APP_ARG_ADMIN
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
email=$(ynh_user_get_info --username=$admin --key=mail) email=$(ynh_user_get_info --username=$admin --key=mail)
@ -51,8 +50,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=2
ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=password --value="$password"
ynh_app_setting_set --app=$app --key=email --value=$email ynh_app_setting_set --app=$app --key=email --value=$email
#================================================= #=================================================

View file

@ -25,7 +25,6 @@ db_user=$db_name
db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
datadir=$(ynh_app_setting_get --app=$app --key=datadir) datadir=$(ynh_app_setting_get --app=$app --key=datadir)
admin=$(ynh_app_setting_get --app=$app --key=admin) admin=$(ynh_app_setting_get --app=$app --key=admin)
password=$(ynh_app_setting_get --app=$app --key=password)
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
email=$(ynh_app_setting_get --app=$app --key=email) email=$(ynh_app_setting_get --app=$app --key=email)