Elias Meire
100d9bc087
refactor: Add IRequestOptions type to helpers.request for more type safety (no-changelog) ( #8563 )
...
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2024-02-14 16:29:09 +01:00
कारतोफ्फेलस्क्रिप्ट™
7a4e9ef5fa
refactor: Remove n8n-core dependency in nodes-base (no-changelog) ( #5649 )
2023-03-09 18:13:15 +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
Iván Ovejero
b03e358a12
refactor: Integrate consistent-type-imports
in nodes-base (no-changelog) ( #5267 )
...
* 👕 Enable `consistent-type-imports` for nodes-base
* 👕 Apply to nodes-base
* ⏪ Undo unrelated changes
* 🚚 Move to `.eslintrc.js` in nodes-base
* ⏪ Revert "Enable `consistent-type-imports` for nodes-base"
This reverts commit 529ad72b05
.
* 👕 Fix severity
2023-01-27 12:22:44 +01:00
Iván Ovejero
cfd32d2642
refactor: Phase out TSLint in nodes-base
(no-changelog) ( #4798 )
...
* 🔥 Remove TSLint scripts
* 🔥 Remove TSLint config
* 🔥 Remove TSLint exceptions
* 👕 Adjust lint config
* ✏️ Add story numbers
2022-12-02 15:25:21 +01:00
Jonathan Bennetts
c28f69b276
fix(awsLambda Node): fix json data being sent to AWS Lambda as string ( #4029 )
...
Fix AWS lamba by not sending json as string
2022-09-06 10:01:48 +02:00
agobrech
5285fc1de6
N8N-4134 Add AWS cred testing and http custom calls with credentials ( #3924 )
...
* ✨ Add Aws testing and http custom api
2022-08-23 19:02:32 +02:00
Michael Kret
0ecbb4a19d
refactor: Format nodes-base
package (A-F) ( #3800 )
...
* 🔨 prettier formated nodes - A
* 🔨 prettier formated nodes - B
* ⚡ prettier formated nodes - C
* ⚡ prettier formated nodes - D
* ⚡ prettier formated nodes - E-F
* 🎨 Adjust nodes-base formatting command (#3805 )
* Format additional files in nodes A-F (#3811 )
* ⚡ fixes
* 🎨 Add Mindee to ignored dirs
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-08-01 22:47:55 +02:00
Basit Ali
ce79e6b74f
feat(All AWS Nodes): Enable support for AWS temporary credentials ( #2587 )
...
* Enable support for AWS temporary credentials
* 🔨 removed toggle from ui added sessionToken to other aws services that using sign function from aws4 module
* Update sign method for other AWS nodes
* Remove the unneeded additional `temporaryCredentials` checkbox
* Update description for session token
* ⚡ added missing session token to credentials test
* Update sign method for DynamoDB
* 🔨 added back toggle for hiding session token, fixed linter errors
* ⚡ wording fix
Co-authored-by: Michael Kret <michael.k@radency.com>
2022-04-22 16:33:09 +02:00
Omar Ajoue
d3fecb9f6d
🎨 Centralize error throwing for encryption keys and credentials ( #3105 )
...
* Centralized error throwing for encryption key
* Unifying the error message used by cli and core packages
* Improvements to error messages to make it more DRY
* Removed unnecessary throw
* Throwing error when credential does not exist to simplify node behavior (#3112 )
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-04-15 08:00:47 +02:00
Jan Oberhauser
1e34aca8bd
⚡ Fix build issue
2021-10-12 22:20:51 -05:00
Omar Ajoue
7ce7285f7a
⚡ Load credentials from the database ( #1741 )
...
* Changes to types so that credentials can be always loaded from DB
This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.
This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.
* Fix updated files
* Removed unnecessary credential loading to improve performance
* Fix typo
* ⚡ Fix issue
* Updated new nodes to load credentials async
* ⚡ Remove not needed comment
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:57:30 +02:00
Iván Ovejero
1d27a9e87e
✨ Improve node error handling ( #1309 )
...
* Add path mapping and response error interfaces
* Add error handling and throwing functionality
* Refactor error handling into a single function
* Re-implement error handling in Hacker News node
* Fix linting details
* Re-implement error handling in Spotify node
* Re-implement error handling in G Suite Admin node
* 🚧 create basic setup NodeError
* 🚧 add httpCodes
* 🚧 add path priolist
* 🚧 handle statusCode in error, adjust interfaces
* 🚧 fixing type issues w/Ivan
* 🚧 add error exploration
* 👔 fix linter issues
* 🔧 improve object check
* 🚧 remove path passing from NodeApiError
* 🚧 add multi error + refactor findProperty method
* 👔 allow any
* 🔧 handle multi error message callback
* ⚡ change return type of callback
* ⚡ add customCallback to MultiError
* 🚧 refactor to use INode
* 🔨 handle arrays, continue search after first null property found
* 🚫 refactor method access
* 🚧 setup NodeErrorView
* ⚡ change timestamp to Date.now
* 📚 Add documentation for methods and constants
* 🚧 change message setting
* 🚚 move NodeErrors to workflow
* ✨ add new ErrorView for Nodes
* 🎨 improve error notification
* 🎨 refactor interfaces
* ⚡ add WorkflowOperationError, refactor error throwing
* 👕 fix linter issues
* 🎨 rename param
* 🐛 fix handling normal errors
* ⚡ add usage of NodeApiError
* 🎨 fix throw new error instead of constructor
* 🎨 remove unnecessary code/comments
* 🎨 adjusted spacing + updated status messages
* 🎨 fix tab indentation
* ✨ Replace current errors with custom errors (#1576 )
* ⚡ Introduce NodeApiError in catch blocks
* ⚡ Introduce NodeOperationError in nodes
* ⚡ Add missing errors and remove incompatible
* ⚡ Fix NodeOperationError in incompatible nodes
* 🔧 Adjust error handling in missed nodes
PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes
* 🔨 Adjust Strava Trigger node error handling
* 🔨 Adjust AWS nodes error handling
* 🔨 Remove duplicate instantiation of NodeApiError
* 🐛 fix strava trigger node error handling
* Add XML parsing to NodeApiError constructor (#1633 )
* 🐛 Remove type annotation from catch variable
* ✨ Add XML parsing to NodeApiError
* ⚡ Simplify error handling in Rekognition node
* ⚡ Pass in XML flag in generic functions
* 🔥 Remove try/catch wrappers at call sites
* 🔨 Refactor setting description from XML
* 🔨 Refactor let to const in resource loaders
* ⚡ Find property in parsed XML
* ⚡ Change let to const
* 🔥 Remove unneeded try/catch block
* 👕 Fix linting issues
* 🐛 Fix errors from merge conflict resolution
* ⚡ Add custom errors to latest contributions
* 👕 Fix linting issues
* ⚡ Refactor MongoDB helpers for custom errors
* 🐛 Correct custom error type
* ⚡ Apply feedback to A nodes
* ⚡ Apply feedback to missed A node
* ⚡ Apply feedback to B-D nodes
* ⚡ Apply feedback to E-F nodes
* ⚡ Apply feedback to G nodes
* ⚡ Apply feedback to H-L nodes
* ⚡ Apply feedback to M nodes
* ⚡ Apply feedback to P nodes
* ⚡ Apply feedback to R nodes
* ⚡ Apply feedback to S nodes
* ⚡ Apply feedback to T nodes
* ⚡ Apply feedback to V-Z nodes
* ⚡ Add HTTP code to iterable node error
* 🔨 Standardize e as error
* 🔨 Standardize err as error
* ⚡ Fix error handling for non-standard nodes
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-16 18:33:36 +02:00
Mutasem Aldmour
99bb6e40c1
✨ Add AWS SQS node ( #1530 )
...
* implement sqs node to send message
* remove console logs
* update node to use url as value
* add message attributes
* tslint --fix
* fix comment
* address comments, fix subtitle bug, fix style issues
* add comma
* update pathname handling
* fix spacing
* fix queue loading for no queues and more than 1
* change logo to svg, support sending input as json
* add binary data property support
* fix node read to depend on item
* 🎨 Fix SVG size to prevent cropping
* ⚡ Ajust imports and display names per codebase
* ✏️ Edit parameter descriptions
* address comments
* tslint fixes
* update subtitle to operation
* update fifo handling
* ⚡ Improvements
* ⚡ Minor fix
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-02 19:48:22 +02:00
Omar Ajoue
5a6b191688
🐛 Fix AWS lambda and SNS problem with signature ( #1361 )
2021-01-20 12:23:32 +01:00
Jan Oberhauser
785b0e385e
👕 Fix lint issue
2021-01-13 20:20:30 +01:00
Jan
1501175b81
✨ Add support for custom AWS endpoints ( #1312 )
...
* Setup custom endpoints properties in AWS credentials type
* Update AWS nodes to use new endpoints (if specified)
* Fix a few error scenarios cases where message was being obscured
* Extend usage of URL API to validate user inputted endpoints
https://nodejs.org/docs/latest-v12.x/api/url.html
* Add support to custom endpoints for SES
Forgot to add this in my earlier commits…
* Fix incorrect Amazon SES endpoint placeholder value
* Fixed signing problems with path being ignored. Standardized to avoid future problems
* Linting fix
* ⚡ Make parameters optinal (wip)
* Make sure that we fallback to correct URL without errors if custom endpoints are not used
Co-authored-by: Luis Ramos <luis@ramos.dev>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-01-07 14:16:52 +01:00
Jan Oberhauser
0f998d52b8
⚡ Remove console.log
2020-10-11 18:35:56 +02:00
Ricardo Espinoza
214b2d19ac
⚡ Improvements on AWS SES Node ( #1029 )
...
* ⚡ Improvements
* ⚡ Remove unnecessary change
2020-10-11 18:34:05 +02:00
Denis Palashevskii
de50e2479d
Trim whitespaces in the AWS credentials in other nodes
2020-09-02 00:41:51 +04:00
shraddha shaligram
7d625572c1
add basic customer.io trigger
2020-06-30 13:35:31 -07:00
Jan Oberhauser
fa8c7787a0
⚡ Fix an issue with S3-Node
2020-04-20 20:44:22 +02:00
ricardo
611c79204c
✨ AWS S3 Integration
2020-04-15 18:42:43 -04:00
Jan Oberhauser
3fe236b9e6
🐛 Fix SNS-Trigger-Node
2020-02-09 18:27:06 -08:00
Ricardo Espinoza
ea5f84d5e1
✨ AWS SNS trigger
2020-02-08 17:19:00 -05:00
Jan Oberhauser
224a51fa56
⚡ Small improvements to AWS-SES-Node
2020-02-07 14:56:48 -08:00
Ricardo Espinoza
03c1b0542d
✨ SES node.
2020-02-07 16:40:32 -05:00
Jan Oberhauser
c02bf0a7cf
👕 Fix lint issues and some small bugs
2019-10-16 11:19:25 +02:00
Matheus Cansian
0fcbe409b6
Remove aws-sdk dependency
2019-10-15 14:21:48 -03:00
Matheus Cansian
39c0b08d9d
Remove aws-sdk dependency from AWS Lambda node
2019-10-05 17:17:23 -03:00
Matheus Cansian
edb81ef259
Improve code readability Aws node
2019-10-05 10:28:23 -03:00