Commit Graph

4479 Commits

Author SHA1 Message Date
Mutasem Aldmour
a092609864 Rename twake creds (#2104) 2021-08-21 14:22:42 +02:00
Jan
5a179cd5ae Implement Wait functionality (#1817)
* refactor saving

* refactor api layer to be stateless

* refactor header details

* set variable for menu height

* clean up scss

* clean up indentation

* clean up dropdown impl

* refactor no tags view

* split away header

* Fix tslint issues

* Refactor tag manager

* add tags to patch request

* clean up scss

*  Refactor types to entities

* fix issues

* update no workflow error

* clean up tagscontainer

* use getters instead of state

* remove imports

* use custom colors

* clean up tags container

* clean up dropdown

* clean up focusoncreate

*  Ignore mistaken ID in POST /workflows

*  Fix undefined tag ID in PATCH /workflows

*  Shorten response for POST /tags

* remove scss mixins

* clean up imports

*  Implement validation with class-validator

* address ivan's comments

* implement modals

* Fix lint issues

* fix disabling shortcuts

* fix focus issues

* fix focus issues

* fix focus issues with modal

* fix linting issues

* use dispatch

* use constants for modal keys

* fix focus

* fix lint issues

* remove unused prop

* add modal root

* fix lint issues

* remove unused methods

* fix shortcut

* remove max width

*  Fix duplicate entry error for pg and MySQL

* update rename messaging

* update order of buttons

* fix firefox overflow on windows

* fix dropdown height

* 🔨 refactor tag crud controllers

* 🧹 remove unused imports

* use variable for number of items

* fix dropdown spacing

*  Restore type to fix build

*  Fix post-refactor PATCH /workflows/:id

*  Fix PATCH /workflows/:id for zero tags

*  Fix usage count becoming stringified

* address max's comments

* fix filter spacing

* fix blur bug

* address most of ivan's comments

* address tags type concern

* remove defaults

*  return tag id as string

* 🔨 add hooks to tag CUD operations

* 🏎 simplify timestamp pruning

* remove blur event

* fix onblur bug

*  Fix fs import to fix build

* address max's comments

* implement responsive tag container

* fix lint issues

* update tag limits

* address ivan's comments

* remove rename, refactor header, implement new designs for save, remove responsive tag container

* update styling

* update styling

* implement responsive tag container

* implement header tags edit

* implement header tags edit

* fix lint issues

* implement expandable input

* minor fixes

* minor fixes

* use variable

* rename save as

* duplicate fixes

* minor edit fixes

* lint fixes

* style fixes

* hook up saving name

* hook up tags

* clean up impl

* fix dirty state bug

* update limit

* update notification messages

* on click outside

* fix minor bug with count

* lint fixes

* handle minor edge cases

* handle minor edge cases

* handle minor bugs; fix firefox dropdown issue

* Fix min width

* apply tags only after api success

* remove count fix

* clean up workflow tags impl, fix tags delete bug

* fix minor issue

* fix minor spacing issue

* disable wrap for ops

* fix viewport root; save on click in dropdown

* save button loading when saving name/tags

* implement max width on tags container

* implement cleaner create experience

* disable edit while updating

* codacy hex color

* refactor tags container

* fix clickability

* fix workflow open and count

* clean up structure

* fix up lint issues

* fix button size

* increase workflow name limit for larger screen

* tslint fixes

* disable responsiveness for workflow modal

* rename event

* change min width for tags

* clean up pr

* address max's comments on styles

* remove success toasts

* add hover mode to name

* minor fixes

* refactor name preview

* fix name input not to jiggle

* finish up name input

* Fix up add tags

* clean up param

* clean up scss

* fix resizing name

* fix resizing name

* fix resize bug

* clean up edit spacing

* ignore on esc

* fix input bug

* focus input on clear

* build

* fix up add tags clickablity

* remove scrollbars

* move into folders

* clean up multiple patch req

* remove padding top from edit

* update tags on enter

* build

* rollout blur on enter behavior

* rollout esc behavior

* fix tags bug when duplicating tags

* move key to reload tags

* update header spacing

* build

* update hex case

* refactor workflow title

* remove unusued prop

* keep focus on error, fix bug on error

* Fix bug with name / tags toggle on error

* fix connection push bug

* :spakles: Implement wait functionality

* 🐛 Do not delete waiting executions with prune

*  Improve SQLite migration to not lose execution data anymore

*  Make it possible to restart waiting execution via webhook

*  Add missing file

* 🐛 Some more merge fixes

*  Do not show error for Wait-Nodes if in time-mode

*  Make $executionId available in expressions

* 👕 Fix lint issue

* 👕 Fix lint issue

* 👕 Fix lint issue

*  Set the unlimited sleep time as a variable

*  Add also sleeping webhook path to config

*  Make it possible to retrieve restartUrl in workflow

*  Add authentication to Wait-Node in Webhook-Mode

*  Return 404 when trying to restart execution via webhook which does
not support it

*  Make it possible to set absolute time on Wait-Node

*  Remove not needed imports

*  Fix description format

*  Implement missing webhook features on Wait-Node

*  Display webhook variable in NodeWebhooks

*  Include also date in displayed sleep time

*  Make it possible to see sleep time on node

*  Make sure that no executions does get executed twice

*  Add comment

*  Further improvements

*  Make Wait-Node easier to use

*  Add support for "notice" parameter type

* Fixing wait node to work with queue, improved logging and execution view

* Added support for mysql and pg

*  Add support for webhook postfix path

*  Make it possible to stop sleeping executions

*  Fix issue with webhook paths in not webhook mode

*  Remove not needed console.log

*  Update TODOs

*  Increase min time of workflow staying active to descrease possible issue
with overlap

* 👕 Fix lint issue

* 🐛 Fix issues with webhooks

*  Make error message clearer

*  Fix issue with missing execution ID in scaling mode

* Fixed execution list to correctly display waiting executins

* Feature: enable webhook wait workflows to continue after specified time

* Fixed linting

*  Improve waiting description text

*  Fix parameter display issue and rename

*  Remove comment

*  Do not display webhooks on Wait-Node

* Changed wording from restart to resume on wait node

* Fixed wording and inconsistent screen when changing resume modes

* Removed dots from the descriptions

* Changed docs url and renaming postfix to suffix

* Changed names from sleep to wait

*  Apply suggestions from ben

Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>

* Some fixes by Ben

*  Remove console.logs

*  Fixes and improvements

Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-08-21 14:11:32 +02:00
Ricardo Espinoza
12417ea323 Add Form.io Trigger (#2064)
* Initial commit n8n smartsheet and formio nodes
1. created smarsheet node that can add new rew to a particular smarsheet.
2. created formio trigger node which will listen to form.io form submit event and process data.

* Added coloum mapping logic form.io field label to smarsheet column title.
API and smartsheet sheetId configuration added to smartsheet node.

* Added smartsheet api credentials and used it in smartsheet node.

* Added logos to the form.io and smartsheet nodes.
Removed smartsheet and form.io npm dependencies from the nodes.
Added type check for the variables used.
fixed tslint errors in the created nodes.

*  Improvements to #1943

*  Improvements

*  Improvements

*  Some fixes and improvements

Co-authored-by: Parthiban Chandrasekar <pbr.reddys@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-21 12:53:06 +02:00
Omar Ajoue
199377e183 Replace glob-promise with fast-glob (#2096)
Co-authored-by: lublak <lublak.de@gmail.com>
2021-08-20 23:48:02 +02:00
Iván Ovejero
0a5b9ed153 Replace coda logo (#2107) 2021-08-20 23:36:33 +02:00
Omar Ajoue
7ce7285f7a Load credentials from the database (#1741)
* 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>
2021-08-20 18:57:30 +02:00
Ahsan Virani
178235e148 Initial changes for binary data management (#2105)
* introduce binary data management

* cr

* add binary data changes to awsS3 node

* add binary data changes to Box node

* add binary data changes to CiscoWebex node

* add binary data changes to HumaniticAi node

* add binary data changes to Jira node

* add binary data changes to Line node

* add binary data changes to MicrosoftOneDrive node

* add binary data changes to MicrosoftOutlook node

* add binary data changes to Mindee node

* add binary data changes to NocoDB node

* add binary data changes to Pushbullet node

* add binary data changes to Pushover node

* add binary data changes to Raindrop node

* add binary data changes to S3 node

* add binary data changes to Salesforce node

* add binary data changes to Ssh node

* add binary data changes to TheHive node

* add binary data changes to Twist node

* add binary data changes to Twitter node

* remove changes not needed right now

* 🐛 Fix issue with multiple runs

* 🐛 Revert fix and add support for multiple inputs

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-20 18:08:40 +02:00
Jan Oberhauser
7da86641d5 🐛 Fix issue with referencing values before loops 2021-08-19 18:29:20 +02:00
Omar Ajoue
6bc3a20591 Merge pull request #2098 from n8n-io/fix-webhook-id-issue-duplicate
Updates webhook UUIDs to a new one when duplicating
2021-08-19 16:32:36 +02:00
Omar Ajoue
3b73cb6a56 Adjustments suggested by @mutdmour 2021-08-19 15:26:38 +02:00
Omar Ajoue
82dbbcd2e0 Changed the webhook id change code placement 2021-08-19 10:51:30 +02:00
Omar Ajoue
86fa3a6b9e Updates webhook UUIDs to a new one when duplicating 2021-08-18 16:25:05 +02:00
Jan Oberhauser
7ef2934626 Add user-agent to Wordpress node 2021-08-18 13:13:31 +02:00
Jan Oberhauser
967aabbf55 🔖 Release n8n@0.134.0 2021-08-15 18:32:57 +00:00
Jan Oberhauser
b4600d787d ⬆️ Set n8n-core@0.79.0, n8n-editor-ui@0.102.0 and n8n-nodes-base@0.131.0 on n8n 2021-08-15 18:32:57 +00:00
Jan Oberhauser
2d1e3de219 🔖 Release n8n-editor-ui@0.102.0 2021-08-15 18:32:12 +00:00
Jan Oberhauser
64bb53438b 🔖 Release n8n-nodes-base@0.131.0 2021-08-15 18:31:17 +00:00
Jan Oberhauser
4380b3a315 ⬆️ Set n8n-core@0.79.0 on n8n-nodes-base 2021-08-15 18:31:16 +00:00
Jan Oberhauser
68519a3bc7 🔖 Release n8n-node-dev@0.19.0 2021-08-15 18:31:00 +00:00
Jan Oberhauser
10c81a1466 ⬆️ Set n8n-core@0.79.0 on n8n-node-dev 2021-08-15 18:30:59 +00:00
Jan Oberhauser
9757ebab43 🔖 Release n8n-core@0.79.0 2021-08-15 18:30:45 +00:00
Ricardo Espinoza
02026fa29f Add more parameters to company resource (Mautic) (#2087)
* Add Json params on company

* Revert and add only JSON params on Company

* Fix Company search field

*  Improvements to #1957

*  Improvements

Co-authored-by: Dokime <jnau5@yahoo.com>
2021-08-15 11:52:44 +02:00
Ricardo Espinoza
56b82439cd Add scan option to item:getAll (DynamoDB) (#2085)
* aws dynamodb: fixes using FilterExpression on Query

* aws dynamodb: add Scan (again)

*  Improvements to #2021

*  Set scan to "false" by default to make it none breaking

Co-authored-by: Michael Hirschler <michael.vhirsch@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-14 08:59:14 +02:00
Ricardo Espinoza
a9987cd541 Add timezone support to date type field in Notion (#2082)
* Add timezone in date property on Notion

Signed-off-by: 5pecia1 <pdpxpd@gmail.com>

*  Improvements to #2036

*  Minor improvements

Co-authored-by: 5pecia1 <pdpxpd@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-13 20:57:18 +02:00
Iván Ovejero
a6bdc0d0b2 Fix ignored config file extension (#2083) 2021-08-13 16:40:20 +02:00
Harshil Agrawal
9d6d2752a7 Add credential documentation link for Action Network (#2020) 2021-08-13 12:04:01 +02:00
Ahsan Virani
31cf43c294 Add additional frontend hooks (#2073) 2021-08-13 12:01:12 +02:00
Jan Oberhauser
309324f60f Allow crypto-js bugfix versions 2021-08-13 11:58:52 +02:00
Snyk bot
98a6d784b8 ⬆️ Set crypto-js@4.1.1 on n8n-core
Snyk has created this PR to upgrade crypto-js from 4.0.0 to 4.1.1.

See this package in npm:
https://www.npmjs.com/package/crypto-js

See this project in Snyk:
https://app.snyk.io/org/janober/project/2579c34e-cd60-421b-a46b-41f87f875eec?utm_source=github&utm_medium=upgrade-pr
2021-08-13 11:58:21 +02:00
Iván Ovejero
eb05e90197 Add QuickBooks transactions report (#2040)
* add get QBO report: transaction list

* merge upstream with n8n master

* Update QuickBooks.node.ts

* add back transaction list resource

*  Refactor transactions list expansion

*  Alphabetize options

*  Fix param type of source account types

*  Add missing description

*  Improve memo display name

*  Fix default values

*  Fix casing

* 🔥 Remove logging

*  Remove time from dates

* 🔨 Rename operation

*  Add simplify response toggle

* 🐛 Fix issue when transaction:getReport does not return data

Co-authored-by: Calvin Tan <calvin14@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-08-13 11:45:26 +02:00
Iván Ovejero
0bfc00c129 Add Additional FIelds to Deal:GetAll to Pipedrive and easy filter selection (#2074)
* Added Aditional Fields to Deal GetAll

*  Improvements

*  Improvements

Co-authored-by: Rodrigo Correia <rodrigoscdc@gmail.com>
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Ricardo Espinoza <ricardo@n8n.io>
2021-08-13 10:22:00 +02:00
CFarcy
1825cb4515 Typo in baserow create operation to match description (#2078) 2021-08-12 14:37:21 +02:00
Harshil Agrawal
6e930a521f Add codex files (#2079) 2021-08-12 14:32:57 +02:00
Omar Ajoue
63bc4097e0 Automatically add trailing slash to webhook urls (#2076)
* Add trailing slash to webhook url if not present

Relates to community post https://community.n8n.io/t/problem-with-google-calendar-credentials/7232

We'll be adding a trailing slash as it's a requisite.

* Adding slash to all cases.
2021-08-12 11:22:44 +02:00
Iván Ovejero
92f98d4bcc Integrate nodelinter into n8n (#2071) 2021-08-12 10:33:48 +02:00
Jan Oberhauser
5ad9a29fa4 Rename parameter to be consistent 2021-08-11 19:48:31 +02:00
Ricardo Espinoza
8998423934 Add name parameter to file:update to GoogleDrive (#2065) 2021-08-11 19:37:18 +02:00
Ricardo Espinoza
afff86d9ae 🐛 Fix issue when sending context parameter to Hubspot (#2035) 2021-08-11 19:35:21 +02:00
Omar Ajoue
47fbd5e762 Allow usage of special characters on SES (#2068) 2021-08-10 14:51:58 +02:00
Jan Oberhauser
1d4a5ba8ce 🔖 Release n8n@0.133.0 2021-08-08 10:48:21 +00:00
Jan Oberhauser
73c83fddba ⬆️ Set n8n-editor-ui@0.101.0 and n8n-nodes-base@0.130.0 on n8n 2021-08-08 10:48:20 +00:00
Jan Oberhauser
c2d043ecc1 🔖 Release n8n-editor-ui@0.101.0 2021-08-08 10:47:29 +00:00
Jan Oberhauser
c43375fc5c 🔖 Release n8n-nodes-base@0.130.0 2021-08-08 10:46:24 +00:00
Ben Hesseldieck
ffecbc7004 🐛 Fix db connection check /healthz (#2041)
* 🐛 fix db connection check

* 👕 fix missing semi

*  Revert "🐛 Hardcode typeorm@0.2.34 as new version makes health-check fail"

This reverts commit ddee2ec47c.

* 🐛 fix health-check in WebhookServer
2021-08-08 12:04:04 +02:00
Jan Oberhauser
72d57537de 🐛 Fix issue with empty folders on Nextcloud node #2057 2021-08-08 11:47:23 +02:00
Mutasem Aldmour
fc6d3ad8c0 Add "Follow All Redirects" option to HTTP Request Node (#2046)
* redirect post/put/delete/patch requests

* add redirect all option

*  Minor improvement

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-08 11:27:07 +02:00
Jan
6ffc46c79d Revert "🐛 Fix ipad drag issue (#2016)" (#2062)
This reverts commit 5bdcadf93d.
2021-08-08 11:14:09 +02:00
Mutasem Aldmour
5bdcadf93d 🐛 Fix ipad drag issue (#2016) 2021-08-08 10:43:34 +02:00
Ricardo Espinoza
2e309bef7f 🐛 Fix Spotify pagination bug (#2061)
* Fixed missing value

Fixed infinite amount of interval triggered nodes executions

* Fixed inifite loop on Spotify Node

* Hide Limit parameter

* Logic operator fix

* Spotify getFollowingArtists returnAll fix

*  Small improvements to #2054

* 👕 Fix lint issue

Co-authored-by: Лебедев Иван <11215636+X-pech@users.noreply.github.com>
Co-authored-by: X-pech <lisgml@gmail.com>
2021-08-08 09:58:04 +02:00
Iván Ovejero
1529550b14 Add Monica CRM node (#2045)
*  Create Monica node

*  Fix default values

* 🔥 Remove excess spacing

*  Improvements

*  Improvements

*  Add environment parameter

*  Add sort parameter to contact:getAll

*  Minor improvements

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-08-08 09:51:44 +02:00