Commit graph

2132 commits

Author SHA1 Message Date
Jan Oberhauser 3d7a2348df 🔖 Release n8n-nodes-base@0.114.0 2021-04-24 21:39:21 +00:00
Omar Ajoue 81d8a9f332
💥 Deprecate Activation Trigger and add two new replacement nodes (#1680)
* Add Workflow & n8n Trigger nodes

* Update nodes descriptions & icons

* Remove Activation Trigger node

* Update nodes descriptions & Add timestamp and workflow_id

* Added breaking change notice and types to events

*  Minor improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-24 23:14:06 +02:00
Omar Ajoue 41669c0e0f
Add options to run queries as transactions (#1612)
* add multi return

* add independently and transaction to query

* pgInsert normal and transaction

* independently for pgInsert

* normal, transaction and independently for pgUpdate

* cleanup

* implement it in other nodes

* multiple fixes

* add optional returning support

* clean up Postgres functions

* fix other postgres based dbs

* Added option to run queries as a transaction to Postgres

This commit allows users to configure Postgres, CrateDB, TimescaleDB and
QuestDB to run queries independently or as transactions as well as the
previous mode which is to execute multiple queries at once.

Previous behavior remains untouched so we only added new options.

* Standardize behavior across nodes that use postgres protocol

Also fixed unit tests.

* Added breaking change notice

* Added more information to breaking changes

*  Styling fixes

Co-authored-by: lublak <lublak.de@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-24 22:55:14 +02:00
Craig McElroy 9271e73777
Add custom fields for Salesforce case create/update and alphabetize fields for update (#1688) 2021-04-24 22:10:53 +02:00
Bart Vollebregt adad513718
Add ability to retrieve custom fields to Zendesk Trigger node. (#1685) 2021-04-24 19:57:49 +02:00
Jan Oberhauser 08b42aef97 👕 Fix lint issue 2021-04-24 19:45:33 +02:00
Ricardo Espinoza d57ae97669
Add Mailcheck Node (#1690)
* Add Mailcheck integration

* compress logo

* Add mailcheck node info

*  Improvements

Co-authored-by: bugagashenkj <bugagashenkj@gmail.com>
Co-authored-by: Nosov Konstantin <nosov@nodeart.io>
2021-04-24 19:34:59 +02:00
Craig McElroy 66d4fe4911
Salesforce Case/Lead Owner - Add Queues to Owner picklist (#1689) 2021-04-24 19:25:30 +02:00
Ricardo Espinoza 4d74e1fdea
🐛 Fix issue looking up values with multiple empty rows (#1701) 2021-04-24 18:56:47 +02:00
Jan Oberhauser 3904f7d568 Basic code cleanup on Intercom Node 2021-04-24 17:49:52 +02:00
Jan Oberhauser 223f0130f0 Fix company:users response 2021-04-24 17:42:31 +02:00
MedAliMarz 6fcbb2ad45
🐛 Fix users:Company operation in Intercom node (#1666) 2021-04-24 17:29:09 +02:00
Jan Oberhauser cc5b1d9cd2 Improvements on Sentry Node 2021-04-24 00:38:15 +02:00
MedAliMarz a3c5f41b0f
Add update/delete to Team, Release and Project in SentryIo node (#1605)
* Add update/delete to Team, Release and Project in SentryIo node

* Add create/delete:Project in SentryIo node

* Minor fix

* Fix descriptions & display names

* Fix casing in descriptions

* Add getTeams load function & Update operations fields

* Change 'Additional Field' to 'Update Fields' for Team,Release,Project & Organization operations
2021-04-24 00:37:37 +02:00
Jan Oberhauser 35e790b8dd Minor improvements on NextCloud Node 2021-04-24 00:11:44 +02:00
MedAliMarz d9f7ebdea9
Extend NextCloud User-Resource (#1641)
* Add get/getAll:User in NextCloud node

* Add update/delete:User in NextCloud node

* Fix getAll:User operation
2021-04-24 00:08:08 +02:00
Umair Kamran 1b754daa2f
🐛 Fix sending "lastActive" with Mautic 2021-04-23 08:52:53 +02:00
Jan Oberhauser 2809885422 🔖 Release n8n-nodes-base@0.113.1 2021-04-17 17:52:38 +02:00
Jan Oberhauser 135472dbd8 🔖 Release n8n-nodes-base@0.113.0 2021-04-17 15:34:36 +00:00
Jan Oberhauser bde065352e ⬆️ Set n8n-core@0.68.0 and n8n-workflow@0.56.0 on n8n-nodes-base 2021-04-17 15:34:35 +00:00
Jan Oberhauser d33dad7ebc Optimize svgs 2021-04-17 17:23:59 +02:00
Konstantin Nosov 5e7f27d137
Optimize svg (#1653)
* add optimize-svg command to npm scripts

* run svgo over all svg assets in repo
2021-04-17 17:17:16 +02:00
Bart Vollebregt c80b0ebfd9
🐛 Fix bug in Zendesk Trigger node with wrong conditions (#1668) 2021-04-17 17:08:07 +02:00
Snyk bot e46242faf5
⬆️ Upgrade moment from 2.28.0 to 2.29.1 (#1672)
Snyk has created this PR to upgrade moment from 2.28.0 to 2.29.1.

See this package in npm:
https://www.npmjs.com/package/moment

See this project in Snyk:
https://app.snyk.io/org/janober/project/a08454f4-33a1-49bc-bb2a-f31792e94f42?utm_source=github&utm_medium=upgrade-pr
2021-04-17 17:05:53 +02:00
Omar Ajoue 73da7998cf
🐛 Fix attempt to reconnect and make IMAP node stable (#1667) 2021-04-17 17:01:27 +02:00
Ricardo Espinoza 3fe52c84d5
🐛 Fix issue sending parameter Opt In Reason on Keap Node (#1674) 2021-04-17 16:52:56 +02:00
Omar Ajoue 882e2f8e74
Addglobal timeout setting for all http requests except for http request node (#1650)
* Added a global timeout setting for all http requests except for http
node.

The http node explicitly sets a timeout that overrides the default
value.

This is to prevent behaviors when users were expecting that their quests
could take a very long time to execute.

* Removed unnecessary typing from code
2021-04-17 15:15:33 +02:00
Jan Oberhauser a7394daa6b Remove console.log 2021-04-17 15:08:13 +02:00
Ricardo Espinoza b0d3554ced
Add Google BigQuery node (#1635)
*  Google BigQuery node

* 🔨 Add comment dividers

*  Add whitespace for readability

* ✏️ Edit resource descriptions

*  Improvements

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-04-17 15:04:25 +02:00
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
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 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
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