Commit graph

6122 commits

Author SHA1 Message Date
Jonathan Bennetts a2a397e980
fix(HubSpot Node): fix typo in deal search operator (#4278) 2022-10-11 08:49:25 +01:00
Jonathan Bennetts f914e6f4cb
fix(TheHive Node): fix typo in severity name for alert updates (#4259) 2022-10-11 08:49:02 +01:00
Milorad FIlipović 6af3ba75dc
feat(editor): updated n8n-menu component (#4290)
* refactor(editor): N8N-4540 Main navigation layout rework (#4060)

*  Implemented new editor layout using css grid

*  Reworking main navigation layout, migrating some styling to css modules

*  Reworking main sidebar layout and responsiveness

* 💄 Minor type update

*  Updated editor grid layout so empty cells are collapsed (`fit-content`), fixed updates menu items styling

*  Implemented new user area look & feel in main sidebar

* 💄 Adjusting sidebar bottom padding when user area is not shown

* 💄 CSS cleanup/refactor + minor vue refactoring

*  Fixing overscoll issue in chrome and scrolling behaviour of the content view

* 👌 Addressing review feedback

*  Added collapsed and expanded versions of n8n logo

*  Updating infinite scrolling in templates view to work with the new layout

* 💄 Updating main sidebar expanded width and templates view left margin

* 💄 Updating main content height

* 💄 Adding global styles for scrollable views with centered content, minor updates to user area

*  Updating zoomToFit logic, lasso select box position and new nodes positioning

*  Fixing new node drop position now that mouse detection has been adjusted

* 👌 Updating templates view scroll to top logic and responsive padding, aligning menu items titles

* 💄 Moving template layout style from global css class to component level

*  Moved 'Workflows'  menu to node view header. Added new dropdown component for user area and the new WF menu

* 💄 Updating disabled states in new WF menu

* 💄 Initial stab at new sidebar styling

*  Finished main navigation restyling

*  Updating `zoomToFit` and centering logic

*  Adding updates menu item to settings sidebar

* 💄 Adding updates item to the settings sidebar and final touches on main sidebar style

* 💄 Removing old code & refactoring

* 💄 Minor CSS tweaks

* 💄 Opening credentials modal on sidebar menu item click. Minor CSS updates

* 💄 Updating sidebar expand/collapse animation

* 💄 Few more refinements of sidebar animation

* 👌 Addressing code review comments

*  Moved ActionDropdown component to design system

* 👌 Fixing bugs reported during code review and testing

* 👌 Addressing design review comments for the new sidebar

* ✔️ Updating `N8nActionDropdown` component tests

*  Remembering scroll position when going back to templates list

*  Updating zoomToFit logic to account for footer content

* 👌 Addressing latest sidebar review comments

*  New `n8n-menu-item` component

*  Implemented new `n8n-menu` design system component, updated menu items to support collapsed mode

* Minor update to n8n-menu storybook entry

* 💄 Updating collapsed sub-menu style. Fixing vue error on hover.

*  Changing IMenuItem from interface to type

*  Added new n8n-menu component to editor main sidebar

*  Finished main sidebar

*  Added new menus to setttings and credentials view

*  Implemented tab and router modes for n8n-menu

*  Implemented credentials menus using new n8n-menu component

* 💄 Finishing main and settings sidebar details, updating design system stories

* 💄 Adding injected items support to main sidebar, handling navigation errors, small tweaks

* ✔️ Fixing linting errors

* ✔️ Addressing typescript errors in design system components

*  Using design-system types in editor UI

* 💄 Add support for custom icon size in menu items

* 👌 Addressing code review and design review feedback

* 💄 Minor updates
2022-10-10 18:17:39 +02:00
Csaba Tuncsik fdbc11a288
fix(editor): change horizontal scrollbar rendering in various places (#4282)
* fix(editor-ui): workflow templates carousel scroll

* fix(design-system): prevent visible scrollbar on Tags

* fix(editor): add types to component prop

* fix(editor): add types to component prop
2022-10-10 17:23:22 +02:00
Jan Oberhauser 7786a173d3 🔖 Release n8n@0.197.1 2022-10-10 12:28:15 +00:00
Jan Oberhauser ca38861bda ⬆️ Set n8n-editor-ui@0.163.1 and n8n-nodes-base@0.195.1 on n8n 2022-10-10 12:28:13 +00:00
Jan Oberhauser dd58771fc3 🔖 Release n8n-editor-ui@0.163.1 2022-10-10 12:26:42 +00:00
Jan Oberhauser 9295841983 🔖 Release n8n-nodes-base@0.195.1 2022-10-10 12:25:50 +00:00
Deborah 7dd28207c1
docs(node): update CitrixAdc.node.json to use correct docs URLs (#4300)
Update CitrixAdc.node.json
2022-10-10 13:12:05 +01:00
Deborah b51f91444d
docs(nodes): fix the credentials docs link (#4304)
Update VenafiTlsProtectCloud.node.json

Correct credentials docs link
2022-10-10 13:11:53 +01:00
Deborah ec9adcb7b4
docs(nodes): fix credentials docs link (#4305) 2022-10-10 13:11:32 +01:00
Mutasem Aldmour 845d1f8bd9
fix(editor): fix resource locator width for trigger nodes (#4302) 2022-10-10 13:07:12 +02:00
Jan Oberhauser 3ee1faf610 🔖 Release n8n@0.197.0 2022-10-10 08:40:33 +00:00
Jan Oberhauser 02e2f33c42 ⬆️ Set n8n-core@0.137.0, n8n-nodes-base@0.195.0 and n8n-workflow@0.119.0 on n8n 2022-10-10 08:40:33 +00:00
Jan Oberhauser 6169530e30 🔖 Release n8n-editor-ui@0.163.0 2022-10-10 08:33:57 +00:00
Jan Oberhauser ff43de7cb4 ⬆️ Set n8n-design-system@0.37.0 and n8n-workflow@0.119.0 on n8n-editor-ui 2022-10-10 08:33:57 +00:00
Jan Oberhauser 6a232d38d5 🔖 Release n8n-design-system@0.37.0 2022-10-10 08:33:42 +00:00
Jan Oberhauser 7949a22b64 🔖 Release n8n-nodes-base@0.195.0 2022-10-10 08:32:53 +00:00
Jan Oberhauser daf8132c35 ⬆️ Set n8n-core@0.137.0 and n8n-workflow@0.119.0 on n8n-nodes-base 2022-10-10 08:32:53 +00:00
Jan Oberhauser a3f2777c66 🔖 Release n8n-node-dev@0.76.0 2022-10-10 08:32:45 +00:00
Jan Oberhauser 42b747ad87 ⬆️ Set n8n-core@0.137.0 and n8n-workflow@0.119.0 on n8n-node-dev 2022-10-10 08:32:45 +00:00
Jan Oberhauser c1683677cb 🔖 Release n8n-core@0.137.0 2022-10-10 08:32:38 +00:00
Jan Oberhauser 80b9b937d8 ⬆️ Set n8n-workflow@0.119.0 on n8n-core 2022-10-10 08:32:38 +00:00
Jan Oberhauser 486a30a152 🔖 Release n8n-workflow@0.119.0 2022-10-10 08:32:30 +00:00
Mutasem Aldmour f40f6620c8
fix(editor): fix binary data view bug (#4298) 2022-10-10 10:00:54 +02:00
Ricardo Espinoza 9b042c4923
refactor(cli): Remove console.log in curl converted tests (no-changelog) (#4289)
🔥 Remove console.log
2022-10-09 08:11:32 +02:00
Stratos Theodorou 9407fddd21
feat(Crypto Node): Add SHA3 support (#4285)
Added SHA3-256, SHA3-384 and SHA3-512 algorithm support for hash and hmac actions.
2022-10-07 19:15:11 +02:00
Jonathan Bennetts 694f1ba4f5
fix(Github Trigger Node): Fix issue with trigger not always activating (#4284) 2022-10-07 19:10:28 +02:00
Ricardo Espinoza d36e920997
feat(Venafi TLS Protect Cloud): add Venafi TLS Protect Cloud (#4253)
*  Venafi TTL Protect Cloud

*  Improvements

*  Add authenticate generic type

*  Add paired items

*  Add codex

*  Update package.json
2022-10-07 09:48:45 -04:00
Ricardo Espinoza 7abc7e6408
feat(Citrix ADC): add Citrix ADC node (#4274)
*  Citrix ADC node

* 🐛 Fix typo in codex file

*  Remove trailing slash if there is one

*  Add certificate resource

* 🐛 Fix merge conflict issue
2022-10-07 09:10:02 -04:00
Ricardo Espinoza 9b3f30d584
feat(AWS Certificate Manager): add AWS Certificate Manager node (#4263)
*  AWS Certificate Manager

*  Add codex and paired items

*  Add codex

* 🐛 Fix typo
2022-10-07 09:08:55 -04:00
Ricardo Espinoza fac6efbb41
feat(AWS Elastic Load Balancer Node): add Elastic Load Balancer node (#4264)
*  AWS Elastic Load Balancer

* Added codex file for ELB

*  Add paired items

Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2022-10-07 09:07:38 -04:00
Ricardo Espinoza a14110e663
feat(Venafi TLS Protect Datacenter): add Venafi TLS Protect Datacenter node (#4255)
*  Venafi TLS Protect Datacenter

*  Add trigger to package.json

* 👕 Fix lint issues

*  Add codex

* 👕 Fix linting issues

*  Add paired items

* 🔥 Remove trigger
2022-10-07 09:05:48 -04:00
Ricardo Espinoza 94a02c6492
feat(Cloudflare Node): add Cloudflare node (#4271)
*  Cloudflare node

*  Add paired items

* Added codex file for Cloudflare

*  Improvements

Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2022-10-07 08:23:03 -04:00
Jan Oberhauser 1b320cd8c9
feat(core): Improve light versioning support in declarative node design (#4254)
* feat(core): Improve light versioning support in declarative node design

* refactor: add  to other parameters

Co-authored-by: Omar Ajoue <krynble@gmail.com>
2022-10-06 22:09:45 +02:00
Csaba Tuncsik 19e333e660
feat(editor-ui): JSON mapping (#4270)
* refactor(editor-ui): update 'vue-json-pretty' and adjust component to preserve same behaviour (#4152)

* fix(editor-ui): export interface to solve 'TS4082: Default export of the module has or is using private name' error temporarily

* refactor(editor-ui): update 'vue-json-pretty' and adjust component to preserve same behaviour

* refactor(editor-ui): move json data view into its own component (#4158)

* refactor(editor-ui): move json data view into its own component

* fix(editor-ui): make JSON data component work again

* fix(editor-ui): JSON data component type issues

* fix(editor-ui): JSON data component prop 'inputData'

* refactor(editor-ui): rename helper function

* fix(editor-ui): add declaration to `vue-json-pretty` component

* refactor(editor-ui): JSON mapping move more logic to new component

* refactor(editor-ui): some cleanup in JSON mapping component

* refactor(editor-ui): changing key mapping translation

* refactor(editor-ui): add basic drag'n'drop functionality to JSON view

* refactor(editor-ui): moving JSON view actions into separate components

* fix(editor-ui): JSON view action copy default selected path

* fix(editor-ui): refactor draggable to play nicer with other (3rd party) components

* fix(editor-ui): improve draggable performance

* fix(editor-ui): add disable user selection class to body

* fix(editor-ui): reduce click handler cognitive load in JSON view copy actions

* fix(editor-ui): JSON view mapped path

* fix(editor-ui): remove unnecessary wrapper around RunDataTable.vue

* fix(editor-ui): respect input node distance when json parameter path is copied

* fix(editor-ui): JSON mapping property highlight

* fix(editor-ui): block event only on mousemove for draggable to not select content

* refactor(editor-ui): fixing prop types and organising imports

* fix(editor-ui): JSON view use double quotes where appropriate

* fix(editor-ui): fix new package additions after merge conflict

* fix(editor-ui): fix package update after merge conflict

* fix(editor-ui): JSON view prop names text break

* fix(editor-ui): use kebab-case name for component

* fix(editor-ui): calling convertPath on draggable node path

* feat(editor-ui): add mapping discoverability tooltip to mappable inputs (#4227)

* refactor(editor-ui): move json data view into its own component

* fix(editor-ui): make JSON data component work again

* fix(editor-ui): JSON data component type issues

* fix(editor-ui): JSON data component prop 'inputData'

* refactor(editor-ui): rename helper function

* fix(editor-ui): add declaration to `vue-json-pretty` component

* refactor(editor-ui): JSON mapping move more logic to new component

* refactor(editor-ui): some cleanup in JSON mapping component

* refactor(editor-ui): changing key mapping translation

* refactor(editor-ui): add basic drag'n'drop functionality to JSON view

* refactor(editor-ui): moving JSON view actions into separate components

* fix(editor-ui): JSON view action copy default selected path

* fix(editor-ui): refactor draggable to play nicer with other (3rd party) components

* fix(editor-ui): improve draggable performance

* fix(editor-ui): add disable user selection class to body

* fix(editor-ui): reduce click handler cognitive load in JSON view copy actions

* fix(editor-ui): JSON view mapped path

* fix(editor-ui): remove unnecessary wrapper around RunDataTable.vue

* fix(editor-ui): respect input node distance when json parameter path is copied

* fix(editor-ui): JSON mapping property highlight

* fix(editor-ui): block event only on mousemove for draggable to not select content

* refactor(editor-ui): fixing prop types and organising imports

* fix(editor-ui): JSON view use double quotes where appropriate

* fix(editor-ui): fix new package additions after merge conflict

* fix(editor-ui): fix package update after merge conflict

* fix(editor-ui): JSON view prop names text break

* fix(editor-ui): update helper after merge conflict

* refactor(editor-ui): cleanup RunaDataTable tooltips

* refactor(editor-ui): add temporary static tooltip to input with mapping

* fix(editor-ui): input mapping tooltip proper input name

* fix(editor-ui): show input mapping tooltip when conditions are met

* fix(editor-ui): show different input mapping tooltip for different view types (table, json)

* fix(editor-ui): drop lodash isEmpty

* fix(editor-ui): using and keeping only getter function

* fix(editor-ui): check `INodeExecutionData[]` array emptyness (still needs some improvement)

* feat(editor-ui): add telemetry calls to data mapping (#4250)

* fix(editor-ui): add types package for jsonpath

* fix(editor-ui): JSON view drag'n'drop telemetry call

* fix(editor-ui): add data mapping tooltip close telemetry to parameter input

* fix(editor-ui): execute previous node tooltip linebreak

* fix(editor-ui): input data mapping tooltip show-hide logic

* fix(editor-ui): input data mapping tooltip position

* fix(editor-ui): using a placeholder gif in mapping discoverability tooltip

* refactor(design-system): adding optional configurable buttons to tooltip (#4260)

* refactor(design-system): unbreaking wrapper around element ui tooltip

* fix(design-system): update test snapshot

* refactor(design-system): adding buttons to tooltip

* fix(design-system): update test snapshot

* fix(design-system): change tooltip props and some cleanup

* fix(design-system): update test snapshot

* chore: fix package lock file after merge

* fix(editor-ui): modifications according to Max's review (#4273)

* fix(editor-ui): modifications according to Max's review

* fix(editor-ui): JSON prop names should not be written bold

* fix(editor-ui): use proper animated gif in JSON data mapping discoverability tooltip
2022-10-06 15:03:55 +02:00
कारतोफ्फेलस्क्रिप्ट™ e63eee28e0
fix(cli): Cache generated assets in user writable directory instead (#4275) 2022-10-06 11:14:04 +02:00
Iván Ovejero 9089dbe942
perf(tooling): Upgrade to TypeScript 4.8 (#4207)
* ⬆️ Upgrade to TypeScript 4.8

* 🔥 Remove unneeded setting

* 📦 Update `package-lock.json`

*  Restore `skipLibCheck`

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

* ♻️ Apply feedback

* ♻️ Add check to new WhatsApp node

* 📦 Update `package-lock.json`

* Update package-lock.json

* ran `npm run lintfix`

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-10-05 13:36:09 +02:00
Iván Ovejero cc2a2e438b
fix(core): fix hooks URLs no longer added to index.html (#4262)
🐛 Fix hooks URLs no longer added to `index.html`
2022-10-04 18:40:01 +02:00
Iván Ovejero e30c78febe
fix(editor): fix pairedItem in combination with pinned data (#4257)
🐛 Fix `pairedItem` in combination with pinned data
2022-10-04 14:05:46 +02:00
Iván Ovejero a751fd3ce7
fix(core): fix excess run for pinned trigger in partial execution (#4185)
* 🐛 Fix excess run in partial execution

*  Undo changes to `workflowRun.ts`

*  Add to `startNodes` only if no `runData`
2022-10-04 10:35:22 +02:00
Jonathan Bennetts 1067ec0f5b
fix(Microsoft Excel Node): fix issue with pagination when getting all items (#4247) 2022-10-03 10:47:31 +01:00
Jonathan Bennetts 4595b54e56
fix(Microsoft ToDo Node): Fix pagination issue when getting all items (#4222) 2022-10-03 10:46:48 +01:00
Michael Kret 0cdc2e9dc8
fix(IF Node): bug when null isn't considerate empty in isEmpty and isNotEmpty comparison 2022-09-30 18:19:33 +03:00
Jan Oberhauser 0b62fcfb5c 🔖 Release n8n@0.196.0 2022-09-30 14:21:19 +00:00
Jan Oberhauser fac0de395a ⬆️ Set n8n-core@0.136.0, n8n-editor-ui@0.162.0, n8n-nodes-base@0.194.0 and n8n-workflow@0.118.0 on n8n 2022-09-30 14:21:19 +00:00
Jan Oberhauser 1c90ee970c 🔖 Release n8n-editor-ui@0.162.0 2022-09-30 14:19:54 +00:00
Jan Oberhauser ec9088e937 ⬆️ Set n8n-design-system@0.36.0 and n8n-workflow@0.118.0 on n8n-editor-ui 2022-09-30 14:19:53 +00:00
Jan Oberhauser 4b6a690b3d 🔖 Release n8n-design-system@0.36.0 2022-09-30 14:19:41 +00:00
Jan Oberhauser 58834616d7 🔖 Release n8n-nodes-base@0.194.0 2022-09-30 14:18:57 +00:00
Jan Oberhauser d3968e7ba5 ⬆️ Set n8n-core@0.136.0 and n8n-workflow@0.118.0 on n8n-nodes-base 2022-09-30 14:18:56 +00:00
Jan Oberhauser 17057a1105 🔖 Release n8n-node-dev@0.75.0 2022-09-30 14:18:49 +00:00
Jan Oberhauser d92594837d ⬆️ Set n8n-core@0.136.0 and n8n-workflow@0.118.0 on n8n-node-dev 2022-09-30 14:18:49 +00:00
Jan Oberhauser cc49b5bd83 🔖 Release n8n-core@0.136.0 2022-09-30 14:18:40 +00:00
Jan Oberhauser b486f97fbb ⬆️ Set n8n-workflow@0.118.0 on n8n-core 2022-09-30 14:18:40 +00:00
Jan Oberhauser f4f611358f 🔖 Release n8n-workflow@0.118.0 2022-09-30 14:18:32 +00:00
Jonathan Bennetts 616d62aa8e
fix(wufooTrigger Node): fix form names not being listed correctly (#4151) 2022-09-30 12:18:14 +01:00
Jonathan Bennetts 764bd3522b
fix(wekan Node): Fix authentication with new versions of Wekan (#4088) 2022-09-30 12:16:59 +01:00
Mutasem Aldmour b0397f0262
feat(editor-ui): update ResourceLocator error text (#4242)
update error text
2022-09-30 10:47:36 +02:00
Milorad FIlipović 068c5db1ee
fix(editor): Updating leftover i18n references in NodeView (#4236)
🐛 Updating lefrover translation references in NodeView
2022-09-30 10:43:05 +02:00
Valya f63710a892
feat(WhatsApp Business node): WhatsApp node (#3659)
* feat: base structure for whatsapp node with credentials

* feat: messages operation

* feat: create generic api call with credentials and test first operation

* fix: add missing template params

* fix: language code for template

* feat: media type and start of template components

* fix: remove provider name from media type

* lintfix

* fix: format

* feat: media operations w/o upload media type

* ♻️ Convert WhatsApp Business node to declarative style

* 🐛 form data not being sent with boundary in header

*  add media operations to WhatsApp

*  add credentials test to WhatsApp credentials

* ♻️ move preview url to optional collection in whatsapp message

* ♻️ renamed media operations in whatsapp node

* :refactor: move media file name to optional fields in whatsapp node

*  add upload from n8n for whatsapp node message resource

* 🔥 remove other template component types in whatsapp node

* :speech_bubble: add specialised text for media types in WhatsApp node

*  Load dinamically phone number and template name

*  Add action property to all operations

* 🔥 Remove unnecessary imports

*  Use getBinaryDataBuffer helper

*  Add components property

*  send components for whatsapp templates and template language

* 🏷️ fix WhatsApp node message function types

* 🏷️ fix any in whatsapp message functions

* 🔥 remove unused import

*  Improvements

*  Add send location

*  Add send contact

*  Small improvement

* ♻️ changes for review

* 🐛 fix presend error

* ♻️ change lat/long to numbers with proper clamping

* fix: bad merge

* refactor: changes for review

* update package-lock.json

* update package.-lock.json

* update

Co-authored-by: cxgarcia <schlaubitzcristobal@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-09-29 20:17:46 -04:00
Ricardo Espinoza f37d6ba03b
feat(HTTP Request Node): Redesign and add the ability to import cURL commands (#3860)
*  Initial commit

* 👕 Fix linting issue

*  Add import button

*  Remove ligh versioning

*  Improvements

*  Improvements

* 🔥 Remove HttpRequest2 file used for testing

* 🐛 Fix building issue

*  Small improvement

* 👕 Fix linting issue

* 🔥 Remove HttpRequest2 from loader

*  Update package-lock.json

*  Improvements

*  Small change

* 🐛 Fix issue retrieving splitIntoItems

* 🐛 Fix issue retrieving neverError parameter

* 🐛 Fix issue with displayOptions

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Move cURL section to its own component

*  Improvements

*  Improvements

*  Add fix for  batching in all versions

*  Add notice to cURL modal

* 🔥 Remove comments

*  Improvements

*  Type curl-to-json endpoint

*  Fix typo

* 🔥 Remove console.logs

*  Fix typo in curl-to-json endpoint

*  Improvements

*  Improvements

*  Update package-lock.json

*  Rename import modal constant

*  Add return types to methods

*  Add CSS modules to ImportParameter component

*  Rename ImportParameter component to use kebab-case

*  Improvements

*  update package-lock.json

*  Fix linting issues

* Fix issue with css reference in ImportParameter component

*  Small improvements

*  Rename redirects to redirect

*  Allow to set multiple parameters on valueChanged

* 👕 Fix linting issue

* 🐛 Add mistakenly removed openExistingCredentials

*  Improve curl regex

*  Keep  headers as defined in the cURL command

*  Account for all protocols supported by cURL

*  Add tests

* 🔥 Remove unnecessary lines

*  Add more testing

*  Add noDataExpression to dependent fields

* 🐛 Fix bug not handling multipart-form data correctly

*  Change error messages

* 🐛 Fix response format string for empty values

* Fix typo
2022-09-29 17:28:02 -04:00
Jan Oberhauser 5526057efc
feat(core): Improve paired item and add additional variables (#3765)
*  Remove duplicate and old string

*  Add telemetry

*  Futher improvements

*  Change error message and display only name of last parameter

* 👕 Fix lint issue

*  Remove not needed comments

*  Rename properties, add new ones and improve error messages

*  Add support for $execution, $prevNode and make it possible to use proxies as object

*  Some small improvements

* 🐛 Fix error message

*  Improve some error messages

*  Change resumeUrl variable and display in editor

*  Fix and extend tests

*  Multiple pairedItem improvements

*  Display "More Info" link with error messages if user can fix issue

*  Display different errors in Function Nodes
2022-09-29 23:02:25 +02:00
कारतोफ्फेलस्क्रिप्ट™ 737cbf9694
fix: delete unused dependencies (#4231)
* chore: delete unused vue-cli dependencies

* remove babel

* remove stub types
2022-09-29 17:31:33 +02:00
Iván Ovejero 40795d6adf
fix(build): Fix lint issue to fix build (#4232)
 Fix build lint issue
2022-09-29 15:51:31 +02:00
कारतोफ्फेलस्क्रिप्ट™ 43dc8e6da1
fix(design-system): fix storybook setup (#4234) 2022-09-29 15:42:25 +02:00
कारतोफ्फेलस्क्रिप्ट™ a3817291d7
fix(editor-ui): make lodash aliases work on case-sensitive filesystems (#4233) 2022-09-29 15:37:07 +02:00
Alex Grozav d3c0d99867
fix: fix slow loading times for nodeTypes, node creator vuex reference, and pushConnection in settings views (#4230) 2022-09-29 16:06:40 +03:00
Valya 3b7de6db72
feat: share unshared credentials with owner on reset (#4216) 2022-09-29 13:54:41 +01:00
agobrech 8bd99e0600
docs: remove impertinent Jsdocs comments (no-changelog) (#4181)
* 🔥 Remove impertinent Jsdocs comments

* Lint fixes
2022-09-29 14:37:56 +02:00
Iván Ovejero 64fffa0579
fix(lint): Set no-unused-vars to warn (#4228)
* 👕 Set `no-unused-vars` to `warn`

* 👕 Fix lint issue in `master`

* ✏️ Fix plugin name
2022-09-29 12:47:07 +02:00
Mike Arvela 6e8e4f5937
fix(nodes-base): fix and harmonize all primaryDocumentation links (#4191)
* fix(nodes-base): fix and harmonize all primaryDocumentation links

* feat(workflow, cli): expose documentation links to UI via node codex

* fix(editor-ui): link to correct node and credential documentation URLs

* config(nodes-base): update 'format' script to also format node descriptor json

* chore: fix outdated links to node reference documentation
2022-09-29 13:33:16 +03:00
Jan Oberhauser 23bd71b82a
feat(RabbitMQ Trigger Node): Automatically reconnect on disconnect (#4019)
* feat(RabbitMQ Trigger Node): Automatically reconnect on disconnect

*  Retry indefinetly

*  Also automatically retry activation issues on startup
2022-09-29 11:50:18 +02:00
Omar Ajoue de4dd53a53
revert: "fix: wrap external hooks calls in a try catch" (#4225) 2022-09-29 11:33:02 +02:00
कारतोफ्फेलस्क्रिप्ट™ 8b0ccc017b
feat(cli): Optimise serving static assets (#4182)
* simplify static server setup

* use consistent ignoredEndpoints across all routes

* remove unnecessary lodash usage

* stop keeping generated assets in memory

* pre-generate all static assets
2022-09-29 11:27:20 +02:00
Jonathan Bennetts 2714b4ced7
feat(slack Node): add operation get many for user resource (#3150) 2022-09-29 10:26:51 +01:00
कारतोफ्फेलस्क्रिप्ट™ a8da9c31a9
fix(cli): Disable X-Powered-By: Express Header (#4224) 2022-09-28 17:09:26 +02:00
Alex Grozav bb66e60afc
feat: add support for unit testing using vitest in editor-ui (#4184)
* feat: add support for unit testing using vitest in editor-ui

* fix(editor): update tsconfig types and typeRoots

* chore(editor): update package-lock.json
2022-09-28 11:26:20 +03:00
OlegIvaniv ed403972a9
fix(editor-ui): Fix ParameterInput inputField ref focus (#4215)
* fix(editor-ui): Fix ParameterInput inputField ref focus

* 🐛 Add focus method for `CredentialsSelect` and revert previous change to `ParamterInput`
2022-09-28 09:46:38 +02:00
Michael Kret 6ac442a2ac
fix(core): remove commented out lines 2022-09-27 17:19:22 +03:00
Michael Kret 47eb531e98
fix(Merge Node): update description in merge node 2022-09-27 16:07:55 +03:00
Valya faaeb52a14
fix: remove --forceExit flag from cli tests (#4211)
I'm unsure what changed but it seems to just work now. Worth keeping an
eye on though.
2022-09-27 13:22:00 +01:00
Omar Ajoue ef378f2cf2
fix: wrap external hooks calls in a try catch (#4208) 2022-09-27 11:43:56 +02:00
Milorad FIlipović 80e2d65933
fix(editor): Updating wrong i18n string reference (#4209)
🐛 Updating leftower string reference in save prompt button label
2022-09-27 11:20:25 +02:00
Mike Arvela 929315f9e4
feat(n8nApi node): add core node for consuming the n8n API (#4076)
* feat(n8n node): create n8n core node for consuming the n8n API

Co-authored-by: Michael Kret <michael.k@radency.com>
2022-09-27 12:05:51 +03:00
Mutasem Aldmour 67513e191d
fix(editor): fix run selector not opening (#4199)
fix run selector bug
2022-09-27 08:03:08 +03:00
कारतोफ्फेलस्क्रिप्ट™ 5f0c65690b
fix(editor-ui): fix BASE_URL replacement on windows (#4202) 2022-09-27 08:02:41 +03:00
Milorad FIlipović b809a2a074
refactor(editor): Updated retry execution labels (#4198)
💄 Updated retry execution labels
2022-09-26 17:12:11 +02:00
Iván Ovejero eaf13cdf75
fix(build): Add typing for SSE channel (#4196)
📘 Add typing for SSE channel
2022-09-26 16:39:48 +02:00
Milorad FIlipović 3db53a1934
feat(editor): Main navigation redesign (#4144)
* refactor(editor): N8N-4540 Main navigation layout rework (#4060)

*  Implemented new editor layout using css grid

*  Reworking main navigation layout, migrating some styling to css modules

*  Reworking main sidebar layout and responsiveness

* 💄 Minor type update

*  Updated editor grid layout so empty cells are collapsed (`fit-content`), fixed updates menu items styling

*  Implemented new user area look & feel in main sidebar

* 💄 Adjusting sidebar bottom padding when user area is not shown

* 💄 CSS cleanup/refactor + minor vue refactoring

*  Fixing overscoll issue in chrome and scrolling behaviour of the content view

* 👌 Addressing review feedback

*  Added collapsed and expanded versions of n8n logo

*  Updating infinite scrolling in templates view to work with the new layout

* 💄 Updating main sidebar expanded width and templates view left margin

* 💄 Updating main content height

* 💄 Adding global styles for scrollable views with centered content, minor updates to user area

*  Updating zoomToFit logic, lasso select box position and new nodes positioning

*  Fixing new node drop position now that mouse detection has been adjusted

* 👌 Updating templates view scroll to top logic and responsive padding, aligning menu items titles

* 💄 Moving template layout style from global css class to component level

*  Moved 'Workflows'  menu to node view header. Added new dropdown component for user area and the new WF menu

* 💄 Updating disabled states in new WF menu

* 💄 Initial stab at new sidebar styling

*  Finished main navigation restyling

*  Updating `zoomToFit` and centering logic

*  Adding updates menu item to settings sidebar

* 💄 Adding updates item to the settings sidebar and final touches on main sidebar style

* 💄 Removing old code & refactoring

* 💄 Minor CSS tweaks

* 💄 Opening credentials modal on sidebar menu item click. Minor CSS updates

* 💄 Updating sidebar expand/collapse animation

* 💄 Few more refinements of sidebar animation

* 👌 Addressing code review comments

*  Moved ActionDropdown component to design system

* 👌 Fixing bugs reported during code review and testing

* 👌 Addressing design review comments for the new sidebar

* ✔️ Updating `N8nActionDropdown` component tests

*  Remembering scroll position when going back to templates list

*  Updating zoomToFit logic to account for footer content

* 👌 Addressing latest sidebar review comments

* 👌 Addressing main sidebar product review comments

* 💄 Updating css variable names after vite merge

* ✔️ Fixing linting errors in the design system

* ✔️ Fixing `element-ui` type import

* 👌 Addressing the code review comments.

*  Adding link to new credentials view, removed old modal

* 💄 Updating credentials view responsiveness and route highlight handling

* 💄 Adding highlight to workflows submenu when on new workflow page

* 💄 Updated active submenu text color
2022-09-26 15:25:19 +02:00
कारतोफ्फेलस्क्रिप्ट™ e6e4f297c6
fix(cli): Disable CORS on SSE connections in production (#4190) 2022-09-26 15:15:44 +02:00
कारतोफ्फेलस्क्रिप्ट™ bc42073e28
ci: Use eslint-plugin-diff only on the CI (#4194) 2022-09-26 14:43:52 +02:00
Alex Grozav a4f9f041a0
fix(editor): Fix copy-pasting workflow into pin data code editor (#4193) 2022-09-26 14:27:07 +02:00
Alex Grozav 20b0e14f72
fix(editor): fix run data footer overflow (#4175)
* fix: fix run data footer overflow

* fix(editor): fix output panel header overflow
2022-09-26 13:02:14 +03:00
Alex Grozav 2b3a0901aa
fix(editor): fix run data pagination selector not showing (#4187)
fix: fix run data pagination selector not showing
2022-09-26 12:20:45 +03:00
Valya 05d227571d
fix: cardId property not showing up for completed checklist in Trello (#4186)
🐛 cardId property not showing up for completed checklist in Trello
2022-09-26 09:38:41 +01:00
Mike Arvela 31391a5b19
feat(eslint-config): add custom eslint rule 'no-uncaught-json-parse' (#4087)
feat(eslint-config): add custom eslint rule 'no-uncaugh-json-parse'

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-26 11:08:59 +03:00
Michael Kret 7aa40bf95d
refactor: migrate away from querystring (#4180)
refactor: migrate away from querystring
2022-09-23 16:48:45 +02:00
Alex Grozav 27e2ce0470
feat: migrate editor-ui to Vite.js and various DX improvements (N8N-2277) (#4061)
* feat: Added vite.js dependencies.

* chore: Removed tests folder to follow same structure as design-system

* chore: Removed unused testing config.

* chore: Created vite.js index.html

* refactor: Updated scss structure and imports.

* refactor: Updated workflow building.

* fix: Cleared up all workflow dependency cycles. Added proper package.json imports config.

* feat: Got a working build using Vite. Need to fix issues next.

* fix: Progress! Getting process.env error.

* fix: Changed process.env to import.meta.env.

* fix: Fixed circular imports that used require(). Fixed monaco editor.

* chore: Removed commented code.

* chore: Cleaned up package.json

* feat: Made necessary changes to replace base path in css files.

* feat: Serve CSS files for `editor-ui` Vite migration (#4069)

 Serve CSS files for Vite migration

* chore: Fixed package-lock.json.

* fix: Fixed build after centralized tsconfig update.

* fix: Removed lodash-es replacement.

* fix: Commented out vitest test command.

* style: Fixed linting issues.

* fix: Added lodash-es hotfix back.

* chore: Updated package-lock.json

* refactor: Renamed all n8n scss variables to no longer be defined as private.

* feat(editor): add application-wide el-button replacement.

* fix(editor): Fix import in page alert after merge.

* chore(editor): update package-lock.json.

* fix: Case sensitive lodash-es replacement for vue-agile.

* fix: add alias for lodash-es camelcase import.

* fix: add patch-package support for fixing quill

* feat: add patch-package on postinstall

* fix: update quill patch path.

* refactor: rename quill patch

* fix: update quill version.

* fix: update quill patch

* fix: fix linting rules after installing eslint in design-system

* fix: update date picker button to have primary color

* test: update callout component snapshots

* fix(editor): fix linting issues in editor after enabling eslint

* fix(cli): add /assets/* to auth ignore endpoints in server

* chore: update package-lock.json

* chore: update package-lock.json

* fix(editor): fix linting issues

* feat: add vite-legacy support

* fix: update workflow package interface imports to type imports.

* chore: update package-lock.json

* fix(editor) fix importing translations other than english

* fix(editor): remove test command until vitest is added

* fix: increase memory allocation for vite build

* fix: add patch-package patches to n8n-custom docker build

* fix: add performance and load time improvements

* fix: add proper typing to setNodeType

* chore: update package-lock.json

* style: use generic type for reduce in setNodeType

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-23 17:14:28 +03:00
Csaba Tuncsik e709cb5fe2
fix(design-system): add missing event handler to accordion component (#4179) 2022-09-23 12:57:48 +02:00
Jan Oberhauser 9ca2ac1dc4 🔖 Release n8n@0.195.5 2022-09-23 10:04:57 +00:00
Jan Oberhauser 867e495a8a ⬆️ Set n8n-core@0.135.2, n8n-editor-ui@0.161.3, n8n-nodes-base@0.193.3 and n8n-workflow@0.117.2 on n8n 2022-09-23 10:04:57 +00:00
Jan Oberhauser e1dcbec23a 🔖 Release n8n-editor-ui@0.161.3 2022-09-23 10:03:34 +00:00
Jan Oberhauser e6e6d6bcc9 ⬆️ Set n8n-workflow@0.117.2 on n8n-editor-ui 2022-09-23 10:03:34 +00:00
Jan Oberhauser 0433c53df3 🔖 Release n8n-nodes-base@0.193.3 2022-09-23 10:02:41 +00:00
Jan Oberhauser 425ca51e5a ⬆️ Set n8n-core@0.135.2 and n8n-workflow@0.117.2 on n8n-nodes-base 2022-09-23 10:02:41 +00:00
Jan Oberhauser 67ebd46673 🔖 Release n8n-node-dev@0.74.2 2022-09-23 10:02:33 +00:00
Jan Oberhauser d55f90a823 ⬆️ Set n8n-core@0.135.2 and n8n-workflow@0.117.2 on n8n-node-dev 2022-09-23 10:02:33 +00:00
Jan Oberhauser 2f26c14e80 🔖 Release n8n-core@0.135.2 2022-09-23 10:02:25 +00:00
Jan Oberhauser 9eb7bd1bba ⬆️ Set n8n-workflow@0.117.2 on n8n-core 2022-09-23 10:02:25 +00:00
Jan Oberhauser 1edc26f820 🔖 Release n8n-workflow@0.117.2 2022-09-23 10:02:13 +00:00
Mutasem Aldmour 46f95622e3
fix(resource locator): add back extract value logic (#4178)
add back extract value logic
2022-09-23 11:56:57 +02:00
Jan Oberhauser 2790494316 🔖 Release n8n@0.195.4 2022-09-22 17:09:46 +00:00
Jan Oberhauser d452657e1b ⬆️ Set n8n-core@0.135.1, n8n-editor-ui@0.161.2, n8n-nodes-base@0.193.2 and n8n-workflow@0.117.1 on n8n 2022-09-22 17:09:46 +00:00
Jan Oberhauser 5f950abcae 🔖 Release n8n-editor-ui@0.161.2 2022-09-22 17:08:23 +00:00
Jan Oberhauser 2f5fcf3f7a ⬆️ Set n8n-design-system@0.35.1 and n8n-workflow@0.117.1 on n8n-editor-ui 2022-09-22 17:08:23 +00:00
Jan Oberhauser c7cd5336fd 🔖 Release n8n-design-system@0.35.1 2022-09-22 17:08:12 +00:00
Jan Oberhauser acc625307c 🔖 Release n8n-nodes-base@0.193.2 2022-09-22 17:07:32 +00:00
Jan Oberhauser a30a8d9cce ⬆️ Set n8n-core@0.135.1 and n8n-workflow@0.117.1 on n8n-nodes-base 2022-09-22 17:07:32 +00:00
Jan Oberhauser 0b381ca8a1 🔖 Release n8n-node-dev@0.74.1 2022-09-22 17:07:24 +00:00
Jan Oberhauser 2bb4d22099 ⬆️ Set n8n-core@0.135.1 and n8n-workflow@0.117.1 on n8n-node-dev 2022-09-22 17:07:23 +00:00
Jan Oberhauser cff1143360 🔖 Release n8n-core@0.135.1 2022-09-22 17:07:15 +00:00
Jan Oberhauser 556a590332 ⬆️ Set n8n-workflow@0.117.1 on n8n-core 2022-09-22 17:07:15 +00:00
Jan Oberhauser 580f710e5d 🔖 Release n8n-workflow@0.117.1 2022-09-22 17:07:06 +00:00
Mutasem Aldmour 469c391fee
fix(core): Fix resolve RL values in expressions (#4173)
* update interface

* update expression resolving

* 🔥 remove ExtractValue functions

* add flags

* update resolving

* update expr

* fix for list mode

* clean up

* Fix up

* update guard

* fix bug with switching

* update to handle expr referencing

* fix legacy expression

* fix when switching

* update spacing

Co-authored-by: Valya Bullions <valya@n8n.io>
2022-09-22 19:04:26 +02:00
OlegIvaniv d01f7d4d93
feat(editor-ui): Resizable main panel (#3980)
* Introduce node deprecation (#3930)

 Introduce node deprecation

* 🚧 Scaffold out Code node

* 👕 Fix lint

* 📘 Create types file

* 🚚 Rename theme

* 🔥 Remove unneeded prop

*  Override keybindings

*  Expand lintings

*  Create editor content getter

* 🚚 Ensure all helpers use `$`

*  Add autocompletion

* ♻️ Refactore Resize UI lib component, allow to use it in different than n8n-sticky context

* 🚧 Use variable width for node settings and allow for resizing

*  Use store to keep track of wide and regular main panel widths

* ♻️ Extract Resize wrapper from the Sticky and create a story for it

* 🐛 Fixed cherry-pick conflicts

*  Filter out welcome note node

*  Convey error line number

*  Highlight error line

*  Restore logging from node

*  More autocompletions

*  Streamline completions

* 💄 Fix drag-button border

* ✏️ Update placeholders

*  Update linter to new methods

*  Preserve main panel width in local storage

* 🐛 Fallback to max size size if window is too big

* 🔥 Remove `$nodeItem` completions

*  Re-update placeholders

* 🎨 Fix formatting

* 📦 Update `package-lock.json`

*  Refresh with multi-line empty string

* ♻️ Refactored DraggablePanels to use relative units and implemented independent resizing, cleaned store

* 🐛 Re-implement dragging indicators and move border styles to NDVDraggablePanels component

* 🚨 Fix semis

* 🚨 Remove unsused UI state props

* ♻️ Use only relative left position and calculate right based on it, fix quirks

* 🚨Fix linting error

* ♻️ Store and retrieve main panel dimensions from store to make them persistable in the same app mount session

* 🐛 Prevent resizing of unknown nodes

* ♻️ Add typings for `nodeType` prop, remove unused `convertRemToPixels` import

* 🏷️ Add typings for `nodeType` prop in NodeSettings.vue

* 🐛 Prevent the main panel resize below 280px

* 🐛 Fix inputless panel left position

*  Resize resource locator on main panel size change

* 🐛 Resize resource locator on window resize

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-09-22 17:41:15 +02:00
Jan Oberhauser 70371a4f8d 🔖 Release n8n@0.195.3 2022-09-22 11:38:59 +00:00
Jan Oberhauser ad7f211eb7 ⬆️ Set n8n-editor-ui@0.161.1 and n8n-nodes-base@0.193.1 on n8n 2022-09-22 11:38:59 +00:00
Jan Oberhauser c007bbff3d 🔖 Release n8n-editor-ui@0.161.1 2022-09-22 11:38:01 +00:00
Jan Oberhauser 563fe1aa18 🔖 Release n8n-nodes-base@0.193.1 2022-09-22 11:37:12 +00:00
Mutasem Aldmour 19d08e6418
fix: fix expressions bug with numbers and booleans (#4169) 2022-09-22 12:31:49 +02:00
Jan Oberhauser ec88c3d671 🔖 Release n8n@0.195.2 2022-09-22 08:06:25 +02:00
Shao Yu-Lung (Allen) 89d2d10c52
fix(MSSQL Node): Support tdsVersion option 2022-09-21 20:41:44 -04:00
Jonathan Bennetts 0aeb55dcfd
fix: mysql migration using incorrect syntax on insert (#4166)
fix: mysql migration using incorrect on insert
2022-09-21 21:58:43 +02:00
Jan Oberhauser 37023cc96d 🔖 Release n8n@0.195.1 2022-09-21 20:41:20 +02:00
Omar Ajoue 2598ec8a3e
fix: postgres migration missing schema name (#4164) 2022-09-21 19:06:12 +02:00
Jan Oberhauser ccf036be1d 🔖 Release n8n@0.195.0 2022-09-21 15:32:45 +00:00
Jan Oberhauser 730c108414 ⬆️ Set n8n-core@0.135.0, n8n-editor-ui@0.161.0, n8n-nodes-base@0.193.0 and n8n-workflow@0.117.0 on n8n 2022-09-21 15:32:45 +00:00
Jan Oberhauser d82af801c2 🔖 Release n8n-editor-ui@0.161.0 2022-09-21 15:31:14 +00:00
Jan Oberhauser cb39703256 ⬆️ Set n8n-design-system@0.35.0 and n8n-workflow@0.117.0 on n8n-editor-ui 2022-09-21 15:31:14 +00:00
Jan Oberhauser 84baa3c28b 🔖 Release n8n-design-system@0.35.0 2022-09-21 15:31:05 +00:00
Jan Oberhauser 14c37bc107 🔖 Release n8n-nodes-base@0.193.0 2022-09-21 15:30:18 +00:00
Jan Oberhauser f823a354fe ⬆️ Set n8n-core@0.135.0 and n8n-workflow@0.117.0 on n8n-nodes-base 2022-09-21 15:30:18 +00:00
Jan Oberhauser 8eece10027 🔖 Release n8n-node-dev@0.74.0 2022-09-21 15:30:09 +00:00
Jan Oberhauser 9b6025f36f ⬆️ Set n8n-core@0.135.0 and n8n-workflow@0.117.0 on n8n-node-dev 2022-09-21 15:30:08 +00:00
Jan Oberhauser a12e23a9fa 🔖 Release n8n-core@0.135.0 2022-09-21 15:29:58 +00:00
Jan Oberhauser fbd12ba9b1 ⬆️ Set n8n-workflow@0.117.0 on n8n-core 2022-09-21 15:29:58 +00:00
Jan Oberhauser 93938d4345 🔖 Release n8n-workflow@0.117.0 2022-09-21 15:29:48 +00:00
Mutasem Aldmour ad73f8995c
feat: add resource locator parameter (#3932)
*  Added resource locator interfaces to `n8n-workflow` package

*  Updating Trello node to use resource locator property type

*  Added resource locator prop to Delete Board` Trello operation

* ✔️ Fiixing linting errors in Trello node

*  Added list mode to Trello test node

*  Updating resource locator modes interface

*  Updating Trello test node validation messages and placeholders

* N8N-4175 resource locator component (#3812)

*  Implemented initial version of resource locator component

*  Implemented front-end validation for resource locator component. Improved responsiveness. Minor refactoring.

*  Setting resource locator default state to list. Updating hover states and expand icon.

* 🔨 Moving resource locator component to `ParameterInput` from `ParameterInputFull

* 🔨 Moving `ResourceLocator` to a separate Vue component

* 🔨 Implementing expression and drag'n'drop support in ResourceLocator` component

* 🔨 Cleaning up `ResourceLocator` component code

*  Implemented resource locator selected mode persistance

* 💄 Minor refactoring and fixes in `ResourceLocator`

* 🔨 Updating `ResourceLocator` front-end validation logic

*  Saving resource locator mode in node parameters

* 💄 Updating the `ResourceLocator` component based on the design review

* 🐛 Fixing resource locator mode parameters handling when loading node parameter values on front-end

* 💄 Removing leftover unused CSS

*  Updating interfaces to support resource locator value types

*  Updating `ResourceLocator` component to work with object parameter values

* 🔨 Cleaning up `ResourceLocator` and related components code

*  Preventing `DraggableTarget` to be sticky if disabled

* 🐛 Fixing a bug with resource locator value parameter

* 👌 Adding new type alias for all possible node parameter value types

* 👌 Updating `ResourceLocator` and related components based on PR review feedback

*  Adding disabled mode to `ResourceLocator` component, fixing expression handling, minor refactoring.

* 💄 Updating disabled state styling in `ResourceLocator` component

*  Setting correct default value for test node and removing unnecessary logic

* 💄 Added regex URL validation to Trello test node

*  Updating Trello test node with another (list mode only) test case

* ✔️ Fixing linting error in Trello node

* 🔨 Removing hardcoded custom modes and modes order

* Add value extractor to routing node (#3777)

*  add value extractor to routing node

*  add value extractor to property modes

* 🔊 improve error logging for value extractor

* 🔥 remove old extractValue methods from RoutingNode

*  extractValue inside getNodeParameter

* 🔥 remove extract value test from RoutingNode

*  make value extraction optional

* 🥅 move extract value so proper error messages are sent

* 🚨 readd accidentally removed eslint-disable

*  add resource locator support extractValue

* 🚨 remove unused import

* 🐛 fix getting value of resource locator

* 💄 Updating resource locator component styling and handling reset value action

*  create v2 of Trello node for resource locator

* 💄 Updating ResourceLocator droppable & activeDrop classes and removing input padding-right

*  Updating Trello test node with single-mode test case

*  Updating field names in Trello node to avoid name clash

* 💄 Updating test Trello node mode order and board:update parameter name

* 💄 Updating test node parameter names and display options

* List mode search endpoint (#3936)

* 🚧 super basic version of the search endpoint

This version is built using a hacked up version of the Google Drive
node. I need to properly create a v2 for it but it's does work.

* 🚧 fixed up type errors and return urls

*  add v3 of Google Drive node with RLC

*  add RLC to Google Drive Shared Drive operations

* ♻️ address some small changes requested in review

* 🐛 move list search out of /nodes/ and add check for required param

*  google drive folder search

*  google drive search sort by name

*  add searchable flag for RLC

* ✏️ fix google drive wording for v3

* Trello and Airtable search backend (#3974)

*  add search to Trello boards

*  add RLC to Trello cards

* ♻️ use new versioning system for Trello v2

* 🐛 move list search out of /nodes/ and add check for required param

*  re-add trello search methods

* 🥅 throw error if RLC search isn't sent a method name

This will likely be removed when the declarative style of search has
been added.

*  add requires filter field to RLC search

*  add searchable flag to Trello searches

*  add RLC for cardId and boardId on all operations

*  add ID and URL RLC to Airtable

* N8 n 4179 resource locator list mode (#3933)

*  Implemented initial version of list mode dropdown

*  Handling mode switching and expression support in list mode

* 🔨 Removing `sortedModes` references

*  Fixing list mode UI after latest mege

* 💄 Updating padding-right for input fields with suffix slots

*  Minor fixes to validation, mode switching logic and styling

* update error

* 2 or more regex

* update regex to be more strict

* remove expr colors

* update hint

* 🚧 super basic version of the search endpoint

This version is built using a hacked up version of the Google Drive
node. I need to properly create a v2 for it but it's does work.

* 🚧 fixed up type errors and return urls

* begin list impl

*  add v3 of Google Drive node with RLC

* fix ts issue

* introduce dropdown

* add more behavior

* update design

* show search

* add filtering

* push up selected

* add keyboard nav

* add loading

* add caching

* remove console

* fix build issues

* add debounce

* fix click

* keep event on focus

* fix input size bug

* add resource locator type

* update type

* update interface

* update resource locator types

*  add search to Trello boards

*  add RLC to Google Drive Shared Drive operations

* update

* update name

* add package

* use stringify pckg

* handle long vals

* fix bug in url id modes

* remove console log

* add lazy loading

* add lazy loading on filtering

* clean up

* make search clearable

* add error state

*  add RLC to Trello cards

* ♻️ address some small changes requested in review

* ♻️ use new versioning system for Trello v2

* refactor a bit

* fix how loading happens

* clear after blur

* update api

* comment out test code

* update api

* relaod in case of error

* update endpoint

* 🐛 move list search out of /nodes/ and add check for required param

* 🐛 move list search out of /nodes/ and add check for required param

* update req handling

* update endpoint

*  re-add trello search methods

* 🥅 throw error if RLC search isn't sent a method name

This will likely be removed when the declarative style of search has
been added.

* get api to work

* update scroll handling

*  google drive folder search

*  add requires filter field to RLC search

*  google drive search sort by name

* remove console

*  add searchable flag for RLC

*  add searchable flag to Trello searches

* update searchable

*  add RLC for cardId and boardId on all operations

*  add ID and URL RLC to Airtable

* fix up search

* remove extra padding

* add link button

* update popper pos

* format

* fix formating

* update mode change

* add name urls

* update regex and errors

* upate error

* update errors

* update airtable regex

* update trello regex rules

* udpate param name

* update

* update param

* update param

* update drive node

* update params

* add keyboard nav

* fix bug

* update airtable default mode

* fix default value issue

* hide long selected value

* update duplicate reqs

* update node

* clean up impl

* dedupe resources

* fix up nv

* resort params

* update icon

* set placeholders

* default to id mode

* add telemetry

* add refresh opt

* clean up tmp val

* revert test change

* make placeholder optional

* update validation

* remove description as param hint

* support more general values

* fix links on long names

* update resource item styles

* update pos

* update icon color

* update link alt

* check if required

* move validation to workflow

* update naming

* only show warning at param level

* show right border on focus

* fix hover on all item

* fix long  names bug

* fix expr bug

* add expr

* update legacy mode

* fix up impl

* clean up node types

* clean up types

* remove unnessary type

* clean up types

* clean up types

* clean up types

* clea n up localizaiton

* remove unused key

* clean up helpers

* clean up paraminput

* clean up paraminputfull

* refactor into one loop

* update component

* update class names

* update prop types

* update name cases

* update casing

* clean up classes

* clean up resource locator

* update drop handling

* update mode

* add url for link mode

* clear value by default

* add placeholder

* remove legacy hint

* handle expr in legacy

* fix typos

* revert padding change

* fix up spacing

* update to link component

* support urls for id

* fix replacement

* build

Co-authored-by: Milorad Filipovic <milorad@n8n.io>
Co-authored-by: Valya Bullions <valya@n8n.io>

* refactor: Resource locator review changes (#4109)

*  Implemented initial version of list mode dropdown

*  Handling mode switching and expression support in list mode

* 🔨 Removing `sortedModes` references

*  Fixing list mode UI after latest mege

* 💄 Updating padding-right for input fields with suffix slots

*  Minor fixes to validation, mode switching logic and styling

* update error

* 2 or more regex

* update regex to be more strict

* remove expr colors

* update hint

* 🚧 super basic version of the search endpoint

This version is built using a hacked up version of the Google Drive
node. I need to properly create a v2 for it but it's does work.

* 🚧 fixed up type errors and return urls

* begin list impl

*  add v3 of Google Drive node with RLC

* fix ts issue

* introduce dropdown

* add more behavior

* update design

* show search

* add filtering

* push up selected

* add keyboard nav

* add loading

* add caching

* remove console

* fix build issues

* add debounce

* fix click

* keep event on focus

* fix input size bug

* add resource locator type

* update type

* update interface

* update resource locator types

*  add search to Trello boards

*  add RLC to Google Drive Shared Drive operations

* update

* update name

* add package

* use stringify pckg

* handle long vals

* fix bug in url id modes

* remove console log

* add lazy loading

* add lazy loading on filtering

* clean up

* make search clearable

* add error state

*  add RLC to Trello cards

* ♻️ address some small changes requested in review

* ♻️ use new versioning system for Trello v2

* refactor a bit

* fix how loading happens

* clear after blur

* update api

* comment out test code

* update api

* relaod in case of error

* update endpoint

* 🐛 move list search out of /nodes/ and add check for required param

* 🐛 move list search out of /nodes/ and add check for required param

* update req handling

* update endpoint

*  re-add trello search methods

* 🥅 throw error if RLC search isn't sent a method name

This will likely be removed when the declarative style of search has
been added.

* get api to work

* update scroll handling

*  google drive folder search

*  add requires filter field to RLC search

*  google drive search sort by name

* remove console

*  add searchable flag for RLC

*  add searchable flag to Trello searches

* update searchable

*  add RLC for cardId and boardId on all operations

*  add ID and URL RLC to Airtable

* fix up search

* remove extra padding

* add link button

* update popper pos

* format

* fix formating

* update mode change

* add name urls

* update regex and errors

* upate error

* update errors

* update airtable regex

* update trello regex rules

* udpate param name

* update

* update param

* update param

* update drive node

* update params

* add keyboard nav

* fix bug

* update airtable default mode

* fix default value issue

* hide long selected value

* update duplicate reqs

* update node

* clean up impl

* dedupe resources

* fix up nv

* resort params

* update icon

* set placeholders

* default to id mode

* add telemetry

* add refresh opt

* clean up tmp val

* revert test change

* make placeholder optional

* update validation

* remove description as param hint

* support more general values

* fix links on long names

* update resource item styles

* update pos

* update icon color

* update link alt

* check if required

* move validation to workflow

* update naming

* only show warning at param level

* show right border on focus

* fix hover on all item

* fix long  names bug

* ♻️ refactor extractValue to allow multiple props with same name

* ♻️ use correct import for displayParameterPath

* fix expr bug

* add expr

* update legacy mode

* fix up impl

* clean up node types

* clean up types

* ♻️ remove new version of google drive node

* ♻️ removed versioned Trello node for RLC

* remove unnessary type

* ♻️ remove versioned Airtable not for RLC

* clean up types

* clean up types

* clean up types

* clea n up localizaiton

* remove unused key

* clean up helpers

* clean up paraminput

* clean up paraminputfull

* refactor into one loop

* update component

* update class names

* update prop types

* update name cases

* update casing

* clean up classes

* 💬 updated RLC URL regex error wording

* clean up resource locator

* update drop handling

* update mode

* 💬 reword value extractor errors

* 🚨 remove unneeded eslint ignores for RLC modes

* 💬 update Trello 400 error message

* 🚨 re-add removed types in editor-ui

Also ts-ignore something that was clean up in another commit. I've added
a comment to fix after someone else can look at it.

* 💬 remove hints from Google Drive RLCs

* 🥅 rethrow correct errors in Trello node

*  add url for id mode on Google Drive

* 🔥 remove unused Google Drive file

* 🔊 change console.error to use logger instead

* 🔀 fix bad merges

* ♻️ small changes from review

* ♻️ remove ts-ignore

Co-authored-by: Milorad Filipovic <milorad@n8n.io>
Co-authored-by: Mutasem <mutdmour@gmail.com>

* fix build

* update tests

* fix bug with credential card

* update popover component

* fix expressions url

* fix type issue

* format

* update alt

* fix lint issues

* fix eslint issues

Co-authored-by: Milorad Filipovic <milorad@n8n.io>
Co-authored-by: Milorad FIlipović <miloradfilipovic19@gmail.com>
Co-authored-by: Valya <68596159+valya@users.noreply.github.com>
Co-authored-by: Valya Bullions <valya@n8n.io>
2022-09-21 15:44:45 +02:00
Alex Grozav a71f3622e2
fix: prevent sending multiple telemetry events on credential filters reset (#4159) 2022-09-21 14:27:25 +03:00