From 423e7f8fc2a5ce30652aed3924886209fd2b118a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Mon, 22 Jan 2024 11:04:51 +0100 Subject: [PATCH 1/5] docs: Add env vars for sharing notification --- docs/hosting/environment-variables/environment-variables.md | 2 ++ docs/hosting/user-management-self-hosted.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/hosting/environment-variables/environment-variables.md b/docs/hosting/environment-variables/environment-variables.md index d92f282fe..acf17d090 100644 --- a/docs/hosting/environment-variables/environment-variables.md +++ b/docs/hosting/environment-variables/environment-variables.md @@ -110,6 +110,8 @@ Refer to [User management](/hosting/user-management-self-hosted/) for more infor | `N8N_SMTP_SSL` | Boolean | `true` | Whether to use SSL for SMTP (true) or not (false). | | `N8N_UM_EMAIL_TEMPLATES_INVITE` | String | - | Full path to your HTML email template. This overrides the default template for invite emails. | | `N8N_UM_EMAIL_TEMPLATES_PWRESET` | String | - | Full path to your HTML email template. This overrides the default template for password reset emails. | +| `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | - | Overrides default HTML template for notifying that a workflow was shared (use full path). | +| `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | - | Overrides default HTML template for notifying that credentials were shared (use full path). | | `N8N_USER_MANAGEMENT_JWT_SECRET` | String | - | Set a specific JWT secret. By default, n8n generates one on start. | | `N8N_MFA_ENABLED` | Boolean | `true` | Whether to enable two-factor authentication (true) or disable (false). n8n ignores this if existing users have 2FA enabled. | diff --git a/docs/hosting/user-management-self-hosted.md b/docs/hosting/user-management-self-hosted.md index f82480283..b0d49b90a 100644 --- a/docs/hosting/user-management-self-hosted.md +++ b/docs/hosting/user-management-self-hosted.md @@ -59,6 +59,8 @@ To set up SMTP with n8n, configure the SMTP environment variables for your n8n i | `N8N_SMTP_SSL` | boolean | Whether to use SSL for SMTP (true) or not (false). Defaults to `true`. | Optional | | `N8N_UM_EMAIL_TEMPLATES_INVITE` | string | Full path to your HTML email template. This overrides the default template for invite emails. | Optional | | `N8N_UM_EMAIL_TEMPLATES_PWRESET` | string | Full path to your HTML email template. This overrides the default template for password reset emails. | Optional | +| `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | Overrides default HTML template for notifying that a workflow was shared (use full path). | Optional | +| `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | Overrides default HTML template for notifying that credentials were shared (use full path). | Optional | If your n8n instance is already running, you need to restart it to enable the new SMTP settings. From 7f5b01c5234b980dc02c1ed09b60c23f244154fb Mon Sep 17 00:00:00 2001 From: Deborah Date: Mon, 22 Jan 2024 13:05:19 +0000 Subject: [PATCH 2/5] Update docs/hosting/environment-variables/environment-variables.md --- docs/hosting/environment-variables/environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/environment-variables/environment-variables.md b/docs/hosting/environment-variables/environment-variables.md index acf17d090..ec478b847 100644 --- a/docs/hosting/environment-variables/environment-variables.md +++ b/docs/hosting/environment-variables/environment-variables.md @@ -110,7 +110,7 @@ Refer to [User management](/hosting/user-management-self-hosted/) for more infor | `N8N_SMTP_SSL` | Boolean | `true` | Whether to use SSL for SMTP (true) or not (false). | | `N8N_UM_EMAIL_TEMPLATES_INVITE` | String | - | Full path to your HTML email template. This overrides the default template for invite emails. | | `N8N_UM_EMAIL_TEMPLATES_PWRESET` | String | - | Full path to your HTML email template. This overrides the default template for password reset emails. | -| `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | - | Overrides default HTML template for notifying that a workflow was shared (use full path). | +| `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | - | Overrides the default HTML template for notifying users that a workflow was shared. Provide the full path to the template. | | `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | - | Overrides default HTML template for notifying that credentials were shared (use full path). | | `N8N_USER_MANAGEMENT_JWT_SECRET` | String | - | Set a specific JWT secret. By default, n8n generates one on start. | | `N8N_MFA_ENABLED` | Boolean | `true` | Whether to enable two-factor authentication (true) or disable (false). n8n ignores this if existing users have 2FA enabled. | From 5ff79ef0edfa2d3b0425774b5a1f79a2b99ae816 Mon Sep 17 00:00:00 2001 From: Deborah Date: Mon, 22 Jan 2024 13:05:24 +0000 Subject: [PATCH 3/5] Update docs/hosting/environment-variables/environment-variables.md --- docs/hosting/environment-variables/environment-variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/environment-variables/environment-variables.md b/docs/hosting/environment-variables/environment-variables.md index ec478b847..75c8238f7 100644 --- a/docs/hosting/environment-variables/environment-variables.md +++ b/docs/hosting/environment-variables/environment-variables.md @@ -111,7 +111,7 @@ Refer to [User management](/hosting/user-management-self-hosted/) for more infor | `N8N_UM_EMAIL_TEMPLATES_INVITE` | String | - | Full path to your HTML email template. This overrides the default template for invite emails. | | `N8N_UM_EMAIL_TEMPLATES_PWRESET` | String | - | Full path to your HTML email template. This overrides the default template for password reset emails. | | `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | - | Overrides the default HTML template for notifying users that a workflow was shared. Provide the full path to the template. | -| `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | - | Overrides default HTML template for notifying that credentials were shared (use full path). | +| `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | - | Overrides the default HTML template for notifying users that a credential was shared. Provide the full path to the template. | | `N8N_USER_MANAGEMENT_JWT_SECRET` | String | - | Set a specific JWT secret. By default, n8n generates one on start. | | `N8N_MFA_ENABLED` | Boolean | `true` | Whether to enable two-factor authentication (true) or disable (false). n8n ignores this if existing users have 2FA enabled. | From b71c83d3640d05ee8cec1708d59332aa065f18a8 Mon Sep 17 00:00:00 2001 From: Deborah Date: Mon, 22 Jan 2024 13:05:30 +0000 Subject: [PATCH 4/5] Update docs/hosting/user-management-self-hosted.md --- docs/hosting/user-management-self-hosted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/user-management-self-hosted.md b/docs/hosting/user-management-self-hosted.md index b0d49b90a..36ef5f80f 100644 --- a/docs/hosting/user-management-self-hosted.md +++ b/docs/hosting/user-management-self-hosted.md @@ -60,7 +60,7 @@ To set up SMTP with n8n, configure the SMTP environment variables for your n8n i | `N8N_UM_EMAIL_TEMPLATES_INVITE` | string | Full path to your HTML email template. This overrides the default template for invite emails. | Optional | | `N8N_UM_EMAIL_TEMPLATES_PWRESET` | string | Full path to your HTML email template. This overrides the default template for password reset emails. | Optional | | `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | Overrides default HTML template for notifying that a workflow was shared (use full path). | Optional | -| `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | Overrides default HTML template for notifying that credentials were shared (use full path). | Optional | +| `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | Overrides the default HTML template for notifying users that a credential was shared. Provide the full path to the template. | Optional | If your n8n instance is already running, you need to restart it to enable the new SMTP settings. From 5ef6289c5517195f83b8f0a2a5cfc1a30462ecba Mon Sep 17 00:00:00 2001 From: Deborah Date: Mon, 22 Jan 2024 13:05:35 +0000 Subject: [PATCH 5/5] Update docs/hosting/user-management-self-hosted.md --- docs/hosting/user-management-self-hosted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/user-management-self-hosted.md b/docs/hosting/user-management-self-hosted.md index 36ef5f80f..d9c2d0bdf 100644 --- a/docs/hosting/user-management-self-hosted.md +++ b/docs/hosting/user-management-self-hosted.md @@ -59,7 +59,7 @@ To set up SMTP with n8n, configure the SMTP environment variables for your n8n i | `N8N_SMTP_SSL` | boolean | Whether to use SSL for SMTP (true) or not (false). Defaults to `true`. | Optional | | `N8N_UM_EMAIL_TEMPLATES_INVITE` | string | Full path to your HTML email template. This overrides the default template for invite emails. | Optional | | `N8N_UM_EMAIL_TEMPLATES_PWRESET` | string | Full path to your HTML email template. This overrides the default template for password reset emails. | Optional | -| `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | Overrides default HTML template for notifying that a workflow was shared (use full path). | Optional | +| `N8N_UM_EMAIL_TEMPLATES_WORKFLOW_SHARED` | String | Overrides the default HTML template for notifying users that a credential was shared. Provide the full path to the template. | Optional | | `N8N_UM_EMAIL_TEMPLATES_CREDENTIALS_SHARED` | String | Overrides the default HTML template for notifying users that a credential was shared. Provide the full path to the template. | Optional | If your n8n instance is already running, you need to restart it to enable the new SMTP settings.