Commit graph

3091 commits

Author SHA1 Message Date
Michael Auerswald eaa8648f2b
fix(Date & Time Node): Reset responseData at end of loop (#6385)
reset responseData at end of loop
2023-06-06 20:58:15 +02:00
Michael Kret 05c4229cd7
refactor(core): Google service account remove duplicated functions (no-changelog) (#6368) 2023-06-06 19:19:24 +03:00
Jon 3a6af3b2a2
refactor(LoneScale List Node)!: Rename to LoneScale (#6337) 2023-06-06 16:13:58 +01:00
Iván Ovejero 62fc77363f
ci: Fix build (no-changelog) (#6391) 2023-06-06 15:08:29 +02:00
Deborah f5ac3f4fa9
docs: Fix trigger node link for Lonescale (#6376)
fix trigger node link
2023-06-05 10:30:25 +01:00
कारतोफ्फेलस्क्रिप्ट™ 968b733fd6
ci: Add support for Node.js 18 (#5793)
* ci: Start supporting Node.js 18

Node.js 18 became the active LTS on 2022-10-25, and Node.js 16 went into maintenance mode.
https://github.com/nodejs/Release#release-schedule

We should also slowly deprecate node 16 support, [as support for it is ends much earlier now, due to support for openssl 1.1.1 ending](https://nodejs.org/en/blog/announcements/nodejs16-eol).

* Remove hashing algorithms that are not available in newer node.js/openssl

- RSA-MD4
- RSA-MDC2
- md4
- md4WithRSAEncryption
- mdc2
- mdc2WithRSA

* in e2e tests, resolve `localhost` to ipv4 instead of ipv6
2023-06-02 15:23:28 +02:00
कारतोफ्फेलस्क्रिप्ट™ 406a405dd1
feat(Crypto Node): Add support for hash and hmac on binary data (#6359) 2023-06-02 11:22:21 +02:00
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
कारतोफ्फेलस्क्रिप्ट™ 54e3838dae
fix(Code Node): Fix item and items alias regression (#6331) 2023-05-30 12:56:55 +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
कारतोफ्फेलस्क्रिप्ट™ 011d5778b1
fix(Execute Command Node): Block executions when command is empty (#6308) 2023-05-24 13:17:29 +02:00
Michael Kret 3f7c4f0ad4
feat(Execution Data Node): New node (#6247) 2023-05-24 14:00:10 +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
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
agobrech 4d9c8b07a9
fix(Wekan Node): Handle response correctly (#6296)
Fix bug when response wasn't array
2023-05-22 18:09:10 +02: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
Michael Kret be5d3264ad
fix(Postgres Node): Remove reusable connections (no-changelog) (#6259) 2023-05-19 16:42:24 +03: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
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
Jon 000cacf736
docs: Remove missed beta text from Notion node (no-changelog) (#6166) 2023-05-18 17:33:08 +01:00
Michael Kret 8fdfa3b6b8
fix(OpenAI Node): Descriptive errors (#6270) 2023-05-18 17:20:56 +03:00
Michael Kret 421949067b
fix(SSH Node): Replace ~ with /home/username (#6269) 2023-05-18 14:56:51 +03:00
agobrech 8ae2d801d8
feat(Respond to Webhook Node): Move from Binary Buffer to Binary streaming (#5613)
* replace binary buffer with binary streaming

* Add binary assertion and remove duplicate code

* handle streams correctly

* fix binary response in `own` mode

* fix stream response missing headers

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <netroy@users.noreply.github.com>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: Marcus <marcus@n8n.io>
2023-05-17 10:06:24 +02:00
Jon e72d564bf8
fix(Code Node): Restore help text (#6231) 2023-05-11 15:44:43 +01:00
Jon bd1bffcd53
feat(Google Ads Node): Update to support v13 (#6212) 2023-05-11 13:15:56 +01:00
कारतोफ्फेलस्क्रिप्ट™ f3bc6f19b6
feat: Create NPM node (#6177) 2023-05-10 12:37:26 +02:00
कारतोफ्फेलस्क्रिप्ट™ 18b60c4170
feat(Code Node): Set defaultVersion to 2 for V1 RC builds (no-changelog) (#6209)
This will enable python in the Code node.
2023-05-09 17:28:30 +02:00
agobrech 7d1d1f7872
feat(Date & Time Node): Overhaul of the node (#5904)
* Setup versionized node

* Fix node naming

* Set all possible actions

* Add Current Date operation

* Add timezone to current date

* feat add to date operator

* Change output field name to camel case

* Fix info box for luxons tip

* Feat subtract to date operation

* Feat format date operation

* Fix to node field for format date

* Feat rounding operation

* Feat get in between date operation

* Feat add extract date operation

* Add generic function for parsing date

* Remove moment methods from operations

* Change moment to luxon for the rest of the operations

* Fix Format date operation

* Fix format value

* Add timezone option for current date

* Add tests, improve workflow settings for testing, toString the results

* Change icon for V2

* Revert "Change icon for V2"

This reverts commit 46b59bea2e.

* Change workflow  test name

* Fix ui bug for custom format

* Fix default value for format operation

* Fix info box for rounding operation

* Change default for units for between time operation

* Inprove fields and resort time units

* Fix extract week number

* Resolve issue with formating and timezones

* Fix field name and unit order

*  restored removed test case, sync v1 with curent master

*  parseDate update to support timestamps, tests

* Keep same field for substract and add time

* Update unit test

* Improve visibility, add iso to string option

* Update option naming

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-05-08 17:34:14 +02:00
agobrech 2913e676e6
feat(HubSpot Node): Overhaul the HubSpot Node (#4337)
* 🎨 Change current defualt ressource to contact

* Change display name for list membership

* 🎨 Change display name for ressource properties

* 🔥 Remove Name & ID in Display name

* 🐛 Fix simplify data where behavior was wrong

* 🎨 Move simplfy output to additional fields

* Change data type from string to number for IDs

* Add tooltip for contact ID

* 🎨 Change tooltip for list of Id's

* Change name of fields and reorgaized options

* 🥅 Add clearer errors for some specific cases

* 🎨 changed filters in Deal get all

* Deprecate form ressource

*  add pipeline dropdown to auto fetch

* 🎨 Change direction's name

* 🎨 Change description of filter groups

* 🎨 Add validation and errors for maximum filters

*  Add ressource locator to all ressources

* 🎨 add tooltip for timestamp when using expressions

* add versioning

* 🐛 fixes small bugs and ui problems

* remove show options that was breaking custom prop

*  add ownership to deals

*  add notice for credential depreciation

* 🎨 Refactor names for RLC

* 🎨 Fixes to Deal

*  Inprove delete confirmation message

* 🎨 Fixe titles of fields

* 🎨 Fixe correct ressource hint

* 🎨 Improve error when requesting non existing ressource

* ️ Improve get deal

*  Improve search by domain for companies

*  Improve getting recently created deals

* 🎨 Improve versioning file structure

* 🥅 Improve error for unknown ids

*  Add filters to recently search for companies

*  Uniformize including properties for contact

*  Improve get all operation for Companies

* 🎨 Change filters name

* 🎨 Remove useless descriptions

* 🎨Improve description

*  Dynamically retrieve the correct operator for the properties

* 🥅 Improve error handeling

* 🥅 improve error when not finding the id

* ️Add searchable feature to Deal and contacts

* 🚨 Fix linting issues

* 🚨 Fix linting issues for V1 Hubspot

* 🐛 Fix pairedItem for v2 hubspot

* 🚨 Fix linting in HubSpot Description

* 🚨 More linting fixes

* Fix error handling

* Update endpoint for deleting object

* Fix label for recent actions

* 🐛 fix listMemberships typo in V1 and V2

* docs: Stop assuming the user's gender in code comments (after merge)

c87262a312

* fixing V1 GenericFunctions.ts api query limit as number

* Update description for ticket

* Add type to RLC

* Revert "Add type to RLC"

This reverts commit 578dacfb97.

* Add type to RLC engagement

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-05-08 15:15:13 +02:00
Marcus 14bcd4c2f7
test(Read Binary Files Node): Unit tests (no-changelog) (#5459)
*  add Read Binary Files tests

* ️updated ReadBinaryFiles test

* fix test result comparison

* fix test result comparison

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-05-08 13:06:29 +02:00
कारतोफ्फेलस्क्रिप्ट™ be089331b3
fix(FTP Node): Use filename instead of remote filepath for downloaded binary data (#6170) 2023-05-05 14:32:49 +02:00
कारतोफ्फेलस्क्रिप्ट™ 394c9a2731
ci: Fix linting issues on master (no-changelog) (#6186) 2023-05-05 10:22:49 +02:00
Jan Oberhauser 35c8510ab6
feat(Code Node): Add Python support (#4295) 2023-05-04 20:00:00 +02:00
agobrech 814ea5185c
feat(Kafka Trigger Node): Add non-parallel execution (#6175)
* Fix typo, add v1.1

* Add parallel processing

* Add versioning

* Improve description for maximum inflight requests

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-05-04 17:26:56 +02:00
OlegIvaniv 0eb4d9fc16
fix(Postgres Node): Always return TIMESTAMP and TIMESTAMPZ as ISO string (#6145)
* fix(Postgres Node): Always return TIMESTAMP and TIMESTAMPZ as ISO string

* Fix linting issues
2023-05-04 17:25:54 +02:00
कारतोफ्फेलस्क्रिप्ट™ 45dc985af7
fix(Google Sheets Node): Upgrade xlsx to address CVE-2023-30533 (#6172)
[GitHub Advisory](https://github.com/advisories/GHSA-4r6h-8v6p-xvw6)
2023-05-04 17:10:54 +02:00
agobrech 22b82a43a2
fix(AWS Rekognition Node): Fix all different action type (#6136)
* Fix broken logic with type action

* Unit test base

* Add unit test using only nock

* Fix failing test

* remove console log

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-05-04 14:34:55 +02:00
Michael Kret f9fd82040a
feat(Airtable Node): Access token support (#6160) 2023-05-04 13:17:22 +03:00
agobrech 3f5c606254
fix(HTTP Request Node): Correctly doesn't redirect on non GET method (#6132)
Fixed ingnored parameter for redirect
2023-05-04 09:55:35 +02:00
Michael Kret 5d77ec76e3
fix(MySQL Node): Node should return date types as strings (#6169) 2023-05-03 18:45:21 +03:00
कारतोफ्फेलस्क्रिप्ट™ deb4c04f34
fix(AWS S3 Node): Fix File upload, and add node tests (#6153) 2023-05-02 17:29:07 +02:00
Michael Kret 5364a2dff3
feat(Microsoft Excel 365 Node): Overhaul 2023-05-02 12:44:25 +03:00
Michael Kret cb497fbbec
feat(core): Add notice to alert users a new version is available 2023-05-02 11:45:04 +03:00
Michael Kret 14f71146e2
fix(Date & Time Node): Numbers conversions fix 2023-05-01 10:11:55 +03:00
Michael Kret d219af75cf
fix(Merge Node): Do not error if expected key is missing 2023-04-28 19:46:59 +03:00
Michael Kret 8669f95736
fix(Slack Node): Restore ability to send text in addition of blocks or attachments 2023-04-28 13:23:36 +03:00
Milorad FIlipović b17d5f9aa0
feat(editor): Add support for loadOptionsDependsOn to RLC (#6101)
* feat(editor): Add support for `loadOptionsDependsOn` to the Resource Locator component
* 🔥 Removing leftover log
*  Added e2e tests for ResourceLocator component
2023-04-28 12:14:31 +02:00
Cornelius Suermann af097ae22c
fix(HTTP Request Node): Add description for 'Specify Body' option (#6114)
* fix(HTTP Request Node): Add description for 'Specify Body' option

* disable linting for node-param-description-miscased-json
2023-04-27 17:33:38 +02:00
Michael Kret 983e6e124e
fix(HTTP Request Node): Always lowercase headers 2023-04-27 13:36:02 +03:00
Jon aa59329836
fix(Compression Node): Fix issue with decompression failing with uppercase extensions (#6098) 2023-04-27 11:18:35 +01:00
Marcus 25a386dd70
fix(Mattermost Node): Fix base url trailing slash error (#6097)
* 🐛 Fix credential base url with trailing slash

* Fix credential test base url with trailing slash
2023-04-27 11:42:37 +02:00
Michael Kret c65ac03368
feat(Item Lists Node): Split out items work on objects as well as arrays 2023-04-27 11:54:55 +03:00
Jan Oberhauser 70aaf24784
feat(editor): Add SQL editor support (#5517) 2023-04-25 18:18:27 +02:00
Iván Ovejero 88724bb056
ci: Enforce no unused imports (no-changelog) (#6073) 2023-04-25 11:47:03 +02:00
Jon 871d4193e2
docs: Remove version notice from overhauled nodes (no-changelog) (#6071) 2023-04-24 13:21:26 +01:00
कारतोफ्फेलस्क्रिप्ट™ 308a94311f
refactor: Async functions don't need to explicitly return promises (no-changelog) (#6041) 2023-04-24 13:17:08 +02:00
Michael Kret 0e93fe064e
refactor(core): Forbid raw enums (no-changelog) 2023-04-21 14:23:15 +03:00
Michael Kret e8e6e9e0bc
test(n8n Node): Unit tests (no-changelog) 2023-04-20 18:23:50 +03:00
कारतोफ्फेलस्क्रिप्ट™ c87262a312
docs: Stop assuming the user's gender in code comments (no-changelog) (#6015) 2023-04-19 16:00:49 +02:00
Michael Kret 9817a15da4
feat(Google BigQuery Node): Node improvements (#4877)
*  setup

*  finished v2 setup

*  fix return all, fix simplify with nested schema

*  fix for external tables, updated scopes

*  query operation

*  linter fixes

*  fixed not processed errors when inserting, move main loop to execute function to allow bulk request

*  customizible batch size when inserting, improoved errors

*  options for mapping input

*  fix for inserting RECORD type

*  updated simplify logic

*  fix for return with  selected fields

*  option to return table schema

*  linter fixes

*  fix imports

*  query resource and fixes, rlc for projects

*  removed simplify, added raw output option

*  rlc for tables and datasets, no urls option

*  updated hints and description of query parameter, fix getMany VIEW, multioptions fo fields

*  added case when rows are empty

*  linter fixes

*  UI update, one resource

*  fix for output with field named json

*  using jobs instead queries

*  added error message

*  search for RLCs, fixes

*  json processing

*  removed getAll operation

*  executeQuery update

*  unit test

*  tests setup, fixes

*  tests

* Remove script for checking unused loadOptions

---------

Co-authored-by: agobrech <ael.gobrecht@gmail.com>
2023-04-19 14:55:01 +02:00
कारतोफ्फेलस्क्रिप्ट™ f9b3aeac44
refactor(Code Node): Constently handle various kinds of data returned by user code (#6002) 2023-04-19 13:09:46 +02:00
Jon 1555387ece
ci: Improve test for wait node (#5997) 2023-04-18 11:28:05 +01:00
Jan Oberhauser b351c62659
fix(HTTP Request Node): Fix itemIndex in HTTP Request errors (#5991) 2023-04-18 11:48:38 +02:00
Bram Kn 3810039da0
feat(GitLab Node): Add Additional parameters for File List (#5621) 2023-04-18 09:19:35 +01:00
Eddy Hernandez 6b9909bd80
fix(OpenAI Node): Update OpenAI Text Moderate input placeholder text (#5823) 2023-04-17 16:03:34 +01:00
कारतोफ्फेलस्क्रिप्ट™ a3664de355
fix(Code Node): Handle user code returning null and undefined (#5989)
fixes https://community.n8n.io/t/cannot-convert-undefined-or-null-to-object/25240
2023-04-17 16:43:39 +02:00
Michael Kret ba5b4eb42f
fix(Google Sheets Trigger Node): Return actual error message 2023-04-17 16:23:57 +03:00
Filipe Dobreira 18d5156994
fix(IF Node): Fix typo in combine description (no-changelog) (#5964) 2023-04-14 13:22:41 +01:00
Michael Kret 0b48088296
feat(core): Support for google service account in HTTP node 2023-04-14 13:39:52 +03:00
Michael Kret 0a53c957c4
feat(MySQL Node): Overhaul 2023-04-12 17:24:17 +03:00
Jon 29959be688
fix(OpenAI Node): Update models to only show those supported (#5805) 2023-04-12 16:07:35 +02:00
Jon e6ad17ec64
ci: Add test for wait node (no-changelog) (#5414) 2023-04-12 16:07:18 +02:00
Marcus d288a918f1
fix(Github Trigger Node): Remove content_reference event (#5830)
removed content_reference event (doesn't exist anymore)
2023-04-12 16:06:49 +02:00
Iván Ovejero 5227ccd75a
ci: Validate load options methods in nodes-base (no-changelog) (#5862) 2023-04-12 15:46:11 +02:00
Michael Kret ee7f86394e
fix(NocoDB Node): Fix for updating or deleting rows with not default primary keys 2023-04-12 16:27:19 +03:00
कारतोफ्फेलस्क्रिप्ट™ e79679c023
fix(HTTP Request Node): Show detailed error message in the UI again (#5959) 2023-04-12 14:58:05 +02:00
Jon c236d5d049
docs: Fix typo in AWS S3 and S3 nodes for parent folder key (#5933)
Fix typo in S3 nodes
2023-04-11 15:17:12 +02:00
Iván Ovejero 6cf74e412a
feat: Create TOTP node (#5901)
*  Create TOTP node

* ♻️ Apply feedback

* ♻️ Recreate `pnpm-lock.yaml`

* ♻️ Apply Giulio's feedback

* 🚧 WIP node tests

*  Finish node test setup

*  Restore test command

*  linter fixes, tweaks

* ♻️ Address Michael's feedback

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-04-11 11:58:47 +02:00
agobrech f7e610b15c
feat(HTTP Request Node): Follow redirects by default (#5895)
* Redirect as default behaviour

* Remove console.logs

* Move logic to one single variable

* Revert "Redirect as default behaviour"

This reverts commit 5b2221b800297865224384eb7f417d72b0d2bbc1.

* Redirect as default behaviour inside node structure

* Add default behaviour
2023-04-05 15:37:14 +02:00
Michael Kret 77106520c8
fix(Date & Time Node): Convert luxon DateTime object to ISO 2023-04-05 13:05:51 +03:00
Michael Kret 83e25c066a
fix(Compare Datasets Node): Support for dot notation in skip fields 2023-04-04 14:52:53 +03:00
कारतोफ्फेलस्क्रिप्ट™ a260c05fa8
fix(core): Improve axios error handling in nodes (#5891) 2023-04-03 18:37:22 +02:00
Michael Kret d1945d9b72
fix(Compare Datasets Node): Fuzzy compare not comparing keys missing in one of inputs 2023-04-03 18:31:03 +03:00
Michael Kret 07dc0e4b40
feat(Postgres Node): Overhaul node 2023-04-03 18:18:01 +03:00
Jon 32c4eef574
fix(AWS SNS Node): Fix an issue with messages failing to send if they contain certain characters (#5807) 2023-04-03 11:30:22 +01:00
Michael Kret 2b9ca0d240
fix(Gmail Node): Gmail luxon object support, fix for timestamp 2023-04-03 12:48:11 +03:00
Michael Kret b29cf9a249
fix(HTTP Request Node): Support for dot notation in JSON body 2023-03-31 19:31:03 +03:00
Iván Ovejero 62751b5a0b
refactor: Add lint rule no-unused-param-in-catch-clause (#5868)
👕 Add lint rule `no-unused-param-in-catch-clause`
2023-03-31 16:44:08 +02:00
agobrech 18d2e7cd57
fix(LinkedIn Node): Update the version of the API (#5720)
* 🐛 Change request to follow new API version

* Extract urn from response header

* Change body params for image and media request

* Fix body for Image and Article posts

* remove console log

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-03-31 15:04:43 +02:00
Michael Kret 0da3b96cfc
fix(HTML Extract Node): Support for dot notation in JSON property 2023-03-31 14:00:45 +03:00
Michael Kret f7f9d915b1
feat(Filter Node): Show discarded items 2023-03-31 10:27:33 +03:00
Michael Kret b7a20dd3a2
fix(Date & Time Node): Add info box at top of date and time explaining expressions 2023-03-30 20:03:58 +03:00
Jon db2544146f
fix(Redis Node): Fix issue with hash set not working as expected (#5832) 2023-03-30 16:04:34 +01:00
कारतोफ्फेलस्क्रिप्ट™ 87e979c19a
feat: Upgrade TypeScript to v5 (no-changelog) (#5755) 2023-03-30 13:59:59 +02:00
Michael Kret b408550e9f
fix(Set Node): Convert string to number 2023-03-30 14:29:47 +03:00
Marcus 6f720919c9
feat(Schedule Trigger Node): Linking to crontab.guru examples (no-changelog) (#5834)
linking to crontab.guru examples instead of cronmaker.com

Co-authored-by: Jon <jonathan.bennetts@gmail.com>
2023-03-30 13:07:16 +02:00
Jon 1409f5d652
feat(ServiceNow Node): Add support for work notes when updating an incident (#5791) 2023-03-28 10:48:09 +01:00
Michael Kret 082c61701c
fix(Google Sheets Node): Unit tests (no-changelog) 2023-03-27 19:23:18 +03:00
Michael Kret 0625e2e6bc
fix(Google Sheets Node): Fix insertOrUpdate cell update with object 2023-03-27 17:56:36 +03:00
कारतोफ्फेलस्क्रिप्ट™ 18efaf397a
fix(core): Do not mark duplicates as circular references in jsonStringify (#5789)
* fix(core): jsonStringify should not mark duplicates as circular references

* not mark duplicates as circular references in the code node as well
2023-03-27 16:22:59 +02:00
कारतोफ्फेलस्क्रिप्ट™ b0cfd69f2b
fix(core): Setup nodeHelpers that aren't exposed in the code sandbox (no-changelog) (#5753) 2023-03-23 15:11:18 +01:00
Michael Kret cc9fe7b91f
feat(Filter Node): New node 2023-03-22 16:16:27 +02:00
कारतोफ्फेलस्क्रिप्ट™ 38e91ab730
refactor(core): Stop importing LoggerProxy and createDeferredPromise in nodes-base (no-changelog) (#5742)
* refactor(core): Stop importing LoggerProxy in nodes-base

* refactor(core): Stop importing createDeferredPromise in nodes-base
2023-03-22 14:04:15 +01:00
Jan Oberhauser 135b0d3e27
fix(Split In Batches Node): Roll back changes in v1 and create v2 (#5747) 2023-03-22 12:05:07 +01:00
Michael Auerswald b6d8a0f985
fix(core): Remove circular refs from Code and push msg (#5741)
* remove circular refs from code items (and lint fixes)

* cleanup

---------

* add some tests

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-03-21 15:34:30 +01:00
agobrech 199a91b398
fix(HTTP Request Node): Add streaming to binary response (#5701)
Revert "fix(HTTP Request Node): Remove streaming response  (#5663)"

This reverts commit 8a21fefbc6.
2023-03-21 15:03:47 +01:00
agobrech 46d013cbc5
test(Date & Time Node): Skip the test when local timezone is not in UTC (no-changelog) (#5735)
Check for moment default timezone in dateTime tests
2023-03-20 16:55:40 +01:00
Val 233f1fa7ec
feat(QuickChart Node): Add QuickChart node (#3572)
*  Add basic QuickChart node

* 🏷️ Fix up types

* ❇️ Add Boxplot and Violin

* ❇️ Add point styles

* ❇️ Add horizontal charts

*  Make possible to provide array of labels via expressions

*  Improvements

*  Improvements

* 🎨 fix lint errors

* ️disable chart types we don't want to support in P0

* ️support setting labels manually or using an array

* ️move Horizontal parameter into options

* ️ update "Put Output In Field" param description and hint

* ️ removed font color

* ️fix Device Pixel Ratio

* ️fix Polar Chart not working

* ️Show Fill param only for charts supporting it

* ️Show pointStyle param only for charts supporting it

* ️remove second "Chart Type" option

*  updated error message, added json data, updated description

* Add codex json file

*  add unit test

*  improve unit test

*  removed any, added aliases

---------

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Marcus <marcus@n8n.io>
Co-authored-by: Michael Kret <michael.k@radency.com>
2023-03-17 12:50:26 +01:00
कारतोफ्फेलस्क्रिप्ट™ 6a8c9b7ccc
refactor: Improve typings for webhook methods (no-changelog) (#5713) 2023-03-17 12:25:31 +01:00
Giulio Andreini 02e35819ab
feat(IF Node): Node description update no-changelog (#5702) 2023-03-16 13:23:55 +01:00
Jon ba73fff27d
feat(OpenAI Node): Add support for gpt4 on chat completion (#5692) 2023-03-15 09:41:02 +00:00
Jon d1e3c192ba
fix(Metabase Node): Fix issue with question results not correctly being returned (#5665) 2023-03-14 17:47:37 +00:00
Jan Oberhauser 2f7639e9e4
feat(Split In Batches Node): Make it easy to combine processed data (#5655)
feat(SplitInBatches Node): Make it easy to combine processed data
2023-03-14 18:42:41 +01:00
Mutasem Aldmour 332d50c5f1
feat(Item Lists Node): Update actions (#5648)
feat(Itemlists): Update actions
2023-03-14 14:28:49 +01:00
agobrech 8a21fefbc6
fix(HTTP Request Node): Remove streaming response (#5663)
Remove useStream option from requestOptions
2023-03-10 11:54:26 +01:00
कारतोफ्फेलस्क्रिप्ट™ 7a4e9ef5fa
refactor: Remove n8n-core dependency in nodes-base (no-changelog) (#5649) 2023-03-09 18:13:15 +01:00
agobrech ce0d9d2bed
feat(HTTP Request Node): Move from Binary Buffer to Binary streaming (#5610)
*  Change from binary buffer to binary streaming

* Remove console.logs

* Import Readable from the correct lib

* stream response

* parametersToKeyValue doesn't need to be async anymore

* Fix bodyParameter reduce method

* parametersToKeyValue doesn't need to be async anymore

* handle streaming responses

* send `Content-Length` and `Content-Type` on binary requests

* Add new helper function for binary data

* Add binary function to helpers interface

* Fix bug in error handler

* Fix issue with wrongfully assigned headers to body

* Fix test workflow

* Remove console.logs

* Remove unnecsessary type

* Remove concat dependency already imported in workflow package

* Update pnpm-lock file

* Small fixes, asyncronous error message

* reset the lockfile

* Remove buffer check and simplify error handling

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2023-03-09 15:38:54 +01:00
Jon e56fbfef3e
feat(Mindee Node): Add support for v4 API (#5559) 2023-03-09 10:06:03 +00:00
Jon 971d5ae8f5
feat(Microsoft SQL Node): Add support for self signed certificates (#5160) 2023-03-09 10:05:03 +00:00
Jon 89d25995c3
docs(Github Trigger Node): Add notice and more meaningful error around permissions (#5551) 2023-03-08 16:04:45 +00:00
Syed Ali Shahbaz 2889e53b37
feat(Cal Trigger Node): Update to support v2 webhooks (#5331) 2023-03-08 15:58:15 +00:00
कारतोफ्फेलस्क्रिप्ट™ 5eb0d52459
refactor: Unify binary-data assertion across all nodes (no-changelog) (#5624) 2023-03-06 17:33:32 +01:00
Jon 01a2160b3b
feat(Mattermost Node): Add self signed certificate support (#5630) 2023-03-06 16:27:49 +00:00
Jan Oberhauser 1c65bff31d
fix(OpenAI Node): Simplify code (#5618)
fix(OpenAI Node): Simplifiy code
2023-03-05 17:43:17 +01:00
कारतोफ्फेलस्क्रिप्ट™ 3c57062571
refactor: Fix some typos (no-changelog) (#5616) 2023-03-03 18:49:19 +01:00
कारतोफ्फेलस्क्रिप्ट™ 4e244937c9
refactor: catch doesn't need to have a param (no-changelog) (#5614) 2023-03-03 18:18:49 +01:00
agobrech 9420b0fdf8
feat(Slack Node): Move from Binary Buffer to Binary streaming (#5612)
 Add Binary streaming instead of binary buffering
2023-03-03 18:11:27 +01:00
Jon e949db3525
fix(OpenAI Node): Fix issue with expressions not working with chat complete (#5609) 2023-03-03 16:08:12 +00:00
Jon 4f5013ff53
fix: Show RabbitMQ node in nodes panel (#5598) 2023-03-02 14:35:13 +00:00
Jon 06c5ecbdf3
feat(OpenAI Node): Add support for ChatGPT (#5596) 2023-03-02 14:17:29 +00:00
agobrech f61d779667
feat(Jira Software Node): Support binary streaming for very large binary files (#5589)
Move from buffer to binary streaming
2023-03-01 18:14:07 +01:00
Jon f3c943ef81
feat(Telegram Node): Add Parse Mode to Send Document operation (#5554) 2023-03-01 14:47:09 +00:00
agobrech aa2beaa800
fix(Item Lists Node): Tweak item list summarize field naming (#5572)
* Remove brackets and double quotes from fieldname

* Fix bug with duplicate field

* Parse field names from splitbyfield

* Fix error with field name remove console.logs

* Add versioning to itemlist

* Fix naming

* Remove comment
2023-02-28 18:00:39 +01:00
Mutasem Aldmour d6d1c07a53
fix: Show Execute Workflow node in nodes panel (#5583)
* fix: Show Execute Workflow node in nodes panel

* chore: remove wrong comment
2023-02-28 17:51:33 +03:00
कारतोफ्फेलस्क्रिप्ट™ e3ef9f7c7b
ci: Update ReadBinaryFile Documentation URL (no-changelog) (#5581)
this is a follow up on https://github.com/n8n-io/n8n/pull/5490
2023-02-28 12:00:52 +01:00
Michael Kret bb4db58819
fix(core): Remove linting exceptions in nodes-base, @typescript-eslint/no-unsafe-argument (no-changelog) 2023-02-28 05:39:43 +02:00
Alex Grozav f0695827f5
feat: Migrate packages from lodash to lodash-es (no-changelog) (#5538) 2023-02-23 16:16:05 +01:00
Jonathan Bennetts f965469e13
fix(Google Calendar Node): Fix incorrect labels for start and end times when getting all events (#5529) 2023-02-23 08:34:41 +00:00
Jonathan Bennetts 3af3db160b
fix: fix typo in error messages when a property does not exist (#4310) 2023-02-23 08:33:43 +00:00
कारतोफ्फेलस्क्रिप्ट™ 1bff044252
refactor(WhatsApp Node): Avoid using BinaryDataManager directly from n8n-core (#5544) 2023-02-23 08:51:08 +01:00
Jan Oberhauser e251439333
fix(Discord Node): Fix wrong error message being displayed (#5547) 2023-02-22 15:54:52 +01:00
agobrech f1589d4f0f
feat: Add Required path name mapping to multiple nodes (#5369)
*  Add requiresDataPath to Set

* Add Data path mapping to rename keys

* Add required path name to airtable

* Add required data path

* Add required data path to airtable trigger

* Fix multiple keyword for required path

* ️use multiple for Airtable ignore fields

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-21 14:49:59 +01:00
Michael Kret 7ecd5e59ec
fix(Compare Datasets Node): UI tweaks and fixes 2023-02-21 15:42:00 +02:00
Michael Kret 5d74a2f89a
fix(Postgres Node): Fix for tables containing field named json 2023-02-21 14:16:18 +02:00
Jonathan Bennetts ee21b7a1cf
fix(Baserow Node): Fix issue with get all not correctly using filters (#5519) 2023-02-20 16:04:43 +00:00
Jonathan Bennetts 1c476770a7
fix(S3 Node): Fix issue with get many buckets not outputting data (#5514) 2023-02-20 15:54:59 +00:00
Jonathan Bennetts 11b467137e
feat: Deprecate Read Binary File node (#5490) 2023-02-20 15:03:30 +00:00
OlegIvaniv 9a1e7b52f7
feat(editor): Unify regular and trigger node creator panels (#5315)
* WIP: Merge TriggerHelperPanel with MainPanel

* WIP: Implement switching between views

* Remove logging

* WIP: Rework search

* Fix category toggling and search results display

* Fix node item description

* Sort actions based on the root view

* Adjust personalisation modal, make trigger canvas node round

* Linting fixes

* Fix filtering of API options

* Fix types and no result state

* Cleanup

* Linting fixes

* Adjust mode prop for node creator tracking

* Fix merging of core nodes and filtering of single placeholder actions

* Lint fixes

* Implement actions override, fix node creator view item spacing and increase click radius of trigger node icon

* Fix keyboard view navigation

* WIP: E2E Tests

* Address product review

* Minor fixes & cleanup

* Fix tests

* Some more test fixes

* Add specs to check actions and panels

* Update personalisation survey snapshot
2023-02-17 15:08:26 +01:00
Marcus 00ac4c308a
feat(Github Node): Use resource locator component (#5489)
️RLC for Repository Owner and Repository Name
2023-02-16 12:54:42 +01:00
feelgood-interface af703371fc
fix(HTTP Request Node): Ignore empty body for auto detect json (#5215) 2023-02-16 11:00:06 +00:00
Jonathan Bennetts 7954ed3cfb
feat(Slack Node): Add support for manually inputting a channel name (#5488) 2023-02-16 10:45:03 +00:00
Jonathan Bennetts 1a20fd9f46
fix(Bubble Node): Fix pagination issue when returning all objects (#5483) 2023-02-16 09:01:56 +00:00
Jonathan Bennetts 71cba06b7c
feat(Notion Node): Add icon support for page and database page creation (#5468) 2023-02-16 09:00:54 +00:00
Marcus a3d8fac73a
feat(Github Trigger Node): Use resource locator component (#5253)
* ️wip

* ️RLC Search Function for getUsers and getRepositories

* 🐛fix Repository RLC by name url

* 🐛 search method getRepositories include forks

* 🐛 fix repository name can have a dot

* 🐛 fix RLC extractValue without optional

* 🎨 fix linting errors

* 🎨 using prefix 'e.g.' in RLC placeholders

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-15 13:12:28 +01:00
कारतोफ्फेलस्क्रिप्ट™ b25c10a0e1
ci: Update the "Check Documentation URLs" workflow (no-changelog) (#5473)
* ci: Update the "Check Documentation URLs" workflow (no-changelog)

* fix the documentation url for HtmlExtract node
2023-02-14 13:00:15 +01:00
Marcus d266401ed8
test(Read PDF Node): Unit tests (no-changelog) (#5453)
 add ReadPDF node test

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-10 16:26:26 +01:00
Marcus 9698c7e7ea
test(Move Binary Data Node): Unit tests (no-changelog) (#5442)
*  add Move Binary Data test

*  improve Move Binary Data Test -

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-10 15:33:32 +01:00
Michael Kret 40879f67cb
test(iCalendar Node): Unit tests (no-changelog) 2023-02-10 12:55:07 +02:00
Michael Kret 649c7ccfb1
test(Markdown Node): Unit tests (no-changelog) 2023-02-10 12:30:37 +02:00
Michael Kret b641a3e36d
test(Compare Datasets Node): Unit tests (no-changelog) 2023-02-10 11:57:54 +02:00
Marcus 5b1e3a3fd3
test(Write Binary File Node): Unit tests (no-changelog) (#5440)
*  add write binary file test

* 🎨 cleanup

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-10 09:53:20 +01:00
Jonathan Bennetts 57a2b9cceb
fix(Linear Node): Fix issue with Issue States not loading correctly (#5435) 2023-02-09 15:58:52 +00:00
Michael Kret 32de081b0c
test(Compression Node): Unit tests (no-changelog) 2023-02-09 17:13:39 +02:00
Marcus e01192e7af
test(Read Binary File Node): Unit tests (no-changelog) (#5436)
 add Read Binary Data node unit test

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-09 15:31:10 +01:00
Michael Kret 1ea1935b9a
test(RSS Read Node): Unit tests (no-changelog) 2023-02-09 16:13:23 +02:00
agobrech 40f4ec75fa
test(Date & Time Node): Unit tests (no-changelog) (#5415)
*  Add tests to DateTime node

* Test different timezone

* Try new fix

* Fix workflow change time of workflow exec in UTC

* Check if UTC is correctly setup

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-09 14:54:24 +01:00
Marcus 3e2d76ec79
test(Code Node): Unit tests (no-changelog) (#5373)
*  test setup

* ️basic test with run once for all and each items

* 🎨 fix linting error

* ️update to new Helper.setup(tests)

*  migrate tests to pin data approach
2023-02-09 13:56:39 +01:00
agobrech d4d55b0684
test(Crypto Node): Unit tests (no-changelog) (#5433)
* Add test to Crypto Node

*  added test to generate random uuid

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-09 13:03:53 +01:00
agobrech 43abe225a0
test(Rename Keys Node): Unit tests (no-changelog) (#5428)
Add test for Rename Keys node
2023-02-09 12:26:51 +01:00
Michael Kret 9024e4dcc7
test(Stop and Error Node): Unit tests (no-changelog) 2023-02-09 12:29:02 +02:00
Michael Kret 2150ea0e79
test(HTTP Request Node): Unit tests (no-changelog) 2023-02-09 12:25:26 +02:00
Michael Kret b5948cbe13
test(XML Node): Unit tests (no-changelog) 2023-02-09 12:23:25 +02:00
Marcus 74fc1414d7
test(Spreadsheet File Node): Unit tests (no-changelog) (#5385)
* ️test setup

* ️fix  'testData' implicitly has an 'any' type.

*  test github action file binary data reading

*  checking for output binary equality

*  writing files to different formats

*  reading spreadsheet with different options

* ️improve workflow file path replacement

* 🐛 fixing string.at() not supported in node 14.

* 🐛 trying to fix github action test error

*  fix for empty binary

*  switch for binary test

* ️test helpers now return/compare json and binary (if not empty))

*  removed commented console log

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-09 09:00:29 +01:00
कारतोफ्फेलस्क्रिप्ट™ 94f2b2a26f
feat(Edit Image Node): Allow WebP as an image format (#5420) 2023-02-08 23:08:50 +01:00
Marcus 1f924e3c3d
test(Set Node): Add tests for Set Node (no-changelog) (#5409)
* ️move test files

*  set node test workflow

---------

Co-authored-by: Michael Kret <michael.k@radency.com>
2023-02-08 18:04:11 +01:00
Marcus 269691aa1b
test(IF Node): Unit tests (no-changelog) (#5404)
* ️move test files

* ️IF boolean tests

* ️IF string tests

*  IF number tests

*  IF date-time tests

* 🎨 update Test name to make more sense
2023-02-08 15:20:17 +01:00
Giulio Andreini 389e4af4d9
docs(Spreadsheet File Node): Update descriptions and Alias (no-changelog) (#5357) 2023-02-08 12:39:07 +00:00
Kirill 333a817a8e
fix(ActiveCampaign Node): Fix additional fields not being sent when updating account contacts (#5216) 2023-02-08 12:37:15 +00:00
Bram Kn aeaa663620
feat(HubSpot Trigger Node): Add conversation events (#5408) 2023-02-08 12:36:05 +00:00
Giulio Andreini b16d9d0f8c
docs(Google Sheets Node): Description updates for fields (no-changelog) (#5277) 2023-02-08 12:33:57 +00:00
Jonathan Bennetts ce732b42c8
test(Execute Command Node): Unit tests (no-changelog) (#5374) 2023-02-08 12:17:02 +00:00
Jonathan Bennetts e82bc50fd1
test(Switch Node): Add test for switch node (no-changelog) (#5378) 2023-02-08 12:16:17 +00:00
Jonathan Bennetts f44b4b1314
test(Split In Batches Node): Add test for Split in Batches node (no-changelog) (#5381) 2023-02-08 12:15:36 +00:00
Michael Kret 4d87711ace
test(Merge Node): Unit tests (no-changelog) 2023-02-07 19:32:25 +02:00
Michael Kret 26b69b5ffc
test(Item Lists Node): Unit tests (no-changelog) 2023-02-07 11:27:37 +02:00
agobrech 4df69428f1
feat(Slack Node): Revamp the node with more functionalities in a new version (#4587)
* 🔥 Remove useless tooltips

* Slack change additional fields to Options in node

* 🥅 Add error handeling for out of Scope request

* ♻️ Refactor channel visibility

* ♻️ refactor user ressource

* Update user profile

* 🔥 remove JSON parameter

* 🔥 remove attchmant json and block json

* 🎨 refactors message post

* 🎨 refactor ts property into timestamps

* 🎨 change action name for messages

*  add new operation to message ressouce

*  add search backend logic + channel RLC

* 🎨 improve timestamp description and plaecholder

* 🎨 change timestamp disaplay name

*  add RLC for channels

*  add versioning

* 🐛 Fix imports for versioning

*  Add RLC for users when sending messages

*  RLC for user presence

*  Add json builder for slack blocks

* 🐛 Fix option in search query

* Add loadoption for search in channels

* Fix indentation issue

*  Add more scopes to Oauth2

* 🐛 Fix lint issue

* 🐛 oauth fix

*  Merge user and user profile

*  Improve reactions and star resource

* ️Merges ephemeral operation into one

* ️Merge image and emoji in profile picture

* 🐛Fix bug for replying to messages

* ️Add username type to User Rlc

* 🐛 Fix typo

* 🎨 Improves tooltip and naming for ephemeral messages

* 🎨 Improve display name and description

* ️Add the ability to delete within username channel

* 🎨 Add informations on how to use the emojis and add doc

* 🎨 Fix typos and improve display names

*  Improve FE validation for timestamp

* 🎨 Change block description

* 🚨 Fix linting

* 🚨 More lint fixes

* 🐛 Fix timestamps bug

* 🐛 Fix timestamp not showing up

* 🐛 More small fixes

* 🐛 Fix logic error

* Add searchable to slack rlc channels and users

* Fix lint rules

* ️Message Search -> fix limit request using qs count

* ️Message Search -> sort by relevance use qs score

* Fix messages by username rlc

* 🐛 fix messages search all operation

* Add error when using username with ephemeral message

* 🎨 fix linting errors

* 🎨 send message ephemeral error message improvement

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-03 17:04:37 +01:00
Iván Ovejero 8b09e98654
feat(editor): Adjust HTML editor component for use in params (#5285)
*  Adjust HTML editor component

* ♻️ Apply feedback

* ♻️ Apply feedback

* 🔥 Remove unused ndv store refs
2023-02-02 14:00:16 +01:00
Paras Daryanani 3b5e1d127f
fix(Invoice Ninja Node): Fix line items not being correctly set for quotes and invoices (#5304) 2023-02-02 12:26:56 +00:00
Ashish Ahuja 04c058a34e
feat(OpenAI Node): Add frequency-penalty and presence-penalty (#5137) 2023-02-02 12:18:11 +00:00
Iván Ovejero 0f228a60ba
refactor(Code Node): Remove disallowed syntax checks (#5332)
🔥 Remove disallowed syntax checks in Code node
2023-02-02 10:11:36 +01:00
Jonathan Bennetts f9ecc34b10
fix(Linear Node): Fix pagination issue for get all issues (#5324) 2023-02-02 08:32:35 +00:00
कारतोफ्फेलस्क्रिप्ट™ 8f5f1c3aa5
fix(Mailchimp Trigger Node): Fix webhook recreation (#5328) 2023-02-02 01:00:24 +01:00
agobrech 78bbe2ba27
fix(Schedule Trigger Node): Change scheduler behaviour for intervals days and hours (#5133)
* 🐛Fix scheduler for intervals days and week

* ♻️ Simplify and move recurrency rules outside trigger node

* Remove async and promise from recurency rule

* Update correctly the Static data when using recurrency Rule

* Fix logic when recurrency is activated

* 🎨 Remove useless staticData fix(passed by reference)

* 🐛 remove duplicted hour cronJob leading to 2 executions

* More fixes, handles multiple execution

* 🐛 fixing dayOfYear recurency check

* 🐛 fix recurency check for hours/days should not equal lastExecution

* Add month interval to the scheduler

* Fix flawed logic for comparing interval

* 🚨 Fix lint issue type

---------

Co-authored-by: Marcus <marcus@n8n.io>
2023-02-01 22:53:05 +01:00