Commit graph

179 commits

Author SHA1 Message Date
lublak cb9f31c49d add dir to different positions 2021-02-15 13:25:30 +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 b19e96465e 🔖 Release n8n-workflow@0.51.0 2021-02-01 08:34:06 +01:00
Jan Oberhauser 5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +01:00
Jan Oberhauser 5517a5b6f9 Remove not needed import 2021-01-27 09:11:02 +01:00
Jan Oberhauser 3a753b4156 🔖 Release n8n-workflow@0.50.0 2021-01-27 09:10:06 +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 4e46f01478 🔖 Release n8n-workflow@0.49.0 2021-01-26 12:02:00 +01:00
Jan Oberhauser 1dedb3f4b8 Add expression support to credentials 2021-01-24 13:33:57 +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 043e7e5081 🔖 Release n8n-workflow@0.48.0 2020-12-30 11:55:50 +01:00
Jan Oberhauser 50e16de270 🐛 Fix bug with null in ObservableObject 2020-12-28 19:18:16 +01:00
Jan Oberhauser 95315cec60 Add optional sort option if "multipleValues" is set 2020-12-27 00:15:33 +01:00
Jan Oberhauser 512f6cb2c6 🔖 Release n8n-workflow@0.47.0 2020-12-03 13:07:14 +01:00
Jan Oberhauser 5d7840b1f6 🐛 Fix bug that trigger nodes always needed first output to be set 2020-12-03 00:23:49 +01:00
Jan Oberhauser de333f602c 🔖 Release n8n-workflow@0.46.0 2020-11-25 13:14:14 +01:00
Jan Oberhauser 0f610e6f5c 🐛 Fix bug that poll did get executed twice 2020-11-24 19:53:48 +01:00
Jan Oberhauser cb91af203b 🔖 Release n8n-workflow@0.45.0 2020-11-19 14:03:03 +01:00
Ben Hesseldieck 130f944398
Catch workflowExecuteAfter hook (#1189) 2020-11-19 10:14:43 +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
Jan Oberhauser d03b21554c 🔖 Release n8n-workflow@0.44.0 2020-11-11 11:56:29 +01:00
Jan Oberhauser 639bdd2ceb Allow custom documentation URLs on credentials & nodes 2020-11-09 12:23:53 +01:00
Jan Oberhauser 9fee42b2a8 Add shear option, resize with alpha color and fix bug 2020-11-09 11:26:46 +01:00
Jan Oberhauser ca1b2d1bd5 🔖 Release n8n-workflow@0.43.0 2020-10-30 09:45:54 +01:00
Jan Oberhauser 66bfcca63f 🐛 Fix issue with IF&Switch node for undefined expressions #1099 2020-10-26 09:43:01 +01:00
Jan Oberhauser 7addd14e36 Add tslintfix script 2020-10-23 09:21:15 +02:00
Jan Oberhauser 546b79bea0 👕 Fix lint issue 2020-10-22 18:00:28 +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
Jan Oberhauser 269bab679d 👕 Fix built issue 2020-10-20 11:15:14 +02:00
Jan Oberhauser 029581df08 🔖 Release n8n-workflow@0.42.0 2020-09-23 13:22:53 +02:00
Jan Oberhauser 62bc1a55cb 🐛 Fix credentials resolve issue 2020-09-23 13:20:50 +02:00
Jan Oberhauser c7f1bb5114 🔖 Release n8n-workflow@0.41.0 2020-09-18 09:59:15 +02:00
Rupenieks 266112a8cb
Clickup OAuth2 support (#649)
* OAuth2 credentials, genericFunctions needed config, UI options for oauth2 support

*  Added options to decide when to to send the bearer

* Fixed "undefined property split" issue

*  Small fix

*  Improvements to ClickUp-Node

*  Improvements

Co-authored-by: Rupenieks <ru@myos,co>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
2020-09-16 09:16:06 +02:00
Jan Oberhauser 181ba3c4e2 📚 License text fix 2020-09-15 07:55:09 +02:00
Jan Oberhauser 653bbda789 🔖 Release n8n-workflow@0.40.0 2020-09-14 13:31:34 +02:00
Jan Oberhauser ac2e0040b0 Set fixed version of @types/node to fix build 2020-09-12 19:25:49 +02:00
Jan Oberhauser d48c649329 ⬆️ Upgrade some dependencies 2020-09-12 14:02:33 +02:00
Jan Oberhauser c8d009bced Add expression support to credentials 2020-09-12 12:16:07 +02:00
Jan Oberhauser adf4bc25bd 🔖 Release n8n-workflow@0.39.0 2020-08-18 17:16:04 +02:00
Jan Oberhauser 30ac4f4c2c Extend CredentialType interface with "documentationUrl" property 2020-08-17 11:58:36 +02:00
Jan Oberhauser adf0d09cc5 Update @types/node to latest version 2020-08-14 18:36:34 +02:00
Jan Oberhauser 94d7ddf735 Use same package versions 2020-08-14 18:03:43 +02:00
Rupenieks a69098a096 Updated @types/node to v14, fixed TS breaking with changes 2020-08-12 12:19:41 +02:00
Jan Oberhauser da0ef0d94c Add "Execute Once" node-setting 2020-08-08 21:11:12 +02:00
Jan Oberhauser ce78e0d14b 🔖 Release n8n-workflow@0.37.0 2020-08-05 09:40:44 +02:00
Jan Oberhauser 5eb30b34a9 🐛 Fix issue that disabled nodes get used as Start-Node #812 2020-08-03 10:15:19 +02:00
Jan Oberhauser 50c57b0e81 🔖 Release n8n-workflow@0.36.0 2020-07-26 12:49:05 +02:00
Ricardo Espinoza 8370940713
Box Node and Trigger (#765)
*  Box Node and Trigger

*  Improvements

*  small fix

* 🐛 Add missing interface

*   add search operation
2020-07-25 19:58:38 +02:00