Commit graph

7341 commits

Author SHA1 Message Date
OlegIvaniv 1c36c37a12
test(editor): Fix flaky e2e tests (#4779)
* test(editor): Fix default-owner and credentials saving e2e specs

* test(editor): fix webhook node test

* test(editor): add cy command for browser permissions

* test(editor): add cy command for reading clipboard

* Fix 3-default-owner spec

* Resolve review comments

* Merge spec

* Fix http node and expression editor modal specs

* Add optional param to credentials modal saving action to wait for the test endpoint

* Improve sidebar items clicking and increase credentials saving timeout

* Rename http e2e spec to fix ordering

* Fix pasting and copying of nodes e2e spec

* Make sure to only access error.cause if it exists

* Wait longer for the keyboard press

* Make sure to focus the body when typing

* Try type delay

* Use meta key based on the running platform

* Fix flaky workflowTagElements getter

Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-12-07 18:16:38 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6d5ea0634c
fix: Use the same entrypoint for custom docker images as for the other images (no-changelog) (#4849)
* ci: Use the same entrypoint for custom docker images as for the other images

* update docker-compose examples to use the correct volume paths to work with custom images
2022-12-07 15:54:26 +01:00
Iván Ovejero fbb8611ae2
refactor: Deprecate alwaysOpenEditWindow for string (#4839)
* 🔥 Remove from client

* 📘 Update interface comment

* ✏️ Update docs

*  Update nodes

* ✏️ Fix typo

*  Restore misremoved property

* 🔥 Remove more instances
2022-12-07 15:29:45 +01:00
कारतोफ्फेलस्क्रिप्ट™ 7e1a13f9b2
fix: Upgrade sse-channel to mitigate CVE-2019-10744 (#4835)
sse-channel 4 removed CORS support, that's why we need to handle CORS for `/push` ourselves now.
2022-12-07 15:13:36 +01:00
Alex Grozav 1fc17b5d81
feat: Show warning message when removing last sharee that has access to credentials (no-changelog) (#4811)
* feat: add custom message when removing last credential accessor

* chore: remove unused imports

* chore: undo config schema changes

* fix: remove hash from interface
2022-12-07 14:49:55 +02:00
Jan Oberhauser c60e883640 📚 Update CHANGELOG.md and main package.json to 0.206.1 2022-12-07 12:51:55 +01:00
Jan Oberhauser 86c18939b7 🔖 Release n8n@0.206.1 2022-12-07 11:48:58 +00:00
Jan Oberhauser 85d08628b4 ⬆️ Set n8n-core@0.146.1, n8n-editor-ui@0.172.1, n8n-nodes-base@0.204.1 and n8n-workflow@0.128.1 on n8n 2022-12-07 11:48:58 +00:00
Jan Oberhauser 0b83e26bba 🔖 Release n8n-editor-ui@0.172.1 2022-12-07 11:47:03 +00:00
Jan Oberhauser 528e6c36ab ⬆️ Set n8n-workflow@0.128.1 on n8n-editor-ui 2022-12-07 11:47:03 +00:00
Jan Oberhauser 5eadb94fb0 🔖 Release n8n-nodes-base@0.204.1 2022-12-07 11:46:00 +00:00
Jan Oberhauser 7d869ec3fa ⬆️ Set n8n-core@0.146.1 and n8n-workflow@0.128.1 on n8n-nodes-base 2022-12-07 11:46:00 +00:00
Jan Oberhauser c6a504626a 🔖 Release n8n-node-dev@0.85.1 2022-12-07 11:45:45 +00:00
Jan Oberhauser d62bcfa06a ⬆️ Set n8n-core@0.146.1 and n8n-workflow@0.128.1 on n8n-node-dev 2022-12-07 11:45:45 +00:00
Jan Oberhauser e9a83e28fa 🔖 Release n8n-core@0.146.1 2022-12-07 11:45:33 +00:00
Jan Oberhauser a5d21294ad ⬆️ Set n8n-workflow@0.128.1 on n8n-core 2022-12-07 11:45:33 +00:00
Jan Oberhauser 3713e2fd3d 🔖 Release n8n-workflow@0.128.1 2022-12-07 11:45:17 +00:00
कारतोफ्फेलस्क्रिप्ट™ 38003476a0
ci: Publish docker images for all architectures under the same tag (no-changelog) (#4843) 2022-12-07 12:42:52 +01:00
Omar Ajoue 2ad62bcd44
fix: Remove unnecessary console message (no-changelog) (#4848)
* refactor: Remove unnecessary console message (no-changelog)

* fix: Broken test now passing
2022-12-07 12:40:38 +01:00
Iván Ovejero 0bd13c7173
fix(core): Make expression resolution improvements (#4829)
 Make expression resolution improvements
2022-12-07 12:07:32 +01:00
Csaba Tuncsik 1e4ca1f0d0
fix(editor): Schema unit test stub fontawesome icon (#4840) 2022-12-07 12:00:59 +01:00
Jan Oberhauser b7a18c5750 📚 Update CHANGELOG.md and main package.json to 0.206.0 2022-12-06 20:56:27 +01:00
Jan Oberhauser 365e73e0c3 🔖 Release n8n@0.206.0 2022-12-06 19:50:22 +00:00
Jan Oberhauser b19051caf5 ⬆️ Set n8n-core@0.146.0, n8n-editor-ui@0.172.0, n8n-nodes-base@0.204.0 and n8n-workflow@0.128.0 on n8n 2022-12-06 19:50:19 +00:00
Jan Oberhauser 26668c0ca8 🔖 Release n8n-editor-ui@0.172.0 2022-12-06 19:47:58 +00:00
Jan Oberhauser 8414ab5601 ⬆️ Set n8n-design-system@0.46.0 and n8n-workflow@0.128.0 on n8n-editor-ui 2022-12-06 19:47:58 +00:00
Jan Oberhauser c701468da4 🔖 Release n8n-design-system@0.46.0 2022-12-06 19:47:40 +00:00
Jan Oberhauser f6374db31a 🔖 Release n8n-nodes-base@0.204.0 2022-12-06 19:46:44 +00:00
Jan Oberhauser 2a2b9fa84f ⬆️ Set n8n-core@0.146.0 and n8n-workflow@0.128.0 on n8n-nodes-base 2022-12-06 19:46:44 +00:00
Jan Oberhauser 32e7a8476f 🔖 Release n8n-node-dev@0.85.0 2022-12-06 19:46:30 +00:00
Jan Oberhauser d0b826a072 ⬆️ Set n8n-core@0.146.0 and n8n-workflow@0.128.0 on n8n-node-dev 2022-12-06 19:46:30 +00:00
Jan Oberhauser 91986bb3bf 🔖 Release n8n-core@0.146.0 2022-12-06 19:46:21 +00:00
Jan Oberhauser 788cd0b229 ⬆️ Set n8n-workflow@0.128.0 on n8n-core 2022-12-06 19:46:21 +00:00
Jan Oberhauser b1c99b9fe6 🔖 Release n8n-workflow@0.128.0 2022-12-06 19:46:11 +00:00
कारतोफ्फेलस्क्रिप्ट™ 85241fd230
fix: Make nodes.exclude and nodes.include work with lazy-loaded nodes (#4833) 2022-12-06 19:15:15 +01:00
कारतोफ्फेलस्क्रिप्ट™ a09ff27f43
ci: Use multiple jobs for publishing various docker images (#4837)
ci: use multiple jobs for publishing various docker images
2022-12-06 17:26:53 +01:00
Csaba Tuncsik 9dbb3ea182
feat(editor): Alert design system component (#4834)
* feat(editor): Alert component

* feat(editor): style improvements
2022-12-06 16:51:46 +01:00
Iván Ovejero 7b819ad5a1
refactor: Disable ESLint indent rule (no-changelog) (#4828)
* 👕 Disable ESLint `indent` rule

* 🔥 Remove redundant rule
2022-12-06 16:07:26 +01:00
freya 1722c6b0c5
feat(core): Workflow Execution Statistics (#4200)
Add recording and reporting of workflow execution statistics
2022-12-06 14:55:40 +00:00
Alex Grozav b71295e4de
fix: Handle error when workflow does not exist or is inaccessible (#4831) 2022-12-06 14:35:57 +02:00
Csaba Tuncsik 4528f34462
feat(editor): Schema view (#4615)
* feat(editor): Generate custom schema from data (#4562)

* feat(core): adding a type package to n8n

* feat(editor): adding custom schema generator

* fix: add new types package to lock file

* fix: remove n8n_io/types package

* fix: adding path to generated schema

* fix: handling nested lists in schema generation

* fix: add date support to schema generation

* fix: define dates in ISO format

* fix: using test instead of it in repeated tests

* fix(editor): JSON schema treat nested lists as object to allow mapping each level

* fix(editor): rename JSON schema type

* fix(editor): make JSON schema path required

* fix(editor): using JSON schema bracket notation for object props to handle exceptional keys

* fix(editor): reorder JSON schema generator function args

* feat(editor): Add date recognizer util function (#4620)

*  Implemented date recogniser fuction
*  Added unit tests for date recogniser
* ✔️ Fixing linting errors
* 👌 Updating test cases

* feat(editor): Implement JSON Schema view UI functionalities (#4601)

* feat(core): adding a type package to n8n

* feat(editor): adding custom schema generator

* fix: add new types package to lock file

* fix: remove n8n_io/types package

* fix: adding path to generated schema

* fix: handling nested lists in schema generation

* fix: add date support to schema generation

* fix: define dates in ISO format

* fix: using test instead of it in repeated tests

* fix(editor): JSON schema treat nested lists as object to allow mapping each level

* fix(editor): rename JSON schema type

* fix(editor): make JSON schema path required

* fix(editor): using JSON schema bracket notation for object props to handle exceptional keys

* fix(editor): reorder JSON schema generator function args

* fix(editor): WIP json schema view

* fix(editor): formatting fix

* fix(editor): WIP json schema viewer

* fix(editor): fix schema generator and add deep merge

* fix(editor): WIP update json schema view components

* fix(editor): extend valid date checking

* fix(editor): WIP improving JSON schema view

* chore(editor): code formatting

* feat(editor): WIP Json schema view mapping + animations

* feat(editor): WIP update mergeDeep

* feat(editor): adding first item of json data to the end once more to get sample data from the first item

* feat(editor): adding first item of json data to the end once more to get sample data from the first item

* fix(editor): improving draggable design

* fix(editor): move util functions to their correct place after merge conflict

* fix(editor): move some type guards

* fix(editor): move some type guards

* fix(editor): change import path in unit test

* fix(editor): import missing interface

* fix(editor): remove unused functions and parts from json schema generation

* feat(editor): Add telemetry calls to JSON schema mapping (#4695)

* feat(editor): WIP JSON schema telemetry call

* feat(editor): make telemetry usable outside of Vue component context

* chore(editor): remove unused variable

* Merge branch 'feature/json-schema-view' of github.com:n8n-io/n8n into n8n-5410-add-telemetry-calls

# Conflicts:
#	packages/editor-ui/src/components/RunDataJsonSchema.vue

* fix(editor): VUE typing for telemetry

* fix(editor): enable PostHog feature flag

* fix(editor): Schema design review (#4740)

* refactor(editor): rename JsonSchema to Schema

* fix(editor): schema component name

* fix(editor): schema pill style

* fix(editor): schema type date as string

* fix(editor): schema styles (support long text + firefox)

* fix(editor): schema truncate text if it's too long

* fix(editor): schema types

* fix(editor): droppable styles

* fix(editor): schema component props

* fix(editor): fix draggable pill styles

* fix(editor): schema view styles

* fix(editor): schema mapping tooltip

* fix(editor): schema mapping styles

* fix(editor): mapping styles

* fix(editor): empty schema case

* fix(editor): delay mapping tooltip

* test(editor): add schema view snapshot test

* fix(editor): schema empty string

* fix(editor): schema string without space

* fix(editor): update schema test snapshot

* fix(editor): applying review comments

* fix(editor): make n8nExternalHooks optional

* fix(editor): remove TODO comment

Co-authored-by: Milorad FIlipović <milorad@n8n.io>
2022-12-06 12:50:06 +01:00
कारतोफ्फेलस्क्रिप्ट™ 9485e2f12a
fix: Enable source-maps on WorkflowRunnerProcess in own mode (#4832) 2022-12-06 12:16:49 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8c9681e8ce
ci: Fix linting on master (no-changelog) (#4830) 2022-12-06 11:57:28 +01:00
Alex Grozav eb112ffd23
feat: Add message for readonly nodes. Improve foreign credentials handling (#4759)
* feat: Add message for readonly nodes. Improve foreign credentials handling

* Copy fix

Co-authored-by: João Ramos <hello@joao.pt>
2022-12-06 12:15:07 +02:00
Yann Jouanique 37e580eb06
feat(KoBoToolbox Node): Add support for Media file API (#4578) 2022-12-06 10:00:53 +00:00
Marcel c3114241fd
fix(Local File Trigger Node): Fix issue that causes a crash if the ignore field is empty (#4824) (#4825) 2022-12-06 09:57:07 +00:00
Jonathan Bennetts 75ad3d168c
refactor: Codex updates for XML and HtmlExtract Nodes (#4801) 2022-12-06 09:49:36 +00:00
Omar Ajoue 4813da547d
refactor: Reactivate workflow locking (#4770)
* feat: Reenable workflow locking

Co-authored-by: freyamade <freya@n8n.io>
Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-12-06 09:25:39 +01:00
Iván Ovejero 915f1445c2
fix(Code Node): Restore pairedItem to required n8n item keys (#4821)
🐛 Restore `pairedItem`
2022-12-05 17:53:16 +01:00
Michael Kret 7aefed46dc
fix(core): OAuth2 scopes does not save 2022-12-05 18:28:34 +02:00