Commit graph

3934 commits

Author SHA1 Message Date
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
Jan Oberhauser 48224d51ea Bring commands in order 2021-04-17 17:19: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
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