Commit graph

384 commits

Author SHA1 Message Date
Omar Ajoue 7ce7285f7a
Load credentials from the database (#1741)
* Changes to types so that credentials can be always loaded from DB

This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.

This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.

* Fix updated files

* Removed unnecessary credential loading to improve performance

* Fix typo

*  Fix issue

* Updated new nodes to load credentials async

*  Remove not needed comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:57:30 +02:00
Ahsan Virani 178235e148
Initial changes for binary data management (#2105)
* introduce binary data management

* cr

* add binary data changes to awsS3 node

* add binary data changes to Box node

* add binary data changes to CiscoWebex node

* add binary data changes to HumaniticAi node

* add binary data changes to Jira node

* add binary data changes to Line node

* add binary data changes to MicrosoftOneDrive node

* add binary data changes to MicrosoftOutlook node

* add binary data changes to Mindee node

* add binary data changes to NocoDB node

* add binary data changes to Pushbullet node

* add binary data changes to Pushover node

* add binary data changes to Raindrop node

* add binary data changes to S3 node

* add binary data changes to Salesforce node

* add binary data changes to Ssh node

* add binary data changes to TheHive node

* add binary data changes to Twist node

* add binary data changes to Twitter node

* remove changes not needed right now

* 🐛 Fix issue with multiple runs

* 🐛 Revert fix and add support for multiple inputs

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:08:40 +02:00
Jan Oberhauser 9757ebab43 🔖 Release n8n-core@0.79.0 2021-08-15 18:30:45 +00:00
Jan Oberhauser 309324f60f Allow crypto-js bugfix versions 2021-08-13 11:58:52 +02:00
Snyk bot 98a6d784b8
⬆️ Set crypto-js@4.1.1 on n8n-core
Snyk has created this PR to upgrade crypto-js from 4.0.0 to 4.1.1.

See this package in npm:
https://www.npmjs.com/package/crypto-js

See this project in Snyk:
https://app.snyk.io/org/janober/project/2579c34e-cd60-421b-a46b-41f87f875eec?utm_source=github&utm_medium=upgrade-pr
2021-08-13 11:58:21 +02:00
Jan Oberhauser 205a314a52 🔖 Release n8n-core@0.78.0 2021-07-24 19:59:49 +00:00
Jan Oberhauser 576aa9fb85 ⬆️ Set n8n-workflow@0.64.0 on n8n-core 2021-07-24 19:59:49 +00:00
Jan Oberhauser d0221ce625 🔖 Release n8n-core@0.77.0 2021-07-11 16:21:37 +00:00
Omar Ajoue d3da5023f0
🐛 Fix "unknown", never-end workflow and not displaying error message (#1978)
* Added try catch blocks to avoid endlessly running workflows

* Added handling for subworkflows

*  Fix one cause of "unkown" status of worklows with "main" mode

*  Fix one cause of "unkown" status of worklows with "own" mode

*  Fix one cause of "unkown" status of worklows with "queue" mode

* Saving database recovery

* 🐛 Fix issue that errors did not get saved correctly and also not
displayed

*  Save workflow timeout correctly as error

* Adding error capture to queued jobs

*  Mark canceled executions as not finished consistently across all
modes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 11:34:41 +02:00
Jan Oberhauser 8b94373863 🔖 Release n8n-core@0.76.0 2021-07-04 18:13:01 +00:00
Jan Oberhauser 1532d27102 ⬆️ Set n8n-workflow@0.63.0 on n8n-core 2021-07-04 18:13:00 +00:00
Jan Oberhauser bb701dd3ea 🔖 Release n8n-core@0.75.0 2021-06-20 09:15:41 +00:00
Jan Oberhauser 627e17324e ⬆️ Set n8n-workflow@0.62.0 on n8n-core 2021-06-20 09:15:41 +00:00
Jan Oberhauser 786c19806b 🔖 Release n8n-core@0.74.0 2021-06-13 17:56:07 +00:00
Jan Oberhauser a427f78010 ⬆️ Set n8n-workflow@0.61.0 on n8n-core 2021-06-13 17:56:07 +00:00
Jan Oberhauser 1d850da9fb Send request of HTTP Request node to browser console when testing 2021-06-12 20:22:55 +02:00
Jan Oberhauser e80cbc4ef9 🔖 Release n8n-core@0.73.0 2021-05-30 17:46:14 +00:00
Jan Oberhauser 3b071b3b55 ⬆️ Set n8n-workflow@0.60.0 on n8n-core 2021-05-30 17:46:14 +00:00
Jan 4946bfcd3e
Add functionality to send console.log messages to editor-UI (#1816)
*  Send console.log messages to editor-UI

*  Send message only to session which started workflow

*  Made it also work in own process

*  Add support for console.log UI forward also to FunctionItem Node

* 👕 Fix lint issue

* 👕 Fix linting issue

*  Improve code

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-05-29 13:41:25 -05:00
Jan Oberhauser 67ce1a5c1f 🔖 Release n8n-core@0.72.0 2021-05-20 21:42:26 +00:00
Jan Oberhauser a60f5e0997 ⬆️ Set n8n-workflow@0.59.0 on n8n-core 2021-05-20 21:42:26 +00:00
Jan Oberhauser 002f53a4af Allow to load sibling parameters in loadOptionsMethod 2021-05-16 18:16:24 -05:00
Jan Oberhauser da3856e875 🔖 Release n8n-core@0.71.0 2021-05-16 18:43:14 +00:00
Jan Oberhauser 4de0daa2c2 ⬆️ Set n8n-workflow@0.58.0 on n8n-core 2021-05-16 18:43:14 +00:00
Jan Oberhauser 1aa0a5cc8d Make it possible to read sibling parameter 2021-05-14 18:16:48 -05:00
Jan Oberhauser b05c4d5a55 🔖 Release n8n-core@0.70.0 2021-05-09 19:24:17 +00:00
Jan Oberhauser b47f4bc012 🐛 Fix issue that nodes did execute even if there was no input data 2021-05-08 21:49:55 -05:00
Jan Oberhauser 56b93c3e7e 🔖 Release n8n-core@0.69.0 2021-05-02 13:56:37 +00:00
Jan Oberhauser 6980ecf2a8 ⬆️ Set n8n-workflow@0.57.0 on n8n-core 2021-05-02 13:56:37 +00:00
Omar Ajoue c972f3dd50
Added logging to n8n (#1381)
* Added logging to n8n

This commit adds logging to n8n using the Winston library.

For now, this commit only allows logging to console (default behavior)
or file (need to pass in config via environment variables).

Other logging methods can be further implemented using hooks. These were
skipped for now as it would require adding more dependencies.

Logging level is notice by default, meaning no additional messages would
be displayed at the moment. Logging level can be set to info or debug as
well to enrich the generated logs.

The ILogger interface was added to the workflow project as it would make
it available for all other projects but the implementation was done on
the cli project.

* Lint fixes and logging level naming. Also fixed the way we use the logger as it was not working previously

* Improvements to logging framework

Using appropriate single quotes
Improving the way the logger is declared

* Improved naming for Log Types

* Removed logger global variable, replacing it by a proxy

* Add logging to CLI commands

* Remove unused GenericHelpers

* Changed back some messages to console instead of logger and added npm
shortcuts for worker and webhook

* Fix typos

* Adding basic file rotation to logs as suggested by @mutdmour

* Fixed linting issues

* Correcting comment to correctly reflect space usage

* Added settings for log files rotation

* Correcting config type from String to Number

* Changed default file settings to number

To reflect previous changes to the type

* Changed the way log messages are added to be called statically. Also minor naming improvements

* Applying latest corrections sent by @ivov

*  Some logging improvements

* Saving logs to a folder inside n8n home instead of root

* Fixed broken tests and linting

* Changed some log messages to improve formatting

* Adding quotes to names  on log messages

* Added execution and session IDs to logs. Also removed unnecessary line breaks

*  Added file caller to log messages (#1657)

This is done using callsites library which already existed
in the project as another library's dependency. So in fact
it does not add any new dependency.

* Adding logs to help debug Salesforce node

*  Add function name to logs and add more logs

*  Improve some error messages

*  Improve some more log messages

*  Rename logging env variables to match others

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-01 22:43:01 -05:00
Jan Oberhauser 3dacb283ac 🔖 Release n8n-core@0.68.0 2021-04-17 15:34:20 +00:00
Jan Oberhauser 659232c2b1 ⬆️ Set n8n-workflow@0.56.0 on n8n-core 2021-04-17 15:34:20 +00:00
Omar Ajoue 0c779de704
Implement timeout for workers and corrected timeout for subworkflows (#1634)
* Implemented timeout for workers and corrected timeout for subworkflows

* Fixed issue with timeouts when running on separate processes

* Standardized timeouts across all n8n

Now the maxTimeout setting takes effect whenever a timeout is set
to any workflows.

This causes local timeouts (either set on a per-workflow basis or
via global settings) to be capped by the maximum timeout. This
behavior already existed but was not applied to all places.

Also changed the way n8n enforces timeouts for subworkflows, making
it work always.

In effect, with this change, if you have one workflow that calls others
only the main workflow's timeout is taken into consideration, limiting
the maximum time that other workflows combined can run.

*  Fix timeout problem in "own" mode

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-17 16:44:07 +02:00
Omar Ajoue 882e2f8e74
Addglobal timeout setting for all http requests except for http request node (#1650)
* Added a global timeout setting for all http requests except for http
node.

The http node explicitly sets a timeout that overrides the default
value.

This is to prevent behaviors when users were expecting that their quests
could take a very long time to execute.

* Removed unnecessary typing from code
2021-04-17 15:15:33 +02:00
Iván Ovejero 1d27a9e87e
Improve node error handling (#1309)
* Add path mapping and response error interfaces

* Add error handling and throwing functionality

* Refactor error handling into a single function

* Re-implement error handling in Hacker News node

* Fix linting details

* Re-implement error handling in Spotify node

* Re-implement error handling in G Suite Admin node

* 🚧 create basic setup NodeError

* 🚧 add httpCodes

* 🚧 add path priolist

* 🚧 handle statusCode in error, adjust interfaces

* 🚧 fixing type issues w/Ivan

* 🚧 add error exploration

* 👔 fix linter issues

* 🔧 improve object check

* 🚧 remove path passing from NodeApiError

* 🚧 add multi error + refactor findProperty method

* 👔 allow any

* 🔧 handle multi error message callback

*  change return type of callback

*  add customCallback to MultiError

* 🚧 refactor to use INode

* 🔨 handle arrays, continue search after first null property found

* 🚫 refactor method access

* 🚧 setup NodeErrorView

*  change timestamp to Date.now

* 📚 Add documentation for methods and constants

* 🚧 change message setting

* 🚚 move NodeErrors to workflow

*  add new ErrorView for Nodes

* 🎨 improve error notification

* 🎨 refactor interfaces

*  add WorkflowOperationError, refactor error throwing

* 👕 fix linter issues

* 🎨 rename param

* 🐛 fix handling normal errors

*  add usage of NodeApiError

* 🎨 fix throw new error instead of constructor

* 🎨 remove unnecessary code/comments

* 🎨 adjusted spacing + updated status messages

* 🎨 fix tab indentation

*  Replace current errors with custom errors (#1576)

*  Introduce NodeApiError in catch blocks

*  Introduce NodeOperationError in nodes

*  Add missing errors and remove incompatible

*  Fix NodeOperationError in incompatible nodes

* 🔧 Adjust error handling in missed nodes

PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes

* 🔨 Adjust Strava Trigger node error handling

* 🔨 Adjust AWS nodes error handling

* 🔨 Remove duplicate instantiation of NodeApiError

* 🐛 fix strava trigger node error handling

* Add XML parsing to NodeApiError constructor (#1633)

* 🐛 Remove type annotation from catch variable

*  Add XML parsing to NodeApiError

*  Simplify error handling in Rekognition node

*  Pass in XML flag in generic functions

* 🔥 Remove try/catch wrappers at call sites

* 🔨 Refactor setting description from XML

* 🔨 Refactor let to const in resource loaders

*  Find property in parsed XML

*  Change let to const

* 🔥 Remove unneeded try/catch block

* 👕 Fix linting issues

* 🐛 Fix errors from merge conflict resolution

*  Add custom errors to latest contributions

* 👕 Fix linting issues

*  Refactor MongoDB helpers for custom errors

* 🐛 Correct custom error type

*  Apply feedback to A nodes

*  Apply feedback to missed A node

*  Apply feedback to B-D nodes

*  Apply feedback to E-F nodes

*  Apply feedback to G nodes

*  Apply feedback to H-L nodes

*  Apply feedback to M nodes

*  Apply feedback to P nodes

*  Apply feedback to R nodes

*  Apply feedback to S nodes

*  Apply feedback to T nodes

*  Apply feedback to V-Z nodes

*  Add HTTP code to iterable node error

* 🔨 Standardize e as error

* 🔨 Standardize err as error

*  Fix error handling for non-standard nodes

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-16 18:33:36 +02:00
Ahsan Virani b54aae8c31
⬆️ Update types/node package in all packages (#1659)
* ⬆️ Update types/node package in all packages, fix type in crypto node

*  Fix build issue and some formatting

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-15 23:57:20 +02:00
Jan Oberhauser 5e2aa023fc 🔖 Release n8n-core@0.67.0 2021-04-03 15:08:33 +00:00
Jan Oberhauser f8a829b2dd Clean up package.json files 2021-03-26 09:21:27 +01:00
Jan Oberhauser a301c0d68b 🔖 Release n8n-core@0.66.0 2021-03-26 08:10:44 +00:00
Jan Oberhauser 571f815bf6 ⬆️ Set n8n-workflow@0.55.0 on n8n-core 2021-03-26 08:10:44 +00:00
Jan Oberhauser 4276150ac1 Fix indentation in all package.json files 2021-03-26 09:06:26 +01:00
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
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
Jan Oberhauser 55f4fea17e 🔖 Release n8n-core@0.47.0 2020-09-23 13:24:14 +02:00
Jan Oberhauser cf9fcf8736 ⬆️ Set n8n-workflow@0.42.0 on n8n-core 2020-09-23 13:23:47 +02:00
Jan Oberhauser 65320fabd5 🔖 Release n8n-core@0.46.0 2020-09-18 10:00:23 +02:00
Jan Oberhauser cfcfb17b06 ⬆️ Set n8n-workflow@0.41.0 on n8n-core 2020-09-18 09:59:59 +02:00
Jan Oberhauser 393bc8fd54 Remove old comment 2020-09-16 09:16:20 +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 41e5ccedce 🔖 Release n8n-core@0.45.0 2020-09-14 13:35:15 +02:00
Jan Oberhauser 1b1cfc58dc ⬆️ Set n8n-workflow@0.40.0 on n8n-core 2020-09-14 13:34:43 +02:00
Jan Oberhauser 542e772e0c 🐛 Fix bug that nodes without input data did run if "alwaysOutputData" was
activated #948
2020-09-12 21:42:18 +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 21a4a568a4 🔖 Release n8n-core@0.44.0 2020-09-02 15:28:51 +02:00
Jan Oberhauser f56960f0cc 🐛 Remove Test-Webhook also if checkExists fails 2020-08-27 13:37:17 +02:00
Jan Oberhauser fbda916457 🔖 Release n8n-core@0.43.0 2020-08-18 17:18:32 +02:00
Jan Oberhauser c13df666a5 ⬆️ Set n8n-workflow@0.39.0 on n8n-core 2020-08-18 17:18:09 +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 cf1f7a7f60 🔖 Release n8n-core@0.41.0 2020-08-05 09:42:01 +02:00
Jan Oberhauser 1b0f788648 ⬆️ Set n8n-workflow@0.37.0 on n8n-core 2020-08-05 09:41:44 +02:00
Ben Hesseldieck 051598d30e
Add max execution time for Workflows (#755)
* 🎉 basic setup and execution stopping

* 🚧 soft timeout for own process executions

* 🚧 add hard timeout for subprocesses

* 🚧 add soft timeout to main thread

* 🔧 set default timeout to 5 mins --> 500s

* 💡 adding documentation to configs

* 🚧 deactivate timeout by default

* 🚧 add logic of max execution timeout

*  adding timeout to settings in frontend and server

* 🎨 improve naming

* 💡 fix change in config docs

* ✔️ fixing compilation issue

* 🎨 add format for new config variables

* 👌 type cast before checking equality

*  Improve error message if NodeType is not known

* 🐳 Tag also rpi latest image

* 🐛 Fix Postgres issue with Node.js 14 #776

* 🚧 add toggle to activate workflow timeout

* 💄 improving UX of setting a timeout and its duration

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-29 14:12:54 +02:00
Jan Oberhauser e5d73f37ad 🔖 Release n8n-core@0.40.0 2020-07-26 12:50:29 +02:00
Jan Oberhauser 1234ef2af1 ⬆️ Set n8n-workflow@0.36.0 on n8n-core 2020-07-26 12:50:00 +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
Jan Oberhauser d2b99263d4 Minor improvements to OAuth1 support in HTTP Request Node 2020-07-25 10:10:34 +02:00
Rupenieks 5295696e60
OAuth1 support for HTTP Request Node (#781)
* Add OAuth1

*  Added OAuth1 support.

Changes to NodeExecuteFunctions:
- Accommodating to use of both a URL and URI property in request options.
- qs if not set is undefined, so checking for its length returns an error
2020-07-25 10:09:52 +02:00
Jan Oberhauser 9c266e7aea Small improvements to OPTIONS request for webhooks 2020-07-24 16:45:07 +02:00
Rupenieks 82d94873fc
OPTIONS request support for Production/Test Webhooks (#787)
* 🐛 Fix naming of events in AffinityTrigger Node

* 🚧 OPTIONS allow header response for production webhooks

*  Implemented Allow header for test webhook OPTIONS response

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-24 16:24:18 +02:00
Jan Oberhauser f64a49318a 🐛 Fix bug with test webhooks which do not get unregistered 2020-07-24 13:56:20 +02:00
Jan Oberhauser d24d215b43 🔖 Release n8n-core@0.39.0 2020-07-15 12:36:07 +02:00
Jan Oberhauser 3872c7cba9 ⬆️ Set n8n-workflow@0.35.0 on n8n-core 2020-07-15 12:35:42 +02:00
Jan Oberhauser d17161cf40 🔀 Merge branch 'static-stateless-webhooks' 2020-07-14 12:34:34 +02:00
Jan Oberhauser c03c9a06c8 Fix logos in README.md files 2020-07-13 14:22:34 +02:00
Jan Oberhauser 5e61a77d23 🔖 Release n8n-core@0.38.0 2020-07-08 11:23:38 +02:00
Jan Oberhauser c8718bf96b ⬆️ Set n8n-workflow@0.34.0 on n8n-core 2020-07-08 11:22:55 +02:00
Jan Oberhauser 224842c790 Get rid of mmmagic for mime-type detection 2020-07-08 09:40:47 +02:00
Jan Oberhauser 63280b7407 🐛 Fix build issue 2020-07-02 23:07:28 +02:00
Jan Oberhauser 549b26fa3d 🐛 Fix issue with nodes in stack which do actually not get executed 2020-07-02 15:07:55 +02:00
Jan Oberhauser 7de478d502 🔖 Release n8n-core@0.37.0 2020-07-02 07:18:08 +02:00
Jan Oberhauser 872bc9df75 🐛 Write env encryption key to config if file does not exist #713 2020-06-30 20:08:52 +02:00
ricardo 94cd2c76c2 updated n8n packages to it's latest version. 2020-06-22 19:37:58 -04:00
ricardo 494b1de93f Merge branch 'master' into static-stateless-webhooks 2020-06-22 16:16:50 -04:00
Jan Oberhauser d9906e1b24 📚 Text fix 2020-06-18 10:12:13 +02:00
Jan Oberhauser 5ed86670a8 Make it use of full webhook path more generic 2020-06-10 15:39:15 +02:00