Commit graph

4327 commits

Author SHA1 Message Date
Iván Ovejero b4f4ecc77e
Add Stripe regular node (#1470)
* 🎉 Register node

* 🎨 Add SVG icon

*  Add preliminary node stub

*  Add resource description stubs

* 🎨 Fix SVG size and position

*  Implement charge operations

*  Implement customer operations

* 🎨 Apply cosmetic changes

*  Fix customer address fields

*  Add stub and fields for invoice

*  Add invoice item stubs

*  Implement source operations

*  Reduce scope per feedback

*  Add continueOnFail functionality

* 🎨 Prettify error thrown

* 🔥 Remove unused resource

*  Replace source in card with token

* 🔨 Remove logging

* 🔧 Fix shipping address in charge:create

* 🔧 Load update fields for charge:update

*  Implement token:create to ease testing

*  Simplify card token fields

*  Update description parameters

* 🔧 Fix field adjusters

*  Remove unused source options

* 🔧 Fix shipping fields adjuster

* 🔥 Remove PNG icon

* 🔥 Remove logging

* 🔨 Reorder address fields

* 🐛 Fix shipping field in charge:update

* 💄 Apply cosmetic change

*  Small improvements

*  Fix lintings in main file

*  Lint all descriptions

*  Add target="_blank" attribute

*  Fix various lintings for charge

*  Fix lintings for coupon

*  Fix lintings for customer

*  Fix lintings for source

*  Fix lintings for token

*  Reorder address fields

*  Fix casing in credentials

* 🔨 Place recipient name above address in shipping

*  Remove references to string in descriptions

*  Apply minor renamings

* 🔥 Remove logging

* 🔨 Simplify error handling

*  Fix indentation

*  Move cardFields to root level for Token creation

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 13:15:14 +02:00
Iván Ovejero a3ec24e912
Add message deletion to Telegram node (#1980)
*  Add deleteMessage to Telegram node

*  Fix order

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 12:36:21 +02:00
Iván Ovejero e2aa8ae9b8
🔨 Standardize the simple response option (#1813) 2021-07-10 11:38:45 +02:00
Omar Ajoue d3da5023f0
🐛 Fix "unknown", never-end workflow and not displaying error message (#1978)
* Added try catch blocks to avoid endlessly running workflows

* Added handling for subworkflows

*  Fix one cause of "unkown" status of worklows with "main" mode

*  Fix one cause of "unkown" status of worklows with "own" mode

*  Fix one cause of "unkown" status of worklows with "queue" mode

* Saving database recovery

* 🐛 Fix issue that errors did not get saved correctly and also not
displayed

*  Save workflow timeout correctly as error

* Adding error capture to queued jobs

*  Mark canceled executions as not finished consistently across all
modes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 11:34:41 +02:00
Ricardo Espinoza abc2f2a515
Add resource contact segment and company contact to Mautic node (#1975)
* Add contact To Segment operation

*  Improvements to #1973

*  Rename resource

Co-authored-by: Rodrigo Correia <rodrigoscdc@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-08 10:12:19 +02:00
Mutasem Aldmour a842e4bc0a
🐛 Fix nodes panel reactivity bug (#1972)
* add keys

* fix nodes panel reactivity bug

* fix lint issues
2021-07-08 07:46:20 +02:00
Jan Oberhauser a74fc78ed3 Update Vero icon 2021-07-07 07:57:59 +02:00
Ricardo Espinoza c7db9c0a4d
🐛 Fix connectionTimeout, add requestTImeout and fix issue with column names with spaces (#1971)
* 🐛 fix issue sending connectionTimeout parameter

* 🐛 Fix issue when inserting data using columns with spaces

* 🐛 Fix issue when updating data using columns with spaces

* 🐛 Fix issue when deleting data using columns with spaces

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-07 00:26:34 +02:00
Omar Ajoue 8d235e94cb
Performance improvements for executions count on Postgres (#1888)
* Performance improvements for executions count on Postgres

As reported by a community member https://community.n8n.io/t/stress-load-testing/4846/5
and https://github.com/n8n-io/n8n/issues/1578, when using postgres with
a big volume of executions, the executions list's performance degrades.

This PR is aimed at Postgres specifically by querying postgres' stats
collector instead of running a full table scan, providing a good
estimate.

More can be read here: https://www.citusdata.com/blog/2016/10/12/count-performance/

* Removed order of magnitude so we display closer numbers

* Making count based on statistics only when not applying filters

*  Minor styling improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-06 23:25:25 +02:00
Jan Oberhauser 297d9fe77d 🔖 Release n8n@0.127.0 2021-07-04 18:15:30 +00:00
Jan Oberhauser 97eb22db04 ⬆️ Set n8n-core@0.76.0, n8n-editor-ui@0.97.0, n8n-nodes-base@0.124.0 and n8n-workflow@0.63.0 on n8n 2021-07-04 18:15:30 +00:00
Jan Oberhauser 80a5c8ac60 🔖 Release n8n-editor-ui@0.97.0 2021-07-04 18:14:34 +00:00
Jan Oberhauser ba7b487517 ⬆️ Set n8n-workflow@0.63.0 on n8n-editor-ui 2021-07-04 18:14:34 +00:00
Jan Oberhauser 0b41c7466b 🔖 Release n8n-nodes-base@0.124.0 2021-07-04 18:13:35 +00:00
Jan Oberhauser 0d62098571 ⬆️ Set n8n-core@0.76.0 and n8n-workflow@0.63.0 on n8n-nodes-base 2021-07-04 18:13:35 +00:00
Jan Oberhauser 0fcd0cb87a 🔖 Release n8n-node-dev@0.16.0 2021-07-04 18:13:16 +00:00
Jan Oberhauser d4c47a62c0 ⬆️ Set n8n-core@0.76.0 and n8n-workflow@0.63.0 on n8n-node-dev 2021-07-04 18:13:16 +00:00
Jan Oberhauser 8b94373863 🔖 Release n8n-core@0.76.0 2021-07-04 18:13:01 +00:00
Jan Oberhauser 1532d27102 ⬆️ Set n8n-workflow@0.63.0 on n8n-core 2021-07-04 18:13:00 +00:00
Jan Oberhauser 6e5be51cef 🔖 Release n8n-workflow@0.63.0 2021-07-04 18:12:44 +00:00
Ricardo Espinoza 1b46ea5d30
🐛 Fix issue setting passphrase correctly (#1966) 2021-07-04 18:57:53 +02:00
Jan Oberhauser bac13ba821 👷 Try to fix push to test-workflows 2021-07-03 15:05:54 +02:00
Jan Oberhauser ac89234329 👷 Push credentials also if the tests fail 2021-07-03 14:47:31 +02:00
Mutasem Aldmour 276eaea4bf
Clean up node description (#1883)
Co-authored-by: Jan <janober@users.noreply.github.com>
2021-07-03 14:40:16 +02:00
Jan Oberhauser b49202687d Add support to display binary video content 2021-07-03 14:30:02 +02:00
Snyk bot 2e40a0e64e
⬆️ Set fflate@0.7.0 on n8n-nodes-base
Snyk has created this PR to upgrade fflate from 0.6.10 to 0.7.0.

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

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-07-03 14:19:57 +02:00
Ricardo Espinoza 849c8ad2b7
Send operations in bulk to Airtable (#1945)
* Add bulk operation to Airtable Node

*  Small improvements to #1942

*  Resolve lint issues

*  Make by default bulk updates and fix issue with update

Co-authored-by: Michael Chen <michaelchen@live.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-03 14:07:48 +02:00
Kaito Udagawa 6d8ea4bff5
🐛 Fix Google Sheet to handle 0 correctly (#1937)
* 🐛 Fix Google Sheet to handle 0 correctly

`if (condition) { statement }` will not be executed if the `condition` is `0` (number) so that appending 0 to Google Sheets results in an empty cell.
Checking if the value is `null` or `undefined` is enough to guarantee that `toString` is callable.

* 🐛 Add semicolon
2021-07-03 12:46:30 +02:00
Ahsan Virani 05921de99a
🐛 Fix bug on n8n Training Customer Datastore Node (#1964) 2021-07-03 11:14:11 +02:00
Ricardo Espinoza 64961199ba
Add file/folder share operation (#1951)
*  Add file/folder share operation

*  Improvements

*  Minor fixes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-02 23:58:18 +02:00
Iván Ovejero 40bcd9b20e
Add last name to contact:update on Salesforce Node (#1965) 2021-07-02 23:41:40 +02:00
Iván Ovejero 5f76a5dc72
Expand Zoho node (#1763)
*  Initial refactor of Zoho node

*  Refactor out extra credentials parameter

* 🔥 Remove unused filters

*  Fix date of birth fields

*  Fix param casing

*  Adjust param types

*  Adjust invoice operations

*  Refactor types in adjusters

*  Add product resource

*  Refactor product details field

*  Adjust purchase order params

*  Adjust quote params

*  Adjust sales orders params

* 🔥 Remove old unused files

*  Add vendor resource

*  Fix minor details

*  Implement continueOnFail

* 🐛 Fix empty response for getAll

*  Simplify response for single item

* 🔥 Remove unused import

* 🔨 Restore old node name

*  Prevent request on empty update

*  Apply Dali's suggestions

*  Improvements

*  Add filters for lead:getAll

*  Add upsert to all resources

*  Add filters to all getAll operations

* 🔨 Restore continue on fail

* 🔨 Refactor upsert addition

* 🔨 Refactor getFields for readability

*  Add custom fields to all create-update ops

*  Implement custom fields adjuster

* 🔥 Remove logging

* 👕 Appease linter

* 👕 Refactor type helper for linter

*  Fix refactored type

* 🔨 Refactor reduce for simplicity

*  Fix vendor:getAll filter options

*  Fix custom fields for product operations

*  Make sort_by into options param

* 🚚 Rename upsert operation

* ✏️ Add descriptions to upsert

*  Deduplicate system-defined check fields

* 🔨 Re-order address fields

* ✏️ Generalize references in getAll fields

* 🔥 Remove extra comma

*  Make getFields helper more readable

* ✏️ Touch up description for account ID

* 🔥 Remove currency from contacts

* 🔨 Resort emails and phones for contact

* 🐛 Fix sales cycle duration param type

* ✏️ Clarify descriptions with percentages

* 🔨 Reorder total fields

* ✏️ Clarify percentages for discounts

* ✏️ Clarify percentages for commissions

* 🔨 Convert currency to picklist

* ✏️ Add documentation links

*  Add resource loaders for picklists

*  Fix build

* 🔨 Refactor product details

*  Add resolve data to all resources

*  Change resolve data toggle default

*  Restore lead:getFields operation

* 🔥 Remove upsert descriptions

* 🔨 Change casing for upsert operations

*  Add operation descriptions

* 🔨 Restore makeResolve default value

* 🔨 Return nested details

*  Reposition Resolve Data toggles

* ✏️ Document breaking changes

* Revert "Reposition Resolve Data toggles"

This reverts commit 72ac41780b.

*  Improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-07-02 23:34:12 +02:00
Jan Oberhauser 7c34a7dcd2 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2021-07-01 10:17:35 +02:00
Jan Oberhauser 5ad4bf0890 👷 Automatically push changed credentials after test 2021-07-01 10:17:02 +02:00
Mutasem Aldmour a42bbf88f8
Enable tags selection (#1960) 2021-07-01 10:15:28 +02:00
Omar Ajoue 1e551a202f
🚨 Add Workflow testing framework (#1814)
* Added flag to simplify output to execute command and created executeAll

Also created a command that lists workflows so it can be used by
other applications that wish to interact with n8n via CLI.

* Added compare funcionality that helps us identify possible breaking changes

*  Add JSON flag to output execution result in json format

* Add execution time to execution result

* Add --output flag to save JSON formated results

* Fix typos

* Adding usage examples and warning message

* Changing command to always output JSON information

*  Add concurrency to executeAll command

*  Add IDs filter to executeAll command

* ✏️ Fix typos

* Fix lint issues

* Improvements to execute all

* Added colors and beautified execute all command output

* Improving premature termination of execute all command

* Refactored output

* Added detection for warnings instead of errors for a few cases

* Fixed linting

* Improved process finishing

* Added encryption key init, removed messages from non-debug run and created sample github actions file

* Updated test command to use correct encryption key

* Correcting paths

* Changed command name and changed concurrency to be slot based

* Added the retry functionality

* Improved typing and fixed executions filtering

* Updated test description

* Added concurrency

* Added skip list and concurrency

* Fixed termination behavior, removed unnecessary code and added main mode to executions

* Added special edge cases handling

* Added safe debug flag for non tty terminals

* Removed comparison and retries for testing

* Changed the way we run commands to add more debug info

* Test adding concurrency

* Testing with regular testing procedure without comparison

* Adding compare flag

* Fixing short output command

* Upgraded concurrency to 16, fixed short output and covered nodes count

* Fixed short output condition

* Correcting short output information

* Correcting the output for short output

* Added a string to possible warnings list

* Added example usages with more arguments

* Improvements to code made by Ivan

* Removed colorize output setting (always use colors), moved execution timeout to become static and removed node list from executions

* Moving types to a separate file on execute batch command

* Changed interfaces file extension to prevent oclif warnings

* Updated workflow pdf files

*  Change rule when tests run + minor formatting fixes

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-01 09:04:24 +02:00
Mutasem Aldmour a080fab1f1
Update click outside events to limit only to click events, ignoring blur (#1953) 2021-06-30 09:17:30 +02:00
Jan Oberhauser 38f0cc1a8f 🔖 Release n8n@0.126.1 2021-06-29 10:58:44 +02:00
Jan Oberhauser 312eb827f5 ⬆️ Set n8n-editor-ui@0.96.1 and n8n-nodes-base@0.123.1 on n8n 2021-06-29 10:57:45 +02:00
Jan Oberhauser 3a2456a88e 🔖 Release n8n-editor-ui@0.96.1 2021-06-29 10:56:43 +02:00
Jan Oberhauser 857a55a608 🔖 Release n8n-nodes-base@0.123.1 2021-06-29 10:55:01 +02:00
Mutasem Aldmour a4d0c0fcad
🐛 Fix keyboard shortcut issues (#1934)
* fix keyboard shortcut issues

* remove duplicate check

* remove duplicate check
2021-06-29 10:47:28 +02:00
Ricardo Espinoza b2e2cfa773
🐛 Handle bit (boolean) values correctly when inserting (#1949) 2021-06-29 10:40:47 +02:00
Iván Ovejero 29eab1dbcd
🐛 Fix Pipedrive SVG icon (#1948)
* 🎨 Fix Pipedrive SVG icon

*  Except Pipedrive SVG from optimizer
2021-06-29 07:28:02 +02:00
Jan Oberhauser 320e5f9f97 🔖 Release n8n@0.126.0 2021-06-27 11:45:19 +00:00
Jan Oberhauser edc54782d6 ⬆️ Set n8n-editor-ui@0.96.0 and n8n-nodes-base@0.123.0 on n8n 2021-06-27 11:45:18 +00:00
Jan Oberhauser 7f9d546f60 🔖 Release n8n-editor-ui@0.96.0 2021-06-27 11:44:09 +00:00
Jan Oberhauser 8231a91710 🔖 Release n8n-nodes-base@0.123.0 2021-06-27 11:43:09 +00:00
Harshil Agrawal 4d35eafc0b
Add aliases (#1935) 2021-06-27 13:34:08 +02:00
Iván Ovejero 91a5bc3bc4
Separate scopes and add purchase operations to QuickBooks node (#1859)
* allow qbo to use accounting or payment scopes separately

* added purchase get and getall

* removed irrelevant field options

*  Sort alphabetically

* 🔥 Remove unused file

* ✏️ Fix description casing

*  Add credentials type

* ✏️ Fix resource dividers

* 🔨 Format import

* ✏️ Fix documentation link

*  Refactor credentials

*  Use multiOptions for scopes

* 🔥 Remove payment scope

The payment scope is used only by the QuickBooks Payments API, but this node implements the QuickBooks Online API, which only needs the accounting scope.

* 🚚 Rename node to QuickBooks Online

This reflects the specific API implemented in this node and allows for a future QuickBooks Payments node. Until node versioning is released, only display name changed.

Co-authored-by: Calvin Tan <calvin14@gmail.com>
2021-06-27 13:21:11 +02:00