Milorad FIlipović
04cfa548af
feat(editor): Implement Resource Mapper component ( #6207 )
...
* ⚡ scaffolding
* ⚡ finished scaffolding
* ⚡ renamed types
* ⚡ updated subtitle
* ⚡ renamed functions file, UI updates
* ⚡ query parameters fixes, ui updates, refactoring
* ⚡ fixes for credentials test, setup for error parsing
* ⚡ rlc for schema and table, error handling tweaks
* ⚡ delete operation, new options
* ⚡ columns loader
* ⚡ linter fixes
* ⚡ where clauses setup
* ⚡ logic for processing where clauses
* ⚡ select operation
* ⚡ refactoring
* ⚡ data mode for insert and update, wip
* ⚡ data mapping, insert update, skip on conflict option
* ⚡ select columns with spaces fix
* ⚡ update operation update, wip
* ⚡ finished update operation
* ⚡ upsert operation
* ⚡ ui fixes
* Copy updates.
* Copy updates.
* ⚡ option to convert empty strings to nulls, schema checks
* ⚡ UI requested updates
* ⚡ ssh setup WIP
* ⚡ fixes, ssh WIP
* ⚡ ssh fixes, credentials
* ⚡ credentials testing update
* ⚡ uncaught error fix
* ⚡ clean up
* ⚡ address in use fix
* ⚡ improved error message
* ⚡ tests setup
* ⚡ unit tests wip
* ⚡ config files clean up
* ⚡ utils unit tests
* ⚡ refactoring
* ⚡ setup for testing operations, tests for deleteTable operation
* ⚡ executeQuery and insert operations tests
* ⚡ select, update, upsert operations tests
* ⚡ runQueries tests setup
* ⚡ hint to query
* Copy updates.
* ⚡ ui fixes
* ⚡ clean up
* ⚡ error message update
* ⚡ ui update
* Minor tweaks to query params decription.
* feat(Google Sheets Node): Implement Resource mapper in Google Sheets node (#5752 )
* ✨ Added initial resource mapping support in google sheets node
* ✨ Wired mapping API endpoint with node-specific logic for fetching mapping fields
* ✨ Implementing mapping fields logic for google sheets
* ✨ Updating Google Sheets execute methods to support resource mapper fields
* 🚧 Added initial version of `ResourceLocator` component
* 👌 Added `update` mode to resource mapper modes
* 👌 Addressing PR feedback
* 👌 Removing leftover const reference
* 👕 Fixing lint errors
* ⚡ singlton for conections
* ⚡ credentials test fix, clean up
* feat(Postgres Node): Add resource mapper to new version of Postgres node (#5814 )
* ⚡ scaffolding
* ⚡ finished scaffolding
* ⚡ renamed types
* ⚡ updated subtitle
* ⚡ renamed functions file, UI updates
* ⚡ query parameters fixes, ui updates, refactoring
* ⚡ fixes for credentials test, setup for error parsing
* ⚡ rlc for schema and table, error handling tweaks
* ⚡ delete operation, new options
* ⚡ columns loader
* ⚡ linter fixes
* ⚡ where clauses setup
* ⚡ logic for processing where clauses
* ⚡ select operation
* ⚡ refactoring
* ⚡ data mode for insert and update, wip
* ⚡ data mapping, insert update, skip on conflict option
* ⚡ select columns with spaces fix
* ⚡ update operation update, wip
* ⚡ finished update operation
* ⚡ upsert operation
* ⚡ ui fixes
* Copy updates.
* Copy updates.
* ⚡ option to convert empty strings to nulls, schema checks
* ⚡ UI requested updates
* ⚡ ssh setup WIP
* ⚡ fixes, ssh WIP
* ⚡ ssh fixes, credentials
* ⚡ credentials testing update
* ⚡ uncaught error fix
* ⚡ clean up
* ⚡ address in use fix
* ⚡ improved error message
* ⚡ tests setup
* ⚡ unit tests wip
* ⚡ config files clean up
* ⚡ utils unit tests
* ⚡ refactoring
* ⚡ setup for testing operations, tests for deleteTable operation
* ⚡ executeQuery and insert operations tests
* ⚡ select, update, upsert operations tests
* ⚡ runQueries tests setup
* ⚡ hint to query
* Copy updates.
* ⚡ ui fixes
* ⚡ clean up
* ⚡ error message update
* ⚡ ui update
* Minor tweaks to query params decription.
* ✨ Updated Postgres node to use resource mapper component
* ✨ Implemented postgres <-> resource mapper type mapping
* ✨ Updated Postgres node execution to use resource mapper fields in v3
* 🔥 Removing unused import
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
* feat(core): Resource editor componend P0 (#5970 )
* ✨ Added inital value of mapping mode dropdown
* ✨ Finished mapping mode selector
* ✨ Finished implementing mapping mode selector
* ✨ Implemented 'Columns to match on' dropdown
* ✨ Implemented `loadOptionsDependOn` support in resource mapper
* ✨ Implemented initial version of mapping fields
* ✨ Implementing dependant fields watcher in new component setup
* ✨ Generating correct resource mapper field types. Added `supportAutoMap` to node specification and UI. Not showing fields with `display=false`. Pre-selecting matching columns if it's the only one
* ✨ Handling matching columns correctly in UI
* ✨ Saving and loading resourceMapper values in component
* ✨ Implemented proper data saving and loading
* ✨ ResourceMapper component refactor, fixing value save/load
* ✨ Refactoring MatchingColumnSelect component. Updating Sheets node to use single key match and Postgres to use multi key
* ✨ Updated Google Sheets node to work with the new UI
* ✨ Updating Postgres Node to work with new UI
* ✨ Additional loading indicator that shown if there is no mapping mode selector
* ✨ Removing hard-coded values, fixing matching columns ordering, refactoring
* ✨ Updating field names in nodes
* ✨ Fixing minor UI issues
* ✨ Implemented matching fields filter logic
* ✨ Moving loading label outside of fields list
* ✅ Added initial unit tests for resource mapper
* ✅ Finished default rendering test
* ✅ Test refactoring
* ✅ Finished unit tests
* 🔨 Updating the way i18n is used in resource mapper components
* ✔️ Fixing value to match on logic for postgres node
* ✨ Hiding mapping fields when auto-map mode is selected
* ✨ Syncing selected mapping mode between components
* ✨ Fixing dateTime input rendering and adding update check to Postgres node
* ✨ Properly handling database connections. Sending null for empty string values.
* 💄 Updated wording in the error message for non-existing rows
* ✨ Fixing issues with selected matching values
* ✔️ Updating unit tests after matching logic update
* ✨ Updating matching columns when new fields are loaded
* ✨ Defaulting to null for empty parameter values
* ✨ Allowing zero as valid value for number imputs
* ✨ Updated list of types that use datepicker as widger
* ✨ Using text inputs for time types
* ✨ Initial mapping field rework
* ✨ Added new component for mapping fields, moved bit of logic from root component to matching selector, fixing some lint errors
* ✨ Added tooltip for columns that cannot be deleted
* ✨ Saving deleted values in parameter value
* ✨ Implemented control to add/remove mapping fields
* ✨ Syncing field list with add field dropdown when changing dependent values
* ✨ Not showing removed fields in matching columns selector. Updating wording in matching columns selector description
* ✨ Implementing disabled states for add/remove all fields options
* ✨ Saving removed columns separately, updating copy
* ✨ Implemented resource mapper values validation
* ✨ Updated validation logic and error input styling
* ✨ Validating resource mapper fields when new nodes are added
* ✨ Using node field words in validation, refactoring resource mapper component
* ✨ Implemented schema syncing and add/remove all fields
* ✨ Implemented custom parameter actions
* ✨ Implemented loading indicator in parameter options
* 🔨 Removing unnecessary constants and vue props
* ✨ Handling default values properly
* ✨ Fixing validation logic
* 👕 Fixing lint errors
* ⚡ Fixing type issues
* ⚡ Not showing fields by default if `addAllFields` is set to `false`
* ✨ Implemented field type validation in resource mapper
* ✨ Updated casing in copy, removed all/remove all option from bottom menu
* ✨ Added auto mapping mode notice
* ✨ Added support for more types in validation
* ✨ Added support for enumerated values
* ✨ Fixing imports after merging
* ✨ Not showing removed fields in matching columns selector. Refactoring validation logic.
* 👕 Fixing imports
* ✔️ Updating unit tests
* ✅ Added resource mapper schema tests
* ⚡ Removing `match` from resource mapper field definition, fixing matching columns loading
* ⚡ Fixed schema merging
* ⚡ update operation return data fix
* ⚡ review
* 🐛 Added missing import
* 💄 Updating parameter actions icon based on the ui review
* 💄 Updating word capitalisation in tooltips
* 💄 Added empty state to mapping fields list
* 💄 Removing asterisk from fields, updating tooltips for matching fields
* ⚡ Preventing matching fields from being removed by 'Remove All option'
* ⚡ Not showing hidden fields in the `Add field` dropdown
* ⚡ Added support for custom matching columns labels
* ⚡ query optimization
* ⚡ fix
* ⚡ Optimizing Postgres node enumeration logic
* ⚡ Added empty state for matching columns
* ⚡ Only fully loading fields if there is no schema fetched
* ⚡ Hiding mapping fields if there is no matching columns available in the schema
* ✔️ Fixing minor issues
* ✨ Implemented runtime type validation
* 🔨 Refactoring validation logic
* ✨ Implemented required check, added more custom messages
* ✨ Skipping boolean type in required check
* Type check improvements
* ✨ Only reloading fields if dependent values actually change
* ✨ Adding item index to validation error title
* ✨ Updating Postgres fetching logic, using resource mapper mode to determine if a field can be deleted
* ✨ Resetting field values when adding them via the addAll option
* ⚡ Using minor version (2.2) for new Postgres node
* ⚡ Implemented proper date validation and type casting
* 👕 Consolidating typing
* ✅ Added unit tests for type validations
* 👌 Addressing front-end review comments
* ⚡ More refactoring to address review changes
* ⚡ Updating leftover props
* ⚡ Added fallback for ISO dates with invalid timezones
* Added timestamp to datetime test cases
* ⚡ Reseting matching columns if operation changes
* ⚡ Not forcing auto-increment fields to be filled in in Postgres node. Handling null values
* 💄 Added a custom message for invalid dates
* ⚡ Better handling of JSON values
* ⚡ Updating codemirror readonly stauts based on component property, handling objects in json validation
* Deleting leftover console.log
* ⚡ Better time validation
* ⚡ Fixing build error after merging
* 👕 Fixing lint error
* ⚡ Updating node configuration values
* ⚡ Handling postgres arrays better
* ⚡ Handling SQL array syntax
* ⚡ Updating time validation rules to include timezone
* ⚡ Sending expressions that resolve to `null` or `undefined` by the resource mapper to delete cell content in Google Sheets
* ⚡ Allowing removed fields to be selected for match
* ⚡ Updated the query for fetching unique columns and primary keys
* ⚡ Optimizing the unique query
* ⚡ Setting timezone to all parsed dates
* ⚡ Addressing PR review feedback
* ⚡ Configuring Sheets node for production, minor vue component update
* New cases added to the TypeValidation test.
* ✅ Tweaking validation rules for arrays/objects and updating test cases
---------
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
2023-05-31 11:56:09 +02:00
Csaba Tuncsik
5ae1124106
fix(editor): Update SSO settings styles ( #6342 )
2023-05-31 10:58:16 +02:00
Iván Ovejero
da856d1c65
fix: Show Ask AI
only on Code Node ( #6336 )
2023-05-30 18:43:46 +02:00
Michael Auerswald
792b1c1ffb
feat(core): Add metadata (customdata) to event log ( #6334 )
...
* add metadata (customdata) to event log
* lint fix
* use reduce
2023-05-30 17:59:55 +02:00
Iván Ovejero
f91d36cd30
refactor: Add telemetry to upgrade paths (no-changelog) ( #6313 )
2023-05-30 15:49:27 +02:00
कारतोफ्फेलस्क्रिप्ट™
54e3838dae
fix(Code Node): Fix item
and items
alias regression ( #6331 )
2023-05-30 12:56:55 +02:00
Michael Auerswald
77e3f1551d
feat: Add manual login option and password reset link for SSO ( #6328 )
...
* consolidate IUserSettings in workflow and add allowSSOManualLogin
* add pw reset link to owners ui
2023-05-30 12:52:02 +02:00
OlegIvaniv
8f0ff460b1
fix(editor): Fix Luxon date parsing of ExecutionsUsage component ( #6333 )
...
* fix(editor): Fix luxon date parsing of ExecutionsUsage component
* Fix wrong indent
2023-05-29 13:29:07 +02:00
Cornelius Suermann
0e4c615d0d
fix(core): Do not track errored workflow executions for automated executions (no-changelog) ( #6322 )
...
* fix(core): Do not track errored workflow executions for automated executions
* fix test
* fix test
* fix test
* do not track 'Workflow execution count' event when all counts are 0
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
* fix test
2023-05-28 12:08:46 +02:00
कारतोफ्फेलस्क्रिप्ट™
d94c20ada5
fix(core): Prevent prototype pollution on injectable services ( #6309 )
...
This helps prevent classes from being tampered by external-hooks or community nodes
2023-05-26 18:03:06 +02:00
Michael Auerswald
0631f69d98
fix(core): Optimize getSharedWorkflowIds query ( #6314 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-05-26 18:02:55 +02:00
कारतोफ्फेलस्क्रिप्ट™
7a7b884793
ci: Reset DB only once per e2e test (no-changelog) ( #6216 )
2023-05-26 17:15:06 +02:00
Ricardo Espinoza
b777f9031d
feat(editor): Bring back checklist experiment (no-changelog) ( #6307 )
...
* bring back checklist experiment
* move call to track experiment
2023-05-25 11:15:48 -04:00
Jan Oberhauser
f08373490e
Merge tag 'n8n@0.230.0'
2023-05-25 14:30:18 +02:00
Jon
1eecb86e06
fix: Add ldapts to nodes-base package (no-changelog) ( #6315 )
2023-05-25 12:56:16 +02:00
कारतोफ्फेलस्क्रिप्ट™
bcbec52552
fix(Code Node): Update vm2 to address CVE-2023-32313 ( #6318 )
...
GH advisory: https://github.com/advisories/GHSA-p5gc-c584-jj6v
2023-05-25 12:55:53 +02:00
Alex Grozav
071955ba68
feat: Add tab visibility change detection when polling executions (no-changelog) ( #6311 )
...
feat: add tab visibility change detection when polling executions (no-changelog)
2023-05-24 16:50:52 +03:00
OlegIvaniv
0d88bd7c1a
fix(editor): Fix locale plularisation if count is 0 ( #6312 )
2023-05-24 15:01:06 +02:00
github-actions[bot]
eb008395f1
🚀 Release 0.230.0 ( #6310 )
...
* 🚀 Release 0.230.0
* Update CHANGELOG.md
---------
Co-authored-by: maspio <maspio@users.noreply.github.com>
Co-authored-by: Marcus <56945030+maspio@users.noreply.github.com>
2023-05-24 13:42:39 +02:00
कारतोफ्फेलस्क्रिप्ट™
011d5778b1
fix(Execute Command Node): Block executions when command
is empty ( #6308 )
2023-05-24 13:17:29 +02:00
Csaba Tuncsik
fc580f7ee8
fix(editor): Fix design system button with icon vertical alignment ( #6284 )
...
* fix(editor): Fix design system button with icon vertical alignment
* trigger checks
---------
Co-authored-by: Alex Grozav <alex@grozav.com>
2023-05-24 13:03:46 +02:00
Michael Kret
3f7c4f0ad4
feat(Execution Data Node): New node ( #6247 )
2023-05-24 14:00:10 +03:00
Iván Ovejero
96144bd983
ci: Add rule dangerously-use-html-string-missing
(no-changelog) ( #6299 )
2023-05-24 10:12:41 +02:00
Iván Ovejero
fe937a0ee3
ci: Forbid skipping tests (no-changelog) ( #6199 )
2023-05-24 09:45:37 +02:00
कारतोफ्फेलस्क्रिप्ट™
e046f656fe
feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises
( #6281 )
2023-05-24 02:01:45 +02:00
कारतोफ्फेलस्क्रिप्ट™
5d2f4746ea
fix(editor): Fix inverted checks on modal confirmation results ( #6285 )
...
* fix(editor): Fix inverted checks on modal confirmation results
* test(editor): fix confirm modal buttons
* test(editor): fix confirm modal buttons
---------
Co-authored-by: Csaba Tuncsik <csaba.tuncsik@gmail.com>
2023-05-23 19:09:25 +02:00
Deborah
eabecefe27
fix(editor): Link to log streaming doc from log streaming (no-changelog) ( #6303 )
...
link to log streaming doc from log streaming
2023-05-23 15:14:58 +01:00
OlegIvaniv
11477f0a20
fix(editor): Fix canvas loading when page gets restored from bfcache ( #6304 )
...
* fix(editor): Fix canvas loading when page gets restored from bfcache
* Lint fix
2023-05-23 15:39:54 +02:00
Alex Grozav
e3a53fd19d
feat: Add SSO SAML metadataUrl support and various improvements ( #6139 )
...
* feat: add various sso improvements
* fix: remove test button assertion
* fix: fix type imports
* test: attempt fixing unit tests
* fix: changed to using useToast for error toasts
* Minor copy tweaks and swapped buttons position.
* fix locale ref
* align error with UI wording
* simplify saving ux
* fix pretty
* fix: update saml sso setting saving
* fix: undo try/catch changes when saving saml config
* metadata url tab selected at first
* chore: fix linting issue
* test: fix activation checkbox test
---------
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
Co-authored-by: Michael Auerswald <michael.auerswald@gmail.com>
Co-authored-by: Romain Minaud <romain.minaud@gmail.com>
2023-05-23 16:25:28 +03:00
Yann ALEMAN
4b854333d4
feat(LoneScale Node): Add LoneScale node and Trigger node ( #5146 )
2023-05-23 12:52:54 +01:00
Jon
ec393bc041
feat(Ldap Node): Add LDAP node ( #4783 )
2023-05-23 12:39:26 +01:00
Omar Ajoue
42c79cd6f1
fix: Initialize license in queue mode correctly ( #6301 )
2023-05-23 13:01:50 +02:00
Omar Ajoue
55b755cb44
fix: Prevent removing manual executions when setting says to save ( #6300 )
2023-05-23 13:00:26 +02:00
Michael Kret
d5c7e6f2cf
fix(SSH Node): Private key field as password and credential test ( #6298 )
2023-05-23 12:01:24 +03:00
Michael Kret
bbe6d4c4db
fix(Strapi Node): Strapi credentials notice ( #6289 )
2023-05-23 12:00:02 +03:00
Michael Auerswald
ed7f3b845f
fix(core): Optimize SharedWorkflow queries ( #6297 )
...
* optimize SharedWorkflow queries
* fix int to string ids
2023-05-23 09:40:38 +02:00
agobrech
4d9c8b07a9
fix(Wekan Node): Handle response correctly ( #6296 )
...
Fix bug when response wasn't array
2023-05-22 18:09:10 +02:00
Alex Grozav
2d90125c87
feat: Add dangerouslyUseHTMLString where needed (no-changelog) ( #6292 )
...
feat: add dangerouslyUseHTMLString where needed (no-changelog)
2023-05-22 16:09:29 +03:00
agobrech
f5950b201c
feat(RabbitMQ Node): Add mode for acknowledging and deleting from queue later in workflow ( #6225 )
...
* Add later in workflow mode
* Add new operation
* Acknowledge message in next node
* Add response and emit for responsePromiseHook
* Remove double success message, close channel correctly
* Answser messages correctly
* Remove option from delete operation
* move operation name to camelCase
* Fix versioning
* To remove: add action item in v1
* Add notice for delete from queue
* Correctly only execute only the delete operation
* Refactor delete from queue operator and add return last items
---------
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-22 14:37:09 +02:00
Deborah
2d13b3f43f
fix(editor): UI copy fix for Date & Time node (no-changelog) ( #6291 )
...
* whether -> when
* lint fix
---------
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
2023-05-22 11:50:02 +01:00
Jon
2a2b6452dc
fix(ERPNext Node): Fix issue with credential test and add frappe cloud url ( #6283 )
2023-05-22 11:11:08 +01:00
कारतोफ्फेलस्क्रिप्ट™
37506050c3
fix(core): Prevent app crashes because of unhandled promises in poll and trigger nodes ( #6278 )
...
fixes https://community.n8n.io/t/n8n-server-container-after-read-econnreset-and-write-epipe-errors-in-imap-version-2-node/24012
2023-05-19 15:43:50 +02:00
Michael Kret
be5d3264ad
fix(Postgres Node): Remove reusable connections (no-changelog) ( #6259 )
2023-05-19 16:42:24 +03:00
कारतोफ्फेलस्क्रिप्ट™
4b5cbe7750
ci(editor): Enfore stricter linting rules from eslint-plugin-vue
(no-changelog) ( #6242 )
2023-05-19 15:31:16 +02:00
Jon
8a8fed0840
fix(Strava Trigger Node): Fix issue with delete events failing to display data ( #6277 )
2023-05-19 14:28:57 +01:00
Michael Kret
3569d53917
feat(SSH Node): Credentials test ( #6279 )
2023-05-19 16:03:23 +03:00
pemontto
8fe8aad6a7
feat(Send Email Node): Add content-id for email attachments ( #3632 )
2023-05-19 15:31:02 +03:00
कारतोफ्फेलस्क्रिप्ट™
e88b9d880a
feat(core): Include openssh in the base docker image (no-changelog) ( #6275 )
2023-05-19 12:16:29 +02:00
Michael Kret
5bef91e3c8
fix(Google Calendar Node): All day option fix ( #6274 )
2023-05-19 10:39:39 +03:00
Bram Kn
401cffde57
feat(Gotify Node): Add support for self signed certificates ( #6053 )
2023-05-18 17:34:33 +01:00