1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-21 01:47:36 +03:00
Commit Graph

243 Commits

Author SHA1 Message Date
Omar Ajoue
726a99bf69
Add Activation Trigger (#1570)
*  n8n start trigger node

* first declaration of WorkflowActivationMode

* implement first WorkflowActivationMode: 'init', 'create', 'update', 'activate'

* fix Server missing id

* add activation infos to triggers

* remove WorkflowActivationMode from webhook execution function

* add some missing activation and add manual activation

* clean up and fix some code

* fix UnhandledPromiseRejectionWarning: Error: Overwrite NodeExecuteFunctions.getExecuteTriggerFunctions.emit function!

* fix spaces

* use a better name for the node

* fix ident in package.json

* Contributions to lublak's PR #1287

* Fixed linting issues and change the way parameters are displayed

*  Fix name and minor improvements

Co-authored-by: lublak <lublak.de@gmail.com>
Co-authored-by: lublak <44057030+lublak@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-03-23 19:08:47 +01:00
Jan Oberhauser
66caf31e2f 🔖 Release n8n-core@0.65.0 2021-03-19 17:41:10 +01:00
Jan Oberhauser
9510184d79 ⬆️ Set n8n-workflow@0.54.0 on n8n-core 2021-03-19 17:40:37 +01:00
Omar Ajoue
dfeb531cc0
🐛 Fix concurrency issues with subworkflows (#1558) 2021-03-19 17:32:43 +01:00
Jan Oberhauser
ddce679569 Minor changes to directories in binary data 2021-03-18 18:13:24 +01:00
Jan Oberhauser
d65e8ee73b 🔀 Merge branch 'binary-file-path' of https://github.com/lublak/n8n into lublak-binary-file-path 2021-03-18 13:20:26 +01:00
lublak
5da61ef252
Replace some fallback values to match the value type (#1421) 2021-03-08 18:45:35 +01:00
Jan Oberhauser
9d8d4a720a 🔖 Release n8n-core@0.64.0 2021-02-22 13:38:32 +01:00
Jan Oberhauser
f0e4e649db ⬆️ Set n8n-workflow@0.53.0 on n8n-core 2021-02-22 13:38:05 +01:00
Iván Ovejero
0dcaccefa7
GoToWebinar node (#1422)
* Create scaffolding for node

* Add SVG logo

* Create scaffolding for generic functions

* Add index for descriptions

* Simplify retrieval of details

* Introduce minor fixes in generic functions

* Add attendee description

* Fix attendee description operation

* Add coorganizer description

* Add panelist description

* Add registrant description

* Add session description

* Add webinar description

* Register node and credentials

* Add scaffolding for credentials

* Minor creds fixes

* Fix SVG icon size and position

* Fix capitalization in description

* Fix credentials connection

* Add attendee fields

* Populate webinar description

* Remove organizer key from params

* Add timezones array constant

* Implement webinar:create

* Implement webinar:delete

* Convert times to fixed collection

* Add missing segments to endpoints

* Fix webinar:update operation

* Implement all-items request

* Add params for session:getAll

* Add params for webinar:getAll

* Implement session:getAll and webinar:getAll

* Implement session:get and session:getDetails

* Implement coorganizer:create

* Implement coorganizer:delete

* Implement coorganizer:getAll

* Implement coorganizer:delete

* Refactor time range for getAll operations

* Implement coorganizer:reinvite

* Implement panelist:create and panelist:getAll

* Implement panelist:delete and panelist:reinvite

* Remove array body helper types

* Implement registrant:create and registrant:getAll

* Implement registrant:delete

* Prettify error handling

* Add returnAll toggle and limit for all operations

* Preload webinars

* Preload webinar key in more fields

* Refactor getAll as handler

* Add descriptions for session

* Add descriptions for attendee

* Add descriptions for co-organizer

* Add descriptions for panelist

* Add descriptions for registrant

* Add descriptions for webinar

* Add 403 check for refresh token

* Fix defaults for webinar loader

* Add descriptions for webinar types

*  Improvements

* Remove unneeded return type annotation

* Add handler for continue on fail

* Remove 403 check in error handler

The Go To Webinar API returns 403 for a range of various errors, so this check ended up overriding more specific error messages not related to 403 Forbidden errors.

* Remove logging

*  Small improvement

*  Minor improvements

*  Improvements

*  Minor improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-22 08:49:00 +01:00
Jan Oberhauser
c811294612 🐛 Execute node also if it is a sibling but does not receive data
from parent
2021-02-17 00:16:10 +01:00
Jan Oberhauser
56baa6398c 🔖 Release n8n-core@0.63.0 2021-02-15 13:00:17 +01:00
Jan Oberhauser
b11ec91e59 ⬆️ Set n8n-workflow@0.52.0 on n8n-core 2021-02-15 12:59:51 +01:00
lublak
8f318de288 get also the dir data of the path 2021-02-15 12:34:05 +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