Commit graph

687 commits

Author SHA1 Message Date
Omar Ajoue 2091b0e1f2 Adding usage examples and warning message 2021-03-01 14:14:36 +01:00
dali 01d53ee9a8 Fix typos 2021-02-24 15:45:39 +01:00
dali c5e1741763 Add --output flag to save JSON formated results 2021-02-24 14:56:25 +01:00
dali fbeb56ab69 Add execution time to execution result 2021-02-24 12:25:17 +01:00
dali 82b599c233 Add JSON flag to output execution result in json format 2021-02-24 12:10:39 +01:00
Omar Ajoue d4cdc3b1f3 Added compare funcionality that helps us identify possible breaking changes 2021-02-16 12:15:21 +01:00
Omar Ajoue db1bbf0432 Added flag to simplify output to execute command and created executeAll
Also created a command that lists workflows so it can be used by
other applications that wish to interact with n8n via CLI.
2021-02-15 15:53:02 +01:00
Omar Ajoue e53efdd337
Separate webhooks from core (#1408)
* 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

* Added webhooks service and setting to disable webhooks from main process

* Fixed executions list when running with queues. Now we get the list of actively running workflows from bull.

* Add option to disable deregistration of webhooks on shutdown

* Rename WEBHOOK_TUNNEL_URL to WEBHOOK_URL keeping backwards compat.

* Added auto refresh to executions list

* Improvements to workflow stop process when running with queues

* Refactor queue system to use a singleton and avoid code duplication

* Improve comments and remove unnecessary commits

* Remove console.log from vue file

* Blocking webhook process to run without queues

* Handling execution stop graciously when possible

* Removing initialization of all workflows from webhook process

* Refactoring code to remove code duplication for job stop

* Improved execution list to be more fluid and less intrusive

* Fixing workflow name for current executions when auto updating

*  Right align autorefresh checkbox

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 23:32:40 +01:00
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