Commit graph

6584 commits

Author SHA1 Message Date
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
Michael Kret 67aad63343
fix(Gmail Trigger Node): Trigger node missing some emails 2022-12-05 16:12:26 +02:00
Milorad FIlipović e07e32f14d
test(editor): Add more workflow actions tests (#4799)
*  Making workflow actions tests skip setup, changing suite number
* 🔥 Removing unnecessary imports and vars
*  Adding workflow tags and copy/paste tests
*  Added tests for copying and pasting nodes
* Update cypress/support/commands.ts
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* 👌 Moving paste data to fixtures
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-12-05 14:31:14 +01:00
Alex Grozav 1b7952a516
feat: Fix checkbox line height and make checkbox label clickable (#4818)
* fix: Update checkbox design and make checkbox label clickable

* fix: Remove checkbox ids

* chore: remove unused imports
2022-12-05 14:48:56 +02:00
Alex Grozav af6ac42aa3
feat: Add prompt to overwrite changes when concurrent editing occurs (#4817)
* feat: Add prompt to overwrite changes when concurrent editing occurs

* chore: undo config schema update
2022-12-05 14:34:14 +02:00
कारतोफ्फेलस्क्रिप्ट™ 46c75b9fd2
fix: Stop using prefixed core modules from nodejs (no-changelog) (#4813)
fix: stop using prefixed core modules from nodejs (no-changelog)

Starting node 18, there are some core modules that only work with the `node:` prefix, like `node:test`. It's very likely that nodejs will switch to prefix-only core modules in the next versions as un-prefixed core modules are susceptible to supply-chain attacks.
2022-12-05 11:41:30 +01:00
Alex Grozav 184b3a3ea7
fix: Refresh credentials when re-entering workflows page (no-changelog) (#4815)
fix: refresh credentials when re-entering workflows page (no-changelog)
2022-12-05 12:31:18 +02:00
Iván Ovejero 46d4c4d329
refactor(Code Node): Limit n8n item key check (#4737)
 Limit n8n item key check
2022-12-05 10:59:26 +01:00
Iván Ovejero 5d75e6ceb3
fix(core): Fix partial execution with pinned data on child node run (#4764)
🐛 Fix partial execution with pinned data on child node run
2022-12-05 10:09:31 +01:00
OlegIvaniv 9e7a156532
fix(Execute Workflow Node): Update Execute Workflow node info notice text (#4809)
fix(ExecuteWorkflow node): Update Execute Workflow info notice text
2022-12-05 10:08:06 +01:00
Michael Kret 3bb3809eec
fix(core): Fix linter error (#4808) 2022-12-05 09:31:51 +02:00
Michael Kret 61e26804ba
refactor(core): Remove linting exceptions in nodes-base (#4794)
*  enabled array-type

*  await-thenable on

*  ban-types on

*  default-param-last on

*  dot-notation on

*  member-delimiter-style on

*  no-duplicate-imports on

*  no-empty-interface on

*  no-floating-promises on

*  no-for-in-array on

*  no-invalid-void-type on

*  no-loop-func on

*  no-shadow on

*  ban-ts-comment re enabled

*  @typescript-eslint/lines-between-class-members on

* address my own comment

* @typescript-eslint/return-await on

* @typescript-eslint/promise-function-async on

* @typescript-eslint/no-unnecessary-boolean-literal-compare on

* @typescript-eslint/no-unnecessary-type-assertion on

* prefer-const on

* @typescript-eslint/prefer-optional-chain on

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-12-02 21:54:28 +01:00
Iván Ovejero cfd32d2642
refactor: Phase out TSLint in nodes-base (no-changelog) (#4798)
* 🔥 Remove TSLint scripts

* 🔥 Remove TSLint config

* 🔥 Remove TSLint exceptions

* 👕 Adjust lint config

* ✏️ Add story numbers
2022-12-02 15:25:21 +01:00
Iván Ovejero 632f573021
refactor(core): Introduce overload for string-type node parameter (no-changelog) (#4797)
* 📘 Set up overload

* 🔥 Remove inferrable assertions
2022-12-02 12:53:59 +01:00
Jan Oberhauser bdeaab4f92 🔖 Release n8n@0.205.0 2022-12-02 09:16:59 +00:00
Jan Oberhauser d8b18750c1 ⬆️ Set n8n-core@0.145.0, n8n-editor-ui@0.171.0, n8n-nodes-base@0.203.0 and n8n-workflow@0.127.0 on n8n 2022-12-02 09:16:59 +00:00
Jan Oberhauser 7b7cb7e4af 🔖 Release n8n-editor-ui@0.171.0 2022-12-02 09:14:57 +00:00
Jan Oberhauser 4a8d83bdb3 ⬆️ Set n8n-design-system@0.45.0 and n8n-workflow@0.127.0 on n8n-editor-ui 2022-12-02 09:14:57 +00:00
Jan Oberhauser 01a6634eaa 🔖 Release n8n-design-system@0.45.0 2022-12-02 09:14:36 +00:00
Jan Oberhauser 0cd1fe06c0 🔖 Release n8n-nodes-base@0.203.0 2022-12-02 09:13:31 +00:00
Jan Oberhauser fcabb4231a ⬆️ Set n8n-core@0.145.0 and n8n-workflow@0.127.0 on n8n-nodes-base 2022-12-02 09:13:31 +00:00
Jan Oberhauser f2f782bd99 🔖 Release n8n-node-dev@0.84.0 2022-12-02 09:13:21 +00:00
Jan Oberhauser b9db04027f ⬆️ Set n8n-core@0.145.0 and n8n-workflow@0.127.0 on n8n-node-dev 2022-12-02 09:13:20 +00:00
Jan Oberhauser c6663bb899 🔖 Release n8n-core@0.145.0 2022-12-02 09:13:10 +00:00
Jan Oberhauser fab3860587 ⬆️ Set n8n-workflow@0.127.0 on n8n-core 2022-12-02 09:13:10 +00:00
Jan Oberhauser afc57c5397 🔖 Release n8n-workflow@0.127.0 2022-12-02 09:13:01 +00:00
कारतोफ्फेलस्क्रिप्ट™ 2ce62917da
fix: Credential overwrites should take precedence over credential default values (#4782)
fix: Credential overwrites should take precedence over default values
2022-12-02 09:46:19 +01:00
Bram Kn 0c759dc548
feat(Postmark Trigger Node): Update credentials so they can be used with the HTTP Request Node (#4790) 2022-12-01 17:42:33 +00:00
OlegIvaniv 23aa0353b6
fix(editor): Remove unnecessary closing tag in CanvasControls (no-changelog) (#4792)
fix(editor): Remove unnecessary closing tag in CanvasControls component (no-changelog)
2022-12-01 18:12:25 +01:00
Jonathan Bennetts 2a85af1bdb
feat(Facebook Graph API Node): Update to support api version 15 (#4791) 2022-12-01 17:07:54 +00:00
Michael Kret c853b8078e
fix(Pipedrive Node): Resolve properties not working 2022-12-01 18:01:32 +02:00
Iván Ovejero e1b3b4d05a
fix(editor): Remove excess isReadOnly prop (no-changelog) (#4786)
🔥 Remove excess `isReadOnly` prop
2022-12-01 15:20:36 +01:00
Michael Kret 7cb5dc2aa5
fix(core): OAuth2 scope saved to DB fix 2022-12-01 15:08:02 +02:00
Iván Ovejero 59771c80ea
feat(editor): Overhaul expression editor modal (#4631)
* feat(editor): Integrate CodeMirror into expression editor modal (#4563)

*  Initial setup

* 👕 Fix lint

*  Extract segments

*  Implement var insertion

* 👕 Ignore `.d.cts`

*  Refactor to simplify

*  Add brace handler

*  Fully replace input and output

* feat(editor): Adjust resolved expression to match parameter input hint (#4600)

*  Initial adjustments

* 🐛 Prevent empty decorations

*  Adjust resolved expression to match param input hint

* ✏️ Improve comment

* 👕 Remove lint rule

* ✏️ Fix typo

* ✏️ Fix closing brace

*  Clean up `displayableSegments()`

* feat(editor): Apply styling to expression editor modal (#4607)

🎨 Apply styling

* feat(core): Improve errors in evaluated expression (#4619)

* 🐛 Fix env var access for FE

* 🔥 Remove excess closing bracket

* 🚧 Set up TODO

* ✏️ Update copy

*  Deny env vars access to FE

* 👕 Remove unneeded lint exception

* 📘 Remove unneeded typing

* feat(editor): Dynamically delay evaluation resolution (#4625)

* ✏️ Update copy

*  Dynamically delay evaluation resolution

* 🔥 Remove unneeded computed property

* refactor(editor): Pre-review cleanup (#4627)

* 🔥 Remove `ExpressionInput` component

* 🔥 Remove Quill

* ✏️ Rename i18n key

* 🎨 Place border on correct element

* 🐛 Handle syntax errors

*  Add sample autocompletions

* 🐛 Fix auto-extending behavior

* feat(editor): Improve escaping behavior (#4641)

* 🎨 Hide hint on small screen

*  Improve escaping

* refactor(editor): Apply styling feedback to expression editor modal (#4660)

* 🎨 Restyle hint

* 🎨 Restyle param input hint

* 🔥 Remove `e.g.`

*  Tweak delay

* 🎨 Restyle output

* 🎨 Tweak theme

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.22 (#4697)

* 🎨 Change background color

*  Focus on mount

*  Account for preexisting braces on injection

* 🐛 Fix `$workflow` showing as not saved

* ✏️ Tweak copy

* 🐛 Fix readonly focus

*  Focus input on paste

*  Sync inputs with modal

* ✏️ Tweak copy

* refactor(editor): Apply feedback 2022.11.23 (#4705)

*  Allow newlines

*  Set cursor at end of content

*  Do not defocus on paste on Chrome

*  Fix import

* 🧪 Add e2e tests

*  Cleanup

*  Add telemetry

* 🔥 Remove log

*  Expose error properties

* 🧪 Rename test

*  Move `getCurrentWorkflow()` call

*  Revert highlighting removal per feedback

*  Add i18n keys

* 🚚 Move computed property to local state

* 🎨 Use CSS vars

*  Update `pnpm-lock.yaml`

*  Apply readonly state

*  Use prop

*  Complete fix
2022-12-01 13:26:22 +01:00
Michael Kret 741c7da8b1
fix(Google Sheets Node): Fix for append operation if no empty rows in sheet 2022-12-01 10:39:03 +02:00
Csaba Tuncsik 6d4e959884
fix(editor): JSON view values can be mapped like keys (#4702)
* fix(editor): JSON view values can be mapped like keys, resolving to the same expression

* fix(editor): JSON view list item draggable pill name
2022-12-01 09:33:34 +01:00
Csaba Tuncsik 430cc65a4e
test: E2E NDV (#4712)
* test: start testing node details view

* test: deleting workflow after test

* test: rename deleteWorkflow command

* test: webhook node

* test: roll back deleting workflow in workflow test

* test: check output display modes after webhook node invoked

* test: simplifying test

* test: simplifying test

* test: adding more tests related to NDV

* test: adding more tests related to NDV

* test: update after merge

* Merge remote-tracking branch 'origin/master' into n8n-5494-e2e-ndv

# Conflicts:
#	cypress/pages/workflow.ts

* test: improving test blocks

* test: NDV change node input

* test: NDV change node input

* test: NDV fix missing command

* test(editor): Add NDV page object
2022-12-01 09:26:38 +01:00
कारतोफ्फेलस्क्रिप्ट™ 8698e02079
fix: Register community nodes as known nodes (no-changelog) (#4775) 2022-11-30 18:17:57 +01:00
Jonathan Bennetts f3202ee0a8
refactor: Codex updates for Item Lists, Markdown and Date & Time (#4772) 2022-11-30 17:13:37 +00:00
OlegIvaniv c486ffcf2d
refactor(editor): Patch ElementUI tooltip memory leak (#4769)
* refactor(editor): Fix ElementUI tooltip memory leak

* fix(editor): Remove patch console.logs and revert node-creator test
2022-11-30 17:27:41 +01:00
Iván Ovejero cc7f8fd5de
refactor: Apply lint rule cred-class-field-display-name-miscased (#4762)
* 👕 Apply lint rule `cred-class-field-display-name-miscased`

*  Update `pnpm-lock.yaml`

* 🙈 Update `.prettierignore`
2022-11-30 15:31:44 +01:00
freya ddf787c087
fix(core): Ensure executions list is properly filtered for all users (#4765)
Also updates executions API to have EE version
2022-11-30 13:00:28 +00:00
कारतोफ्फेलस्क्रिप्ट™ ada73ed41d
ci: Fix linting issues on master (no-changelog) (#4768)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-11-30 12:16:19 +01:00
कारतोफ्फेलस्क्रिप्ट™ 528439cb4d
fix(Microsoft Outlook Node): Fix binary attachment upload (#4766)
fix(Microsoft Outlook Node): fix binary attachment upload in file-system mode
2022-11-30 10:57:13 +01:00
कारतोफ्फेलस्क्रिप्ट™ 0a7a2f3e41
fix: Lazy load nodes for credentials testing (#4760) 2022-11-30 10:28:18 +01:00
Iván Ovejero 3d67df490c
fix(core): Fix $items().length in Execute Once mode (#4755)
* 🐛 Fix `$items.length` in Execute Once mode

* 🔥 Remove logging
2022-11-29 17:30:39 +01:00
Marcus b319671fd0
feat(Google Calendar Node): Use resource locator component for calendar parameters (#4410)
* use calendar RLC for event resource
* use calendar RLC for calendar resource
* listSearch getCalendars support query filter
* improve RLC parameter descriptions to match standards
* stricter google calendar id email regex with optional trailing whitespace
* calendarId RLC for Google Calendar Trigger node
* Event -> Get : Timezone RLC option
* Event -> Get Many : Timezone RLC option
* Calendar -> Availability : Timezone RLC option
* Removed unused loadOptions getTimezones; Removed unused imports
* fix prettier linting errors
2022-11-29 17:11:49 +01:00
Omar Ajoue 47b9d22ed5
fix: Change the currentUserHasAccess flag behavior (no-changelog) (#4763) 2022-11-29 15:54:24 +01:00
Alex Grozav b1287ba8cb
feat: Add dynamic translations. Change how sharing unavailable is handled (no-changelog) (#4758)
* feat: Add dynamic translations. Change how sharing unavailable is handled (no-changelog)

* fix: Add not-allowed cursor for disabled share button

* fix: Remove fakedoor features from workflow details

* fix: Remove fakedoor code from workflow share modal

* fix: change dynamic translation to match shareModal title

* chore: Removed unused import
2022-11-29 15:13:10 +02:00
Jonathan Bennetts 09a48c51b6
feat(Todoist Node): Update to use latest api version (#4650) 2022-11-29 11:37:37 +00:00
Michael Kret 579f9c4d4e
fix(Google Sheets Node): Fix exception if no matching rows are found 2022-11-29 13:29:47 +02:00
Alex Grozav aff8cd9a2b
fix: Update padding for resource filters dropdown (#4751) 2022-11-29 11:30:17 +02:00
Alex Grozav b89301ec36
fix: Update workflow save button type and design and share button type (#4752)
fix: Update workflow save button type and design and share button type.
2022-11-29 11:05:19 +02:00
Alex Grozav fca632fc15
fix: Update owner badge padding (no-changelog) (#4749)
* fix: Update owner badge padding

* test: Update snapshot
2022-11-29 11:04:05 +02:00
Alex Grozav 30214f2bc2
fix: Remove background for resource ownership selector (#4748) 2022-11-29 11:03:55 +02:00
Alex Grozav d6d442d458
fix: Update size of select components in filters dropdown (#4747)
* fix: Update size of select components in filters dropdown

* fix: Update select tags styling
2022-11-29 11:03:43 +02:00
Alex Grozav 3d15c52bd7
feat: Update workflow hash change copy (no-changelog) (#4742) 2022-11-28 22:05:19 +02:00
कारतोफ्फेलस्क्रिप्ट™ aac207a947
feat: Reduce initial memory spike at server startup (no-changelog) (#4735)
* feat: Reduce initial memory spike at server startup (no-changelog)

This changes the frontend types generation to generate less garbage for the GC to collect.

* switch to stream pipelines for writing all the static files

and, move all static file generation before the server starts
2022-11-28 17:41:44 +01:00
Omar Ajoue 540f6e0abd
refactor: Upgrade license package version and create tenant id variable (no-changelog) (#4744) 2022-11-28 17:39:34 +01:00
Iván Ovejero 8f6fd009b9
test: Set up e2e tests for Code node (#4730)
* 🧪 Set up Code node tests

*  Address comments
2022-11-28 16:54:13 +01:00
Alex Grozav efbf7366fb
fix: Update workflow share modal margins (no-changelog) (#4738) 2022-11-28 15:14:43 +02:00
Michael Kret d96d1610ba
fix(AWS SNS Node): Pagination Issue 2022-11-28 13:27:20 +02:00
Alex Grozav 14f81c2725
test: Update getters, add search and sort tests for credentials (no-changelog) (#4716)
* test(e2e): Update getters, add search and sort tests for credentials

* fix: Refactor sortOptions getter

* fix: fix merge conflict

* fix: removed double key

* fix: Add db and session reset for every credentials suite run
2022-11-28 12:11:39 +02:00
Milorad FIlipović e3aeaa9a87
fix(editor): Fix for broken selectors for workflows tests (no-changelog) (#4734)
Fixing broken selectors for workflows tests
2022-11-25 17:10:28 +01:00
OlegIvaniv 2d31720b82
test: Reset DB and skip set-up before running node creator e2e (#4733)
* test: Reset DB and skip set-up before runing

* remove second db:reset call in node-creator e2e spec
2022-11-25 17:01:49 +01:00
Milorad FIlipović cb3bfc32f7
test: Setup e2e tests for workflow actions (#4724)
*  Adding first batch of workflow actions tests
*  Adding loading handling logic and new workflow actions tests
*  Added workflow activation and rename tests
* 👌 Addressing review feedback
* 🔥 Removing leftover commented code
2022-11-25 15:32:09 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1579d05fd1
refactor: Trim down the response on the Workflows listing endpoint (#4726)
* fix: Avoid hashing workflows in the listing page

* stop returning full nodes data on the listings page when sharing is enabled

* fix the relations array for workflow listing

* add a comment explaining the hash skipping hack
2022-11-25 14:20:28 +01:00
OlegIvaniv aa3d9c7fea
test: Add e2e tests for node creator (#4714)
* test: Add basic e2e tests for node creator

* add spec to check if all nodes are rendered

* revert SearchBar.vue changes

* fixed manual key typo

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* Add custom component tests

* Fix wrongly resolved merge conflcit

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2022-11-25 13:52:33 +01:00
Iván Ovejero 62d30f2b43
test: Set up e2e tests for HTTP Request node (#4718)
* 🧪 Add test identifiers

*  Add getters

* 🧪 Add initial test

*  Refactor to use actions

*  Refactor per Oleg's advice

* 🐛 Fix overlapping input label IDs
2022-11-25 13:09:44 +01:00
कारतोफ्फेलस्क्रिप्ट™ 1821bb0699
fix: Lint typescript stories (no-changelog) (#4723)
* fix: Lint typescript stories (no-changelog)

* import StoryFn as type
2022-11-25 13:00:59 +01:00
OlegIvaniv d8c2dffc37
fix(editor): Fix slots rendering of NodeCreator's NoResults component (#4721) 2022-11-25 12:45:36 +01:00
कारतोफ्फेलस्क्रिप्ट™ 55c201eb21
refactor: Improve typings for element-ui imports (no-changelog) (#4678)
* convert all stories to typescript

* stricter typing for element-ui imports
2022-11-25 10:51:51 +01:00
Ahsan Virani 78c66f16d6
fix(core): Mark binary data to be deleted when pruning executions (#4713)
* Mark binary data to be deleted when pruning executions

* eslint

* make pruneExecutionData async

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-11-25 10:48:02 +01:00
Mutasem Aldmour 95b97078e8
test: Add e2e tests for workflow/credential migrations when enabling UM (#4719)
* add tests

* ci: Setup cypress tasks for resetting DB, and setting up an owner

* add test tests to check for settings

* add more tests

* clean up

* rename tag

* update test id

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-11-24 23:22:09 +01:00
कारतोफ्फेलस्क्रिप्ट™ e409813ea9
ci: Setup cypress tasks for resetting DB, and setting up an owner (#4717)
* ci: Setup cypress tasks for resetting DB, and setting up an owner

* address Ivan's comments
2022-11-24 18:32:00 +01:00
कारतोफ्फेलस्क्रिप्ट™ aec08275aa
fix: Fix Windows development environments (no-changelog) (#4720) 2022-11-24 17:36:57 +01:00
कारतोफ्फेलस्क्रिप्ट™ 07e4743a3e
refactor(core): Reduce memory usage in the Webhook node (#4640)
use file streaming to pass webhook binaries around
2022-11-24 16:54:43 +01:00
Jan Oberhauser 63b3cda760 🔖 Release n8n@0.204.0 2022-11-24 15:48:12 +00:00
Jan Oberhauser e1ff7330c4 ⬆️ Set n8n-core@0.144.0, n8n-editor-ui@0.170.0, n8n-nodes-base@0.202.0 and n8n-workflow@0.126.0 on n8n 2022-11-24 15:48:12 +00:00
Jan Oberhauser 203af41c2c 🔖 Release n8n-editor-ui@0.170.0 2022-11-24 15:46:08 +00:00
Jan Oberhauser 2f84e5a607 ⬆️ Set n8n-design-system@0.44.0 and n8n-workflow@0.126.0 on n8n-editor-ui 2022-11-24 15:46:07 +00:00
Jan Oberhauser 90a081d6bf 🔖 Release n8n-design-system@0.44.0 2022-11-24 15:45:45 +00:00
Jan Oberhauser bfaf04f463 🔖 Release n8n-nodes-base@0.202.0 2022-11-24 15:44:23 +00:00
Jan Oberhauser f924c81a51 ⬆️ Set n8n-core@0.144.0 and n8n-workflow@0.126.0 on n8n-nodes-base 2022-11-24 15:44:23 +00:00
Jan Oberhauser b9874b2c4c 🔖 Release n8n-node-dev@0.83.0 2022-11-24 15:44:11 +00:00
Jan Oberhauser 6ba8c9ce8a ⬆️ Set n8n-core@0.144.0 and n8n-workflow@0.126.0 on n8n-node-dev 2022-11-24 15:44:11 +00:00
Jan Oberhauser 78b7049976 🔖 Release n8n-core@0.144.0 2022-11-24 15:43:57 +00:00
Jan Oberhauser 7e70155518 ⬆️ Set n8n-workflow@0.126.0 on n8n-core 2022-11-24 15:43:57 +00:00
Jan Oberhauser 44d6185118 🔖 Release n8n-workflow@0.126.0 2022-11-24 15:43:46 +00:00
कारतोफ्फेलस्क्रिप्ट™ ba4ea9c024
fix: Apply SpecialNodeParameters to the types generated for the frontend (no-changelog) (#4715)
fix: apply SpecialNodeParameters to the types generated for the frontend (no-changelog)
2022-11-24 15:52:15 +01:00
कारतोफ्फेलस्क्रिप्ट™ 500775de69
ci: Make end-to-end testing independent of development environments (no-changelog) (#4709)
* use user-folder override consistently everywhere, including for the `.cache` folder

* use consistent config for e2e tesing, skipping config loading from env and config files

* simplify all the cypress commands, and run all e2e tests on master
2022-11-24 12:49:01 +01:00
Milorad FIlipović b18ae18a6b
fix(editor): Fix for missing node connections in dev environment (#4707)
* 🐛 Fixing connections not showing up in dev environment
* 🐛 Fixing a bug when opening execution page directly
2022-11-24 10:52:56 +01:00
Omar Ajoue ee6ac5d341
fix: Disable workflow locking due to issues (#4708)
* fix: Disable workflow locking due to issues
2022-11-24 09:52:24 +01:00
कारतोफ्फेलस्क्रिप्ट™ b6c57e19fc
feat(core): Lazy-load nodes and credentials to reduce baseline memory usage (#4577) 2022-11-23 16:20:28 +01:00
कारतोफ्फेलस्क्रिप्ट™ f63cd3b89e
fix: Invalid credentials should throw 401 and not 500 (no-changelog) (#4703)
fix: invalid credentials should throw 401 and not 500

I missed to add these in https://github.com/n8n-io/n8n/pull/4691

I've checked not that there are no other cases of http errors that aren't using error classes. This was the last one.
2022-11-23 16:03:47 +01:00
Omar Ajoue 36dc5f0e66
refactor: Add credential information to workflow list (no-changelog) (#4700) 2022-11-23 15:34:17 +01:00
Milorad FIlipović 5059c57f4a
refactor(editor): Refactor utils files and mixins (#4654)
*  Added `utils` module. Moved `canvasHelpers` and old `utils.ts` file to it
*  Moved rest of utils and helpers
*  Fixing sytax errors
* 🔨 Refactoring new utils files
* 🔨 Organizing imports, adding comments and a bit more refactoring
* ✔️ Fixing tests
* 🔨 Moving mixins to `src`
2022-11-23 13:41:53 +01:00
agobrech 67983e8f94
fix: Remove redundant await in node's api request functions without try/catch (#4639)
* 🐛 Remove useless await for actionNetwork

* 🔥 Remove useless await

* 🔥 Remove useless await keyword to other generic functions
2022-11-22 17:57:17 +01:00
Iván Ovejero b87c12285f
fix(core): Fix $items().length behavior in executeOnce mode (#4694)
🐛 Fix `$items().length` in `executeOnce`
2022-11-22 16:24:16 +01:00
Iván Ovejero 740513b424
perf(Code Node): Improve n8n item key validation performance (#4669)
 Improve validator performance
2022-11-22 14:49:13 +01:00
Omar Ajoue 7b00d6e731
feat: Implement runtine check for enterprise features (no-changelog) (#4676)
* feat: Implement runtine check for enterprise features
2022-11-22 14:24:29 +01:00
Iván Ovejero 78119c9f22
refactor: Consolidate .prettierignore patterns (no-changelog) (#4692)
*  Consolidate Prettier ignore patterns

*  Let Prettier select file types to format

* 🎨 Apply formatting
2022-11-22 14:11:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ 0b754a4f85
refactor: Improve error logging/reporting for cli (#4691)
* use response error classes instead of `ResponseError` everywhere

* improve error logging in dev mode or when telemetry is disabled
2022-11-22 14:00:36 +01:00
Alex Grozav 5364e7fc92
feat(editor): Add workflows list status filter (#4690) 2022-11-22 14:44:12 +02:00
Iván Ovejero eafef019d7
fix: Expand nodes-base formatting validation (no-changelog) (#4689)
*  Simplify `format` command

* 🎨 Format more deeply nested files
2022-11-22 13:43:28 +01:00
Omar Ajoue ad6c6f60a1
refactor: Improve warnings and error messages to users about sharing (#4687) (no-changelog)
* refactor: Improve warnings and error messages to users about sharing
2022-11-22 13:05:51 +01:00
Alex Grozav 91408dccf5
fix: Update subview switch condition (no-changelog) (#4688) 2022-11-22 14:01:22 +02:00
Iván Ovejero 60d66426ff
refactor: Validate formatting in nodes-base (no-changelog) (#4685)
* 🔥 Remove Prettier exceptions

* 👕 Start linting on formatting

*  Update `format` command

* 🎨 Apply formatting
2022-11-22 12:44:35 +01:00
Alex Grozav 4f64e26a83
feat: Show delete button based on workflow permissions (#4686) 2022-11-22 13:40:20 +02:00
Alex Grozav 6f8d0de55d
feat: Show toast when saving workflow sharing settings (#4684) 2022-11-22 13:26:03 +02:00
Alex Grozav 173badc4e0
feat: Add save confirmation modal when leaving sharing modal (#4683) 2022-11-22 13:03:15 +02:00
Alex Grozav 249b7eba15
fix: Update workflow title in workflowsById as well (no-changelog) (#4682) 2022-11-22 12:33:59 +02:00
Alex Grozav a356d7bdba
feat: Add share button to workflows list (#4681)
* feat: Add share button to workflows list

* fix: take empty workflow into account when sharing
2022-11-22 12:33:40 +02:00
Alex Grozav b5b44d1b59
feat: Add credentials E2E test suite and page object (#4596)
* fix: Fix inferred type of X cannot be named error after pnpm update

* feat: Change page objects to expose actions and getters. Add credential creation suite
2022-11-22 11:37:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ 772ec78349
fix(core): Use CredentialsOverwrites when testing credentials (#4675)
* fix(cli): use CredentialsOverwrites in credentials testing

* fix(editor-ui): do not set credential properties if they have been overwritten
2022-11-22 10:08:35 +01:00
Omar Ajoue 4c423762d6
refactor: Adjust credential endpoints permissions (#4656) (no-changelog)
* refactor: Adjust credential endpoints permissions
2022-11-22 08:37:52 +01:00
Alex Grozav fe0178150f
fix: Fix settings header text slot (no-changelog) (#4667)
fix: Fix settings sidebar header
2022-11-22 09:29:08 +02:00
Alex Grozav e3e17e5dac
feat: Switch owner subview to all subview if has shared resources (#4672) 2022-11-22 09:27:45 +02:00
Marcus 753f4c9a7d
fix(IF Node): Fix "Is Empty" and "Is Not Empty" operation fails for date objects (#4670)
* IF node isEmtpy and IsNotEmpty operation: ignore empty date objects
* IF node isEmtpy and IsNotEmpty operation: treat invalid dates as empty
2022-11-21 18:26:59 +01:00
कारतोफ्फेलस्क्रिप्ट™ de5b0b03fe
feat: Use longer stack-traces when error-reporting is enabled (#4674) 2022-11-21 17:54:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ c0e13c2a8f
fix: Workflow activation should not crash if one of the credential is invalid (#4671)
fix: workflow activation should not crash if one of the credential is invalid

fixes https://sentry.io/organizations/n8nio/issues/3755260584
2022-11-21 15:51:23 +01:00
Mutasem Aldmour 30e5d3d04c
feat(core): Add license support to n8n (#4566)
* add sdk

* add license manager

* type fix

* add basic func

* store to db

* update default

* activate license

* add sharing flag

* fix setup

* clear license

* update conosle log to info

* refactor

* use npm dependency

* update error logs

* add simple test

* add license tests

* update tests

* update pnpm package

* fix error handling types

* Update packages/cli/src/config/schema.ts

Co-authored-by: Cornelius Suermann <cornelius@n8n.io>

* make feature enum

* add warning

* update sdk

* Update packages/cli/src/config/schema.ts

Co-authored-by: Cornelius Suermann <cornelius@n8n.io>

Co-authored-by: Cornelius Suermann <cornelius@n8n.io>
2022-11-21 15:41:24 +01:00
कारतोफ्फेलस्क्रिप्ट™ a9bdc0bbfe
fix: Use the updated slots syntax in ResourceLocator (no-changelog) (#4663)
Co-authored-by: Alex Grozav <alex@grozav.com>
2022-11-21 15:28:24 +01:00
कारतोफ्फेलस्क्रिप्ट™ 5518bd95c7
fix: Community package uninstall button should show the confirmation modal (no-changelog) (#4668)
Update CommunityPackageManageConfirmModal.vue
2022-11-21 14:11:29 +01:00
Alex Grozav 6c992233a0
fix: Fix broken n8n-info-tip slots (#4665) 2022-11-21 14:31:49 +02:00
Csaba Tuncsik 3ac9ba3491
fix(editor): Table view column limit tooltip (#4655)
* fix(editor): Table view column limit tooltip

* fix(editor): lint fix

* fix(editor): fix max column limit

* fix(editor): code formatting
2022-11-21 13:00:21 +01:00
OlegIvaniv 60746dc92e
fix(editor): Prevent node-creator tabs from showing when toggled by CanvasAddButton (#4661) 2022-11-21 12:19:54 +01:00
agobrech 2fb8ed825b
fix(Schedule Trigger Node): Fixes inconsitent behavior with cron and weekly intervals (#4558)
* 🐛 Fixes weekly schedule trigger and inconsitent behavior from Cron

* 🐛  Explicitly check if number of items is undefined

* 🐛 Add flag for first time execution

* Fix merge issues

* 🎨 Decomplexise logic for week interval

* fix: account for periods longer than minimum interval and first executions

Co-authored-by: Omar Ajoue <krynble@gmail.com>
2022-11-21 10:32:23 +01:00
Michael Kret a6df51b6e8
fix(core): Fix for unused imports 2022-11-21 09:27:48 +02:00
Iván Ovejero c2da21621f
fix: Add temporary slot syntax lint exceptions (no-changelog) (#4652)
👕 Add temporary slot lint exceptions
2022-11-18 18:03:51 +01:00
Iván Ovejero 44182f23a5
fix(editor): Fix missing resource locator component (#4649)
🐛 Fix missing RLC
2022-11-18 17:08:22 +01:00
Iván Ovejero 0d9eeea024
refactor(core): Introduce overload for record-type node parameter (no-changelog) (#4648)
* 📘 Set up overload

* 🔥 Remove inferrable record assertions

* 👕 Fix semicolon

* 👕 Fix another semicolon
2022-11-18 16:29:44 +01:00
Iván Ovejero 0565194473
refactor(core): Introduce overload for number-type node parameter (no-changelog) (#4644)
* 📘 Set up overloads

* 📘 Add temporary assertion

* 🔥 Remove inferrable number assertions

* ✏️ Add ticket ref
2022-11-18 15:26:22 +01:00
कारतोफ्फेलस्क्रिप्ट™ 600b285a44
refactor: Migrate Vue slots to the new syntax (#4603)
Co-authored-by: Alex Grozav <alex@grozav.com>
2022-11-18 14:59:31 +01:00
Iván Ovejero 6757c9a2ea
refactor(core): Introduce overload for boolean-type node parameter (no-changelog) (#4647)
* 📘 Set up overloads

* 📘 Add temporary assertion

* 🔥 Remove inferrable boolean assertions

*  Undo autoformatting
2022-11-18 14:31:38 +01:00
Alex Grozav 919cb9180d
fix: Make users fakedoor route visible on cloud (#4645) 2022-11-18 14:21:59 +01:00
Jan Oberhauser 3bf7175994 🔖 Release n8n@0.203.1 2022-11-18 13:13:34 +00:00
Jan Oberhauser 6972b8569c ⬆️ Set n8n-nodes-base@0.201.1 on n8n 2022-11-18 13:13:34 +00:00
Jan Oberhauser 5ac8c34ae9 🔖 Release n8n-nodes-base@0.201.1 2022-11-18 13:11:25 +00:00
Jan Oberhauser 39c991ec8e 🔖 Release n8n-node-dev@0.82.1 2022-11-18 13:11:12 +00:00
Michael Kret 4e66672df2
fix(Google Sheets Node): Versioning fix 2022-11-18 14:33:54 +02:00
Omar Ajoue e1a491edce
refactor: Forbid access to workflows when enterprise features is unavailable (#4635) (no-changelog)
* refactor: Forbid access to workflows when enterprise features is unavailable
2022-11-18 13:07:39 +01:00
Jan Oberhauser 4d58951a06 🔖 Release n8n@0.203.0 2022-11-17 18:19:01 +01:00
Jan Oberhauser b8ea073124 🔖 Release n8n-core@0.143.1 2022-11-17 18:18:14 +01:00