Commit graph

729 commits

Author SHA1 Message Date
Ben Hesseldieck 98fa529e51
Dynamic webhooks improvements (#1396)
*  remove trailing slash in routes

* 🔧 update logic to select dynamicWebhook

* 🐛 fix logic in static route matching
2021-02-09 09:14:40 +01:00
Omar Ajoue 7a3aaf8a24
Unify execution id + Queue system (#1340)
* Unify execution ID across executions

* Fix indentation and improved comments

* WIP: saving data after each node execution

* Added on/off to save data after each step, saving initial data and retries working

* Fixing lint issues

* Fixing more lint issues

*  Add bull to execute workflows

* 👕 Fix lint issue

*  Add graceful shutdown to worker

*  Add loading staticData to worker

* 👕 Fix lint issue

*  Fix import

* Changed tables metadata to add nullable to stoppedAt

* Reload database on migration run

* Fixed reloading database schema for sqlite by reconnecting and fixing postgres migration

* Added checks to Redis and exiting process if connection is unavailable

* Fixing error with new installations

* Fix issue with data not being sent back to browser on manual executions with defined destination

* Merging bull and unify execution id branch fixes

* Main process will now get execution success from database instead of redis

* Omit execution duration if execution did not stop

* Fix issue with execution list displaying inconsistant information information while a workflow is running

* Remove unused hooks to clarify for developers that these wont run in queue mode

* Added active pooling to help recover from Redis crashes

* Lint issues

* Changing default polling interval to 60 seconds

* Removed unnecessary attributes from bull job

*  Improved output on worker job start

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 08:59:32 +01:00
Jan Oberhauser ae92325ba3 🔖 Release n8n@0.107.0 2021-02-08 08:04:35 +01:00
Jan Oberhauser 1a26720d92 ⬆️ Set n8n-editor-ui@0.77.0 and n8n-nodes-base@0.104.0 on n8n 2021-02-08 08:03:52 +01:00
Jan Oberhauser 65b69e4b60 ⬆️ Set sqlite3@5.0.1 on n8n 2021-02-06 17:36:09 +01:00
Jan Oberhauser 2c2c4b4b4d 🔖 Release n8n@0.106.0 2021-02-05 09:39:35 +01:00
Jan Oberhauser c26d752408 ⬆️ Set n8n-editor-ui@0.76.0 and n8n-nodes-base@0.103.0 on n8n 2021-02-05 09:38:41 +01:00
Jan Oberhauser 51bc430023 🔖 Release n8n@0.105.0 2021-02-01 08:40:43 +01:00
Jan Oberhauser b2911a5aab ⬆️ Set n8n-core@0.62.0, n8n-editor-ui@0.75.0, n8n-nodes-base@0.102.0 and n8n-workflow@0.51.0 on n8n 2021-02-01 08:40:14 +01:00
Ricardo Espinoza dc98de1ab2
Add support for multiple subscriptions in Hubspot Trigger (#1358)
*  Add support for multiple subscriptions in Hubspot Trigger

*  Load object properties for the user

*  Improvements

*  Some improvements to the Hubspot-Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-01 08:31:40 +01:00
Jan Oberhauser 5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +01:00
Ben Hesseldieck 8764171989
🎨 small webhook refactorings (#1383)
* 🧹 clean up forgotten leftover

* 🎨 reset req.params

* 🐛 Bugfix and minor change on request parameters

*  Minor improvements on request parameters

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-28 15:44:10 +01:00
Jan Oberhauser bc74d7ad47 ⬆️ Set n8n-core@0.61.0, n8n-editor-ui@0.74.0, n8n-nodes-base@0.101.0 and n8n-workflow@0.50.0 on n8n 2021-01-27 09:18:45 +01:00
Jan Oberhauser 0582edb111 🔖 Release n8n@0.104.2 2021-01-27 09:06:58 +01:00
Jan Oberhauser b79589a83e ⬆️ Set n8n-nodes-base@0.100.0 on n8n 2021-01-27 09:06:32 +01:00
Jan Oberhauser 3f6d4b6c08 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2021-01-27 09:03:18 +01:00
Jan Oberhauser de0ac0158a 🐛 Fix credential bug with parameters which have the same name 2021-01-27 09:02:20 +01:00
Jan Oberhauser da022300f9 🔖 Release n8n@0.104.1 2021-01-26 16:54:23 +01:00
Jan Oberhauser 91623806ae 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2021-01-26 16:53:00 +01:00
Jan Oberhauser bd4639b644 🐛 Fix bug with expressions in credentials 2021-01-26 16:52:35 +01:00
Tanay Pant 2398c42b30
🔨 Add breaking change for 0.104.0 (#1382) 2021-01-26 14:39:19 +01:00
Jan Oberhauser 353a270f0c 🔖 Release n8n@0.104.0 2021-01-26 12:09:22 +01:00
Jan Oberhauser 4bd675203e ⬆️ Set n8n-core@0.60.0, n8n-editor-ui@0.73.0, n8n-nodes-base@0.99.0 and n8n-workflow@0.49.0 on n8n 2021-01-26 12:08:39 +01:00
Jan Oberhauser 1dedb3f4b8 Add expression support to credentials 2021-01-24 13:33:57 +01:00
Jan b33a5fcd13
💥 Remove MongoDB support 2021-01-23 20:35:38 +01:00
Ben Hesseldieck d395498882
Add support for webhook route parameters (#1343)
* 🚧 add webhookId to URL

* 🚧 add webhookId to webhook entity, 🔧 refactor migrations

* 🚧 🐘 postgres migration

* 🚧 add mySQL migration

* 🚧 refactor mongoDB

* 🚧 add webhookId to IWebhookDb

* 🚧 starting workflow with dynamic route works

*  production dynamic webhooks complete

* 🎨 fix lint issues

* 🔧 dynamic path for webhook-test complete

* 🎨 fix lint issues

* 🎨 fix typescript issue

*  add error message for dynamic webhook-test

* 🔨 improve handling of leading `/`

* 🚧 add webhookId to URL

* 🚧 add webhookId to webhook entity, 🔧 refactor migrations

* 🚧 🐘 postgres migration

* 🚧 add mySQL migration

* 🚧 refactor mongoDB

* 🚧 add webhookId to IWebhookDb

* 🚧 starting workflow with dynamic route works

*  production dynamic webhooks complete

* 🎨 fix lint issues

* 🔧 dynamic path for webhook-test complete

* 🎨 fix lint issues

* 🎨 fix typescript issue

*  add error message for dynamic webhook-test

* 🔨 improve handling of leading `/`

*  Fix issue that tab-title did not get reset on new workflow

* Revert " Fix issue that tab-title did not get reset on new workflow"

This reverts commit 699d0a8946.

* 🔧 reset params before extraction

* 🐘 removing unique constraint for webhookId

* 🚧 handle multiple webhooks per id

* 🔧 enable webhook-test for multiple WH with same id

* 🐘 add migration for postgres

*  add mysql migration

* 🎨 fix lint issue

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-23 20:00:32 +01:00
Jan Oberhauser cc4d6ab02a 🔖 Release n8n@0.103.1 2021-01-21 11:35:14 +01:00
Jan Oberhauser 9265eabbb7 ⬆️ Set n8n-nodes-base@0.98.1 on n8n 2021-01-21 11:34:30 +01:00
Jan Oberhauser d1ac4763df 🔖 Release n8n@0.103.0 2021-01-21 11:03:15 +01:00
Jan Oberhauser 64404381e3 ⬆️ Set n8n-core@0.59.0, n8n-editor-ui@0.72.0 and n8n-nodes-base@0.98.0 on n8n 2021-01-21 11:02:40 +01:00
Jan Oberhauser 910c0eaa7a Improve CLI export/import and add missing files 2021-01-21 10:52:33 +01:00
Jan Oberhauser 144de3f24b 👕 Fix lint issue 2021-01-21 10:47:45 +01:00
Omar Ajoue cd7ed7db47
Add CLI export/import for credentials/workflows (#1363)
* Added options to import and export workflows and credentials

* Fixed linting issues and descriptions

* Linting issues and allowing import/export operations to output multiple files

*  Minor changes to CLI export/import

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-20 23:51:49 +01:00
Ahsan Virani 4d446229c3
Introduce FE external hooks (#1332)
*  Introduce FE external hooks

*  update hooks

*  add data from frontend settings to hooks

* re-organize and update

* cleanup

* 👌

*  cleanup workflowSave mixin, add events

* avoid alert on new workflow save as

*  update workflow active events

* rename externalhooks method

*  Rename frontend hooks

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-19 23:48:30 +01:00
Jan Oberhauser e525c79032 🔖 Release n8n@0.102.0 2021-01-15 11:49:59 +01:00
Jan Oberhauser 195233d62e ⬆️ Set n8n-editor-ui@0.71.0 and n8n-nodes-base@0.97.0 on n8n 2021-01-15 11:49:29 +01:00
Jan Oberhauser cbd41b28ca Add breaking change for 0.102.0 (Slack) 2021-01-15 11:14:59 +01:00
Jan Oberhauser ae4aa112f3 Add breaking change for 0.102.0 2021-01-14 17:34:37 +01:00
Jan Oberhauser b33b7bdd52 🔖 Release n8n@0.101.0 2021-01-07 14:28:56 +01:00
Jan Oberhauser bd996fec5a ⬆️ Set n8n-core@0.58.0, n8n-editor-ui@0.70.0 and n8n-nodes-base@0.96.0 on n8n 2021-01-07 14:28:17 +01:00
Jan Oberhauser 78f8114499 Minor text change 2021-01-07 13:17:49 +01:00
Omar Ajoue ba8ea6c0f5 Removing console.log message 2021-01-06 13:01:56 +01:00
Omar Ajoue 04a8912a94 Changed vacuum operation to run on startup only. Also it is now off by default. 2021-01-04 09:30:02 +01:00
Omar Ajoue d528e442ba Run vacuum on sqlite periodically 2020-12-31 10:42:16 +01:00
Jan Oberhauser 638310fa94 🔖 Release n8n@0.100.0 2020-12-30 12:02:42 +01:00
Jan Oberhauser dc71a288cc ⬆️ Set n8n-core@0.57.0, n8n-editor-ui@0.69.0, n8n-nodes-base@0.95.0 and n8n-workflow@0.48.0 on n8n 2020-12-30 12:01:42 +01:00
Jan Oberhauser ed1f29feba Make it possible to supply hook data with reload 2020-12-30 11:45:29 +01:00
Jan Oberhauser b0b2a51d04 🔖 Release n8n@0.99.1 2020-12-24 22:12:01 +01:00
Jan Oberhauser 0c4135d851 ⬆️ Set n8n-editor-ui@0.68.1 on n8n 2020-12-24 22:11:35 +01:00
Jan Oberhauser 44c28b3491 🔖 Release n8n@0.99.0 2020-12-24 09:14:03 +01:00
Jan Oberhauser ee9fc20243 ⬆️ Set n8n-editor-ui@0.68.0 and n8n-nodes-base@0.94.0 on n8n 2020-12-24 09:13:14 +01:00
Jan Oberhauser ecdcc0b522 🐛 Fix issue that DB init errors did not get caught #1269 2020-12-24 09:06:43 +01:00
Jan Oberhauser b5d4391ace 🔖 Release n8n@0.98.0 2020-12-16 12:45:22 +01:00
Jan Oberhauser ebd475fb32 ⬆️ Set n8n-core@0.56.0, n8n-editor-ui@0.67.0 and n8n-nodes-base@0.93.0 on n8n 2020-12-16 12:44:31 +01:00
Mathieu Ledru 53a97cc27b
🎨 update wordings to distinct distribution model to it's license (#1220) 2020-12-15 10:50:52 +01:00
Jan Oberhauser 0918106328 Make it possible to return string via Webhook-Node 2020-12-14 15:09:41 +01:00
Jan Oberhauser 7cdbe5c147 👕 Fix lint issue 2020-12-12 20:59:17 +01:00
Jan Oberhauser d306be8099 🐛 Fix bug in own error-workflow addition 2020-12-12 18:41:11 +01:00
lublak 8b567c20b9
Allow workflow to trigger on own error trigger (#1205)
* allow workflow to trigger on own error trigger

* use config errorTriggerType instance of a static string

* don't trigger twice
2020-12-12 18:36:47 +01:00
Jan Oberhauser cfc222a877 🔖 Release n8n@0.97.0 2020-12-10 11:40:12 +01:00
Jan Oberhauser 7d29c91f07 ⬆️ Set n8n-core@0.55.0 and n8n-nodes-base@0.92.0 on n8n 2020-12-10 11:39:27 +01:00
Jan Oberhauser e8f53effb4 📚 Fix and unify number of nodes 2020-12-10 08:44:06 +01:00
Jan Oberhauser fed0a4996e 🔖 Release n8n@0.96.0 2020-12-03 13:14:03 +01:00
Jan Oberhauser c51f4d2ea0 ⬆️ Set n8n-core@0.54.0, n8n-editor-ui@0.66.0, n8n-nodes-base@0.91.0 and n8n-workflow@0.47.0 on n8n 2020-12-03 13:13:36 +01:00
Jan Oberhauser ea79e80c17 Make it possible to load only specific nodes 2020-12-01 10:53:43 +01:00
Jan Oberhauser e428ccffba Make it possible to reload hook-files 2020-11-25 15:42:33 +01:00
Jan Oberhauser dfd054f036 🔖 Release n8n@0.95.1 2020-11-25 14:12:08 +01:00
Jan Oberhauser 4d8aa0bfc3 ⬆️ Set n8n-nodes-base@0.90.1 on n8n 2020-11-25 14:11:36 +01:00
Jan Oberhauser 258d77151b 🔖 Release n8n@0.95.0 2020-11-25 13:22:07 +01:00
Jan Oberhauser d962880b31 ⬆️ Set n8n-core@0.53.0, n8n-editor-ui@0.65.0, n8n-nodes-base@0.90.0 and n8n-workflow@0.46.0 on n8n 2020-11-25 13:21:30 +01:00
Ronalds Upenieks 3351113f28
Add Harvest OAuth2 support (#697)
* credentials, generic functions fit to oauth2, UI elements

*  Improvements to Harvest-Node

* Update Harvest.node.ts

*  Add OAuth2 and move account id from credentials to node parameters

*  Minor improvements to Harvest-Node

Co-authored-by: Rupenieks <ru@myos,co>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-11-24 14:15:47 +01:00
Jan Oberhauser 3c843f5c74 🔖 Release n8n@0.94.1 2020-11-20 17:07:16 +01:00
Jan Oberhauser 107e52d2a6 ⬆️ Set n8n-nodes-base@0.89.1 on n8n 2020-11-20 17:04:24 +01:00
Jan Oberhauser f558616376 🔖 Release n8n@0.94.0 2020-11-19 14:13:57 +01:00
Jan Oberhauser 4e43b2e5e7 ⬆️ Set n8n-core@0.52.0, n8n-editor-ui@0.64.0, n8n-nodes-base@0.89.0 and n8n-workflow@0.45.0 on n8n 2020-11-19 14:13:16 +01:00
Ricardo Espinoza b0863e55b1
Feature/segment extended (#1174)
*  Add custom traits

*  Improvements

*  Small changes

*  Improvements
2020-11-18 23:37:56 +01:00
Jan Oberhauser 768b7d5263 Update required node version in package.json 2020-11-16 18:21:46 +01:00
Ben Hesseldieck f2666e92ff
Add preExecuteHooks (#1151)
*  Save initital data on hook error

* 🚧 update function interface

* 🚧 response webhook with error, 🐛 fix adding preExecutionHooks to hooks

* 🔥 remove execute hook

*  execute preExecute hooks on integrated workflows

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-11-13 23:31:27 +01:00
Tanay Pant c602803ed7
Add breaking change for 0.93.0 2020-11-12 09:14:24 +01:00
Jan Oberhauser 7641d2ad81 🔖 Release n8n@0.93.0 2020-11-11 12:03:16 +01:00
Jan Oberhauser 887e777e9a ⬆️ Set n8n-core@0.51.0, n8n-editor-ui@0.63.0, n8n-nodes-base@0.88.0 and n8n-workflow@0.44.0 on n8n 2020-11-11 12:02:45 +01:00
Jan Oberhauser 0f95ad4446 🐛 Fix retry buy with current workflow #1144 2020-11-11 10:24:10 +01:00
Jan Oberhauser 7168b1780e 🔖 Release n8n@0.92.0 2020-11-04 16:29:18 +01:00
Jan Oberhauser dc41973009 ⬆️ Set n8n-core@0.50.0, n8n-editor-ui@0.62.0 and n8n-nodes-base@0.87.0 on n8n 2020-11-04 16:28:31 +01:00
Tanay Pant c3076a8dc7
Update for n8n@090.0 2020-10-30 12:34:03 +01:00
Jan Oberhauser 5f12b840d6 🔖 Release n8n@0.91.0 2020-10-30 09:51:57 +01:00
Jan Oberhauser e84b72e1a2 ⬆️ Set n8n-core@0.49.0, n8n-editor-ui@0.61.0, n8n-nodes-base@0.86.0 and n8n-workflow@0.43.0 on n8n 2020-10-30 09:51:18 +01:00
Jan Oberhauser 0f0dfa2191 Minor improvements and lint-fix 2020-10-28 23:38:53 +01:00
AxelRueweler 5460b69418
Select executions by the firstId (#1108)
* Add option to get the full execution data from the server.

* Select Executions by the firstId.
2020-10-28 23:34:16 +01:00
Jan Oberhauser ac346b125b Change CLI command config -> update 2020-10-27 11:14:51 +01:00
Jan Oberhauser 609a2a4791 👕 Fix lint issue 2020-10-26 21:26:52 +01:00
AxelRueweler 7aeafc9f27
Add option to get the full execution data from the server. (#1101) 2020-10-26 21:19:44 +01:00
Jan Oberhauser c8e85b5d6d 👕 Fix lint issue 2020-10-25 11:26:27 +01:00
Jan Oberhauser 6cc986c516 Check on startup for Node.js version 12.9 or later 2020-10-25 11:01:36 +01:00
Jan Oberhauser 205a033717 Add CLI command to deactivate workflows 2020-10-24 14:37:45 +02:00
Jan Oberhauser c7b1cbbc72 ⬆️ Set n8n-nodes-base@0.85.0 on n8n 2020-10-23 18:17:03 +02:00
Jan Oberhauser 7addd14e36 Add tslintfix script 2020-10-23 09:21:15 +02:00
Jan Oberhauser 53162ba462 Minor improvements on loading parameters on demand 2020-10-22 17:32:05 +02:00
Omar Ajoue 37f787d7b2
Load node properties on demand (#1089)
*  Changed rest api endpoint to omit node properties by default.
 Created another endpoint to return all node information based on a list of names

* refactor: changed endpoint to POST instead of GET

* Changed properties to be optional for node description

* Removed eager loading for node properties.

All nodes will have their properties fetched when used in a workflow.
Works when opening an already saved workflow, creating a new one from
scratch or pasting JSON / URLs.

* Removing unnecessary dependency
2020-10-22 17:24:35 +02:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00