Commit Graph
131 Commits
Author SHA1 Message Date
Jan Oberhauser 0799ff24b2 ⬆️ Update package-lock.json file 2022-02-09 11:14:27 +01:00
Mutasem Aldmour b4e3f27c9f ⚡ Fix icon types (#2784) 2022-02-08 13:33:59 +01:00
Jan Oberhauser 3b173b52a4 ⬆️ Update package-lock.json file 2022-02-06 12:04:09 +01:00
0da398b0e4 ✨ Nodes as JSON and authentication redesign (#2401)
* ✨ change FE to handle new object type

* 🚸 improve UX of handling invalid credentials

* 🚧 WIP

* 🎨 fix typescript issues

* 🐘 add migrations for all supported dbs

* ✏️ add description to migrations

* ⚡ add credential update on import

* ⚡ resolve after merge issues

* 👕 fix lint issues

* ⚡ check credentials on workflow create/update

* update interface

* 👕 fix ts issues

* ⚡ adaption to new credentials UI

* 🐛 intialize cache on BE for credentials check

* 🐛 fix undefined oldCredentials

* 🐛 fix deleting credential

* 🐛 fix check for undefined keys

* 🐛 fix disabling edit in execution

* 🎨 just show credential name on execution view

* ✏️  remove TODO

* ⚡ implement review suggestions

* ⚡ add cache to getCredentialsByType

* ⏪ use getter instead of cache

* ✏️ fix variable name typo

* 🐘 include waiting nodes to migrations

* 🐛 fix reverting migrations command

* ⚡ update typeorm command

* ✨ create db:revert command

* 👕 fix lint error

* ✨ Add optional authenticate method to credentials

* ⚡ Simplify code and add authentication support to MattermostApi

* 👕 Fix lint issue

* ⚡ Add support to own-mode

* 👕 Fix lint issue

* ✨ Add support for predefined auth types bearer and headerAuth

* ⚡ Make sure that DateTime Node always returns strings

* ⚡ Add support for moment types to If Node

* ⚡ Make it possible for HTTP Request Node to use all credential types

* ✨ Add basicAuth support

* Add a new dropcontact node

* ✨ First basic implementation of mainly JSON based nodes

* ✨ Add fixedCollection support, added value parameter and
expression support for value and property

* Improvements to #2389

* ⚡ Add credentials verification

* ⚡ Small improvement

* ⚡ set default time to 45 seconds

* ✨ Add support for preSend and postReceive methods

* ➕ Add lodash merge and set depedency to workflow

* 👕 Fix lint issue

* ⚡ Improvements

* ⚡ Improvements

* ⚡ Improvements

* ⚡ Improvements

* ⚡ Improvements

* 🐛 Set siren and language correctly

* ⚡ Add support for requestDefaults

* ⚡ Add support for baseURL to httpRequest

* ⚡ Move baseURL to correct location

* ✨ Add support for options loading

* 🐛 Fix error with fullAccess nodes

* ✨ Add credential test functionality

* 🐛 Fix issue with OAuth autentication and lint issue

* ⚡ Fix build issue

* 🐛 Fix issue that url got always overwritten to empty

* ✨ Add pagination support

* ⚡ Code fix required after merge

* ⚡ Remove not needed imports

* ⚡ Fix credential test

* ✨ Add expression support for request properties and $self
support on properties

* ⚡ Rename $self to $value

* 👕 Fix lint issue

* ⚡ Add example how to send data in path

* ✨ Make it possible to not sent in dot notation

* ✨ Add support for postReceive:rootProperty

* ⚡ Fix typo

* ✨ Add support for postReceive:set

* ⚡ Some fixes

* ⚡ Small improvement

* ;zap: Separate RoutingNode code

* ⚡ Simplify code and fix bug

* ⚡ Remove unused code

* ✨ Make it possible to define "request" and "requestProperty" on
options

* 👕 Fix lint issue

* ⚡ Change $credentials variables name

* ✨ Enable expressions and access to credentials in requestDefaults

* ⚡ Make parameter option loading use RoutingNode.makeRoutingRequest

* ✨ Allow requestOperations overwrite on LoadOptions

* ✨ Make it possible to access current node parameters in loadOptions

* ⚡ Rename parameters variable to make future proof

* ⚡ Make it possible to use offset-pagination with body

* ✨ Add support for queryAuth

* ⚡ Never return more items than requested

* ✨ Make it possible to overwrite requestOperations on parameter
and option level

* 👕 Fix lint issue

* ✨ Allow simplified auth also with regular nodes

* ✨ Add support for receiving binary data

* 🐛 Fix example node

* ⚡ Rename property "name" to "displayName" in loadOptions

* ⚡ Send data by default as "query" if nothing is set

* ⚡ Rename $self to $parent

* ⚡ Change to work with INodeExecutionData instead of IDataObject

* ⚡ Improve binaryData handling

* ⚡ Property design improvements

* ⚡ Fix property name

* 🚨 Add some tests

* ⚡ Add also test for request

* ⚡ Improve test and fix issues

* ⚡ Improvements to loadOptions

* ⚡ Normalize loadOptions with rest of code

* ⚡ Add info text

* ✨ Add support for $value in postReceive

* 🚨 Add tests for RoutingNode.runNode

* ⚡ Remove TODOs and make url property optional

* ⚡ Fix bug and lint issue

* 🐛 Fix bug that not the correct property got used

* 🚨 Add tests for CredentialsHelper.authenticate

* ⚡ Improve code and resolve expressions also everywhere for
loadOptions and credential test requests

* ✨ Make it possible to define multiple preSend and postReceive
actions

* ✨ Allow to define tests on credentials

* ⚡ Remove test data

* ⬆️ Update package-lock.json file

* ⚡ Remove old not longer used code

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: PaulineDropcontact <pauline@dropcontact.io>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-02-05 22:55:43 +01:00
fc550ecbcb ⚡ Remove fibers to support Node LTS 16 (#2672)
* 🔥 Remove fibers lib

* 📦 Update package-lock.json

* 📦 Update package-lock.json

* ✏️ Mention recommended version

* ⚡ Update node version in Docker images

* ⬆️ bump uuid and flatted

* 📦 Update package-lock.json

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-04 19:13:26 +01:00
Jan Oberhauser 04c16a879f ⬆️ Update package-lock.json file 2022-01-30 15:06:28 +01:00
Jan Oberhauser 4dfe158d7c ⬆️ Update package-lock.json file 2022-01-22 18:55:37 +01:00
8cefafa47d ✨ Add BambooHR Node (#2471)
* Feature // Created BambooHR Node, Init Simple Api Calls for Employees

* BambooHR Added EmployeesFiles, CompanyFiles API Operations

* BambooHR / Refactor the code

* Bamboo HR Node // Refactor + Optimization of Employee Api Requests

* Bamboo HR Node // Refactor + Optimization of EmployeeFiles Api Requests

* Bamboo HR Node // Refactor + Optimization of CompanyFiles Api Requests

* Bamboo HR Node // Add Reports - Get Reports by ID

* Bamboo HR Node // Format BambooAPI Credential files

* Bamboo HR Node // Added Account Information API operations

* Bamboo HR Node //Add Https Reposnse Code for All  API Operations, Implement new Http Helper

* Bamboo HR Node // Added Tabular Data Api Operations

* Bamboo HR Node // Added Time Off Api Operations

* Bamboo HR Node //Fixed bugs for AccountInformation Operation, Uploading Employees File, TimeOff EstimationTime

* Bamboo HR Node // Update AccountInformation - UpdateFields Api operation

* Bamboo HR Node //Fixed Add and Update Table rows // Tabular Data API Operations

* Update AccountInformation - Added TimeOff Operations - Get Requests, Create Request, Create History Item, Fixed Get Types

* Bamboo HR Node // Fixed Adjust Time - TimeOff API Operation, Wrote comments, Finished TimeOff Api Operations

* Bamboo HR Node // Add Multi choice Property for Employee Operations, Expand and Add new Optional Fields for Creating and Updating Employee, Write Comments, Fixed Employee API operations

* Bamboo HR Node // Add Multi choice Property + Update Fields and Write Comments for Employee Files & Company Files & Reports Acc Info API Operation

* N8N-2603 Move Company Name Prop to Credentials, Changed Execution Function

* N8N-2603 Obtain Employee ID and bind to the response after create an employee, Refactor GetDirectoy to GetAll + update the output of the response

* N8N-2603 Refactor, Added ID in responses, Added Pagination to some operations

* N8N-2603 Refactor Employee Files to Employee File

* N8N-2603 Refactor CompanyFiles to Company File, Refactor CompanyFile:Create -> CompanyFile:addCategory

* N8N-2603 Refactor employeeFile:create -> employeeFile:addCategory, Get rid off Account Information resources

* N8N-2603 EmployeeFile:Update -> Change ShareWithEmployee Parameter to be boolean

* N8N-2603 CompanyFIle:update -> Change shareWithCompany prop to boolean

* N8N-2603 Added Load Options for getTimeOffTypeId, Rename AdditionalFields to UpdateFields

* N8N-2603 Updated Logo and Border

* N8N-2603 Refactor Employees to Employee

* N8N-2603 Linter Fixes

* N8N-2603 Refactor EmployeeFile:get -> EmployeeFile:download, CompanyFile:get -> CompanyFile:download

* N8N-2603 Linter fix

* N8N-2603 Linter Fixes

* N8N-2603 Hotfix

* N8N-2603 Fixed EmployeeFile:Download

* N8N-2603 Updated Assertion

* N8N-2603 Remove unnecesary description, optimized code, created separate loadOptions file

* N8N-2603 Added Download Function for CompanyFile operation

* N8N-2603 Added DateTime Fields instead of string, Removed Color prop from Node

* N8N-2603 Refactor Del to Delete

* N8N-2603 Added Upload Employ File Operation

* N8N-2603 Updated Possible Types of the Request

* N8N-2603 Fixed Linter Errors

* N8N-2603 Hotfix Upload Employee File Description

* N8N-2603 Added options to download the report

* ⚡ Improvements

* ⚡ Improvements

* ⚡ Simplify node

* ⚡ Fix linting issue

* ⚡ Improvements

* ⚡ Fix returned mimeType

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-01-22 10:46:13 +01:00
Jan Oberhauser 279052317d ⬆️ Update package-lock.json file 2022-01-16 14:37:06 +01:00
Jan Oberhauser f815f982b1 🐛 Fix build issue #2675 2022-01-13 07:37:19 +01:00
Jan Oberhauser 37fd561551 ⬆️ Update package-lock.json file 2022-01-09 17:13:50 +01:00
Iván Ovejero 5fec563c5c ⚡ i18n feedback refactorings (#2597)
* ⚡ Create endpoint for node credential translation

* ⚡ Add API helper method in FE

* 🔨 Add creds JSON files to tsconfig

* ⚡ Refactor credentials loading

* ⚡ Refactor calls in CredentialConfig

* ✏️ Add dummy translations

* ⚡ Split translations per node

* 🔥 Remove deprecated method

* ⚡ Refactor nesting in collections

* 🚚 Rename topParameter methods for accuracy

* ✏️ Fill out GitHub dummy cred

* 🚚 Clarify naming for collection utils

* ✏️ Fill out dummy translation

* 🔥 Remove surplus colons

* 🔥 Remove logging

* ⚡ Restore missing space

* 🔥 Remove lingering colon

* ⚡ Add path to InputLabel calls

* ✏️ Fill out dummy translations

* 🐛 Fix multipleValuesButtonText logic

* ⚡ Add sample properties to be deleted

* ⚡ Render deeply nested params

* 📦 Update package-lock.json

* 🔥 remove logging

* ✏️ Add dummy value to Slack translation

* ✏️ Add placeholder to dummy translation

* ⚡ Fix placeholder rendering for button text

* 👕 Fix lint

* 🔥 Remove outdated comment

* 🐛 Pass in missing arg for placeholder

* ✏️ Fill out Slack translation

* ⚡ Add explanatory comment

* ✏️ Fill out dummy translation

* ✏️ Update documentation

* 🔥 Remove broken link

* ✏️ Add pending functionality

* ✏️ Fix indentation

* 🐛 Fix method call in CredentialEdit

* ⚡ Implement eventTriggerDescription

* 🐛 Fix table-json-binary radio buttons

* ✏️ Clarify usage of eventTriggerDescription

* 🔥 Remove unneeded arg

* 🐛 Fix display in CodeEdit and TextEdit

* 🔥 Remove logging

* ✏️ Add translation for test cred options

* ✏️ Add test for separate file in same dir

* ✏️ Add test for versioned node

* ✏️ Add test for node in grouped dir

* ✏️ Add minor clarifications

* ✏️ Add nested collection test

* ✏️ Add pending functionality

* ⚡ Generalize collections handling

* 🚚 Rename helper to remove redundancy

* 🚚 Improve naming in helpers

* ✏️ Improve helpers documentation

* ✏️ Improve i18n methods documentation

* 🚚 Make endpoint naming consistent

* ✏️ Add final newlines

* ✏️ Clean up JSON examples

* ⚡ Reuse i18n method

* ⚡ Improve utils readability

* ⚡ Return early if cred translation exists

* 🔥 Remove dummy translations
2022-01-07 22:02:21 +01:00
Jan Oberhauser 1d4da56ffa ⬆️ Update package-lock.json file 2022-01-02 10:44:33 +01:00
Jan Oberhauser 4cb52c710f ⚡ Fix parameter "Ignore Bots" parameter order 2022-01-02 10:20:12 +01:00
Jan Oberhauser 4af8a5c24d ⬆️ Update package-lock.json file 2021-12-25 14:12:21 +01:00
Jan Oberhauser aecb30dfa8 🔀 Merge branch 'arpadgabor-feat/monaco' 2021-12-23 21:00:54 +01:00
Iván Ovejero 2b74b6238e ⚡ Deprecate step size and node color (#2586)
* 🔥 Deprecate numberStepSize

* 🔥 Deprecate color in non-FA nodes

* ⚡ Minor node name fixes

* 📦 Update package-lock.json

* ⏪ Restore Merge node color

* 👕 Fix lint
2021-12-23 13:30:35 +01:00
Jan Oberhauser fa760ee26b ⚡ Improve autocomplete and a few other changes 2021-12-23 11:41:46 +01:00
Jan Oberhauser 5f6e9767c9 🔀 Merge branch 'master' into i18n-v2 2021-12-19 13:52:04 +01:00
Jan Oberhauser 13696cfeac ⬆️ Update package-lock.json file 2021-12-19 13:42:44 +01:00
Iván Ovejero 7f901c663a 📦 Update package-lock.json 2021-12-16 17:15:50 +01:00
Iván Ovejero cd1bfe5365 📦 Update package-lock.json 2021-12-15 13:08:21 +01:00
Iván Ovejero c33cd0de3f 🔀 Merge master 2021-12-13 09:50:26 +01:00
Jan Oberhauser d999fbb059 ⬆️ Update package-lock.json file 2021-12-11 19:42:09 +01:00
Iván Ovejero 704caf09e2 📦 Update package-lock.json 2021-12-06 11:03:47 +01:00
Iván Ovejero 00ac975164 🔀 Merge master 2021-12-06 09:41:15 +01:00
Jan Oberhauser 83af3dfa12 ⬆️ Update package-lock.json file 2021-12-04 12:09:15 +01:00
Iván Ovejero 9459cfb3fe 📦 Update package-lock.json 2021-12-03 12:19:36 +01:00
Iván Ovejero 4e218a5e05 ⚡ Reduce calls to config object 2021-12-02 09:33:23 +01:00
Jan Oberhauser fe741bd90a 👕 Fix lint issue 2021-11-27 11:36:59 +01:00
Mutasem Aldmour 91bafb4860 ⚡ Commit package lock (#2470) 2021-11-25 18:12:38 +01:00