Commit graph

1036 commits

Author SHA1 Message Date
Jonathan Bennetts 40e5bea514
Add breaking change for 0.165.0
* fix security culnerability

* Update BREAKING-CHANGES.md

Added note to Breaking Changes file.

Co-authored-by: quansenB <inaki.breinbauer@gmail.com>
2022-02-26 11:37:52 +01:00
Ahsan Virani 8fc1095d1e
🐛 Swallow telemetry error and only log in warn and debug mode (#2858)
* catch nodegraph errors

* use loglevel config for telemetry

* Use getByNameAndVersion instead of getByName

* remove any usage of nodeTypes.getByName method

* deprecate getByName method
2022-02-24 17:15:30 +01:00
Jan Oberhauser 783c8e67f4 👕 Fix lint issue 2022-02-20 23:29:29 +01:00
Jan Oberhauser d19a4259c2 🔖 Release n8n@0.164.1 2022-02-20 16:47:24 +01:00
Jan Oberhauser ff20a58c70 🐛 Fix bug with Webhook-Process 2022-02-20 16:44:30 +01:00
Jan Oberhauser 3305247984 🔖 Release n8n@0.164.0 2022-02-20 09:43:06 +00:00
Jan Oberhauser 3445e7a479 ⬆️ Set n8n-core@0.105.0, n8n-editor-ui@0.131.0, n8n-nodes-base@0.162.0 and n8n-workflow@0.87.0 on n8n 2022-02-20 09:43:06 +00:00
Jan Oberhauser 9a06d0fffc Add DELETE, PATCH and PUT request support to Webhooks 2022-02-20 10:30:01 +01:00
Jan Oberhauser ea1b627ab0 Move options around and also allow no data for last node 2022-02-19 12:37:41 +01:00
Jan Oberhauser cb3f0a0ec6 🔀 Merge branch 'feat/webhook-node/response-mode' of https://github.com/Jhalter5Stones/n8n into Jhalter5Stones-feat/webhook-node/response-mode 2022-02-19 11:32:29 +01:00
Justin Halter d1290075ed
feat(WebhookHelpers.ts, Webhook.node.ts): no body response for webhook
no body response for webhook response. This may be helpful if certain
services require that a response doesn't have a body
2022-02-18 13:09:28 -06:00
Ahsan Virani 0a9ce092fc
🗃️ Add relevant indexes in execution_entity (#2794)
* 🗃️ Add relevant indexes in execution_entity

* CR suggestions
2022-02-18 15:59:34 +01:00
Jan Oberhauser 8a4811683c 🔖 Release n8n@0.163.1 2022-02-13 19:06:35 +01:00
Jan Oberhauser 9045699e5d 🐛 Fix getParentTypes bug which caused problems with OAuth 2022-02-13 19:05:09 +01:00
Jan Oberhauser e683114765 🔖 Release n8n@0.163.0 2022-02-13 09:56:51 +00:00
Jan Oberhauser 71bcb2fc91 ⬆️ Set n8n-editor-ui@0.130.0 and n8n-nodes-base@0.161.0 on n8n 2022-02-13 09:56:51 +00:00
Jan Oberhauser 51dde68568
Add optional health check endpoint to worker (#2786)
*  Add optional health check endpoint to worker

* 👕 Fix lint issue

*  Improve error output
2022-02-11 13:09:27 +01:00
Jan Oberhauser 920a18ab5d 🔖 Release n8n@0.162.0 2022-02-06 11:02:16 +00:00
Jan Oberhauser 5f4abd9684 ⬆️ Set n8n-core@0.104.0, n8n-editor-ui@0.129.0, n8n-nodes-base@0.160.0 and n8n-workflow@0.86.0 on n8n 2022-02-06 11:02:15 +00:00
Jan Oberhauser 71f18de04e 🐛 Return original error of sub-workflow to main-workflow #2757 2022-02-06 11:13:49 +01:00
Jan Oberhauser 0da398b0e4
Nodes as JSON and authentication redesign (#2401)
*  change FE to handle new object type

* 🚸 improve UX of handling invalid credentials

* 🚧 WIP

* 🎨 fix typescript issues

* 🐘 add migrations for all supported dbs

* ✏️ add description to migrations

*  add credential update on import

*  resolve after merge issues

* 👕 fix lint issues

*  check credentials on workflow create/update

* update interface

* 👕 fix ts issues

*  adaption to new credentials UI

* 🐛 intialize cache on BE for credentials check

* 🐛 fix undefined oldCredentials

* 🐛 fix deleting credential

* 🐛 fix check for undefined keys

* 🐛 fix disabling edit in execution

* 🎨 just show credential name on execution view

* ✏️  remove TODO

*  implement review suggestions

*  add cache to getCredentialsByType

*  use getter instead of cache

* ✏️ fix variable name typo

* 🐘 include waiting nodes to migrations

* 🐛 fix reverting migrations command

*  update typeorm command

*  create db:revert command

* 👕 fix lint error

*  Add optional authenticate method to credentials

*  Simplify code and add authentication support to MattermostApi

* 👕 Fix lint issue

*  Add support to own-mode

* 👕 Fix lint issue

*  Add support for predefined auth types bearer and headerAuth

*  Make sure that DateTime Node always returns strings

*  Add support for moment types to If Node

*  Make it possible for HTTP Request Node to use all credential types

*  Add basicAuth support

* Add a new dropcontact node

*  First basic implementation of mainly JSON based nodes

*  Add fixedCollection support, added value parameter and
expression support for value and property

* Improvements to #2389

*  Add credentials verification

*  Small improvement

*  set default time to 45 seconds

*  Add support for preSend and postReceive methods

*  Add lodash merge and set depedency to workflow

* 👕 Fix lint issue

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Improvements

* 🐛 Set siren and language correctly

*  Add support for requestDefaults

*  Add support for baseURL to httpRequest

*  Move baseURL to correct location

*  Add support for options loading

* 🐛 Fix error with fullAccess nodes

*  Add credential test functionality

* 🐛 Fix issue with OAuth autentication and lint issue

*  Fix build issue

* 🐛 Fix issue that url got always overwritten to empty

*  Add pagination support

*  Code fix required after merge

*  Remove not needed imports

*  Fix credential test

*  Add expression support for request properties and $self
support on properties

*  Rename $self to $value

* 👕 Fix lint issue

*  Add example how to send data in path

*  Make it possible to not sent in dot notation

*  Add support for postReceive:rootProperty

*  Fix typo

*  Add support for postReceive:set

*  Some fixes

*  Small improvement

* ;zap: Separate RoutingNode code

*  Simplify code and fix bug

*  Remove unused code

*  Make it possible to define "request" and "requestProperty" on
options

* 👕 Fix lint issue

*  Change $credentials variables name

*  Enable expressions and access to credentials in requestDefaults

*  Make parameter option loading use RoutingNode.makeRoutingRequest

*  Allow requestOperations overwrite on LoadOptions

*  Make it possible to access current node parameters in loadOptions

*  Rename parameters variable to make future proof

*  Make it possible to use offset-pagination with body

*  Add support for queryAuth

*  Never return more items than requested

*  Make it possible to overwrite requestOperations on parameter
and option level

* 👕 Fix lint issue

*  Allow simplified auth also with regular nodes

*  Add support for receiving binary data

* 🐛 Fix example node

*  Rename property "name" to "displayName" in loadOptions

*  Send data by default as "query" if nothing is set

*  Rename $self to $parent

*  Change to work with INodeExecutionData instead of IDataObject

*  Improve binaryData handling

*  Property design improvements

*  Fix property name

* 🚨 Add some tests

*  Add also test for request

*  Improve test and fix issues

*  Improvements to loadOptions

*  Normalize loadOptions with rest of code

*  Add info text

*  Add support for $value in postReceive

* 🚨 Add tests for RoutingNode.runNode

*  Remove TODOs and make url property optional

*  Fix bug and lint issue

* 🐛 Fix bug that not the correct property got used

* 🚨 Add tests for CredentialsHelper.authenticate

*  Improve code and resolve expressions also everywhere for
loadOptions and credential test requests

*  Make it possible to define multiple preSend and postReceive
actions

*  Allow to define tests on credentials

*  Remove test data

* ⬆️ Update package-lock.json file

*  Remove old not longer used code

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: PaulineDropcontact <pauline@dropcontact.io>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-02-05 22:55:43 +01:00
Iván Ovejero fc550ecbcb
Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

*  Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Mutasem Aldmour 7bdb7e2a25
Support telemetry page (#2756)
* support telemetry page events

* add log level to FE settings

* add debug logging

* fix types

* state fix

* move call
2022-02-03 23:24:01 +01:00
Jan Oberhauser 0bf554394a 🔖 Release n8n@0.161.1 2022-02-01 11:29:00 +01:00
Ahsan Virani 135d5a89cd
Add debug log in healthcheck and enable DB logging via environment (#2744)
*  add debug log in healthcheck

*  add DB logging

* CR
2022-02-01 11:27:08 +01:00
Jan Oberhauser b487d4f392 🔖 Release n8n@0.161.0 2022-01-30 14:09:53 +00:00
Jan Oberhauser 46fba951df ⬆️ Set n8n-core@0.103.0, n8n-editor-ui@0.128.0, n8n-nodes-base@0.159.0 and n8n-workflow@0.85.0 on n8n 2022-01-30 14:09:53 +00:00
Jan Oberhauser 7609cd32e4 🔖 Release n8n@0.160.0 2022-01-22 17:59:07 +00:00
Jan Oberhauser 17b23d4758 ⬆️ Set n8n-core@0.102.0, n8n-editor-ui@0.127.0, n8n-nodes-base@0.158.0 and n8n-workflow@0.84.0 on n8n 2022-01-22 17:59:06 +00:00
Jan Oberhauser baabd60852 🔖 Release n8n@0.159.1 2022-01-18 10:16:09 +01:00
Jan Oberhauser 853535b494 ⬆️ Set n8n-core@0.101.1 on n8n 2022-01-18 10:15:27 +01:00
Jan Oberhauser 737d567111 🔖 Release n8n@0.159.0 2022-01-16 13:41:09 +00:00
Jan Oberhauser 93187a7d79 ⬆️ Set n8n-core@0.101.0, n8n-editor-ui@0.126.0, n8n-nodes-base@0.157.0 and n8n-workflow@0.83.0 on n8n 2022-01-16 13:41:08 +00:00
Jan Oberhauser 7efb73053d Allow to use execute command with workflows that do not have an ID 2022-01-16 14:04:42 +01:00
Jan Oberhauser 6fea3843c7 🔖 Release n8n@0.158.0 2022-01-09 16:16:59 +00:00
Jan Oberhauser c10e02c8f0 ⬆️ Set n8n-core@0.100.0, n8n-editor-ui@0.125.0, n8n-nodes-base@0.156.0 and n8n-workflow@0.82.0 on n8n 2022-01-09 16:16:59 +00:00
Vahid Sebto 228ba36b56
Add external hook "activeWorkflows.initialized" (#2571) 2022-01-08 18:53:42 +01:00
Iván Ovejero 5fec563c5c
i18n feedback refactorings (#2597)
*  Create endpoint for node credential translation

*  Add API helper method in FE

* 🔨 Add creds JSON files to tsconfig

*  Refactor credentials loading

*  Refactor calls in CredentialConfig

* ✏️ Add dummy translations

*  Split translations per node

* 🔥 Remove deprecated method

*  Refactor nesting in collections

* 🚚 Rename topParameter methods for accuracy

* ✏️ Fill out GitHub dummy cred

* 🚚 Clarify naming for collection utils

* ✏️ Fill out dummy translation

* 🔥 Remove surplus colons

* 🔥 Remove logging

*  Restore missing space

* 🔥 Remove lingering colon

*  Add path to InputLabel calls

* ✏️ Fill out dummy translations

* 🐛 Fix multipleValuesButtonText logic

*  Add sample properties to be deleted

*  Render deeply nested params

* 📦 Update package-lock.json

* 🔥 remove logging

* ✏️ Add dummy value to Slack translation

* ✏️ Add placeholder to dummy translation

*  Fix placeholder rendering for button text

* 👕 Fix lint

* 🔥 Remove outdated comment

* 🐛 Pass in missing arg for placeholder

* ✏️ Fill out Slack translation

*  Add explanatory comment

* ✏️ Fill out dummy translation

* ✏️ Update documentation

* 🔥 Remove broken link

* ✏️ Add pending functionality

* ✏️ Fix indentation

* 🐛 Fix method call in CredentialEdit

*  Implement eventTriggerDescription

* 🐛 Fix table-json-binary radio buttons

* ✏️ Clarify usage of eventTriggerDescription

* 🔥 Remove unneeded arg

* 🐛 Fix display in CodeEdit and TextEdit

* 🔥 Remove logging

* ✏️ Add translation for test cred options

* ✏️ Add test for separate file in same dir

* ✏️ Add test for versioned node

* ✏️ Add test for node in grouped dir

* ✏️ Add minor clarifications

* ✏️ Add nested collection test

* ✏️ Add pending functionality

*  Generalize collections handling

* 🚚 Rename helper to remove redundancy

* 🚚 Improve naming in helpers

* ✏️ Improve helpers documentation

* ✏️ Improve i18n methods documentation

* 🚚 Make endpoint naming consistent

* ✏️ Add final newlines

* ✏️ Clean up JSON examples

*  Reuse i18n method

*  Improve utils readability

*  Return early if cred translation exists

* 🔥 Remove dummy translations
2022-01-07 22:02:21 +01:00
Ahsan Virani 57016624b8
Improve telemetry (#2604)
* add node positions in node graph

* add hover events

* add tag count in save event

* populate properties when default

* fix delete and enable node events

* add node and workflow exec events

* lint

* add node graph

* add node id
2022-01-07 17:14:59 +01:00
Jan Oberhauser df412e9523 🔖 Release n8n@0.157.1 2022-01-03 22:54:36 +01:00
Jan Oberhauser 9b520e77ff ⬆️ Set n8n-nodes-base@0.155.1 on n8n 2022-01-03 22:53:45 +01:00
Omar Ajoue baa43c1e33
🐛 Fix execute commands after binary data release (#2628) 2022-01-03 22:49:44 +01:00
Jan Oberhauser aff93480d4 🔖 Release n8n@0.157.0 2022-01-02 09:47:14 +00:00
Jan Oberhauser 86578cf32f ⬆️ Set n8n-core@0.99.0, n8n-editor-ui@0.124.0 and n8n-nodes-base@0.155.0 on n8n 2022-01-02 09:47:13 +00:00
Ricardo Espinoza 7a8425a152
Add Notion node V2 (#2437)
*  Add versioning

*  Add credentials verification

*  Add folmula filtering

*  Add file support

*  Apply internal review

*  Improvements

*  Add page updated event to trigger

*  Use name instead of id when setting expression in select type

*  improvements

*  Improvements

*  Improvement to descriptions

*  Add filter to databasePage:getAll

*  Improvements

*  Add database:search operation

*  Add page:archive operation

*  Allow clearing fields date type

*  Allow setting single value in people type field

* asasas

* asasas

* aaaaa

*  Improvements

*  Fix merging issues

* 🐛 Fix filename

*  Minor fix

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-29 23:23:22 +01:00
Jan Oberhauser aab5f5ddab 🔖 Release n8n@0.156.0 2021-12-25 13:19:52 +00:00
Jan Oberhauser e2a44770b8 ⬆️ Set n8n-core@0.98.0, n8n-editor-ui@0.123.0, n8n-nodes-base@0.154.0 and n8n-workflow@0.81.0 on n8n 2021-12-25 13:19:52 +00:00
Jan Oberhauser 2996d5d1e8 👕 Fix lint issue 2021-12-25 13:51:42 +01:00
Vahid Sebto 8f9dbb7163
Add executionId workflow.postExecute external hook (#2569)
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2021-12-25 13:42:17 +01:00
Jan Oberhauser 48f0f71f95 Make it possible to disable the UI 2021-12-24 07:59:14 +01:00