Commit Graph

6929 Commits

Author SHA1 Message Date
Iván Ovejero
adef6d7083 fix(editor): upgrade and make testing consistent in editor-ui and design-system (#4434)
* 📦 Update `package-lock.json`

* 📦 Make versions consistent in design-system

* 📦 Make lib versions consistent in editor-ui

* 🔧 Make vite configs consistent

* fix(design-system): updating vue2-bring-avatars alias

Co-authored-by: Csaba Tuncsik <csaba@n8n.io>
2022-10-25 13:46:25 +02:00
Iván Ovejero
07adc2d2dc fix(core): revert blocking workflow update on interim change (#4437)
 Revert "feat(core): block workflow update on interim change (#4397)"

This reverts commit cddd012a2f.
2022-10-25 13:45:47 +02:00
Michael Auerswald
b296fb06f3 fix(Email Trigger (IMAP) Node): backport V2 mark-seen-after-processing to V1 (#4435)
backport V2 mark-seen-after-processing to V1
2022-10-25 12:53:06 +02:00
OlegIvaniv
3143292a68 refactor(editor): do not add onDragOver event listeners on NodeItem mount (#4433) 2022-10-25 11:09:50 +02:00
Iván Ovejero
cddd012a2f feat(core): block workflow update on interim change (#4397)
*  Add `updatedAt` to store

*  Set `updatedAt` in store

* 👕 Update FE types

* 👕 Update BE types

*  Set `updatedAt` on workflow open

*  Add endpoint check

*  Add first update check

* 🔥 Remove log

*  Simplify check

*  Make `makeWorkflow` more flexible

* 🗃️ Make `updatedAt` default consistent

* 🧪 Adjust tests checking for `updatedAt`

* 🧪 Add tests for interim changes block

* ✏️ Remove unneeded quotes

*  Simplify without using `-1`

* 👕 Simplify interfaces

* 🐛 Fix calls to `setWorkflowUpdatedAt` setter

* :track: Move update to API call

*  Restrict check to multiple users only

* 🧪 Add more tests

* 🐛 Account for activation outside of canvas

* ✏️ Add warning comment

* 🔥 Remove unneeded check

*  Revert to `new Date()` for `-1`

* 🐛 Fix display for never updated
2022-10-25 09:08:06 +02:00
Iván Ovejero
77233f2370 fix(core): fix predefinedCredentialType in node graph item (#4379)
* 🐛 Fix predefined cred in node graph item

* 🔥 Remove logging
2022-10-25 09:07:26 +02:00
Iván Ovejero
d2b97c0713 refactor(core): apply lint rule node-class-description-non-core-color-present (#4426)
* 👕 Enable rule `node-class-description-non-core-color-present`

* 👕 Apply rule to remove deprecated `color`

* ✏️ Fix unrelated typos

* ✏️ Fix another unrelated typo

Co-authored-by: Michael Kret <michael.k@radency.com>
2022-10-25 09:06:54 +02:00
Csaba Tuncsik
408bd96815 feat(editor): add readonly state for nodes (#4299)
* fix(editor): add types to Node.vue component props

* fix(editor): some cleanup in NodeView

* fix(editor): fix some boolean usage

* feat(editor): check foreign credentials

* fix(editor): passing readOnly to inputs

* fix(editor): add types to component and solve property mutation

* fix(editor): add types to component and solve property mutation

* fix(editor): component property type

* fix(editor): component property type

* fix(editor): default prop values

* fix(editor): fix FixedCollectionParameter.vue
2022-10-24 20:17:25 +02:00
Michael Auerswald
1f4eaeb3ae fix(core): set JWT authentication token sameSite policy to lax (#4425)
set authentication token sameSite policy to lax
2022-10-24 15:05:30 +02:00
Iván Ovejero
5745027cee fix(core): fix single-node execution failing in main mode (#4421)
* 🐛 Fix Manual Trigger group

* 🐛 Account for single-node execution
2022-10-24 15:03:41 +02:00
Iván Ovejero
1732324965 fix(core): amend typing for jsonParse() options (#4423)
* 📘 Amend typing for `jsonParse()` options

* ✏️ Update rule message and description

* 🔀 Cherrypick Adi's work

* 🐛 Account for falsy fallback values

* ♻️ Use `else if`

*  Add explicit error message as type

*  Consolidate utils tests

* ♻️ Use optional chaining

* 🔥 Remove patchy type error

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-10-24 12:48:16 +02:00
Nicholas Penree
d7c8fefe19 docs(Execute Workflow Trigger Node): correct documentation link (no-changelog) (#4404) 2022-10-24 10:49:58 +01:00
Nicholas Penree
66037d57bf docs(Manual Trigger Node): correct documentation link (no-changelog) (#4405) 2022-10-24 10:45:42 +01:00
Jonathan Bennetts
4b13b3398d feat(Write Binary File Node): add option to append to a file (#4386) 2022-10-24 10:41:43 +01:00
Deborah
1d9d02b887 docs(Compare Datasets Node): fix docs link (no-changelog) (#4422) 2022-10-24 10:39:59 +01:00
Deborah
b5403d99f2 docs(Schedule Trigger Node): fix docs link (no-changelog) (#4419) 2022-10-24 10:35:44 +01:00
Mutasem Aldmour
127f988400 refactor(editor): create ndv store (#4409)
* refactor ndv module out

* update active node in root state

* simplify

* fix conflict

* fix dragging
2022-10-24 11:35:03 +02:00
Mutasem Aldmour
f6733cff9d feat(editor): improve nodes panel search (#4399)
* feat(editor): add relevance sort to nodes panel

* handle locales
2022-10-24 11:34:35 +02:00
OlegIvaniv
cdec0f1d88 ci(core): fix node-dev Build.ts linting (#4418)
* fix(core): fix linting node-dev Build.ts linting

* fix: use jsonParse helper for parsing of tsconfig

* 🏷️ Change output type for jsonParse
2022-10-24 11:21:27 +02:00
Michael Auerswald
1a37f0003f fix(Email Trigger (IMAP) Node): improve connection handling and credentials (#4393)
* adds EmailReadImapV2 with fixes
2022-10-24 11:06:43 +02:00
Mutasem Aldmour
779b0d58f7 fix(editor): stop rendering expressions as html (#4420)
* fix(editor): don't render expr as html

* fix highlight bug
2022-10-24 10:48:33 +02:00
Michael Kret
91bd3c6567 fix(core): update to imports in helpers 2022-10-24 11:04:05 +03:00
OlegIvaniv
8a4b9722c5 refactor(editor): migrate FormInput to Composition API (#4406)
♻️ Refactor N8nFormInput to use composition API and make labels accesible
2022-10-24 09:39:22 +02:00
Jan Oberhauser
a40deef518 📚 Update CHANGELOG.md for 0.199.0 2022-10-23 17:03:21 +02:00
Michael Kret
1d57b10942 refactor(core): fix for no-uncaught-json-parse warnings 2022-10-21 21:52:43 +03:00
Michael Kret
ca9eca9ae9 fix(TheHive Node): fixes for node issues 2022-10-21 19:46:31 +03:00
Michael Kret
2f4649cdf4 fix(InvoiceNinja Node): added support for v5 2022-10-21 19:45:54 +03:00
Bram Kn
8f25da52b1 feat(HTTP Request Node): add option for raw json header & query (#4408)
* http node headers and query JSON parameter options added

* Query and Header added to option processing

* remove old set headers.

*  Small improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-10-21 12:29:20 -04:00
Michael Kret
9d6a2c32d7 refactor(core): fixes n8n-local-rules/no-json-parse-json-stringify warnings (#4407)
* 🔨 fixes

* 🔨 set rule to error
2022-10-21 17:24:58 +02:00
Jan Oberhauser
e10128cbea 📚 Update CHANGELOG.md and main package.json to 0.199.0 2022-10-21 12:46:07 +02:00
कारतोफ्फेलस्क्रिप्ट™
5eebd91ba7 fix(API): reduce code duplication between DB entities (#4351) 2022-10-21 12:29:25 +02:00
कारतोफ्फेलस्क्रिप्ट™
5eb1eb88e4 fix(core): delete some of the redundant code in core (#4359) 2022-10-21 11:38:56 +02:00
Jan Oberhauser
2e69e2c953 🔖 Release n8n@0.199.0 2022-10-21 05:48:05 +00:00
Jan Oberhauser
1e07c241ea ⬆️ Set n8n-core@0.139.0, n8n-editor-ui@0.165.0, n8n-nodes-base@0.197.0 and n8n-workflow@0.121.0 on n8n 2022-10-21 05:48:04 +00:00
Jan Oberhauser
38d91912bb 🔖 Release n8n-editor-ui@0.165.0 2022-10-21 05:46:07 +00:00
Jan Oberhauser
1c3f163287 ⬆️ Set n8n-design-system@0.39.0 and n8n-workflow@0.121.0 on n8n-editor-ui 2022-10-21 05:46:06 +00:00
Jan Oberhauser
1dce153f81 🔖 Release n8n-design-system@0.39.0 2022-10-21 05:45:53 +00:00
Jan Oberhauser
c6a9477fab 🔖 Release n8n-nodes-base@0.197.0 2022-10-21 05:45:10 +00:00
Jan Oberhauser
e63ef8870a ⬆️ Set n8n-core@0.139.0 and n8n-workflow@0.121.0 on n8n-nodes-base 2022-10-21 05:45:10 +00:00
Jan Oberhauser
2599018297 🔖 Release n8n-node-dev@0.78.0 2022-10-21 05:45:03 +00:00
Jan Oberhauser
325aaea85e ⬆️ Set n8n-core@0.139.0 and n8n-workflow@0.121.0 on n8n-node-dev 2022-10-21 05:45:03 +00:00
Jan Oberhauser
887f7f0021 🔖 Release n8n-core@0.139.0 2022-10-21 05:44:56 +00:00
Jan Oberhauser
27d018445b ⬆️ Set n8n-workflow@0.121.0 on n8n-core 2022-10-21 05:44:56 +00:00
Jan Oberhauser
faab9d66dc 🔖 Release n8n-workflow@0.121.0 2022-10-21 05:44:49 +00:00
Iván Ovejero
69848b54db fix(core): revert blocking workflow updates on interim changes (no-changelog) (#4396)
 Revert "feat(core): block workflow update on interim change (#4374)"

This reverts commit e83b9bd983.
2022-10-20 17:55:21 +02:00
Deborah
ef1198324d docs: update credential doc links for google nodes (#4381) 2022-10-20 16:52:03 +01:00
Ricardo Espinoza
61b9909ac3 fix(HTTP Request Node): avoid error when response doesn't include content-type (#4365)
* 🐛 Fix bug when response doesn't include content type

*  Improve autodetect response format

*  Make content-type match more specific

*  Improve list of content-types to download
2022-10-20 11:42:55 -04:00
Ricardo Espinoza
7fcd821cad feat(core): enable sending client credentials in body (#4377)
*  Enable inject credentials in the body for OAuth2 CC

* 🐛 Persist token data

* 👕 Fix linting error
2022-10-20 11:15:28 -04:00
Mutasem Aldmour
356a42a187 fix(editor): fix performance issues when opening node or editing code node with a lot of data (#4388)
* debounce clicks

* debounce correctly

* debounce resize

* if initialized avoid

* set watcher fixes

* add deboucne for setting values

* increase debounce

* reset workspace for memory issues

* address comment

* decrease debounce time

* decrease debounce time

* clean up

* revert back to trailing

* support dbl
2022-10-20 15:45:58 +02:00
Iván Ovejero
e83b9bd983 feat(core): block workflow update on interim change (#4374)
*  Add `updatedAt` to store

*  Set `updatedAt` in store

* 👕 Update FE types

* 👕 Update BE types

*  Set `updatedAt` on workflow open

*  Add endpoint check

*  Add first update check

* 🔥 Remove log

*  Simplify check

*  Make `makeWorkflow` more flexible

* 🗃️ Make `updatedAt` default consistent

* 🧪 Adjust tests checking for `updatedAt`

* 🧪 Add tests for interim changes block

* ✏️ Remove unneeded quotes

*  Simplify without using `-1`

* 👕 Simplify interfaces
2022-10-20 15:30:44 +02:00