Commit graph

230 commits

Author SHA1 Message Date
Jan Oberhauser b11ec91e59 ⬆️ Set n8n-workflow@0.52.0 on n8n-core 2021-02-15 12:59:51 +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
lublak 0398ec7348
Add s and u flag support for regex (#1397)
* add s flag support for regex

* add u flag (its supported since nodejs 6.4.0)
2021-02-05 09:29:16 +01:00
Jan Oberhauser 54772f4530 🔖 Release n8n-core@0.62.0 2021-02-01 08:35:27 +01:00
Jan Oberhauser ed0b3bdafc ⬆️ Set n8n-workflow@0.51.0 on n8n-core 2021-02-01 08:34:54 +01:00
Jan Oberhauser 5b371ce994 ;zap: Missing change for $mode 2021-01-29 12:16:46 +01:00
Jan Oberhauser 5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +01:00
Jan Oberhauser bf50a539b6 🔖 Release n8n-core@0.61.0 2021-01-27 09:12:50 +01:00
Jan Oberhauser 4b82f90e3c ⬆️ Set n8n-workflow@0.50.0 on n8n-core 2021-01-27 09:12:17 +01:00
Jan Oberhauser 520928488f 🔖 Release n8n-core@0.60.0 2021-01-26 12:03:43 +01:00
Jan Oberhauser 33cfb74741 ⬆️ Set n8n-workflow@0.49.0 on n8n-core 2021-01-26 12:03:01 +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 978c80ed63 🔖 Release n8n-core@0.59.0 2021-01-21 10:58:36 +01:00
Jan Oberhauser 9911348166 👕 Fix lint issue 2021-01-19 09:08:02 +01:00
Jan Oberhauser 1b8229161d 🐛 Fix issue with nodes not getting executed #1351 2021-01-19 08:47:02 +01:00
Jan Oberhauser 29ceb55583 🔖 Release n8n-core@0.58.0 2021-01-07 14:23:56 +01:00
Jan Oberhauser 943344b473 Use empty data if parent node did execute but linked output does not have
data #1286
2020-12-31 15:00:55 +01:00
Jan Oberhauser 751b269f98 🔖 Release n8n-core@0.57.0 2020-12-30 11:57:09 +01:00
Jan Oberhauser bfc3d6bf3e ⬆️ Set n8n-workflow@0.48.0 on n8n-core 2020-12-30 11:56:40 +01:00
Jan Oberhauser b9df96c497 🔖 Release n8n-core@0.56.0 2020-12-16 12:38:58 +01:00
Ricardo Espinoza 18313e1199
Now OAuth2 send authentication data in the body (#1241) 2020-12-12 17:00:57 +01:00
Jan Oberhauser ed61f762e4 🔖 Release n8n-core@0.55.0 2020-12-10 11:36:23 +01:00
Jan Oberhauser b73349a3a5 🐛 Fix bug that OAuth1 requests did not work anymore 2020-12-10 10:39:11 +01:00
Jan Oberhauser e1250fe69d 🔖 Release n8n-core@0.54.0 2020-12-03 13:09:03 +01:00
Jan Oberhauser dffbc0de9c ⬆️ Set n8n-workflow@0.47.0 on n8n-core 2020-12-03 13:08:39 +01:00
Jan Oberhauser 2db42199a3 🔖 Release n8n-core@0.53.0 2020-11-25 13:15:37 +01:00
Jan Oberhauser 72d2b147a3 ⬆️ Set n8n-workflow@0.46.0 on n8n-core 2020-11-25 13:15:04 +01:00
Jan Oberhauser 428d1871fa 🔖 Release n8n-core@0.52.0 2020-11-19 14:04:32 +01:00
Jan Oberhauser 3c78fad25a ⬆️ Set n8n-workflow@0.45.0 on n8n-core 2020-11-19 14:04:07 +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 e327bfcb91 Do not allow shorter polling-times than 1 minute 2020-11-12 12:42:04 +01:00
Jan Oberhauser dce3e0561b 🔖 Release n8n-core@0.51.0 2020-11-11 11:57:47 +01:00
Jan Oberhauser 16caa14065 ⬆️ Set n8n-workflow@0.44.0 on n8n-core 2020-11-11 11:57:23 +01:00
Jan Oberhauser fe6133583c 🔖 Release n8n-core@0.50.0 2020-11-04 16:19:29 +01:00
Ricardo Espinoza 7c049fa858
Add direct message resource to Twitter (#1118) 2020-11-03 23:01:38 +01:00
Jan Oberhauser 1c79ef4d9e 🔖 Release n8n-core@0.49.0 2020-10-30 09:47:14 +01:00
Jan Oberhauser af9d84288e ⬆️ Set n8n-workflow@0.43.0 on n8n-core 2020-10-30 09:46:40 +01:00
Jan Oberhauser 7addd14e36 Add tslintfix script 2020-10-23 09:21:15 +02:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser b1ce92f31d 🔖 Release n8n-core@0.48.1 2020-10-22 15:01:42 +02:00
Jan Oberhauser fe92bc0311 🔖 Release n8n-core@0.48.0 2020-10-22 11:45:17 +02:00
Jan Oberhauser ed9fb413b4 Add missing oauth-1.0a dependency #986 2020-10-22 08:58:23 +02:00
Jan Oberhauser b171cfbb10 Fix issue with thrown errors for nodes with multiple webhooks 2020-10-21 17:50:23 +02:00
Jan Oberhauser c452aaa2b8 ⬆️ Upgrade crypto-js 2020-10-20 15:06:58 +02:00
Jan Oberhauser 269bab679d 👕 Fix built issue 2020-10-20 11:15:14 +02:00
Jan Oberhauser 40b898eb98 🐛 Set lastNodeExecuted correctly also on fail 2020-10-20 09:37:08 +02:00
Jan Oberhauser fb595772f3 Remove necessary console logs 2020-09-24 09:38:12 +02:00