diff --git a/README.md b/README.md index 50b45c9..d686b9c 100755 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ It shall NOT be edited by hand. # 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) *[Lire ce readme en français.](./README_fr.md)* @@ -17,13 +18,16 @@ 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. -**Shipped version:** 0.193.3~ynh1 - +**Shipped version:** 1.1.1~ynh1 ## Screenshots ![Screenshot of n8n](./doc/screenshots/n8n-screenshot.png) +## :red_circle: Antifeatures + +- **Not totally free upstream**: The packaged app is under an overall free licence, but with clauses that restrict its use. + ## Documentation and resources * Official app website: diff --git a/README_fr.md b/README_fr.md index ed75cde..d39e111 100755 --- a/README_fr.md +++ b/README_fr.md @@ -5,30 +5,34 @@ It shall NOT be edited by hand. # 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 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) + [![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)* -> *Ce package vous permet d'installer 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.* +> *Ce package vous permet d’installer 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.* -## Vue d'ensemble +## Vue d’ensemble 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.193.3~ynh1 +**Version incluse :** 1.1.1~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 + +- **Not totally free upstream**: The packaged app is under an overall free licence, but with clauses that restrict its use. ## Documentations et ressources -* Site officiel de l'app : -* Documentation officielle de l'admin : -* Dépôt de code officiel de l'app : +* Site officiel de l’app : +* Documentation officielle de l’admin : +* Dépôt de code officiel de l’app : * Documentation YunoHost pour cette app : * Signaler un bug : @@ -44,4 +48,4 @@ ou sudo yunohost app upgrade n8n -u https://github.com/YunoHost-Apps/n8n_ynh/tree/testing --debug ``` -**Plus d'infos sur le packaging d'applications :** +**Plus d’infos sur le packaging d’applications :** \ No newline at end of file diff --git a/check_process b/check_process index 18ca00e..b433a53 100755 --- a/check_process +++ b/check_process @@ -21,4 +21,4 @@ Notification=none ;;; Upgrade options ; commit=0d34c8a15f95a3dc3b9e1d233bc03410d182628a 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& diff --git a/conf/.env b/conf/.env index 7fa8584..1959fa0 100644 --- a/conf/.env +++ b/conf/.env @@ -1,10 +1,9 @@ # Folder where data should be saved N8N_USER_FOLDER=__DATADIR__ -# Authentication - IMPORTANT ALWAYS CHANGE! + +# Disable Basic Auth in favour of User Management N8N_BASIC_AUTH_ACTIVE=false -N8N_BASIC_AUTH_USER=__ADMIN__ -N8N_BASIC_AUTH_PASSWORD="__PASSWORD__" # The path n8n is deployed to. N8N_PATH=__PATH__/ @@ -15,11 +14,16 @@ WEBHOOK_URL=https://__DOMAIN____PATH__ # Optional timezone to set which gets used by Cron-Node by default # If not set New York time will be used GENERIC_TIMEZONE=__TIMEZONE__ +TZ=__TIMEZONE__ # Use http (we're behind a reverse-proxy) N8N_PROTOCOL=http 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_MYSQLDB_DATABASE=__DB_NAME__ DB_MYSQLDB_HOST="localhost" @@ -33,6 +37,7 @@ EXECUTIONS_DATA_SAVE_ON_PROGRESS=true EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS=false EXECUTIONS_DATA_PRUNE=true EXECUTIONS_DATA_MAX_AGE=168 +EXECUTIONS_DATA_PRUNE_MAX_COUNT=2000 N8N_EMAIL_MODE=smtp N8N_SMTP_HOST=localhost diff --git a/manifest.json b/manifest.json index 61726d3..118b6cd 100755 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "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" }, - "version": "0.193.3~ynh1", + "version": "1.1.1~ynh1", "url": "https://n8n.io/", "upstream": { "license": "Apache-2.0", @@ -19,7 +19,7 @@ "name": "" }, "requirements": { - "yunohost": ">= 11.0.9" + "yunohost": ">= 11.2" }, "multi_instance": false, "services": [ @@ -39,7 +39,11 @@ }, { "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", @@ -47,12 +51,8 @@ "help": { "en": "If enabled, n8n will be accessible by people who do not have an account. This can be changed later via the webadmin.", "fr": "Si cette case est cochée, n8n sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." - }, + }, "default": true - }, - { - "name": "password", - "type": "password" } ] } diff --git a/scripts/_common.sh b/scripts/_common.sh index a5379a9..3ffdb1c 100755 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,9 +4,9 @@ # COMMON VARIABLES #================================================= -nodejs_version=16 +nodejs_version=20 -n8n_version=0.193.3 +n8n_version=1.1.1 #================================================= # PERSONAL HELPERS diff --git a/scripts/change_url b/scripts/change_url index bd7f4e2..284631f 100755 --- a/scripts/change_url +++ b/scripts/change_url @@ -34,7 +34,6 @@ db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) datadir=$(ynh_app_setting_get --app=$app --key=datadir) admin=$(ynh_app_setting_get --app=$app --key=admin) -password=$(ynh_app_setting_get --app=$app --key=password) timezone="$(cat /etc/timezone)" email=$(ynh_app_setting_get --app=$app --key=email) diff --git a/scripts/install b/scripts/install index 83c5601..0d8085c 100755 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,6 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC -password=$YNH_APP_ARG_PASSWORD admin=$YNH_APP_ARG_ADMIN timezone="$(cat /etc/timezone)" 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=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 #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 114bc0d..55baaba 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,7 +25,6 @@ db_user=$db_name db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd) datadir=$(ynh_app_setting_get --app=$app --key=datadir) admin=$(ynh_app_setting_get --app=$app --key=admin) -password=$(ynh_app_setting_get --app=$app --key=password) timezone="$(cat /etc/timezone)" email=$(ynh_app_setting_get --app=$app --key=email)