Commit graph

3547 commits

Author SHA1 Message Date
Ahsan Virani 2052cadce9
Add more frontend hooks (#1687)
*  add hook for nodecreatelist mount

*  add hook for nodeCreateList selectedTypeChanged

*  add hook for nodeCreateList nodeFilterChanged

*  add hook for nodeCreateList filteredNodeTypesComputed

*  add hook for nodeView.activeNodeChanged

*  add hook for credentialsEdit credentialTypeChanged

*  add hook for onDocumentationUrlClick

*  add hook for executionsList openDialog

*  add hook for execution open

*  add hook for credentialsList dialogVisibleChanged

*  add hook for workflowSettings

*  add hook for showMessage showError

*  add hook for nodeView createNodeActiveChanged

*  add hook for nodeView addNodeButton

*  cleanup

*  add hook for workflowRun runWorkflow

*  add hook for pushConnection executionFinished

*  add hook for runData.displayModeChanged

*  update nodeCreateList.nodeFilterChanged hook

*  update dataDisplay nodeTypeChanged hook

*  update dataDisplay nodeTypeChanged hook

*  update dataDisplay nodeTypeChanged hook

*  update error data in hooks

* update workflowRun runError hook

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-05 19:46:33 -05:00
Jan Oberhauser f324fe1dff 🐛 Fix Error-Workflows 2021-05-05 15:18:14 -05:00
Mutasem Aldmour 0cb96d6caa
🐛 fix external links in sidemenu (#1720)
* fix admin link clickability

* fix bug when there are unsaved changes
2021-05-04 17:55:39 +02:00
Jan Oberhauser 715e41b590 Update required Node.js version also to 14 in package.json of cli 2021-05-03 16:21:22 -05:00
Jan Oberhauser 3d2eaa3aaa Check on startup for Node.js version 14 or later 2021-05-03 16:15:02 -05:00
Jan Oberhauser 043cf6730c 🔖 Release n8n@0.118.0 2021-05-02 13:58:37 +00:00
Jan Oberhauser 318142a9e5 ⬆️ Set n8n-core@0.69.0, n8n-editor-ui@0.88.0, n8n-nodes-base@0.115.0 and n8n-workflow@0.57.0 on n8n 2021-05-02 13:58:37 +00:00
Jan Oberhauser 8c2ffc5d0e 🔖 Release n8n-editor-ui@0.88.0 2021-05-02 13:57:49 +00:00
Jan Oberhauser e5043676be ⬆️ Set n8n-workflow@0.57.0 on n8n-editor-ui 2021-05-02 13:57:49 +00:00
Jan Oberhauser d992534fc4 🔖 Release n8n-nodes-base@0.115.0 2021-05-02 13:56:52 +00:00
Jan Oberhauser e88161525c ⬆️ Set n8n-core@0.69.0 and n8n-workflow@0.57.0 on n8n-nodes-base 2021-05-02 13:56:52 +00:00
Jan Oberhauser 56b93c3e7e 🔖 Release n8n-core@0.69.0 2021-05-02 13:56:37 +00:00
Jan Oberhauser 6980ecf2a8 ⬆️ Set n8n-workflow@0.57.0 on n8n-core 2021-05-02 13:56:37 +00:00
Jan Oberhauser 9bc62e41c1 🔖 Release n8n-workflow@0.57.0 2021-05-02 13:56:20 +00:00
Mika Luhta 74d8f3d150
Add isRead property & message:move to Outlook (#1724) 2021-05-01 23:10:44 -05:00
Snyk bot ea48882291
⬆️ Set mongodb@3.6.6 on n8n-nodes-base
Snyk has created this PR to upgrade mongodb from 3.6.5 to 3.6.6.

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

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-05-01 22:53:20 -05:00
Ricardo Espinoza 469b92e32a
Add continueOnFail to Google Calendar (#1722)
*  Add continueOnFail to Google Calendar

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-01 22:50:15 -05:00
Omar Ajoue c972f3dd50
Added logging to n8n (#1381)
* Added logging to n8n

This commit adds logging to n8n using the Winston library.

For now, this commit only allows logging to console (default behavior)
or file (need to pass in config via environment variables).

Other logging methods can be further implemented using hooks. These were
skipped for now as it would require adding more dependencies.

Logging level is notice by default, meaning no additional messages would
be displayed at the moment. Logging level can be set to info or debug as
well to enrich the generated logs.

The ILogger interface was added to the workflow project as it would make
it available for all other projects but the implementation was done on
the cli project.

* Lint fixes and logging level naming. Also fixed the way we use the logger as it was not working previously

* Improvements to logging framework

Using appropriate single quotes
Improving the way the logger is declared

* Improved naming for Log Types

* Removed logger global variable, replacing it by a proxy

* Add logging to CLI commands

* Remove unused GenericHelpers

* Changed back some messages to console instead of logger and added npm
shortcuts for worker and webhook

* Fix typos

* Adding basic file rotation to logs as suggested by @mutdmour

* Fixed linting issues

* Correcting comment to correctly reflect space usage

* Added settings for log files rotation

* Correcting config type from String to Number

* Changed default file settings to number

To reflect previous changes to the type

* Changed the way log messages are added to be called statically. Also minor naming improvements

* Applying latest corrections sent by @ivov

*  Some logging improvements

* Saving logs to a folder inside n8n home instead of root

* Fixed broken tests and linting

* Changed some log messages to improve formatting

* Adding quotes to names  on log messages

* Added execution and session IDs to logs. Also removed unnecessary line breaks

*  Added file caller to log messages (#1657)

This is done using callsites library which already existed
in the project as another library's dependency. So in fact
it does not add any new dependency.

* Adding logs to help debug Salesforce node

*  Add function name to logs and add more logs

*  Improve some error messages

*  Improve some more log messages

*  Rename logging env variables to match others

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-01 22:43:01 -05:00
Jan Oberhauser 0b69310bed Minor improvements to Quickbase Node 2021-04-30 21:49:15 -05:00
Colton Anglin 35cae02a36
Add option to use Field IDs on Quickbase Node (#1651)
* QuickBase: Use FieldIDs instead of names

* Fix name change

* Delete tmp-209473KO4eyCT5LSi

* Fix name change

* Change default to false
2021-04-30 21:48:40 -05:00
Snyk bot 03639b0e3a
⬆️ Set mongodb@3.6.5 on n8n-nodes-base
Snyk has created this PR to upgrade mongodb from 3.6.3 to 3.6.5.

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

See this project in Snyk:
https://app.snyk.io/org/janober/project/a08454f4-33a1-49bc-bb2a-f31792e94f42?utm_source=github&utm_medium=upgrade-pr

Co-authored-by: Jan <janober@users.noreply.github.com>
2021-04-30 21:26:52 -05:00
Snyk bot eab7b0a10a
⬆️ Set tslib@0.114.1 on n8n
Snyk has created this PR to upgrade tslib from 1.13.0 to 1.14.1.

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

See this project in Snyk:
https://app.snyk.io/org/janober/project/fc678bbc-0ac7-4659-9458-8f7f360e2566?utm_source=github&utm_medium=upgrade-pr
2021-04-30 21:25:18 -05:00
Snyk bot d239ba5cff
⬆️ Set mqtt@4.2.6 on n8n-nodes-base
Snyk has created this PR to upgrade mqtt from 4.2.1 to 4.2.6.

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

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-30 21:23:51 -05:00
lublak c83c05456d
Use native fs promise where possible (#1684) 2021-04-30 21:22:15 -05:00
Jan Oberhauser b7a074abd7 Fix breaking changes files 2021-04-30 21:14:07 -05:00
Jan Oberhauser 9a7de7d077 🐛 Fix bug with activating some trigger nodes #1715 2021-04-30 21:12:11 -05:00
Jan Oberhauser ab1c8037de Unify some dependency versions 2021-04-30 20:42:32 -05:00
lublak 0cc3aea629
Add xml2js dependency to n8n-workflow (#1717) 2021-04-30 20:29:44 -05:00
Harshil Agrawal f2ec7ec6ac
Add and update codex files (#1719) 2021-04-30 20:28:07 -05:00
Ricardo Espinoza 6c773d7a86
Add MQTT & Trigger Node (#1705)
*  MQTT-Node

*  Small fix

*  Error when the publish method faile

*  Improvements

*  Improvements

*  Add Send Input Data parameter

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-30 20:23:25 -05:00
Jan Oberhauser 0dd760f67d 👕 Fix lint issue 2021-04-30 20:07:08 -05:00
Jan f79bc633c0
Extend Twist Node (#1721)
* Add get/getAll:messageConversation to Twist node

* Add delete:messageConversation to Twist node

* Add update:messageConversation to Twist node

* Add archive/unarchive/delete:channel to Twist node

* Add add/update/get/getAll/remove:Thread to Twist node

* Add add/update/get/getAll/remove:Comment to Twist node

* Lint fixes

* Fix operations's descriptions

* Enhance Twist node code

* Reorder attributes alphabetically

* Fix typos

* Fix the ouput of get:Comment operation

* Fix getAll:Comment & getAll:Thread operations outputs

* 🐛 Add missing scopes and remove not needed parameters

Co-authored-by: dali <servfrdali@yahoo.fr>
2021-04-30 19:44:12 -05:00
Omar Ajoue fc54f7c82b
Add query parameters for CrateDB, PostgresDB, TimescaleDB and QuestDB (Parametrized Queries) (#1577)
* Adding support to ParameterizedQuery on Postgres Node

* Created another parameter to toggle on replacement so it's clear to users what is happening.

* Fixed lint issues

*  Formatting

* Improvements to questDB node so it is more consistent

* Fixed lint issues

* Fixed typing issue

*  Apply suggestions BHesseldieck

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>

* Standardized output for postgres and postgres-like nodes

This changes the behavior of CrateDB, Postgres, QuestDB and TimescaleDB
nodes.

The Execute Query operation used to execute multiple queries but return
the result from only one of the queries.

This change causes the node output to containt results from all queries
that ran, making the behavior more consistent across all n8n.

* Fixing lint issues

*  Minor improvements

*  Fix breaking changes files

Co-authored-by: Gustavo Arjones <gustavo.arjones@ank.app>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-30 17:35:34 -05:00
Iván Ovejero 4cf8055224
Add Kitemaker node (#1676)
*  Add Kitemaker node

*  Require status ID for workItem:create

* ✏️ Reword button text

*  Add credentials file

*  Implement pagination

*  Improvements

*  Remove not needed parameter

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-30 16:00:28 -05:00
Ricardo Espinoza efd40ea7a6
🐛 Fix issue of Redis never returning (#1716)
Fixes #1709. When the node returned an error the reject method was not called. Hence, the process kept running forever.
2021-04-30 15:38:51 -05:00
Ricardo Espinoza 7c418aafe7
🐛 Fix issue when looking up values on Google Sheets (#1708) 2021-04-30 15:35:42 -05:00
Jan Oberhauser 5d9280a7ad 👕 Fix lint issue 2021-04-30 15:34:53 -05:00
Ricardo Espinoza bf93a122ed
Add file name when downloading files (Google Drive) (#1710) 2021-04-30 15:29:10 -05:00
MedAliMarz c9d0b17291
🐛 Fix Post operations on Orbit Node (#1699) 2021-04-30 14:58:23 -05:00
Ricardo Espinoza 444fe64bc1
Handle comma separated binary properties (Gmail) (#1711) 2021-04-30 14:44:46 -05:00
MedAliMarz 029b1390ee
🐛 Fix a small bug on Xero Node (#1681) 2021-04-30 14:25:39 -05:00
Ricardo Espinoza 144bf3ea00
Add svg logos to Facebook nodes (#1713) 2021-04-30 14:22:46 -05:00
Ricardo Espinoza 901551ae99
Add delete folder operation to FTP Node (#1704)
*  Add delete folder operation to FTP Node

*  Minor improvement

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-30 14:19:59 -05:00
Iván Ovejero b6d45e30ef
Add self-hosted support to ERPNext (#1679) 2021-04-30 13:37:46 -05:00
Jan Oberhauser 7f0f8deb6d 🔖 Release n8n@0.117.0 2021-04-24 21:41:33 +00:00
Jan Oberhauser 91aa425201 ⬆️ Set n8n-editor-ui@0.87.0 and n8n-nodes-base@0.114.0 on n8n 2021-04-24 21:41:32 +00:00
Jan Oberhauser a6a19862f2 🔖 Release n8n-editor-ui@0.87.0 2021-04-24 21:40:22 +00:00
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
Iván Ovejero b9fbd2c0bb
Set new credentials dropdown to open by default (#1379)
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-04-24 22:41:00 +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 5c65a73cc2 🔖 Release n8n@0.116.1 2021-04-20 08:57:47 +02:00
Jan Oberhauser b2e65dceff 🐛 Fix issue that workflows in main process did timeout 2021-04-20 08:55:54 +02:00
Jan Oberhauser 2809885422 🔖 Release n8n-nodes-base@0.113.1 2021-04-17 17:52:38 +02:00
Jan Oberhauser 4d966eaa26 🔖 Release n8n@0.116.0 2021-04-17 15:36:30 +00:00
Jan Oberhauser 91909ed509 ⬆️ Set n8n-core@0.68.0, n8n-editor-ui@0.86.0, n8n-nodes-base@0.113.0 and n8n-workflow@0.56.0 on n8n 2021-04-17 15:36:29 +00:00
Jan Oberhauser 0b611d5c61 🔖 Release n8n-editor-ui@0.86.0 2021-04-17 15:35:30 +00:00
Jan Oberhauser c49e70d4f6 ⬆️ Set n8n-workflow@0.56.0 on n8n-editor-ui 2021-04-17 15:35:29 +00: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 3dacb283ac 🔖 Release n8n-core@0.68.0 2021-04-17 15:34:20 +00:00
Jan Oberhauser 659232c2b1 ⬆️ Set n8n-workflow@0.56.0 on n8n-core 2021-04-17 15:34:20 +00:00
Jan Oberhauser a90e18e1b8 🔖 Release n8n-workflow@0.56.0 2021-04-17 15:34:04 +00:00
Jan Oberhauser d33dad7ebc Optimize svgs 2021-04-17 17:23:59 +02:00
Jan Oberhauser b83c2e2a3c 👕 Fix lint issue 2021-04-17 17:23:48 +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 0c779de704
Implement timeout for workers and corrected timeout for subworkflows (#1634)
* Implemented timeout for workers and corrected timeout for subworkflows

* Fixed issue with timeouts when running on separate processes

* Standardized timeouts across all n8n

Now the maxTimeout setting takes effect whenever a timeout is set
to any workflows.

This causes local timeouts (either set on a per-workflow basis or
via global settings) to be capped by the maximum timeout. This
behavior already existed but was not applied to all places.

Also changed the way n8n enforces timeouts for subworkflows, making
it work always.

In effect, with this change, if you have one workflow that calls others
only the main workflow's timeout is taken into consideration, limiting
the maximum time that other workflows combined can run.

*  Fix timeout problem in "own" mode

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-17 16:44:07 +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
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