Commit graph

417 commits

Author SHA1 Message Date
Jan Oberhauser 6e5be51cef 🔖 Release n8n-workflow@0.63.0 2021-07-04 18:12:44 +00:00
Omar Ajoue 1e551a202f
🚨 Add Workflow testing framework (#1814)
* 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.

* Added compare funcionality that helps us identify possible breaking changes

*  Add JSON flag to output execution result in json format

* Add execution time to execution result

* Add --output flag to save JSON formated results

* Fix typos

* Adding usage examples and warning message

* Changing command to always output JSON information

*  Add concurrency to executeAll command

*  Add IDs filter to executeAll command

* ✏️ Fix typos

* Fix lint issues

* Improvements to execute all

* Added colors and beautified execute all command output

* Improving premature termination of execute all command

* Refactored output

* Added detection for warnings instead of errors for a few cases

* Fixed linting

* Improved process finishing

* Added encryption key init, removed messages from non-debug run and created sample github actions file

* Updated test command to use correct encryption key

* Correcting paths

* Changed command name and changed concurrency to be slot based

* Added the retry functionality

* Improved typing and fixed executions filtering

* Updated test description

* Added concurrency

* Added skip list and concurrency

* Fixed termination behavior, removed unnecessary code and added main mode to executions

* Added special edge cases handling

* Added safe debug flag for non tty terminals

* Removed comparison and retries for testing

* Changed the way we run commands to add more debug info

* Test adding concurrency

* Testing with regular testing procedure without comparison

* Adding compare flag

* Fixing short output command

* Upgraded concurrency to 16, fixed short output and covered nodes count

* Fixed short output condition

* Correcting short output information

* Correcting the output for short output

* Added a string to possible warnings list

* Added example usages with more arguments

* Improvements to code made by Ivan

* Removed colorize output setting (always use colors), moved execution timeout to become static and removed node list from executions

* Moving types to a separate file on execute batch command

* Changed interfaces file extension to prevent oclif warnings

* Updated workflow pdf files

*  Change rule when tests run + minor formatting fixes

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-01 09:04:24 +02:00
Jan Oberhauser ca24d90b28 🔖 Release n8n-workflow@0.62.0 2021-06-20 09:15:25 +00:00
Ben Hesseldieck 0470740737
Change the UI of the Nodes Panel (#1855)
* Add codex search properties to node types

* implement basic styles

* update header designs

* update node list designs

* add trigger icon

* refactor node creator list

* implement categories and subcategories

* fix up spacing

* add arrows

* implement navigatable list

* implement more of feature

* implement navigation

* add transitions

* fix lint issues

* fix overlay

*  Get and add codex categories

* fix up design

* update borders

* implement no-matches view

* fix preview bug

* add color to search

* clean up borders

* add comma

* Revert "Merge branch 'add-codex-data' of github.com:n8n-io/n8n into PROD-819-nodes-panel-redesign"

38b7d7ead1

* use new impl

* remove empty categories

* update scrolling, hide start node

* make scrollable

* remove text while subcategory panel is open

* fix up spacing

* fix lint issues

* update descriptions

* update path

* update images

* fix tags manager

* give min height to image

* gst

* update clear color

* update font size

* fix firefox spacing

* close on click outside

* add external link icon

* update iterator key

* add client side caching for images

* update caching header

* ️ Add properties to codex for nodes panel (#1854)

*  Get and add codex categories

*  Add parens to evaluation + destructuring

* 🔥 Remove non-existing class reference

*  Add alias to codex property

* move constants

* 🔨 Rename CodexCategories to CodexData

* ✏️ Update getCodex documentation

* refactor and move

* refactor no results view

* more refactoring

* refactor subcategory panel

* more refactoring

* update text

* update no results view

* add miscellaneous to end of list

* address design feedback

* reimplement node search

* fix up clear

* update placeholder color

* impl transition

* focus on tab

* update spacing

* fix transition bug on start

* fix up x

* fix position

* build

* safari fix

* remove input changes

* css bleed issue with image

* update css value

* clean up

* simplify impl

* rename again

* rename again

* rename all

* fix hover bug

* remove keep alive

* delete icon

* update interface type

* refactor components

* update scss to module

* clean up impl

* clean up colors as vars

* fix indentation

* clean up scss

* clean up scss

* clean up scss

* clean up scss

* Clean up files

* update logic to be more efficient

* fix search bug

* update type

* remove unused

* clean up js

* update scrollable, border impl, transition

* fix simicolon

* build

* update search

* address max's comments

* change icon border radius

* change margin

* update icon size

* update icon size

* update slide transition out

* add comma

* remove full

* update trigger icon size

* fix image size

* address design feedback

* update external link icons

* address codacy issues

* support custom nodes without codex file

* address jan's feedback

* address Ben's comments

* add subcategory index

* open/close categories with arrow keys

* add lint comment

* Address latest comments

*  Minor changes

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-18 07:58:26 +02:00
Jan Oberhauser 38af45a6e6 🔖 Release n8n-workflow@0.61.1 2021-06-16 12:48:49 +02:00
Iván Ovejero e45d173c45
🐛 Fix circular references removal (#1901)
Circular references removed only for the request library error.
2021-06-16 12:41:56 +02:00
Jan Oberhauser de4198420d 🔖 Release n8n-workflow@0.61.0 2021-06-13 17:55:49 +00:00
Jan Oberhauser 1d850da9fb Send request of HTTP Request node to browser console when testing 2021-06-12 20:22:55 +02:00
Iván Ovejero b2e0bcea16
🐛 Remove circular references from error objects (#1802)
*  Add circular references removal

* 🔥 Remove unused flag from affected node

* 🔥 Remove unused exports

* 🔨 refactor removing circular references

*  Replace IRawErrorObject with JsonObject

*  Make error detection depth-first (#1800)

* 👕 fix type

* 🔨 improve readability

* 📝 improve placeholder for circular reference

*  Turn marker into object to keep description

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-06-12 17:15:23 +02:00
Jan Oberhauser 970085d0ce 🔖 Release n8n-workflow@0.60.0 2021-05-30 17:45:56 +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 217476c269 🔖 Release n8n-workflow@0.59.0 2021-05-20 21:42:08 +00:00
Jan Oberhauser 72436bd03e 👕 Fix lint issue 2021-05-19 20:05:44 -05:00
Jan Oberhauser e21382baee 🐛 Fix issue that it sets default values correctly for multipleValues
and makes previous change backward compatible
2021-05-19 19:26:29 -05:00
Jan Oberhauser e18370cb10 🐛 Fix issue with default value for multipleValues string with none
stanard default value
2021-05-19 18:44:27 -05:00
Jan Oberhauser b9b6e8b5df 🐛 Fix issue that it did export default parameter values if they were
objects
2021-05-19 18:07:26 -05:00
Jan Oberhauser 93b7b809a3 🔖 Release n8n-workflow@0.58.0 2021-05-16 18:42:56 +00:00
Jan Oberhauser fd86229b30 🐛 Fix issue that it did not save values for parameters which did get
displayed depending on another parameter with expression
2021-05-15 17:51:14 -05:00
Jan Oberhauser 05dc0c327e Change used symbol for sibling parameter 2021-05-14 18:20:21 -05:00
Jan Oberhauser 1aa0a5cc8d Make it possible to read sibling parameter 2021-05-14 18:16:48 -05:00
Jan Oberhauser 9bc62e41c1 🔖 Release n8n-workflow@0.57.0 2021-05-02 13:56:20 +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 ab1c8037de Unify some dependency versions 2021-04-30 20:42:32 -05:00
lublak 0cc3aea629
Add xml2js dependency to n8n-workflow (#1717) 2021-04-30 20:29:44 -05:00
Jan Oberhauser a90e18e1b8 🔖 Release n8n-workflow@0.56.0 2021-04-17 15:34:04 +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
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 000226acfe 🔖 Release n8n-workflow@0.55.0 2021-03-26 08:10:33 +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 f91b58c532 🔖 Release n8n-workflow@0.54.0 2021-03-19 17:39:55 +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
Jan Oberhauser 3c1e3557ec 🔖 Release n8n-workflow@0.53.0 2021-02-22 13:37:04 +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
Omar Ajoue 6ee9501d16
🐛 Fixing execution history for integrated workflows. (#1469)
* Fixing execution history for integrated workflows.

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-20 13:51:06 +01:00
lublak cb9f31c49d add dir to different positions 2021-02-15 13:25:30 +01:00
Jan Oberhauser ac9838ef26 🔖 Release n8n-workflow@0.52.0 2021-02-15 12:59:04 +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
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 95062205db 🔖 Release n8n-workflow@0.35.0 2020-07-15 12:34:14 +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 9ea4d870cf 🔖 Release n8n-workflow@0.34.0 2020-07-08 11:21:57 +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
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 cee5c522de Rename webhookPath parameter on node to webhookId 2020-06-10 16:17:16 +02:00
Jan Oberhauser 5ed86670a8 Make it use of full webhook path more generic 2020-06-10 15:39:15 +02:00
Jan Oberhauser 679660440e 🔖 Release n8n-workflow@0.33.0 2020-06-08 11:11:04 +02:00
Jan Oberhauser 93c6107ef9 🔖 Release n8n-workflow@0.32.0 2020-06-04 17:05:54 +02:00
ricardo 91c40367e1 Done 2020-05-27 19:32:56 -04:00
Jan Oberhauser 95097a8bd7 🐛 Fix issue with credentials which extend others 2020-05-16 19:22:06 +02:00
Jan Oberhauser a0564e649f 🔀 Merge branch 'master' into oauth-support 2020-05-12 22:54:03 +02:00
Jan Oberhauser a6c486b471 🔖 Release n8n-workflow@0.31.0 2020-05-12 16:19:05 +02:00
Jan Oberhauser 147c50485c 🔀 Merge branch 'master' into oauth-support 2020-05-12 01:56:27 +02:00
Jan Oberhauser 906ef1a482 Add displayOptions support for multiOptions property 2020-05-08 19:49:57 +02:00
Rupenieks e627a0399c
🔀 Npm package updates (#554)
* Update package.json
* Replace-In-File & change-case update fixes
* tslint to 6.1.2
* nodemailer 6.4.6, googeaplis 50.0.0
* tslint  7.0.1
* package updates
2020-05-08 18:07:34 +02:00
Jan Oberhauser a80af661cc 🔀 Merge branch 'MyCupOfTeaOo-master' 2020-05-05 22:57:36 +02:00
Jan Oberhauser 3d330a94d3 Make it possible to display notes in flow 2020-05-05 17:34:12 +02:00
zou wendi e4cc3a4bc9 features: support jira self-hosted server 2020-05-05 12:07:19 +08:00
Jan Oberhauser 9dbec2277a 🔖 Release n8n-workflow@0.30.0 2020-05-04 09:01:37 +02:00
Jan Oberhauser 42f6f4af2c Display an error when unsaved workflow gets executed with webhook 2020-05-03 17:55:14 +02:00
Jan Oberhauser a253192b0c 📝 Change licensor 2020-05-02 23:17:34 +02:00
Jan Oberhauser a0ef209752 🔀 Merge branch 'surveymonkey-dev' 2020-05-02 12:32:00 +02:00
Jan Oberhauser 4f7cb284a7 🔖 Release n8n-workflow@0.29.0 2020-04-27 08:19:01 +02:00
Jan Oberhauser 9ca21f2e52 🔀 Merge branch 'feature/survey-monkey' of https://github.com/RicardoE105/n8n into RicardoE105-feature/survey-monkey 2020-04-26 23:14:42 +02:00
ricardo d57d457148 SurveyMonkey trigger 2020-04-26 12:51:27 -05:00
Jan Oberhauser a3106219f4 Add Expression-Support to responseHeaders 2020-04-26 15:28:51 +02:00
Davide Cavestro db2329b26c Webhook: allow setting generic response-headers 2020-04-26 11:01:20 +02:00
Jan Oberhauser 90fe5113a0 🔀 Merge branch 'master' into oauth-support 2020-04-14 20:54:19 +02:00
Jan Oberhauser a2a10b829b 🔖 Release n8n-workflow@0.28.0 2020-04-13 17:22:31 +02:00
Jan Oberhauser a757b43854 ✔️ Add one more test 2020-04-13 17:19:52 +02:00
Jan Oberhauser 4ad009214e Change evaluateExpression -> $evaluateExpression 2020-04-13 16:51:04 +02:00
Jan Oberhauser 399397fbb7 Improve how expressions get values 2020-04-13 15:57:01 +02:00
Jan Oberhauser a2217274ab 🔖 Release n8n-workflow@0.27.0 2020-04-12 20:06:43 +02:00
Jan Oberhauser c7024ca454 Add "alwaysOutputData" option to nodes 2020-04-12 19:58:30 +02:00
Jan Oberhauser dc10f52db3 🐛 Fix bug 2020-04-12 19:05:06 +02:00
Jan Oberhauser 59798ad0bd Do not allow that expressions return functions 2020-04-12 18:48:41 +02:00
Jan Oberhauser 09e528565f Add $items to expression and Function-Nodes to get all items 2020-04-12 18:42:29 +02:00
Jan Oberhauser 0e7998cbba 🐛 Fix interface for getWorkflow 2020-04-11 10:30:50 +02:00
Jan Oberhauser 9dd9e0d8ba 🔀 Merge branch 'master' into oauth-support 2020-04-04 17:34:10 +02:00
Jan Oberhauser 51731fdbf0 🔖 Release n8n-workflow@0.26.0 2020-04-03 20:15:02 +02:00
Jan Oberhauser 9da0c1c884 Display errors in expressions 2020-04-03 19:37:28 +02:00
Jan Oberhauser 45b76ef9d2 🔖 Release n8n-workflow@0.25.0 2020-03-22 10:37:12 +01:00
Jan Oberhauser c1853a6ff5 Add functionality to evaluate expression 2020-03-21 17:25:29 +01:00
Jan Oberhauser 4557f16062 🔖 Release n8n-workflow@0.24.0 2020-03-17 13:23:16 +01:00
Jan Oberhauser ce0aaeba7d Improve continueOnFail behaviour 2020-03-17 13:18:04 +01:00
Jan Oberhauser f145c499c0 If trigger nodes are in workflow use them as default start-node #379 2020-03-16 09:59:29 +01:00
Jan Oberhauser 9821e5394b 🔖 Release n8n-workflow@0.23.0 2020-02-21 17:55:01 +01:00
Jan Oberhauser 284a6099f2 ✔️ Fix tests after Workflow changes 2020-02-16 19:06:51 -08:00
Jan Oberhauser 70286b469e Make workflow metadata available in expresions and
node-functions
2020-02-15 17:07:01 -08:00
Jan Oberhauser b1719f1bcc Make node "json" data available in expression via "json" key 2020-02-15 16:06:06 -08:00
Jan Oberhauser 6bff3dc199 Add parameter type "hidden" 2020-02-09 13:33:40 -08:00
Jan Oberhauser 4550c01a6a 🔖 Release n8n-workflow@0.22.0 2020-02-07 23:15:20 -08:00
Jan Oberhauser 3ed27c6485 🔀 Merge branch '139-null-returnValues' of https://github.com/airmoi/n8n into airmoi-139-null-returnValues 2020-02-07 17:02:11 -08:00
Jan Oberhauser eb285ef711 Make it possible to set credentials to fixed values 2020-01-25 23:48:38 -08:00
Jan Oberhauser 7ae06b2c7d 🔖 Release n8n-workflow@0.21.0 2020-01-24 22:12:30 -08:00
Jan Oberhauser aa1899f81d Prepare webhooks for multitenancy 2020-01-22 15:06:43 -08:00
Jan Oberhauser 8228b8505f Abstract OAuth signing and make credentials extendable 2020-01-13 20:46:58 -06:00
Jan Oberhauser 83c49ddd21 Make possible to send binary-data with HttpRequest-Node 2020-01-10 12:57:01 -06:00
Jan Oberhauser ba55ae6797 🔖 Release n8n-workflow@0.20.0 2020-01-04 22:59:18 -06:00
Jan Oberhauser bf4c8bc3a2 Make it possible to define dependencies for loadOptions 2020-01-04 22:28:09 -06:00
Jan Oberhauser 5677d72abd Make $item also available in expressions 2020-01-03 16:37:13 -06:00
Jan Oberhauser 629ab09135 Add additional possibilities to load workflow 2020-01-02 17:13:53 -06:00
Jan Oberhauser c213653c8e 🔖 Release n8n-workflow@0.19.0 2019-12-31 21:43:23 -06:00
Jan Oberhauser 8f25303928 Make it possible to trigger all X minutes/hours 2019-12-31 17:41:47 -06:00
Jan Oberhauser 584033ab4a Add polling support to Trigger-Nodes 2019-12-31 14:27:58 -06:00
Jan Oberhauser d726eef239 ⬆️ Update some more packages to latest version 2019-12-30 13:38:55 -06:00
Jan Oberhauser dee7f7b159 🔖 Release n8n-workflow@0.18.0 2019-12-21 19:45:34 -06:00
Jan Oberhauser 8acc3c5931 Add ExecuteWorkflow-Node 2019-12-19 16:07:55 -06:00
Romain Dunand 31af36b8bd Fix #139
Prevent null values from beeing treaded as objects
2019-12-01 23:08:37 +01:00
Jan Oberhauser 39d864fd4e 🔖 Release n8n-workflow@0.17.0 2019-12-01 20:59:42 +01:00
Jan Oberhauser b4c3642dcc 🐛 Fix bug that Option with value 0 could not be selected 2019-12-01 00:24:25 +01:00
Jan Oberhauser 387b6212f8 🔖 Release n8n-workflow@0.16.0 2019-11-23 22:02:32 +01:00
Jan Oberhauser 6e70f16c4b Log and display also errors that occur in webhook function 2019-11-23 21:57:50 +01:00
Jan Oberhauser 2d409b6535 Support also numbers as values in options and multiOptions 2019-11-22 00:07:38 +01:00
Jan Oberhauser 3bf94e86c9 🔖 Release n8n-workflow@0.15.0 2019-10-20 22:19:45 +02:00
Jan Oberhauser e3b71c2ed4 Rename function and fix styling 2019-10-20 21:42:34 +02:00
BenoitTallandier 02a7d92fc1 🔃Add unction getCurrentNodeParameters to get currents parameters in loading function 2019-10-20 20:55:49 +02:00
Jan Oberhauser 08cf0afdb6 🔖 Release n8n-workflow@0.14.0 2019-10-16 14:05:01 +02:00
Jan Oberhauser ded2152d61 Make it possible to return custom content-type and data with
webhook
2019-10-16 14:01:39 +02:00
Jan Oberhauser 72b134a580 🔖 Release n8n-workflow@0.13.0 2019-10-15 07:50:40 +02:00
Jan Margeta 50a342b2fb 👕 Fix typo: IWebhookResonseData->IWebhookResponseData 2019-10-11 13:02:44 +02:00
Jan Oberhauser 3e9ef99e8f 🔖 Release n8n-workflow@0.12.0 2019-10-06 11:20:31 +02:00
Jan Oberhauser 2fd58fd99e 🐛 Fix that parameter "hide" rule could not overwrite "show" rule 2019-10-06 09:36:05 +02:00
Jan Oberhauser d589e8a909 📚 Add link to FAQ to license information 2019-10-04 20:40:23 +02:00
Jan Oberhauser 888f01b343 🐛 Fix issue with FixedCollection 2019-10-04 12:33:23 +02:00
Jan Oberhauser d337cbd805 👕 Replace some double quotes with single ones 2019-09-19 14:14:37 +02:00
Jan Oberhauser f9e15873ef 🔖 Release n8n-workflow@0.11.0 2019-09-04 18:52:32 +02:00
Jan Oberhauser 2b2113433f Improve Code-Editor in Function-Nodes 2019-09-04 18:24:49 +02:00
Jan Oberhauser 48ccb36536 Make special variables like $node, $parameter, ... accessible
in Function Nodes
2019-09-04 14:53:39 +02:00
Jan Oberhauser 3614a9e9b6 📚 Add homepage to package.json files 2019-08-31 13:06:24 +02:00
Jan Oberhauser c4ae0482e6 🔖 Release n8n-workflow@0.10.0 2019-08-28 17:43:59 +02:00
Jan Oberhauser 4d6e25c28e 💥 Fix typo reponse => response 2019-08-28 17:16:09 +02:00
Jan Oberhauser 1ff038b563 ⬆️ Set jest@24.x.x on all packages 2019-08-28 15:42:45 +02:00
Jan Oberhauser 84ba4dec06 Make it easier to start n8n in development mode 2019-08-14 12:13:43 +02:00
Jan Oberhauser 86e1c4a04f Make tsconfig.json files "fully" valid JSON files 2019-08-13 19:42:03 +02:00
Jan Oberhauser 281e943dcc ✔️ Fix tests 2019-08-09 12:45:05 +02:00
Jan Oberhauser 3ad66974ab 🔖 Release n8n-workflow@0.9.0 2019-08-09 11:21:12 +02:00
Jan Oberhauser d59a043e3f Run workflows in own independent subprocess 2019-08-08 20:47:08 +02:00
Jan Oberhauser b55e46d587 🔖 Release n8n-workflow@0.8.0 2019-08-02 17:08:57 +02:00
Jan Oberhauser a0b7abed20 Add support for input labels 2019-08-02 15:56:05 +02:00
Jan Oberhauser f568122e3a Improve selection of start node for manual execution 2019-08-02 12:26:51 +02:00
Jan Oberhauser b38623fa92 🐛 Fix bug that highest nodes did not get found when one was disabled 2019-08-02 11:58:57 +02:00
Jan Oberhauser 1b59d7b886 Copy data on execution only if needed 2019-08-01 22:55:33 +02:00
Jan Oberhauser a8f1f9c0ba Small fixes and fix that some nodes changed incoming data 2019-08-01 22:44:29 +02:00
Jan Oberhauser 31916d3ecf 🔖 Release n8n-workflow@0.7.0 2019-07-25 08:33:33 +02:00
Jan Oberhauser a9453806b8 Add support for PostgresDB and save date as Date 2019-07-22 20:29:06 +02:00
Jan Oberhauser 36b237eac5 🔖 Release n8n-workflow@0.6.0 2019-07-18 19:59:36 +02:00
Jan Oberhauser 32204d35d1 Make it possible to retry node on error 2019-07-18 19:39:54 +02:00
Jan Oberhauser e17c3c9961 🔖 Release n8n-workflow@0.5.0 2019-07-17 20:29:33 +02:00
Jan Oberhauser 416eb81a6e Make it easily possible to select up/downstream nodes 2019-07-17 18:45:09 +02:00
Jan Oberhauser a9febba0aa 🔖 Release n8n-workflow@0.4.0 2019-07-14 18:59:57 +02:00
Jan Oberhauser 549a30c267 🐛 Fix display bug with identically named parameters with
dependencies
2019-07-13 19:50:41 +02:00
Jan Oberhauser 784df3e393 🐛 Fix display bug with identically named parameters 2019-07-12 20:58:52 +02:00
Jan Oberhauser be9c5622ac Add possibility to define custom node-subtitle for nodes in
UI
2019-07-12 14:14:36 +02:00
Jan Oberhauser 1e0d2cbf1e Add additional helper functions to webhook functionality 2019-07-12 11:33:18 +02:00
Jan Oberhauser 008a68c239 🔖 Release n8n-workflow@0.3.0 2019-07-11 08:09:55 +02:00
Jan Oberhauser cc3f2c42d1 ⬆️ Set identical tslint version in all packages and fix lint
issues
2019-07-11 07:30:01 +02:00
Jan Oberhauser 16ba7e6ed7 🐛 Fix bug with displaying node-issues 2019-07-07 19:17:34 +02:00
Jan Oberhauser 0997087ca5 🔖 Release n8n-workflow@0.2.0 2019-06-27 19:18:33 +02:00
Jan Oberhauser 00f00f9cbe 🐛 Fix issue that expressions always read from output with index 0 even
when the nodes with the expression were connected to a different one
2019-06-27 16:46:26 +02:00
Jan Oberhauser cc405f0c1a Improve documentation 2019-06-24 13:21:07 +02:00
Jan Oberhauser 1d86a2a773 Update to TypeScript 3.5.x 2019-06-24 10:28:18 +02:00
Jan Oberhauser 8ec557d7cb Rename LICENSE files to LICENSE.md 2019-06-23 17:55:43 +02:00
Jan Oberhauser 08cc01551c Add repository entry to package.json files 2019-06-23 12:50:36 +02:00
Jan Oberhauser 9cb9804eee Initial commit to release 2019-06-23 12:35:23 +02:00