Commit graph

3459 commits

Author SHA1 Message Date
Iván Ovejero a0f42708d4
Add calculate functionality to DateTime Node (#1589)
*  DateTime node improvements

* 🔨 Fix parsing format in date calculation

*  Small improvements

* ✏️ Rename params and add tooltips

* 🔨 Reorder params

*  Set default values

*  Set defaults and use same parameter name

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-17 10:34:48 +02:00
MedAliMarz 415928db3c
Add delete:Folder to Microsoft Drive node (#1636) 2021-04-17 10:18:29 +02:00
Ricardo Espinoza fbc11080c7
🐛 Fix issue loading custom fields on Salesforce Node (#1654) 2021-04-17 10:11:18 +02:00
Iván Ovejero db5bf69fd3
🐛 Fix AWS SQS API version and casing (#1630)
* 🔧 Add API version and adjust casing

* 🔨 Refactor query string params into array

* 🔨 Add API version to resource loader

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-17 09:59:11 +02:00
Ahsan Virani 38ee8f5557
🐛 Fix rabbitMQ AMPQS Support PR 1598 (#1670) 2021-04-17 09:27:28 +02:00
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
Jan Oberhauser 97999f9490 ⬆️ Set n8n-core@0.67.0 and n8n-workflow@0.55.0 on node-dev 2021-04-16 19:02:01 +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
Jan Oberhauser a8ab77b8e0 ⬆️ Set tslib@1.13.0 on cli 2021-04-16 00:05:23 +02:00
Jan Oberhauser fc299f136f ⬆️ Set mysql2@2.2.0 n8n & nodes-base 2021-04-16 00:01:45 +02:00
Ahsan Virani 242bbb8654
⬆️ Upgrade nodemailer, mailparser & redis (#1655)
* ⬆️ Upgrade redis npm package

* ⬆️ Upgrade nodemailer npm package

* ⬆️ Upgrade mailparser npm package
2021-04-15 23:59:00 +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
LongYinan 8ed1099795
Use faster bcrypt implementation (#1593) 2021-04-13 18:26: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
Jan Oberhauser 8f3bc32555 🐛 Fix bug with expression in production webhook paths 2021-04-11 15:45:17 +02:00
Jan Oberhauser 7a99f4256f 🔖 Release n8n@0.115.0 2021-04-10 08:47:20 +00:00
Jan Oberhauser 00b5e5e68f ⬆️ Set n8n-editor-ui@0.85.0 and n8n-nodes-base@0.112.0 on n8n 2021-04-10 08:47:20 +00:00
Jan Oberhauser 64796d4c1c 🔖 Release n8n-editor-ui@0.85.0 2021-04-10 08:46:19 +00:00
Jan Oberhauser b9070c12d0 🔖 Release n8n-nodes-base@0.112.0 2021-04-10 08:45:17 +00: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
Mutasem Aldmour 75dd058ce2
Add support to dynamically add menu items
* add menu items POC

* remove sidebar hook

* use getters

* update menu to add items

* add home icon for CLD-202

* center icon

* address comments

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-09 22:44:53 +02:00
Jan Oberhauser 2273a4cff2 Make max payload size configurable #1447 2021-04-09 12:13:42 +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 cf73387214 🐛 Do now allow to edit JavaScript code in read-only mode 2021-04-04 18:03:41 +02:00
Jan Oberhauser 001c6b7cc9 🐛 Fix bug that expressions could not be displayed in read-only mode 2021-04-04 17:58:25 +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
Jan Oberhauser 0c8afbb3cb 🔖 Release n8n@0.114.0 2021-04-03 15:10:41 +00:00
Jan Oberhauser 039b5a6afd ⬆️ Set n8n-core@0.67.0, n8n-editor-ui@0.84.0 and n8n-nodes-base@0.111.0 on n8n 2021-04-03 15:10:41 +00:00
Jan Oberhauser 83cc2eef16 🔖 Release n8n-editor-ui@0.84.0 2021-04-03 15:09:58 +00:00
Jan Oberhauser 4ef927e377 🔖 Release n8n-nodes-base@0.111.0 2021-04-03 15:08:47 +00:00
Jan Oberhauser 7dc0f53b60 ⬆️ Set n8n-core@0.67.0 on n8n-nodes-base 2021-04-03 15:08:47 +00:00
Jan Oberhauser 5e2aa023fc 🔖 Release n8n-core@0.67.0 2021-04-03 15:08:33 +00: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
Tanay Pant fac0876f95
Add breaking change for 0.113.0 2021-03-26 09:36:39 +01:00
Jan Oberhauser f8a829b2dd Clean up package.json files 2021-03-26 09:21:27 +01:00
Jan Oberhauser 91fbd01eae 🔖 Release n8n@0.113.0 2021-03-26 08:12:50 +00:00
Jan Oberhauser 06c34e283d ⬆️ Set n8n-core@0.66.0, n8n-editor-ui@0.83.0, n8n-nodes-base@0.110.0 and n8n-workflow@0.55.0 on n8n 2021-03-26 08:12:50 +00:00
Jan Oberhauser 5b4a85d8e8 🔖 Release n8n-editor-ui@0.83.0 2021-03-26 08:11:46 +00:00
Jan Oberhauser bd378fa2bb ⬆️ Set n8n-workflow@0.55.0 on n8n-editor-ui 2021-03-26 08:11:46 +00:00
Jan Oberhauser 172104ab35 🔖 Release n8n-nodes-base@0.110.0 2021-03-26 08:10:54 +00:00
Jan Oberhauser 317e88363e ⬆️ Set n8n-core@0.66.0 and n8n-workflow@0.55.0 on n8n-nodes-base 2021-03-26 08:10:54 +00:00
Jan Oberhauser a301c0d68b 🔖 Release n8n-core@0.66.0 2021-03-26 08:10:44 +00:00
Jan Oberhauser 571f815bf6 ⬆️ Set n8n-workflow@0.55.0 on n8n-core 2021-03-26 08:10:44 +00:00
Jan Oberhauser 000226acfe 🔖 Release n8n-workflow@0.55.0 2021-03-26 08:10:33 +00:00
Jan Oberhauser 4276150ac1 Fix indentation in all package.json files 2021-03-26 09:06:26 +01:00
Iván Ovejero b60b66d006
Add mail-send operation to SendGrid node (#1526)
*  Add mail description

*  Add mail:send functionality

* 🔨 Refactor sandbox into additional options

* 🔨 Refactor MIME type as options

*  Implement send_at functionality

*  Add headers to additional options

*  Implement attachments

* 🔥 Remove logging

*  Improvements

*  Fix default operation

* 🔨 Fix HTML option

* 🔨 Fix subject in dynamic template email

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-03-26 08:48:52 +01:00
Jan Oberhauser d8883fbefe Some improvements 2021-03-25 23:45:16 +01:00
Jan Oberhauser 0ba526dd67 🔀 Merge branch 'uProc_integration' of https://github.com/mcolomer/n8n into mcolomer-uProc_integration 2021-03-25 23:38:56 +01:00
Ricardo Espinoza be02fc8752
🐛 Fix issue with Dropbox App Folder type apps. (#1569)
#1542
2021-03-25 23:25:05 +01:00
Miquel Colomer 88c8af73a5 + fix escaping single quotes 2021-03-25 17:50:12 +01:00
Jan Oberhauser 0f9429b261 Fix conflicts 2021-03-25 17:10:02 +01:00
Jan Oberhauser 0272cec01d 👕 Fix lint issue 2021-03-25 13:19:11 +01:00
Jan Oberhauser 3db1cdbe84 Minor improvements to MoveBinaryData encoding 2021-03-25 12:59:57 +01:00
lublak c3496845bf
:add: Add iconv-lite for encoding/decoding for MoveBinaryData (#1473) 2021-03-25 12:58:54 +01:00
Jan Oberhauser 8699f174f7 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2021-03-25 12:43:03 +01:00
Jan Oberhauser bfb179e5f0 Ignore issue as convict types are wrong 2021-03-25 11:42:19 +01:00
Brian Thomas Smith b7c64c6031
Update QuestDB logo, use 60x60 png (#1579) 2021-03-25 11:24:56 +01:00
Jan Oberhauser 0c0c0bda67 Some cleanup 2021-03-25 11:23:54 +01:00