Commit graph

708 commits

Author SHA1 Message Date
Iván Ovejero 558ec49cf3 🚧 Unify database entities 2021-03-11 13:35:57 -03:00
Ben Hesseldieck 1231c4d670 🚧 🐘 setup TageEntity and relationship 2021-03-09 16:12:44 +01:00
Ben Hesseldieck e043e89f7f 🚧 remove mongoDB leftovers, adjust editorconfig 2021-03-09 12:45:17 +01:00
Snyk bot a28f13d13c
⬆️ Set jwks-rsa@1.12.1 on n8n
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-1038255
2021-03-08 14:51:49 +01:00
Jan Oberhauser f0c1809adc 🔖 Release n8n@0.110.3 2021-03-04 13:23:32 +01:00
Jan Oberhauser 08468772ee ⬆️ Set n8n-nodes-base@0.107.3 on n8n 2021-03-04 13:23:10 +01:00
Jan Oberhauser ce646de6bf 🔖 Release n8n@0.110.2 2021-03-04 13:02:09 +01:00
Jan Oberhauser ef826571fb ⬆️ Set n8n-nodes-base@0.107.2 on n8n 2021-03-04 13:01:44 +01:00
Jan Oberhauser dbdb5fcafc 🔖 Release n8n@0.110.1 2021-03-04 12:57:48 +01:00
Jan Oberhauser 8373528240 ⬆️ Set n8n-nodes-base@0.107.1 on n8n 2021-03-04 12:56:50 +01:00
Jan Oberhauser 806f7829f9 🔖 Release n8n@0.110.0 2021-03-04 12:18:59 +01:00
Jan Oberhauser 349eb8bead ⬆️ Set n8n-editor-ui@0.80.0 and n8n-nodes-base@0.107.0 on n8n 2021-03-04 12:18:28 +01:00
Omar Ajoue 66a345ea94
🐛 Fix issue with auto refresh on execution list (#1475)
* Fix issue with auto refresh on execution list

When auto refresh is on, we used to get executions from backend using
the firstId field to filter recent executions.

This is a problem when you have executions that do not finish in order,
leaving gaps behind. This PR fixes this problem by refreshing the latest
30 executions and correctly adding them to the list.

* Fixed an issues with auto refresh on executions ExecutionsList

Fixed two bugs, one in frontend which was ignoring the first returned
row from the backend and an issue with backend that was not using
the overriden version of `executeWorkflow` function for sub sub
workflows.

* Fixed the display of manual executions when running with queues and improved display of subworkflows

* Changing workflow ids array from variable to constant

* Added unknown status to workflow execution and changed its color to orange
2021-03-03 08:31:55 +01:00
Omar Ajoue 3ff7d3af39
🐛 Fix naming and description of environment variable (#1458) 2021-03-01 21:21:16 +01:00
Omar Ajoue fc09e4c10e
🐛 Fix issue that manual executionscould not be stopped when running with queue (#1484) 2021-03-01 13:19:29 +01:00
Omar Ajoue 14329b2eb4
🐛 Fixed an issue with current executing workflows when using queues (#1483)
When running n8n in queue mode, the query to search for currently
running workflows would fail on Postgres but work fine with SQLite and
MySQL / MariaDB. This fix makes it work fine for all RDBMS.
2021-03-01 12:55:01 +01:00
Jan Oberhauser 31d5333192 🔖 Release n8n@0.109.0 2021-02-22 13:51:20 +01:00
Jan Oberhauser 3eb7ee9561 ⬆️ Set n8n-core@0.64.0, n8n-editor-ui@0.79.0, n8n-nodes-base@0.106.0 and n8n-workflow@0.53.0 on n8n 2021-02-22 13:48:12 +01:00
Jan Oberhauser 802808a9ad Minor improvement 2021-02-21 22:37:39 +01:00
Jan Oberhauser 4b0776d85a 🔀 Merge branch 'export_plain' of https://github.com/AllanDaemon/n8n into AllanDaemon-export_plain 2021-02-21 22:07:11 +01:00
Omar Ajoue 6ee9501d16
🐛 Fixing execution history for integrated workflows. (#1469)
* Fixing execution history for integrated workflows.

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-20 13:51:06 +01:00
Allan Daemon 7eb849b9f7 CLI import credentials supports decrypted data 2021-02-18 07:52:05 -03:00
Allan Daemon 873e566489 CLI command export credentials: export decrypted option 2021-02-18 07:42:21 -03:00
Jan Oberhauser caad6d1c8d 🔖 Release n8n@0.108.0 2021-02-15 13:06:25 +01:00
Jan Oberhauser 4dc6bee957 ⬆️ Set n8n-core@0.63.0, n8n-editor-ui@0.78.0, n8n-nodes-base@0.105.0 and n8n-workflow@0.52.0 on n8n 2021-02-15 13:06:09 +01:00
Jan Oberhauser deaa015e61 Do only send manual executions to starting session & cleanup 2021-02-13 20:40:27 +01:00
Iván Ovejero 5baa31b053
Add QuickBooks node (#1365)
* Add OAuth2 credentials

* Adjust credentials params

* Add node to listing

* Add initial node scaffolding

* Remove unused credentials params

* Add customer search with select statement

* Add pagination to customer search

* Add customer creation functionality

* Add customer update functionality

* Small formatting fix

* Adjust property name casing for consistency

* Adjust customer operations for consistency

* Handle large QuickBooks listings

* Add initial estimate resource description

* Add estimate resource retrieval operations

* Refactor customer billing address

* Simplify customer billing address

* Fix casing for customer additional fields

* Adjust types to accommodate loadOptions functions

* Add loadOptions for customers to estimate

* Sort customer update fields alphabetically

* Refactor estimate line into standalone file

* Add stub for PDF retrieval operation

* Add invoice resource description and execute branches

* Implement estimate PDF download functionality

* Place descriptions in their own dir

* Add get and getAll for invoices

* Add send functionality to invoices

* Refactor handling of binary data

* Add invoice voiding functionality

* Add invoice deletion functionality

* Refactor resources into subdirs and add interfaces

* Add get and getAll for bill

* Add payment description

* Add get and getAll for payment

* Make variables in endpoints consistent

* Refactor interfaces for consistency

* Add interface for item resource

* Fill in fields for all resources

* Minor fixes in defaults and descriptions

* Refactor loader

* Add all resources to execute function

* Fix line property duplication

* Add get and getAll for vendor

* Optimize description imports

* Add creation for customer and bill

* Add update operation for bill

* Refactor create and update for customer

* Implement employee create and update

* Implement create and update for estimate

* Make address params more consistent

* Add create and update to payment

* Add item operations

* Add create and delete operations for invoice

* Refactor binary data handler

* Refactor generic functions

* Add create and update operations for vendor

* Fix build

* Fix total amount in bill:update

* Fix balance in bill:update

* Remove currency from bill:update

* Implement reference retrieval in bill:update

* Fix failing params in customer:update

* Fix param in employee:update

* Implement reference retrieval in estimate:update

* Fix failing params in estimate:update

* Fix failing params in invoice:update

* Fix failing param in vendor:update

* Implement reference retrieval in payment:update

* Remove unused interfaces

* Rename line property function

* Remove hared directory

* Refactor reference and sync token retrieval

* Fix line structure in bill:create

* Fix line structure in estimate:create

* Flatten responses

* Refactor line processing

* Remove unused interfaces

* Add endpoint documentation

* Fix payment:void content type

* Fix default for bill line item

* Hide auth URI query parameters

* Hide auth header parameter

* Add switch for credentials environment

* Adjust OAuth2 callback to accommodate realmId

* Retrieve realmId from OAuth2 flow

*  Improvements

* Reposition dividers

* Add IDs to display names of reference fields

* Add estimate:delete and bill:delete

* Load items in lines for bill, estimate and invoice

* Add filename for binary property in PDF download

*  Improvements

* Adjust field description

* Implement estimate:send

* Adjust field description

* Adjust custom field descriptions

* Add missing period to description

*  Minor improvements on QuickBooks-Node

* Add descriptions for bill

* Add descriptions for customer

* Add descriptions for employee

* Add descriptions for estimate

* Add descriptions for invoice

* Add descriptions for payment

* Add descriptions for vendor

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-13 17:27:08 +01:00
Jan Oberhauser 53234770a7 🐛 Fix issue of current execution query with unsaved running workflow 2021-02-11 14:55:59 +01:00
Omar Ajoue e53efdd337
Separate webhooks from core (#1408)
* Unify execution ID across executions

* Fix indentation and improved comments

* WIP: saving data after each node execution

* Added on/off to save data after each step, saving initial data and retries working

* Fixing lint issues

* Fixing more lint issues

*  Add bull to execute workflows

* 👕 Fix lint issue

*  Add graceful shutdown to worker

*  Add loading staticData to worker

* 👕 Fix lint issue

*  Fix import

* Changed tables metadata to add nullable to stoppedAt

* Reload database on migration run

* Fixed reloading database schema for sqlite by reconnecting and fixing postgres migration

* Added checks to Redis and exiting process if connection is unavailable

* Fixing error with new installations

* Fix issue with data not being sent back to browser on manual executions with defined destination

* Merging bull and unify execution id branch fixes

* Main process will now get execution success from database instead of redis

* Omit execution duration if execution did not stop

* Fix issue with execution list displaying inconsistant information information while a workflow is running

* Remove unused hooks to clarify for developers that these wont run in queue mode

* Added active pooling to help recover from Redis crashes

* Lint issues

* Changing default polling interval to 60 seconds

* Removed unnecessary attributes from bull job

* Added webhooks service and setting to disable webhooks from main process

* Fixed executions list when running with queues. Now we get the list of actively running workflows from bull.

* Add option to disable deregistration of webhooks on shutdown

* Rename WEBHOOK_TUNNEL_URL to WEBHOOK_URL keeping backwards compat.

* Added auto refresh to executions list

* Improvements to workflow stop process when running with queues

* Refactor queue system to use a singleton and avoid code duplication

* Improve comments and remove unnecessary commits

* Remove console.log from vue file

* Blocking webhook process to run without queues

* Handling execution stop graciously when possible

* Removing initialization of all workflows from webhook process

* Refactoring code to remove code duplication for job stop

* Improved execution list to be more fluid and less intrusive

* Fixing workflow name for current executions when auto updating

*  Right align autorefresh checkbox

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 23:32:40 +01:00
Ben Hesseldieck 98fa529e51
Dynamic webhooks improvements (#1396)
*  remove trailing slash in routes

* 🔧 update logic to select dynamicWebhook

* 🐛 fix logic in static route matching
2021-02-09 09:14:40 +01:00
Omar Ajoue 7a3aaf8a24
Unify execution id + Queue system (#1340)
* Unify execution ID across executions

* Fix indentation and improved comments

* WIP: saving data after each node execution

* Added on/off to save data after each step, saving initial data and retries working

* Fixing lint issues

* Fixing more lint issues

*  Add bull to execute workflows

* 👕 Fix lint issue

*  Add graceful shutdown to worker

*  Add loading staticData to worker

* 👕 Fix lint issue

*  Fix import

* Changed tables metadata to add nullable to stoppedAt

* Reload database on migration run

* Fixed reloading database schema for sqlite by reconnecting and fixing postgres migration

* Added checks to Redis and exiting process if connection is unavailable

* Fixing error with new installations

* Fix issue with data not being sent back to browser on manual executions with defined destination

* Merging bull and unify execution id branch fixes

* Main process will now get execution success from database instead of redis

* Omit execution duration if execution did not stop

* Fix issue with execution list displaying inconsistant information information while a workflow is running

* Remove unused hooks to clarify for developers that these wont run in queue mode

* Added active pooling to help recover from Redis crashes

* Lint issues

* Changing default polling interval to 60 seconds

* Removed unnecessary attributes from bull job

*  Improved output on worker job start

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 08:59:32 +01:00
Jan Oberhauser ae92325ba3 🔖 Release n8n@0.107.0 2021-02-08 08:04:35 +01:00
Jan Oberhauser 1a26720d92 ⬆️ Set n8n-editor-ui@0.77.0 and n8n-nodes-base@0.104.0 on n8n 2021-02-08 08:03:52 +01:00
Jan Oberhauser 65b69e4b60 ⬆️ Set sqlite3@5.0.1 on n8n 2021-02-06 17:36:09 +01:00
Jan Oberhauser 2c2c4b4b4d 🔖 Release n8n@0.106.0 2021-02-05 09:39:35 +01:00
Jan Oberhauser c26d752408 ⬆️ Set n8n-editor-ui@0.76.0 and n8n-nodes-base@0.103.0 on n8n 2021-02-05 09:38:41 +01:00
Jan Oberhauser 51bc430023 🔖 Release n8n@0.105.0 2021-02-01 08:40:43 +01:00
Jan Oberhauser b2911a5aab ⬆️ Set n8n-core@0.62.0, n8n-editor-ui@0.75.0, n8n-nodes-base@0.102.0 and n8n-workflow@0.51.0 on n8n 2021-02-01 08:40:14 +01:00
Ricardo Espinoza dc98de1ab2
Add support for multiple subscriptions in Hubspot Trigger (#1358)
*  Add support for multiple subscriptions in Hubspot Trigger

*  Load object properties for the user

*  Improvements

*  Some improvements to the Hubspot-Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-01 08:31:40 +01:00
Jan Oberhauser 5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +01:00
Ben Hesseldieck 8764171989
🎨 small webhook refactorings (#1383)
* 🧹 clean up forgotten leftover

* 🎨 reset req.params

* 🐛 Bugfix and minor change on request parameters

*  Minor improvements on request parameters

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-28 15:44:10 +01:00
Jan Oberhauser bc74d7ad47 ⬆️ Set n8n-core@0.61.0, n8n-editor-ui@0.74.0, n8n-nodes-base@0.101.0 and n8n-workflow@0.50.0 on n8n 2021-01-27 09:18:45 +01:00
Jan Oberhauser 0582edb111 🔖 Release n8n@0.104.2 2021-01-27 09:06:58 +01:00
Jan Oberhauser b79589a83e ⬆️ Set n8n-nodes-base@0.100.0 on n8n 2021-01-27 09:06:32 +01:00
Jan Oberhauser 3f6d4b6c08 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2021-01-27 09:03:18 +01:00
Jan Oberhauser de0ac0158a 🐛 Fix credential bug with parameters which have the same name 2021-01-27 09:02:20 +01:00
Jan Oberhauser da022300f9 🔖 Release n8n@0.104.1 2021-01-26 16:54:23 +01:00
Jan Oberhauser 91623806ae 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2021-01-26 16:53:00 +01:00
Jan Oberhauser bd4639b644 🐛 Fix bug with expressions in credentials 2021-01-26 16:52:35 +01:00
Tanay Pant 2398c42b30
🔨 Add breaking change for 0.104.0 (#1382) 2021-01-26 14:39:19 +01:00