Commit graph

2746 commits

Author SHA1 Message Date
Thorsten Freitag 134845bb08 Added option to connect to self-hosted Grist instance. 2022-02-19 22:29:28 +11:00
Ricardo Espinoza c026642f7b
Add extra larga size option to Telegram (#2827) 2022-02-18 16:09:44 +01:00
Harshil Agrawal ce9cca82b1
Add missing codex files (#2835) 2022-02-17 17:22:29 +01:00
Jan Oberhauser 54b2e46bdb 🔖 Release n8n-nodes-base@0.161.0 2022-02-13 09:55:00 +00:00
Jan Oberhauser c447cdb8b8 👕 Fix lint issue 2022-02-13 09:42:51 +01:00
Jan Oberhauser df2c4e99af Make it possible to get file from specific branch/tag/commit
via GitHub
2022-02-12 18:36:57 +01:00
Iván Ovejero f3665ac245
Sanitize description in uProc node (#2776)
* 🔥 Sanitize link

* 🔥 Shorten description
2022-02-12 12:06:35 +01:00
Iván Ovejero 5528698c31
Add Zammad node (#2621)
* add zammad

*  First pass

* 👕 Fix lint

*  Refactor user resource

*  Refactor group resource

*  Refactor ticket resource

*  Minor improvements

*  Set workaround for broken endpoints

* 👕 Fix lint

*  Fix credentials test

* 📦 Update package-lock.json

*  Change defaults for active

*  Refactor creds

* 👕 Fix lint

* 📦 Update package-lock.json

*  Make first and last name required

*  Replace email with login

*  Switch defaults to true

*  Add custom fields to groups

*  Add inactive entities to loaders

*  Move email to optional fields

*  Validate for empty article

* 🔥 Remove `ticket:update` per feedback

* 📦 Update package-lock.json

* 🚚 Rename import

* 👕 Fix lint

*  Small improvements

*  Improvements

Co-authored-by: quansenB <inaki.breinbauer@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2022-02-12 08:40:54 +01:00
Ricardo Espinoza f43a38951c
Add StatusCallback parameter - Twilio (#2801)
*  Add StatusCallback parameter

*  Fix type

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-11 21:09:12 +01:00
Michael Kret 66acaade29
Add HaloPSA node (#2620)
* added node ui

* wip problems with auth

* updated authentication

* fixed linter error

* added haloPSA request function

* removed any return type

* fixed linter errors

* added CRUD functionalities

* updating branch from master

* updated create case for clients resource, added limit to getAll operation

* added required fields when creating clients and sites, added methods for fetching data to dynamicly populate  options when creating site or client

* added required fields for users and invoices when operation is create

* 🔨 Removed some commented code

* 🐛 Fix bug in url formating

* 🔨 fixed plural resources, fixed main for loop

* 🔨 fix trailing coma

* 🔨 fix for wrong resource endpoints

* 🔨 fixed linter complain in Jenkings node

* 🔨 replace custom fields with predefined

* 🔨 updating resources optional fields

*  Small improvement

* 🔨 replaced fixedCollection to collection in resources description

* 🔨 updated site and ticket descriptions, code clean up

* 🔨 fixed accordingly to PR review

*  Improvements

*  Improvements

*  Fix capitalization

* 👕 Fix trailing comma

* 🚧 node changes accordingly to review

*  lint errors fix

*  Activate simplify option by default

*  Fix some more issues

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-11 19:00:30 +01:00
Ricardo Espinoza f35d123776
Add Linear Trigger node (#2767)
*  Linear Trigger

* 🎨 Replace PNG with SVG icon

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2022-02-11 17:20:41 +01:00
Harshil Agrawal 9335ee5deb
Update Codex files (#2797) 2022-02-11 13:20:42 +01:00
pemontto feb17ae84e
🐛 Fix confusing placeholder text (#2557) 2022-02-11 09:24:36 +01:00
Jan Oberhauser a368d93874 🔖 Release n8n-nodes-base@0.160.0 2022-02-06 11:00:14 +00:00
Jan Oberhauser adf5f9a8f3 ⬆️ Set n8n-core@0.104.0 and n8n-workflow@0.86.0 on n8n-nodes-base 2022-02-06 11:00:14 +00:00
Harshil Agrawal 44275ab444
Add codex file for BambooHR (#2742) 2022-02-05 23:03:59 +01:00
Jan Oberhauser 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
pemontto c7e73d757a
Add File->List to GitHub node (#2752)
* 🐛 Don't extract binary from Github directory

*  Add file list operation
2022-02-04 20:18:30 +01:00
Iván Ovejero 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 2cc1f58f46 🐛 Fix issue that XML node changes incoming data #2762 2022-02-04 12:16:34 +01:00
Jan Oberhauser 27ef313c7c 🔖 Release n8n-nodes-base@0.159.0 2022-01-30 14:07:46 +00:00
Jan Oberhauser d167a930e4 ⬆️ Set n8n-core@0.103.0 and n8n-workflow@0.85.0 on n8n-nodes-base 2022-01-30 14:07:45 +00:00
Ricardo Espinoza 3cde6bd426
🐛 Fix issue getting binary data when filesystem mode is used - Move Binary Data (#2727)
* 🐛 Fix issue getting binary data when filesystem mode is used

*  Simplifications

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-01-28 08:46:30 +01:00
Cornelius Suermann 48b2a0b857
✏️ Markdowm -> Markdown; Closes #N8N-2893 (#2728) 2022-01-28 08:32:24 +01:00
Michael Kret 6d6f3acd97
Add parameter hints for node parameters N8N-2841 (#2704)
* 🔨 base functionality done

* :fix: changes accordingly to review

* :fix: replaced div with n8n-text

* :fix: return wrong deleted color variable

* add mock examples for testing

* add slack node test param

* 🔨 changed font size of hint, added top margin

* 🔨 updated comments and function name

* 🔨 updated parameterHint to hint

* 🔨 updated text color, set compact to true, changed inputLabelHint to hint

* 🔨 updated components styles

* 🔨 replaced mini with xsmall

* :fix: fixed line height

* :fix: changed line height to 1.25

* :hummer: removed mock data

* 🔨 changed xsmall line-height

*  update to merge hint

Co-authored-by: Mutasem <mutdmour@gmail.com>
2022-01-28 07:55:25 +01:00
Ricardo Espinoza 9639742cc6
🐛 Keep BCC headers when sending email - Gmail node (#2721)
* 🐛 Keep BCC headers when sending email

*  Fix typo

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-01-27 21:25:32 +01:00
Jan Oberhauser d22c0deea4 ERPNext do not error if no data found 2022-01-24 17:20:27 +01:00
fabian wohlgemuth daf91a1228
Change "name" to "id" in label and description of Airtable nodes (#2719)
* Changing "name of table" to "id of table"

* Change "name of table" to "id of table" in trigger node

* Change displayName from Table to Table ID
2022-01-24 17:01:44 +01:00
Jan Oberhauser 19af1de3a0 🔖 Release n8n-nodes-base@0.158.0 2022-01-22 17:56:44 +00:00
Jan Oberhauser 06157f5f6b ⬆️ Set n8n-core@0.102.0 and n8n-workflow@0.84.0 on n8n-nodes-base 2022-01-22 17:56:44 +00:00
Jan Oberhauser bbf3c4c004 Fix name of BambooHR node 2022-01-22 18:48:58 +01:00
Oliver Trajceski 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
Mutasem Aldmour 49bf786e5b
Improve workflow activation (#2692)
* feat: activator disabled based on thiggers

* feat: tooltip over inactive switch

* feat: message for trigger types

* feat: deactivate on save if trigger is removed

* chore: refactor executions modal

* feat: calculate service name if possible

* feat: alert on activation

* chore: fix linting

* feat: always enable activator when active

* fix: adjust the alert

* feat: take disabled state into account

* feat: automatically save on activation

* feat: rely on nodes name and edit messages

* feat: isolate state for each activator instance

* feat: create activation modal component

* feat: activationModal checkbox and trigger message

* feat: add activation messages to node config

* chore: style activation modal

* chore: style fixes

* feat: refactor disabled state

* chore: refactor modal

* chore: refactor modal

* chore: tidy the node config

* chore: refactor and styling tweaks

* chore: minor fixes

* fix: check webhooks from ui nodes

* chore: remove saving prompt

* chore: explicit current workflow evaluation

* feat: add settings link to activation modal

* fix: immediately load executions on render

* feat: exclude error trigger from trigger nodes

* chore: add i18n keys

* fix: check localstorage more strictly

* fix: handle refresh in execution list

* remove unnessary event

* remove comment

* fix closing executions modal bugs

* update closing

* update translation key

* fix translation keys

* fix modal closing

* fix closing

* fix drawer closing

* close all modals when opening executions

* update key

* close all modals when opening workflow or new page

* delete unnessary comment

* clean up import

* clean up unnessary initial data

* clean up activator impl

* rewrite

* fix open modal bug

* simply remove error

* refactor activation logic

* fix i18n and such

* remove changes

* revert saving changes

* Revert "revert saving changes"

25c29d1055

* add translation

* fix new workflows saving

* clean up modal impl

* clean up impl

* refactor common code out

* remove active changes from saving

* refactor differently

* revert unnessary change

* set dirty false

* fix i18n bug

* avoid opening two modals

* fix tooltips

* add comment

* address other comments

* address comments

Co-authored-by: saintsebastian <tilitidam@gmail.com>
2022-01-21 18:00:00 +01:00
Jonathan Bennetts a9cef48048
🐛 Fix Get New Releases Operation (#2560)
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2022-01-21 14:25:37 +01:00
Jan Oberhauser 4c029e5401 🐛 Fix issue with not returning more than 1000 items 2022-01-21 14:10:30 +01:00
Jan Oberhauser 1566dafb3e 🐛 Make sure that header keys are always lower case #2663 2022-01-21 10:55:19 +01:00
Tom 55139a4e6c
🐛 OneDrive: Fix pagination (#2706) 2022-01-21 10:46:33 +01:00
Ricardo Espinoza 9fc1d16e7c
🐛 Fix issue with pagination - Mautic node (#2686) 2022-01-21 10:42:14 +01:00
Omar Ajoue 2e57d86fd6
Change the place where output format is made (#2506)
The router file now correctly returns a `INodeExecutionData[][]`
instead of a simple `INodeExecutionData[]` forcing the main node
file to correct this.
2022-01-21 10:32:16 +01:00
Iván Ovejero f5991e17db
📌 Pin chokidar verison (#2696) 2022-01-18 11:15:34 +01:00
Jan Oberhauser 8c25fb676a 🔖 Release n8n-nodes-base@0.157.0 2022-01-16 13:39:12 +00:00
Jan Oberhauser 35931071ad ⬆️ Set n8n-core@0.101.0 and n8n-workflow@0.83.0 on n8n-nodes-base 2022-01-16 13:39:12 +00:00
Ricardo Espinoza 6066b6670e
🐛 Fix bug filtering date and datetime fields on Salesforce node (#2565) 2022-01-16 14:27:20 +01:00
Iván Ovejero ba6822c4ac
👕 Remove redundant linting options (#2626) 2022-01-15 20:34:13 +01:00
Jan Oberhauser ac1659959b 👕 Fix lint issue 2022-01-15 20:33:30 +01:00
Jonathan Bennetts 27c5b218ab
🐛 Fix download for some files via Box node (#2669) 2022-01-15 20:12:32 +01:00
Jan Oberhauser 3d4c1cb23f
Add OAuth, basicAuth, digestAuth and queryAuth support to GraphQL node (#2673)
*  Add OAuth support to GraphQL node

*  Add basicAuth, digestAuth and queryAuth to GraphQL node
2022-01-15 20:05:15 +01:00
Harshil Agrawal 7ff7c53fc1
Add and update codex files (#2679) 2022-01-15 19:54:44 +01:00
Elvina Valieva add9c30e38
Add Jenkins Node (#2345)
* feat: initial jenkins setup

* feat: trigger job functionality

* feat: copy a job

* feat: basic Jenkins instance operations

* feat: create job from xml

* feat: trigger with params

* feat: basic build list

* feat: list build with params

* feat: basic credentials test

* chore: linting fixes

* feat: use baseUrl from credentials

* chore: naming fixes

* feat: filters collection for getall buils

* fix: better ui and credentials

* chore: alphabetize params and fix typos

*  Small changes

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Some improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-01-15 13:19:37 +01:00
Tom e0ef645514
🐛 Fix Philips Hue API Connection (#2631)
* 🐛 Fix Philips Hue API Connection

* Philips Hue Node: Fixed typo in  update operation description
2022-01-13 07:51:58 +01:00