Commit graph

5842 commits

Author SHA1 Message Date
Jan Oberhauser 76b0dd9de5 refactor(Merge Node): Change parameter names 2022-09-15 16:31:20 +02:00
Omar Ajoue 5130529066
fix: AWS credential testing issue (#4107) 2022-09-15 15:03:16 +02:00
Iván Ovejero 680d255df5
refactor(telemetry): Add personalization survey event to PostHog (#4093)
 Add personalization survey event to PH
2022-09-15 13:31:19 +02:00
Csaba Tuncsik ec2c55211c
refactor(design-system): merge n8n square button into n8n button (#4075)
* feat(design-system): button as square shape

* refactor(editor-ui): drop n8n-square-button in favor of n8n-button

* refactor(design-system): remove obsolete n8n-square-button

* fix(design-system): icon only square button icon position

* fix(design-system): icon only square button icon position

* chore(design-system): update button test snapshot

* fix(design-system): overriding default square button styles

* fix(editor-ui): using tertiary button variant in survey without local style overrides

* refactor(design-system): simplifying and partially merging icon-button and button

* fix(design-system): remove unused prop from icon-button

* fix(design-system): square button should have the old dimensions

* fix(design-system): square button update test snapshots
2022-09-15 11:41:12 +02:00
Iván Ovejero 98ed207607
feat(core, editor-ui): Introduce node deprecation (#4103)
 Introduce node deprecation
2022-09-15 10:52:24 +02:00
Mike Arvela f40ae501b4
fix(public-api): Fix error updating workflow with property not defined in the schema (#4089)
* fix(cli): catch errors on updating workflow

*  Don\'t allow additionalProperties in the workflow schema

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-09-14 11:40:45 -04:00
Alex Grozav 9a59d0a5d1
feat(Adalo Node): MVP Adalo node N8N-3263 (#3102)
*  Added Adalo node using declarative API.

* fix: Updated authentication headers.

* fix: Fixed node linting issues.

*  improvements

* fix: Fixed Adalo node pagination.

* fix: Fixed Adalo node linting issues.

Co-authored-by: Michael Kret <michael.k@radency.com>
2022-09-14 13:36:53 +03:00
Michael Kret f70e6d2345
fix(MongoDb Node): update mongo driver to 4.9.1 n8n-2622 (#4095) 2022-09-14 12:54:05 +03:00
कारतोफ्फेलस्क्रिप्ट™ 43c9f019bd
fix(cli): use absolute paths for loading custom nodes and credentials (#4099)
custom-node loading broke because of this change, as we started using relative paths for the files returned by `glob` #4082
2022-09-14 10:37:51 +02:00
freya a8127dfc05
test(core): WorkflowCredentials Test Suite 2022-09-14 09:19:44 +01:00
freya dd3ba96372
fix(core): update oauth endpoints to use instance base url 2022-09-14 09:05:31 +01:00
कारतोफ्फेलस्क्रिप्ट™ 461848fcc4
fix(cli,core): Address Dependabot warnings [N8N-4121] (#3883)
* feat(cli): upgrade passport

* feat(core): upgrade file-type

* force upgrade browserslist

* force upgrade ejs

* force upgrade globby and fork-ts-checker-webpack-plugin
2022-09-14 09:50:33 +02:00
Omar Ajoue 9e1fa4c045
fix: Issue with versioned nodes not loading properly (#4094) 2022-09-13 17:46:47 +02:00
OlegIvaniv ea2d18b66d
feat(editor): Implement HTML sanitization for Notification and Message components (#4081)
* feat(editor): Implement HTML sanitization when using `dangerouslyUseHTMLString` option of Notification and Message components

* 🐛 Implement mechanism to allow for A href actions from locale strings

* 🐛 Prevent link action default

* ♻️ Use `xss` library instead of `sanitize-html` to handle sanitization

* 🔥 Remove `onLinkClick` functionality of `$showMessage`
2022-09-13 17:39:47 +02:00
Michael Kret 381c09fa47
fix(core): Fix node renaming in expressions 2022-09-13 18:09:16 +03:00
OlegIvaniv 8c95d6ec53
feat(editor): Show input number for multi-input nodes (#4000)
* feat(editor): Show input number for multi-input nodes

*  Added multiple inputs detection logic to input panel

* 🐛 Fix a case where Input 1 and Input 2 are identical, do not display nodeIndex for single input nodes

* 🔥 Delete unused `MERGE_NODE_TYPE` constant

* ♻️ Get input names dynamically for multi-input nodes

Co-authored-by: Milorad Filipovic <milorad@n8n.io>
2022-09-13 15:42:44 +02:00
freya 36ec81f624
fix(node): Google Cloud Storage linting rules 2022-09-13 12:41:08 +01:00
freya 1e963d8e1e
feat(GoogleCloudStorage Node): add GCS Node with Bucket and Object operations 2022-09-13 12:03:17 +01:00
Iván Ovejero 3a9c7acb04
refactor(nodes-base): Apply lint rule node-param-operation-option-description-wrong-for-get-many (#4064)
* 👕 Enable rule

* ⬆️ Upgrade linter

* 📦 Update `package-lock.json`

* 👕 Apply rule

* ✏️ Fix plurals

* ✏️ More typos

* ✏️ Final typos
2022-09-13 12:36:36 +02:00
Jonathan Bennetts 9f92a4d681
fix(googleBigQuery Node): fix empty response when creating records (#4056) 2022-09-13 08:55:58 +01:00
Csaba Tuncsik c4fd8ce28b
refactor(editor-ui): leverage the editor url in frontend (#4085)
* refactor(editor-ui): remove unused interfaces

* refactor(editor-ui): add urlBaseEditor setting to application state

* fix(editor-ui): webhook urls for test and production

* fix(editor-ui): jsPlumb Anchor interface
2022-09-13 09:54:23 +02:00
Michael Kret f1a569791d
feat(Merge Node): overhaul of merge node 2022-09-13 08:59:49 +03:00
कारतोफ्फेलस्क्रिप्ट™ b6c1187922
fix(cli): load nodes and credentials on windows using the correct file-path (#4084) 2022-09-12 18:48:50 +02:00
Jonathan Bennetts 3de0e228cb
fix(core): fix issue with returnJsonArray helper breaking nodes that return no data 2022-09-12 16:30:47 +01:00
Michael Kret de4ca3b0cc
test(UM tests): add missing UM tests n8n-3648 (#4077)
*  added test for users reinvite
2022-09-12 17:07:56 +02:00
कारतोफ्फेलस्क्रिप्ट™ 84b56eb48e
fix(cli): avoid scanning unnecessary directories on windows (#4082)
fixes #4007

Ticket: N8N-4603
2022-09-12 16:31:49 +02:00
Omar Ajoue dd2b55e352
test: Add more tests to active executions file (#4071)
* test: Add more tests to active executions file
2022-09-12 15:52:06 +02:00
Omar Ajoue beb6c38a1f
test: Add tests for Credential Types (#4078)
* test: Add tests for Credential Types
2022-09-12 12:53:03 +02:00
कारतोफ्फेलस्क्रिप्ट™ 69eb97999d
fix(eslint): setup eslint to run on every package - N8N-4553 (#4050)
* fix(eslint): setup eslint to run on every package

Also, unify eslint config and dependencies into a private package in the workspace.
2022-09-12 11:41:50 +02:00
Iván Ovejero d6b930c7be
refactor(nodes-base): Apply lint rule node-param-type-options-missing-from-password (#4072)
* 👕 Enable rule

* 👕 Apply rule
2022-09-12 09:36:50 +02:00
Iván Ovejero 26b07e28f0
refactor(nodes-base): Apply lint rule node-param-display-name-not-first-position (#4073)
* 👕 Enable rule

* 👕 Apply rule
2022-09-12 09:25:39 +02:00
Rhys Williams f6064ef278
fix(core & function nodes): Update function nodes to work with binary-data-mode 'filesystem'. (#3845)
* Initial Fix

* Self-Review #1

* Lint

* Added support for FunctionItem. Minor updates.

* Self-review

* review comments. Added testing.

* Self Review

* Fixed memory handling on data manager use.

* Fixes for unnecessary memory leaks.
2022-09-11 16:42:09 +02:00
कारतोफ्फेलस्क्रिप्ट™ b450e977a3
feat(cli): Load all nodes and credentials code in isolation - N8N-4362 (#3906)
[N8N-4362] Load all nodes and credentials code in isolation

Co-authored-by: Omar Ajoue <krynble@gmail.com>
2022-09-09 18:08:08 +02:00
कारतोफ्फेलस्क्रिप्ट™ 9267e8fb12
fix(typescript): Use consistent typescript configs - N8N-4552 (#4049)
fix(typescript): Use consistent typescript configs

make all packages inherit tsconfig from the root tsconfig
skips building tests. reformat all tsconfigs with prettier.
2022-09-09 18:00:18 +02:00
Michael Kret 2c7ef1e550
refactor(core): move node-types endpoints to a separate file n8n-4584 (#4068) 2022-09-09 17:31:06 +02:00
कारतोफ्फेलस्क्रिप्ट™ a73ac1d94f
fix(workflow): remove a few ts-ignore and eslint-disable (#3958)
fix(workflow): remove a few `ts-ignore` and `eslint-disable`. improve typing
2022-09-09 16:34:50 +02:00
कारतोफ्फेलस्क्रिप्ट™ 799676b24d
feat(typescript): Setup Typescript incremental builds (#3876) 2022-09-09 15:24:23 +02:00
कारतोफ्फेलस्क्रिप्ट™ f5c6c21bf4
Improve typing on Queue and Jobs (#3892)
also, move all things related to `bull` into a single place.
2022-09-09 15:14:49 +02:00
कारतोफ्फेलस्क्रिप्ट™ 12507d39d6
fix(cli): password reset should trigger internal and external hooks (#4066)
Ticket: N8N-4586
2022-09-09 14:01:48 +02:00
Michael Kret eebc51ec7c
refactor(core): move tags endpoints to a separate file 2022-09-09 13:30:24 +03:00
maxtkacz e1025e888c
fix(Hubspot Node): Correct canvas name of HubSpot node (#4054)
In workflow canvas, HubSpot node's default name was incorrectly "Hubspot", changed to correct brand capitalisation.
2022-09-09 11:35:19 +02:00
Iván Ovejero d0c9120031
refactor(nodes-base): Apply lint rule cred-class-field-authenticate-type-assertion (#4057)
👕 Apply `cred-class-field-authenticate-type-assertion`
2022-09-09 10:35:50 +02:00
Iván Ovejero d4f858db92
refactor(nodes-base): Apply lint rule node-param-operation-option-action-wrong-for-get-many (#4055)
* 👕 Apply `node-param-operation-option-action-wrong-for-get-many`

* 🔥 Remove `package-lock.json`

* 📦 Re-add `package-lock.json`

*  master update

Co-authored-by: Michael Kret <michael.k@radency.com>
2022-09-08 17:10:13 +02:00
Michael Kret 74304db4e2
feat(gmail): overhaul Gmail node + create gmail trigger (#3734) 2022-09-08 15:44:34 +03:00
Iván Ovejero ca8c2d6577
refactor(nodes-base): Apply lint rule node-param-option-name-wrong-for-get-many (#4051)
* ⬆️ Upgrade linter

* 📦 Update `package-lock.json`

* 👕 Substitute rule

* 👕 Apply lintfix for `node-param-option-name-wrong-for-get-many`

* 👕 Restore lint exceptions
2022-09-07 16:51:14 +02:00
Jan Oberhauser d9084b1e24 🔖 Release n8n-core@0.133.3, n8n-editor-ui@0.159.4, n8n-node-dev@0.72.1, n8n-nodes-base@0.191.3 and n8n@0.193.5 2022-09-07 16:40:10 +02:00
Jan Oberhauser abccc387a2 ⬆️ Set n8n-core@0.133.3, n8n-editor-ui@0.159.4 and n8n-nodes-base@0.191.3 on n8n 2022-09-07 14:36:13 +00:00
Jan Oberhauser 39e7a60abf ⬆️ Set n8n-core@0.133.3 on n8n-nodes-base 2022-09-07 14:33:42 +00:00
Jan Oberhauser a519d745f2 ⬆️ Set n8n-core@0.133.3 on n8n-node-dev 2022-09-07 14:33:36 +00:00
Omar Ajoue fbd044bf87
fix(gmail): fix node and improve helper so to avoid double wrapping in json key (#4052)
* fix: improve helper so to avoid double wrapping in json key

* fix: gmail node should now correctly output data
2022-09-07 16:02:48 +02:00