Commit graph

4322 commits

Author SHA1 Message Date
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
Iván Ovejero 224a26c922
Add Action Network node (#1897)
*  Create Action Network node

* 🔥 Remove comments

* 🔥 Remove status in attendance

* 🔥 Remove loaders per feedback

Loaders removed for person, event, signature and petition

* 🚚 Rename tagging to person tag

* 🔨 Convert address_lines param to string

*  Simplify responses for person resource

*  Add simplify to all operations

* ✏️ Add documentation links

*  Improvements

* ✏️ Fix positioning of doc links

* 🔨 Refactor updateFields in signature:update

*  Address minor comments

*  Improvements

*  Add continue on fail

*  Minor improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-27 13:07:25 +02:00
Ricardo Espinoza 2ec52cf207
Add Google Docs node (#1831)
*  Add Google Docs node

* Implement continueOnFail

* Add insert:Table and insert/delete:TableRow,TableColumn

* Lint fixes

* Fix typos, casing and enhance code readability

* Enhance code readability & apply review changes

*  Review Google Docs node

* Apply review changes

* Minor fix

* Improvements

* Clean up

* Enhance inputs descriptions

* Removed unused type fields

* Minor fix

*  Small improvements

*  Small change

* Use Document URL insead of ID and support adding content at creation

* Refactored node to make it more user friendly

* Improve get operation

* Add simple output to get operation

* Add service account

* Apply review suggestions

* Improvements

* Enable continueOnFail

*  Minor improvements

Co-authored-by: dali <servfrdali@yahoo.fr>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-27 11:48:24 +02:00
Ricardo Espinoza ce885e5071
Add n8n training nodes (#1898)
*  n8n training node

*  Improvements

*  cosmetic changes

*  Improvements

*  Formatting fix

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-27 08:55:33 +02:00
Ricardo Espinoza 7dea5d8a4b
🐛 Fix issue escaping single quotes and mapping empty fields (#1929)
Fixes #1915 and #1916
2021-06-27 08:44:15 +02:00
Mutasem Aldmour f940ba8f71
🐛 Fix workflow execution bugs (#1941) 2021-06-27 08:37:53 +02:00