* Centralized error throwing for encryption key
* Unifying the error message used by cli and core packages
* Improvements to error messages to make it more DRY
* Removed unnecessary throw
* Throwing error when credential does not exist to simplify node behavior (#3112)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
* add database number select to redis credentials
* add publish to channel to redis node
* add redis trigger
* ⚡ small fixes
* ⚡ small fixes for trigger node
* fix(Strapi Node): Add support for Strapi v4
* 🐛 Fix get all operation for v4
* 🔨 Fix create operation
* 🔨 Fix update operation
* 🔨 Fix delete operation
* 🔨 Fix get operation
* 🔨 Fix Return All
* 👕 Fix nodelinter issues
* ⚡ Add Credential Test
* 🔨 Code improvement
* 👕 Fix lint issue
* Removed extra /api from Get All on v4
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
* refactor(editor): Replace 'Workflows' help menu item with 'Course'
* N8N-3110 Replace Workflows help menu item with course
* N8N-3110 Re-order props in en.json
* N8N-3110 Update URL Link for courses
* 🐛 Fix issue with messages being sent twice
* ⚡ Remove not needed return
Co-authored-by: Michael Kret <michael.k@radency.com>
Co-authored-by: Harshil Agrawal <ghagrawal17@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jonathan Bennetts <jonathan.bennetts@gmail.com>
Co-authored-by: Oliver Trajceski <olivertrajceski@yahoo.com>
* Changes to types so that credentials can be always loaded from DB
This first commit changes all return types from the execute functions
and calls to get credentials to be async so we can use await.
This is a first step as previously credentials were loaded in memory and
always available. We will now be loading them from the DB which requires
turning the whole call chain async.
* Fix updated files
* Removed unnecessary credential loading to improve performance
* Fix typo
* ⚡ Fix issue
* Updated new nodes to load credentials async
* ⚡ Remove not needed comment
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Do like in the info command, and after the execution of the other commands, close the connection, otherwise it will kept open and cause a connection and memory leak.
Also, as to close in case of error, just in case.