Commit graph

1762 commits

Author SHA1 Message Date
Ricardo Espinoza fbb97cb90f
Add Webflow Node (#1628)
*  Webflow Node

* 📚 Add endpoint documentation URLs

*  Simplify field name/type separator

*  Simplify API call function signature

*  Reposition query string object

* ✏️ Edit parameter descriptions

*  Improvements

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-17 09:25:51 +02:00
Harshil Agrawal 78936fd1dc
Add and update codex files (#1665) 2021-04-16 19:03:44 +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
Ricardo Espinoza 1a0e129921
Add OAuth2 support to Monday.com node (#1642) 2021-04-16 00:35:39 +02:00
Jan Oberhauser d87d497371 Minor formatting improvements 2021-04-16 00:27:49 +02:00
MedAliMarz dfdb797b31
Add get/getAll/update/delete:Release to Gitlab node (#1629) 2021-04-16 00:27:12 +02:00
Ahsan Virani b54aae8c31
⬆️ Update types/node package in all packages (#1659)
* ⬆️ Update types/node package in all packages, fix type in crypto node

*  Fix build issue and some formatting

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-15 23:57:20 +02:00
Allan Daemon ca4c3fa980
add RabbitMQ AMPQS support (#1598)
* WIP fixes #1596 (RabbitMQ AMPQS support)

*  fix display options

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-04-15 16:20:56 +02:00
ahsan-virani d59e6d1c4b 👕 Fix lint issue 2021-04-14 14:04:59 +02:00
Allan Daemon 10ba842610
close mongo connection on close (#1597)
Fix #1595
2021-04-14 14:02:51 +02:00
Cassiano Vailati 41088fcd9e
Add SSL support to MySQL.credentials and MySQL.node (#1644)
* added SSL support to MySQL.credentials and MySQL.node

*  hide certificate field data, change CA name

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-04-14 13:43:12 +02:00
Anton Romanov 315d3b59f5
Add limit, skip, sort, upsert in MongoDB node (#1439)
* mongodb find command improvements: limit, skip, sort

* mongodb update command improvement: upsert

*  improve mongo node

* 🎨 add missing semicolons

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-04-14 13:41:56 +02:00
Allan Daemon f4916c7efb
️ Close RabbitMQ connections left open after use (#1594) 2021-04-13 18:27:25 +02:00
entrailz dd445dafaa
Add INSERT modifiers support in mySQL node (#1423)
* Update MySql.node.ts

Allow for insert ignore - useful if you are wanting to insert data into an already established table with unique ids.

*  Improve ignore errors change in mysql node

*  move modifiers into separate options block

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
2021-04-13 18:24:30 +02:00
Harshil Agrawal a503c0e86b
Add new codex files and fix previous files (#1608)
*  Add new codex files and fixed previous files

* 🔨 Minor fix

* 🔨 Minor fix
2021-04-10 10:18:10 +02:00
Ricardo Espinoza 8113693e97
Add missing fields to folder:list response (#1626) 2021-04-10 08:21:03 +02:00
Ricardo Espinoza 5460b248ee
🐛 Fix issue loading issue types with classic projects (#1627)
* 🐛 Fix issue loading issue types with classic projects

*  Minor improvements on Jira-Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-10 08:05:21 +02:00
Jan Oberhauser b6e89df660 Minor improvement on GitHub node 2021-04-10 07:54:27 +02:00
MedAliMarz 62959ec017
Add release operations on GitHub Node (#1617)
* Add get/getAll:release to Github node

* Add delete:release to Github node

* Add update:release to Github node

* Lint fixe
2021-04-10 07:54:05 +02:00
Jan Oberhauser 3c48b06884 🐛 Fix issue that RabbitMQ Trigger node did reuse same item 2021-04-08 23:34:10 +02:00
Jan Oberhauser 06407a9afe 👕 Fix lint issue 2021-04-07 16:06:57 +02:00
Loran f74ddb5221
🐛 Fix SendGrid dynamic field generation (#1631) 2021-04-07 15:43:11 +02:00
Jan Oberhauser 9560dd6ce2 👕 Fix lint issue 2021-04-05 12:34:52 +02:00
Iván Ovejero 4605228d13
Add Google Slides node (#1599)
*  Add Google Slides node

* 🔨 Minor fixes

* 🔨 Refactor Google Slides node

*  Improvements

*  Add download option and fix multi items on Google Slides

Co-authored-by: Tanay Pant <tanaypant@protonmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-05 12:29:26 +02:00
Mika Luhta 1d10cc6f25
Fetch observable data types from TheHive (#1291) 2021-04-05 10:52:56 +02:00
Jan Oberhauser 012818b804 👕 Fix lint issue 2021-04-04 10:49:25 +02:00
Jan Oberhauser 55c67d8a20 Minor improvements to RabbitMQ headers 2021-04-04 10:33:53 +02:00
s 51f066cbcd
Add RabbitMQ Header parameter (#1622)
* Add RabbitMQ Exchange's Header parameter

* code refactoring

* remove log
2021-04-04 10:33:22 +02:00
Harshil Agrawal bf5ed9d8cf
Update description for file path and folder (#1282) 2021-04-03 16:59:07 +02:00
Omar Ajoue f225bbbb84
Add type casting to postgres queries (#1600)
* 538 add support for casting types in postgres

* Add typing to postgres insert nodes and removed unnecessary field from crate db

* Added placeholder and description for types in postgres

* Adding tests to insert and changes suggested by Ben

*  Minor improvement

Co-authored-by: mutdmour <mutdmour@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-03 16:53:47 +02:00
Iván Ovejero 3b00c96643
Add ERPNext node (#1604)
* 🚧 Integrated with access token

OAuth2 still needs work

* 🚧 Removed OAuth2 for now

*  Improvements

*  Improvements

*  Refactor ERPNext node

* 🔥 Remove PNG icon

* 🔥 Remove leftover comments

* 🔨 Catch unavailable resource error

*  Reposition docType for filters

*  Improvements

*  Cleanup

Co-authored-by: Rupenieks <ronaldsupenieks96@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-03 11:07:21 +02:00
Ricardo Espinoza 12838f26e3
Add Sheet -> create/remove to GoogleSheets node(#1620)
* Add operation 'addSheet' to GoogleSheets node

* lint fixes

*  Improvements

*  Move operations to "Sheet"

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-03 10:04:22 +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
Iván Ovejero dd6d523b85
Add Copper node (#1571)
* 🎉 Register regular node

* 🎨 Replace PNG with SVG icon

*  Add Copper regular node

*  Add user and customer sources

* 👕 Appease linter

*  Handle listings in getAll operations

*  Implement continueOnFail

*  Simplify pagination

* 🔨 Fix fields adjustments for person

* zap: Improvements

*  Minor fixes

*  Fix Lead Email update & Minor improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-02 19:12:19 +02:00
Tanay Pant 45c0d6598f
Add Oura node (#1609)
*  Add Oura node

* 🔨 Make it work

*  Improvements

*  Improvements

* 🎨 Fix SVG size and position

*  Fix parameter error & other improvements

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 18:29:20 +02:00
Jan Oberhauser bbf875cd08 👕 Fix lint issue 2021-04-02 18:18:43 +02:00
Agata M 499fa48784
Google Drive: Add support for creating folders & copying files for shared drives (#1436)
* Google Drive: Add support for creating folders for shared drives

* Google Drive: set supportAllDrives parameter to true

* fix(GoogleDrive): added supportAllDrives parameter for copy files
2021-04-02 18:14:39 +02:00
Jan Oberhauser b406d4b60b Fix display issue with AccountID before Operation & other small fixes 2021-04-02 18:10:22 +02:00
Ricardo Espinoza 7995bd610d
Add Harvest update task operations (#1603)
* Add create/update task in Harvest node

*  Small improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
2021-04-02 17:56:45 +02:00
Craig McElroy aab6946e9e
🐛 Salesforce Get All : Handle string and array options.fields (#1590) 2021-04-02 17:46:33 +02:00
Jan Oberhauser c89cef163c 👕 Fix lint issue 2021-04-02 15:37:10 +02:00
Ricardo Espinoza 0cfcd1170f
Add reporter field to resource issue (Jira) (#1592) 2021-04-02 15:31:25 +02:00
Ricardo Espinoza 9865dcdb0a
🐛 Fix issue with Cortex Node (#1606)
Cortex node it's iterating over all items, but it's not accumulating the results. Hence just the last item is returned.
2021-04-02 15:26:33 +02:00
Jan Oberhauser 3b620f8da1 🐛 Fix InvoiceNinja Trigger icon 2021-04-02 14:37:13 +02:00
Ricardo Espinoza 7ce2de0e7c
🐛 Fix issue sending the parameter project incorrectly (Invoiceninja) (#1619)
When creating a task, the project parameter was being send 'project' but it must be 'project_id'
2021-04-02 14:31:44 +02:00
Jan Oberhauser ee0d6f8d9a 👕 Fix lint issue 2021-04-02 14:17:34 +02:00
Jan Oberhauser ca50194d71 Cleanup & Fix lint issues 2021-03-29 11:20:10 +02:00
Jan Oberhauser e48f555f07 🔀 Merge branch 'Remove-executeSingle' of https://github.com/MedAliMarz/n8n into MedAliMarz-Remove-executeSingle 2021-03-29 11:11:03 +02:00
Iván Ovejero 2ee5853bd0
🐛 Fix update:group in Bitwarden node (#1580)
*  Fix default args for update:group

*  Add external IDs to resource loader
2021-03-29 10:06:07 +02:00
Allan Daemon 33c70153c8
🐛 Close Redis connection (#1586)
Do like in the info command, and after the execution of the other commands, close the connection, otherwise it will kept open and cause a connection and memory leak.

Also, as to close in case of error, just in case.
2021-03-26 19:02:08 +01:00