Commit graph

898 commits

Author SHA1 Message Date
Omar Ajoue 86fa3a6b9e Updates webhook UUIDs to a new one when duplicating 2021-08-18 16:25:05 +02:00
Ahsan Virani 31cf43c294
Add additional frontend hooks (#2073) 2021-08-13 12:01:12 +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
Mutasem Aldmour fa31c0c7b6
🐛 Fix UI blocking with large workflows (#2053)
* fix reactivity bug

* Clean up props

* add comma

* clean up, reduce reactivity more

* ts issues
2021-08-07 09:35:59 +02:00
Jan Oberhauser 2afd93520a 🐛 Fix issue that it displayed URLs after credential change for all
node types
2021-07-23 22:27:22 +02:00
Mutasem Aldmour 47eb2c73ca
Refresh options #1678 (#2012)
* Allow refresh remoteOptions

* clean up pr, update option name, move option down

Co-authored-by: Anthr@X <4828355+AnthraX1@users.noreply.github.com>
2021-07-23 17:52:25 +02:00
Mutasem Aldmour a9550202df
🧹 clean up editor based on #1418 (#2010)
* clean up editor based on #1418

* remove unused ref

* address comment on guard style
2021-07-23 17:50:47 +02:00
MedAliMarz 5602929210
🎨 Update webhook URL details UI (#2004)
* Update the webhook URL details

* Change radio buttons values

* Limit the effects for the webhook node
2021-07-23 17:42:46 +02:00
MedAliMarz 10acbecfaa
🐛 Fix workflow activation confirmation modal (#2005)
* Show the activation message if the workflow is not saved

* Apply review changes
2021-07-23 09:32:56 +02:00
Mutasem Aldmour 98ec23544b
Add new version notification (#1977)
* add menu item

* implement versions modal

* fix up modal

* clean up badges

* implement key features

* fix up spacing

* add error message

* add notification icon

* fix notification

* fix bug when no updates

* address lint issues

* address multi line nodes

* add closing animation

* keep drawer open

* address design feedback

* address badge styling

* use grid for icons

* update cli to return version information

* set env variables

* add scss color variables

* address comments

* fix lint issue

* handle edge cases

* update scss variables, spacing

* update spacing

* build

* override top value for theme

* bolden version

* update config

* check endpoint exists

* handle long names

* set dates

* set title

* fix bug

* update warning

* remove unused component

* refactor components

* add fragments

* inherit styles

* fix icon size

* fix lint issues

* add cli dep

* address comments

* handle network error

* address empty case

* Revert "address comments"

480f969e07

* remove dependency

* build

* update variable names

* update variable names

* refactor verion card

* split out variables

* clean up impl

* clean up scss

* move from nodeview

* refactor out gift notification icon

* fix lint issues

* clean up variables

* update scss variables

* update info url

* Add instanceId to frontendSettings

* Use createHash from crypto module

* Add instanceId to store & send it as http header

* Fix lintings

* Fix interfaces & apply review changes

* Apply review changes

* add console message

* update text info

* update endpoint

* clean up interface

* address comments

* cleanup todo

* Update packages/cli/config/index.ts

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

* update console message

*  Display node-name on hover

*  Formatting fix

Co-authored-by: MedAliMarz <servfrdali@yahoo.fr>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-22 10:22:17 +02:00
MedAliMarz e2e57539d6
🐛 Change the dirty state after deleting a workflow (#1992) 2021-07-17 09:00:39 +02:00
Jan Oberhauser 45e73ad628 👕 Fix lint issue 2021-07-11 18:18:01 +02:00
Iván Ovejero 922880f93d
Fix workflow ID type on download (#1956) 2021-07-10 23:23:19 +02:00
Omar Ajoue d3da5023f0
🐛 Fix "unknown", never-end workflow and not displaying error message (#1978)
* Added try catch blocks to avoid endlessly running workflows

* Added handling for subworkflows

*  Fix one cause of "unkown" status of worklows with "main" mode

*  Fix one cause of "unkown" status of worklows with "own" mode

*  Fix one cause of "unkown" status of worklows with "queue" mode

* Saving database recovery

* 🐛 Fix issue that errors did not get saved correctly and also not
displayed

*  Save workflow timeout correctly as error

* Adding error capture to queued jobs

*  Mark canceled executions as not finished consistently across all
modes

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-10 11:34:41 +02:00
Mutasem Aldmour a842e4bc0a
🐛 Fix nodes panel reactivity bug (#1972)
* add keys

* fix nodes panel reactivity bug

* fix lint issues
2021-07-08 07:46:20 +02:00
Omar Ajoue 8d235e94cb
Performance improvements for executions count on Postgres (#1888)
* Performance improvements for executions count on Postgres

As reported by a community member https://community.n8n.io/t/stress-load-testing/4846/5
and https://github.com/n8n-io/n8n/issues/1578, when using postgres with
a big volume of executions, the executions list's performance degrades.

This PR is aimed at Postgres specifically by querying postgres' stats
collector instead of running a full table scan, providing a good
estimate.

More can be read here: https://www.citusdata.com/blog/2016/10/12/count-performance/

* Removed order of magnitude so we display closer numbers

* Making count based on statistics only when not applying filters

*  Minor styling improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-07-06 23:25:25 +02:00
Jan Oberhauser b49202687d Add support to display binary video content 2021-07-03 14:30:02 +02:00
Mutasem Aldmour a42bbf88f8
Enable tags selection (#1960) 2021-07-01 10:15:28 +02:00
Mutasem Aldmour a080fab1f1
Update click outside events to limit only to click events, ignoring blur (#1953) 2021-06-30 09:17:30 +02:00
Mutasem Aldmour a4d0c0fcad
🐛 Fix keyboard shortcut issues (#1934)
* fix keyboard shortcut issues

* remove duplicate check

* remove duplicate check
2021-06-29 10:47:28 +02:00
Mutasem Aldmour f940ba8f71
🐛 Fix workflow execution bugs (#1941) 2021-06-27 08:37:53 +02:00
Mutasem Aldmour 69a013d719
Improve zooming (#1903)
* implement import

* set name, remove console log

* add validation and such

* remove monday.com package for testing

* clean up code

* await new name

* refactor api requests

* remove unnessary import

* build

* add zoom button

* update positions on loading template

* update error handling

* build

* update zoom to center

* set state to dirty upon leaving

* clean up pr

* refactor func

* refactor redir

* fix lint issue

* refactor func out

* use new endpoint

* revert error changes

* revert error changes

* update logic to find top left node

* zoom to fit when opening workflow

* revert testing change

* update zoom buttons to focus on origin

* update zoom shortcut

* update shortcuts

* update case

* remove debounce

* add secondary mappings

* fix reset

* add semicolon

* split func

* address comments

* refactor out

* refactor out

* reset zoom when opening new workflow

* move interface to common file

* remove duplicate

* fix import sort

* clean up pr

* clean up pr

*  Ignore keyboard shortcuts in select fields

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-23 12:49:34 +02:00
Iván Ovejero bd4fbf3a4b
Touch up display for large error cause (#1927) 2021-06-22 19:43:43 +02:00
Mutasem Aldmour 1d5ba3d437
Allow to load workflow templates (#1887)
* implement import

* set name, remove console log

* add validation and such

* remove monday.com package for testing

* clean up code

* await new name

* refactor api requests

* remove unnessary import

* build

* add zoom button

* update positions on loading template

* update error handling

* build

* update zoom to center

* set state to dirty upon leaving

* clean up pr

* refactor func

* refactor redir

* fix lint issue

* refactor func out

* use new endpoint

* revert error changes

* revert error changes

* update logic to find top left node

* zoom to fit when opening workflow

* revert testing change

* update case

* address comments

* reset zoom when opening new workflow

* update endpoint to plural form

* update endpoint

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-22 19:33:07 +02:00
Ben Hesseldieck c0c994d245
Add hooks to Node Lifecycle (#1882)
*  add hook when closing node editing view

*  add hook for node deletion

*  add hook call to escape key
2021-06-18 22:47:03 +02:00
Ben Hesseldieck 0470740737
Change the UI of the Nodes Panel (#1855)
* Add codex search properties to node types

* implement basic styles

* update header designs

* update node list designs

* add trigger icon

* refactor node creator list

* implement categories and subcategories

* fix up spacing

* add arrows

* implement navigatable list

* implement more of feature

* implement navigation

* add transitions

* fix lint issues

* fix overlay

*  Get and add codex categories

* fix up design

* update borders

* implement no-matches view

* fix preview bug

* add color to search

* clean up borders

* add comma

* Revert "Merge branch 'add-codex-data' of github.com:n8n-io/n8n into PROD-819-nodes-panel-redesign"

38b7d7ead1

* use new impl

* remove empty categories

* update scrolling, hide start node

* make scrollable

* remove text while subcategory panel is open

* fix up spacing

* fix lint issues

* update descriptions

* update path

* update images

* fix tags manager

* give min height to image

* gst

* update clear color

* update font size

* fix firefox spacing

* close on click outside

* add external link icon

* update iterator key

* add client side caching for images

* update caching header

* ️ Add properties to codex for nodes panel (#1854)

*  Get and add codex categories

*  Add parens to evaluation + destructuring

* 🔥 Remove non-existing class reference

*  Add alias to codex property

* move constants

* 🔨 Rename CodexCategories to CodexData

* ✏️ Update getCodex documentation

* refactor and move

* refactor no results view

* more refactoring

* refactor subcategory panel

* more refactoring

* update text

* update no results view

* add miscellaneous to end of list

* address design feedback

* reimplement node search

* fix up clear

* update placeholder color

* impl transition

* focus on tab

* update spacing

* fix transition bug on start

* fix up x

* fix position

* build

* safari fix

* remove input changes

* css bleed issue with image

* update css value

* clean up

* simplify impl

* rename again

* rename again

* rename all

* fix hover bug

* remove keep alive

* delete icon

* update interface type

* refactor components

* update scss to module

* clean up impl

* clean up colors as vars

* fix indentation

* clean up scss

* clean up scss

* clean up scss

* clean up scss

* Clean up files

* update logic to be more efficient

* fix search bug

* update type

* remove unused

* clean up js

* update scrollable, border impl, transition

* fix simicolon

* build

* update search

* address max's comments

* change icon border radius

* change margin

* update icon size

* update icon size

* update slide transition out

* add comma

* remove full

* update trigger icon size

* fix image size

* address design feedback

* update external link icons

* address codacy issues

* support custom nodes without codex file

* address jan's feedback

* address Ben's comments

* add subcategory index

* open/close categories with arrow keys

* add lint comment

* Address latest comments

*  Minor changes

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-18 07:58:26 +02:00
Iván Ovejero c0ec1ed606
Show activation error details for trigger nodes (#1787)
*  Implement error details in toast notification

*  Refactor error notification

*  Pipe activation error in prod mode to FE

*  Add node name to activation error details

*  Disable ignoring with ts-check

* 📝 fix spelling

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-06-12 17:06:56 +02:00
Jan Oberhauser 09e14987f0 🐛 Display issue that view crashes with large requests 2021-06-06 14:53:48 -05:00
MedAliMarz 6ccb42156d
🐛 Fix NodeViewNew navigation handling (#1853)
* 🐛 Fix NodeViewNew navigation handling

* Use event emitter pattern to fix duplicate navigation

* Apply review suggestions

* Remove unnecessary arrow function

*  Also fix for keyboard shortcut

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-06-04 16:13:42 -05:00
Iván Ovejero 40e41f7506
Restructure IPushData union types (#1836)
*  Send console.log messages to editor-UI

*  Send message only to session which started workflow

*  Made it also work in own process

*  Add support for console.log UI forward also to FunctionItem Node

* 👕 Fix lint issue

* 👕 Fix linting issue

*  Restructure IPushData unions in /cli

*  Restructure IPushData unions in /editor-ui

* 🔥 Remove unneeded castings

* 🔥 Remove commented code

*  Improve code

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
Co-authored-by: Jan <janober@users.noreply.github.com>
2021-06-03 18:17:18 -05:00
Jan Oberhauser e4bac15d05 🐛 Fix issue that deleted value in expression did reappear after item select 2021-06-03 16:53:01 -05:00
Jan Oberhauser 8ce158d1a4 🐛 Fix error message on textarea field clicks 2021-06-02 20:48:07 -05:00
Jan Oberhauser 8f6344fbd5 🐛 Fix issue with selecting variables in Expression Editor 2021-05-31 12:59:45 -05:00
Mutasem Aldmour 7a5e69d4e5
🐛 Enable header clicks on tags (#1848)
* enable header clicks

* remove unused func
2021-05-31 18:34:55 +02:00
Jan Oberhauser 4d86384d9d 🐛 Fix issue with adding expression to parameter 2021-05-29 22:41:54 -05:00
Jan Oberhauser 2d9c2e1a1e Speed up expression editor 2021-05-29 21:08:41 -05:00
Jan Oberhauser a5300a5f24 Fix errors in expression editor 2021-05-29 19:49:20 -05:00
Jan 4946bfcd3e
Add functionality to send console.log messages to editor-UI (#1816)
*  Send console.log messages to editor-UI

*  Send message only to session which started workflow

*  Made it also work in own process

*  Add support for console.log UI forward also to FunctionItem Node

* 👕 Fix lint issue

* 👕 Fix linting issue

*  Improve code

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-05-29 13:41:25 -05:00
Jan Oberhauser 8e793e27b3 Temporary disable tag selection on click 2021-05-29 13:37:04 -05:00
Ben Hesseldieck 05eec87d1d
Add tagging of workflows (#1647)
* 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

* Set default dates in entities

* 👕 Fix lint in migrations

* 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

*  Implement unique workflow names

*  Create /workflows/new endpoint

* 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

*  Add query string params to /workflows/new

* 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

* 🚧 Adjust to new qs requirements

* 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

*  Create migrations for unique workflow names

* 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

*  Adjust quotes in MySQL migration

*  Adjust quotes in Postgres migration

* 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

* impl creating new workflow name

*  Refactor endpoint per new guidelines

* support naming endpoint

*  Refactor to support numeric suffixes

* 👕 Lint migrations for unique workflow names

*  Add migrations set default dates to indexes

* fix connection push bug

*  Lowercase default workflow name

*  Add prefixes to set default dates migration

*  Fix indentation on default dates migrations

*  Add temp ts-ignore for unrelated change

*  Adjust default dates migration for MySQL

Remove change to data column in credentials_entity, already covered by Omar's migration. Also, fix quotes from table prefix addition.

*  Adjust quotes in dates migration for PG

* fix safari color bug

* fix count bug

* fix scroll bugs in dropdown

* expand filter size

* apply box-sizing to main header

* update workflow names in executions to be wrapped by quotes

* fix bug where key is same in dropdown

* fix firefox bug

* move up push connection session

* 🔨 Remove mistakenly added nullable property

* 🔥 Remove unneeded index drop-create (PG)

* 🔥 Remove unneeded table copying

*  Merge dates migration with tags migration

* 🔨 Refactor endpoint and make wf name env

* dropdown colors in firefox

* update colors to use variables

* update thumb color

* change error message

* remove 100 char maximum

* fix bug with saving tags dropdowns multiple times

* update error message when no name

*  Update name missing toast message

*  Update workflow already exists message

* disable saving for executions

* fix bug causing modal to close

* make tags in workflow open clickable

* increase workflow limit to 3

* remove success notifications

* update header spacing

* escape tag names

* update tag and table colors

* remove tags from export

* build

* clean up push connection dependencies

* address ben's comments

* revert tags optional interface

* address comments

* update duplicate message

* build

* fix eol

* add one more eol

*  Update comment

* add hover style for workflow open, fix up font weight

Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
2021-05-29 13:31:21 -05:00
Jan Oberhauser d3c59a6fe3 Fix issue with option parameters that are named the same #1808 2021-05-28 18:13:15 -05:00
Jan Oberhauser 972561416c Fix issue with nodes that have only node connected to second input 2021-05-26 08:34:20 -05:00
Jan Oberhauser e21382baee 🐛 Fix issue that it sets default values correctly for multipleValues
and makes previous change backward compatible
2021-05-19 19:26:29 -05:00
Jan Oberhauser bf7800cb15 🐛 Fix bug with sibling loading with fixedCollections 2021-05-16 19:25:04 -05:00
Jan Oberhauser 002f53a4af Allow to load sibling parameters in loadOptionsMethod 2021-05-16 18:16:24 -05:00
Ricardo Espinoza 21f9af8876
Add iCalendar Node (#1725)
*  iCalendar Node

*  Improvements

*  Improvements

* iCal node copy touch-up

*  Minor improvement

Co-authored-by: sirdavidoff <1670123+sirdavidoff@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-16 13:35:11 -05:00
Jan Oberhauser 0877b0779d 🐛 Fix issue with displaying parameter with root level reference 2021-05-15 18:59:33 -05:00
Jan Oberhauser fd86229b30 🐛 Fix issue that it did not save values for parameters which did get
displayed depending on another parameter with expression
2021-05-15 17:51:14 -05:00
Jan Oberhauser 446c284540 👕 Fix lint issue 2021-05-15 00:36:41 -05:00
Jan Oberhauser cb2887a8ab 🐛 Fix issue that expressions did not resolve for displayOptions 2021-05-15 00:28:51 -05:00
Jan Oberhauser 1aa0a5cc8d Make it possible to read sibling parameter 2021-05-14 18:16:48 -05:00
Omar Ajoue c739a498f1
🐛 Fix ordering when auto refreshing (#1761)
* Fix ordering when auto refreshing

* Fix ordering for current executinos as well
2021-05-12 10:51:54 -05:00
Ahsan Virani caa55a022b
Add more FE hooks (#1772)
*  add FE hook for expressionEdit dialogVisibleChanged

*  update FE hook for expressionEdit dialogVisibleChanged

*  add FE hook for expressionEdit itemSelected

*  add FE hook for nodeSettings valueChanged

*  add FE hook for nodeSettings credentialSelected

* cleanup
2021-05-11 22:12:53 -05:00
Ahsan Virani 2052cadce9
Add more frontend hooks (#1687)
*  add hook for nodecreatelist mount

*  add hook for nodeCreateList selectedTypeChanged

*  add hook for nodeCreateList nodeFilterChanged

*  add hook for nodeCreateList filteredNodeTypesComputed

*  add hook for nodeView.activeNodeChanged

*  add hook for credentialsEdit credentialTypeChanged

*  add hook for onDocumentationUrlClick

*  add hook for executionsList openDialog

*  add hook for execution open

*  add hook for credentialsList dialogVisibleChanged

*  add hook for workflowSettings

*  add hook for showMessage showError

*  add hook for nodeView createNodeActiveChanged

*  add hook for nodeView addNodeButton

*  cleanup

*  add hook for workflowRun runWorkflow

*  add hook for pushConnection executionFinished

*  add hook for runData.displayModeChanged

*  update nodeCreateList.nodeFilterChanged hook

*  update dataDisplay nodeTypeChanged hook

*  update dataDisplay nodeTypeChanged hook

*  update dataDisplay nodeTypeChanged hook

*  update error data in hooks

* update workflowRun runError hook

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-05-05 19:46:33 -05:00
Mutasem Aldmour 0cb96d6caa
🐛 fix external links in sidemenu (#1720)
* fix admin link clickability

* fix bug when there are unsaved changes
2021-05-04 17:55:39 +02:00
Iván Ovejero b9fbd2c0bb
Set new credentials dropdown to open by default (#1379)
Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-04-24 22:41:00 +02:00
Iván Ovejero 1d27a9e87e
Improve node error handling (#1309)
* Add path mapping and response error interfaces

* Add error handling and throwing functionality

* Refactor error handling into a single function

* Re-implement error handling in Hacker News node

* Fix linting details

* Re-implement error handling in Spotify node

* Re-implement error handling in G Suite Admin node

* 🚧 create basic setup NodeError

* 🚧 add httpCodes

* 🚧 add path priolist

* 🚧 handle statusCode in error, adjust interfaces

* 🚧 fixing type issues w/Ivan

* 🚧 add error exploration

* 👔 fix linter issues

* 🔧 improve object check

* 🚧 remove path passing from NodeApiError

* 🚧 add multi error + refactor findProperty method

* 👔 allow any

* 🔧 handle multi error message callback

*  change return type of callback

*  add customCallback to MultiError

* 🚧 refactor to use INode

* 🔨 handle arrays, continue search after first null property found

* 🚫 refactor method access

* 🚧 setup NodeErrorView

*  change timestamp to Date.now

* 📚 Add documentation for methods and constants

* 🚧 change message setting

* 🚚 move NodeErrors to workflow

*  add new ErrorView for Nodes

* 🎨 improve error notification

* 🎨 refactor interfaces

*  add WorkflowOperationError, refactor error throwing

* 👕 fix linter issues

* 🎨 rename param

* 🐛 fix handling normal errors

*  add usage of NodeApiError

* 🎨 fix throw new error instead of constructor

* 🎨 remove unnecessary code/comments

* 🎨 adjusted spacing + updated status messages

* 🎨 fix tab indentation

*  Replace current errors with custom errors (#1576)

*  Introduce NodeApiError in catch blocks

*  Introduce NodeOperationError in nodes

*  Add missing errors and remove incompatible

*  Fix NodeOperationError in incompatible nodes

* 🔧 Adjust error handling in missed nodes

PayPal, FileMaker, Reddit, Taiga and Facebook Graph API nodes

* 🔨 Adjust Strava Trigger node error handling

* 🔨 Adjust AWS nodes error handling

* 🔨 Remove duplicate instantiation of NodeApiError

* 🐛 fix strava trigger node error handling

* Add XML parsing to NodeApiError constructor (#1633)

* 🐛 Remove type annotation from catch variable

*  Add XML parsing to NodeApiError

*  Simplify error handling in Rekognition node

*  Pass in XML flag in generic functions

* 🔥 Remove try/catch wrappers at call sites

* 🔨 Refactor setting description from XML

* 🔨 Refactor let to const in resource loaders

*  Find property in parsed XML

*  Change let to const

* 🔥 Remove unneeded try/catch block

* 👕 Fix linting issues

* 🐛 Fix errors from merge conflict resolution

*  Add custom errors to latest contributions

* 👕 Fix linting issues

*  Refactor MongoDB helpers for custom errors

* 🐛 Correct custom error type

*  Apply feedback to A nodes

*  Apply feedback to missed A node

*  Apply feedback to B-D nodes

*  Apply feedback to E-F nodes

*  Apply feedback to G nodes

*  Apply feedback to H-L nodes

*  Apply feedback to M nodes

*  Apply feedback to P nodes

*  Apply feedback to R nodes

*  Apply feedback to S nodes

*  Apply feedback to T nodes

*  Apply feedback to V-Z nodes

*  Add HTTP code to iterable node error

* 🔨 Standardize e as error

* 🔨 Standardize err as error

*  Fix error handling for non-standard nodes

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
2021-04-16 18:33:36 +02:00
Mutasem Aldmour 75dd058ce2
Add support to dynamically add menu items
* add menu items POC

* remove sidebar hook

* use getters

* update menu to add items

* add home icon for CLD-202

* center icon

* address comments

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-04-09 22:44:53 +02:00
Jan Oberhauser cf73387214 🐛 Do now allow to edit JavaScript code in read-only mode 2021-04-04 18:03:41 +02:00
Jan Oberhauser 001c6b7cc9 🐛 Fix bug that expressions could not be displayed in read-only mode 2021-04-04 17:58:25 +02:00
Iván Ovejero dab82965a4
Render empty array in variable selector (#1537) 2021-03-21 12:39:06 +01:00
Jan Oberhauser ddce679569 Minor changes to directories in binary data 2021-03-18 18:13:24 +01:00
Jan Oberhauser d65e8ee73b 🔀 Merge branch 'binary-file-path' of https://github.com/lublak/n8n into lublak-binary-file-path 2021-03-18 13:20:26 +01:00
Omar Ajoue d6d57c2df6
🐛 Fixed an issue with queue mode for executions that should not be saved (#1509)
* Fixed an issue with queue mode for executions that should not be saved

*  Minimal change

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-03-10 15:51:18 +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
Jan Oberhauser 9b23611a8d Rename "Results" to "Items" 2021-03-01 14:05:19 +01:00
Jon Bake 54f949a972
🐛 Fixes #1364 - Incorrect mouse selection when zoomed in or out (#1498)
Prior to this change, the mouse selection box had a fixed position on the page. Nodes have absolute
position within NodeView. This inconsistency in positioning caused issues when calculating
if a node was positioned within the mouse selection. This solution makes both nodes
and mouse selection have consistent positioning, along with correctly calculating the
mouse click position within NodeView when making a selection.
2021-02-28 18:08:14 +01:00
Omar Ajoue 91b715025d
🐛 Fix auto refresh on executions list (#1457) 2021-02-18 00:09:39 +01:00
lublak cb9f31c49d add dir to different positions 2021-02-15 13:25:30 +01:00
Omar Ajoue bc66fab041
Fix an issue with the regex that detects node names 2021-02-15 09:55:28 +01:00
Jan Oberhauser b183f3ec02 👕 Fix lint issue 2021-02-13 20:46:46 +01:00
Jan Oberhauser deaa015e61 Do only send manual executions to starting session & cleanup 2021-02-13 20:40:27 +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
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 243c8d579f Minor improvements 2021-02-08 07:52:09 +01:00
Florian Metz c59e522e9e
:spakles: Ctrl + scroll zoom (#1419) 2021-02-08 07:51:23 +01:00
Jan Oberhauser 80f7ee1f7b Small design tweak 2021-02-01 23:57:00 +01:00
Jan Oberhauser 5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +01:00
Jan Oberhauser 1dedb3f4b8 Add expression support to credentials 2021-01-24 13:33:57 +01:00
Ricardo Espinoza 298836b1f8
Add Compression Node (#1319)
*  Compression Node

*  Validate input data format when decompressing

*  Improvements to Compression Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-23 15:00:44 +01:00
Ahsan Virani 4d446229c3
Introduce FE external hooks (#1332)
*  Introduce FE external hooks

*  update hooks

*  add data from frontend settings to hooks

* re-organize and update

* cleanup

* 👌

*  cleanup workflowSave mixin, add events

* avoid alert on new workflow save as

*  update workflow active events

* rename externalhooks method

*  Rename frontend hooks

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-19 23:48:30 +01:00
Jan Oberhauser 18a7c325dc Improve CodeEdit dialog close behaviour #1353 2021-01-19 08:55:39 +01:00
Jan Oberhauser 4077cabb52 Fix issue that tab-title did not get reset on new workflow 2021-01-17 14:07:07 +01:00
Iván Ovejero 6759e2e72a
Add data-node-name to node item (#1329)
* Add data-node-name to node item

* Restore n8n-nodes-base prefix for consistency
2021-01-13 09:02:10 +01:00
Jan Oberhauser 04b16c5ab8 👕 Fix lint issue 2020-12-27 00:28:51 +01:00
Jan Oberhauser 95315cec60 Add optional sort option if "multipleValues" is set 2020-12-27 00:15:33 +01:00
Jan Oberhauser aaae7964d6 Keep binary data visible on re-execution 2020-12-26 23:11:25 +01:00
Jan Oberhauser 065937a39c 🐛 Fix bug that HTML did get rendered in JSON view 2020-12-24 22:09:07 +01:00
Jan Oberhauser 75cca869b4 Fix issue that source node was also selected after duplicate 2020-12-24 08:37:13 +01:00
Jan bfb344a23c
Add functionality to easily copy data and path of output data (#1260)
*  Add functionality to easily copy data and path of output data

*  Fix issues with copied path

* 👕 Fix lint issue

* ;bug: Fix issue that some paths were wrong

*  Final improvements
2020-12-18 18:55:53 +01:00
Jan Oberhauser a546f599cd 🐛 Additional fix to dirty check 2020-12-11 19:22:24 +01:00
Jan Oberhauser a2222fa5d6 🐛 Fix issue that workflow displayed as changed on activate/deactivate 2020-12-11 19:17:53 +01:00
Jan Oberhauser 8fee799d3d Add Google icon for OAuth to meet their branding guidelines 2020-12-03 12:36:34 +01:00
Tristian Flanagan 137c334389
Add horizontal scroll (#1172) 2020-11-18 23:29:12 +01:00
Jan Oberhauser c6f21804d7 👕 Fix lint issue 2020-11-09 12:35:44 +01:00
Jan Oberhauser 639bdd2ceb Allow custom documentation URLs on credentials & nodes 2020-11-09 12:23:53 +01:00
Jan Oberhauser 9fee42b2a8 Add shear option, resize with alpha color and fix bug 2020-11-09 11:26:46 +01:00
Jan Oberhauser 9465653fab Improve editor-UI dirty checking 2020-11-04 13:04:40 +01:00
Jan Oberhauser c38a2f4210 🐛 Fix bug with dirty state checking 2020-10-26 19:28:32 +01:00
Jan Oberhauser 66bfcca63f 🐛 Fix issue with IF&Switch node for undefined expressions #1099 2020-10-26 09:43:01 +01:00
Jan Oberhauser c339d76456 Minior improvements 2020-10-25 12:58:02 +01:00
Jan 72ac20b070
Improvements on #911 to display unsaved changes. Now works with back button. (#1098)
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2020-10-25 12:47:49 +01:00
Jan dc93694a1a
Merge branch 'master' into save-changes-warning 2020-10-25 11:47:47 +01:00
Jan Oberhauser 4a10cf246b Further improve support for touch-devices 2020-10-24 20:01:13 +02:00
Jan Oberhauser 044c986f30 👕 Fix lint issue 2020-10-23 19:13:25 +02:00
Jan Oberhauser d90a5e5dc6 Improve wheel-scrolling in Firefox 2020-10-23 18:43:30 +02:00
Jan Oberhauser c40601eecb Fix issues with support for touch-devices 2020-10-23 18:16:00 +02:00
Jan Oberhauser 4df74771e3 Improve support for touch-devices #1070 2020-10-23 13:51:39 +02:00
Omar Ajoue 37f787d7b2
Load node properties on demand (#1089)
*  Changed rest api endpoint to omit node properties by default.
 Created another endpoint to return all node information based on a list of names

* refactor: changed endpoint to POST instead of GET

* Changed properties to be optional for node description

* Removed eager loading for node properties.

All nodes will have their properties fetched when used in a workflow.
Works when opening an already saved workflow, creating a new one from
scratch or pasting JSON / URLs.

* Removing unnecessary dependency
2020-10-22 17:24:35 +02:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser 6d41f43216 Fix issue that workflows could not be pasted if they had issue 2020-10-10 18:02:51 +02:00
Jan Oberhauser 82e16790c6 🐛 Fix bug that webhookId did not get refreshed on node-duplicate 2020-10-04 17:22:11 +02:00
Jan Oberhauser 1a80a6afed Improve support for svg-icons 2020-10-03 14:10:08 +02:00
Jan Oberhauser f1680386ca Get OAuth-Callback URLs from backend 2020-09-30 15:57:40 +02:00
Rytis Ilciukas 3350723bf3
fix malformed html (#999) 2020-09-29 10:39:51 +02:00
Jan Oberhauser 9cb106c9b4 🐛 Fix issue that OAuth window did not close 2020-09-23 17:31:00 +02:00
Jan Oberhauser 5cb5020cf6 👕 Fix lint issue 2020-09-23 13:31:03 +02:00
Jan Oberhauser 2db6ae0f76 Simplify documentation help code and display only if URL is set 2020-09-23 11:10:23 +02:00
Jan Oberhauser 24c95c4f09 Use short variables for direct input data 2020-09-22 11:31:48 +02:00
Jan Oberhauser c8d009bced Add expression support to credentials 2020-09-12 12:16:07 +02:00
Jan Oberhauser f00c6c10a3 Increase default space between new nodes 2020-09-11 16:59:41 +02:00
Rupenieks 16195c8b55 Fix store state dirty when selecting a node 2020-09-09 14:45:49 +02:00
Rupenieks 33582655f2 Revert " Deconstructed store mutation data parameters for better readability"
This reverts commit 17ab16d248.
2020-09-09 14:28:13 +02:00
Rupenieks 17ab16d248 Deconstructed store mutation data parameters for better readability 2020-09-09 14:05:11 +02:00
Rupenieks 4c63db8908 Build error fixed (let to const) 2020-09-02 16:06:18 +02:00
Rupenieks d1f9cef891 Fixed dirty state not being triggered with node connection 2020-09-02 15:59:20 +02:00
Rupenieks 4c04cc015d Reduced dirty state sensetivity
- No longer considers opening a node a state change
- No longer considers selecting a node a state change
2020-09-02 15:26:17 +02:00
Rupenieks 1cdf0164e9 Returned to using correct uuid lib 2020-09-02 09:16:16 +02:00
Rupenieks d756bea1f4 Added asterisk to indicate if workflow is saved or not 2020-09-01 16:42:40 +02:00
Rupenieks 3e1ada7c1a 🚧 Added Vuex dirty state flag as central source of truth for if there are unsaved changes 2020-09-01 16:06:08 +02:00
rupenieks 66b76d16ee Merged contributor work 2020-08-31 13:08:27 +02:00
Jan Oberhauser df3e342d1e Minor improvements to display of help links 2020-08-27 10:48:57 +02:00
Jan Oberhauser 26a7acf5ed Minor improvements to display of help links 2020-08-27 09:57:34 +02:00
Jan Oberhauser d2110f677e 🔀 Merge branch 'master' into Doc-Link-to-Node-Credentials-Modal 2020-08-27 09:35:22 +02:00
Rupenieks 89499313b6 indentation 2020-08-27 09:23:23 +02:00
Rupenieks cf52ce3cfa Updated UTM link 2020-08-27 09:12:16 +02:00
maxtkacz 520933c7a4
Update CredentialsEdit.vue (#888)
Changed width of Credentials modal from 55% to 75%. Result is the "Nodes with Access" UI now only collapses in a UX-unfriendly manner on viewport widths under 1108px (previously was 1506px)
2020-08-26 21:31:08 +02:00
Jan Oberhauser 317949d765 Remove left behind debug code 2020-08-26 21:30:24 +02:00
maxtkacz f386d9e90a
Made "easy wins" copy-edit pass through vue components (#889)
Essentially scrubbed through .vue files in packages/editor-ui/src/components and copy edited labels/ tooltips etc.

Tried to prevent opinionated editing, simply rewriting existing meaning for clarity. I did however make an opinionated decision on changing a node's "Notes" to "Note" (only labels, nothing code related) because it feels more like a singluar note - especially when used as a subtitle in the workflow. Singular form also futureproofs functionality like showing a list of all node notes across a workflow (or versioning/ collaborative notes features).

So far, have gotten up to PageContentWrapper.vue (when sorted alphabetically). In a followup, will review ParameterInput.vue and onwards in /components folder
2020-08-26 21:25:59 +02:00
Jan Oberhauser b78145f2ec Fix issues with Dynamic title 2020-08-25 20:39:14 +02:00
Rupenieks 44f7b7a9c2
Dynamic title based on workflow execution (#865)
*  Added title changes based on workflow execution

*  Title changes on workflow open, reset on workflow delete, fixed not showing when page refreshed

*  Title icons
2020-08-25 20:37:24 +02:00
Rupenieks d8e8db39c4 Fixed new/open credentials from menu. UTM link adjusted for unknown nodes base. 2020-08-25 14:28:16 +02:00
Rupenieks d5dda2e35a Credential fallback added, fixed Gmail documentationUrl 2020-08-20 15:34:45 +02:00
Rupenieks 05258cc645 Credentials doc help link 2020-08-20 14:47:59 +02:00
Jan Oberhauser da0ef0d94c Add "Execute Once" node-setting 2020-08-08 21:11:12 +02:00
Jan Oberhauser 420777c0b3 Small improvements to FTP-Node 2020-08-04 09:01:37 +02:00
Jan Oberhauser e82f3f405e Fix link to documentation 2020-07-31 09:57:23 +02:00
Rupenieks 0f86df4c0f
Documentation Link in Node Display (#808)
*  Implemented Documentation link help box

*  Adjusted transition speed

*  Added UTM link, fixed Node Name issue
2020-07-31 09:56:39 +02:00
Jan Oberhauser c298fd325a 🐛 Fix bug which displayed selector for low number of items 2020-07-29 22:43:05 +02:00
Jan Oberhauser b488ae8d3a 👕 Fix lint issue 2020-07-29 14:20:31 +02:00
Ben Hesseldieck 051598d30e
Add max execution time for Workflows (#755)
* 🎉 basic setup and execution stopping

* 🚧 soft timeout for own process executions

* 🚧 add hard timeout for subprocesses

* 🚧 add soft timeout to main thread

* 🔧 set default timeout to 5 mins --> 500s

* 💡 adding documentation to configs

* 🚧 deactivate timeout by default

* 🚧 add logic of max execution timeout

*  adding timeout to settings in frontend and server

* 🎨 improve naming

* 💡 fix change in config docs

* ✔️ fixing compilation issue

* 🎨 add format for new config variables

* 👌 type cast before checking equality

*  Improve error message if NodeType is not known

* 🐳 Tag also rpi latest image

* 🐛 Fix Postgres issue with Node.js 14 #776

* 🚧 add toggle to activate workflow timeout

* 💄 improving UX of setting a timeout and its duration

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-29 14:12:54 +02:00
Erin 5f32341a9e Remove logs 2020-07-20 11:52:24 -04:00
Erin 70a584a46d 🎉 Works with ctrl s, now working on a user saving from the side bar 2020-07-20 10:57:58 -04:00
Jan Oberhauser c1378c2f88 🐛 Fix Expression editor issue #719 2020-07-15 11:54:03 +02:00
Jan Oberhauser 25cc745894 🐛 Fix editor-ui build 2020-07-14 23:36:05 +02:00
Jan Oberhauser d17161cf40 🔀 Merge branch 'static-stateless-webhooks' 2020-07-14 12:34:34 +02:00
Jan Oberhauser 941ee06b14 Make n8n work in subfolder & Fix events in AffinityTrigger 2020-07-12 12:17:01 +02:00
Jan Oberhauser 305894d9b4 🐛 Fix item display issue 2020-07-10 10:12:30 +02:00
Erin ad1228e0ea Everything works except refresh 2020-07-09 16:54:50 -04:00
Erin f4022c6cd5 🔧 Prompt User to Save Before Page Unload 2020-07-07 10:36:43 -04:00
Jan Oberhauser d41b976b3b Remove unnecessary import 2020-06-23 21:37:15 +02:00
ricardo 494b1de93f Merge branch 'master' into static-stateless-webhooks 2020-06-22 16:16:50 -04:00
Jan Oberhauser cee5c522de Rename webhookPath parameter on node to webhookId 2020-06-10 16:17:16 +02:00
Jan Oberhauser 5ed86670a8 Make it use of full webhook path more generic 2020-06-10 15:39:15 +02:00
Jan Oberhauser 9cae58c787 🐛 Fix issue that nodes can not be opened in readOnly-Mode 2020-06-08 00:34:15 +02:00
Jan Oberhauser e3a6064196 Small changes to Twitter-Node 2020-06-03 15:06:13 +02:00
ricardo af3d799e5c Oauth1 support and Twitter node 2020-06-01 20:42:44 -04:00
ricardo 4e9490a88d Improvements 2020-05-30 19:04:04 -04:00
ricardo 91c40367e1 Done 2020-05-27 19:32:56 -04:00
Jan Oberhauser f1f09d4a03 🔀 Merge branch 'master' into oauth-support 2020-05-24 20:37:59 +02:00
Jan Oberhauser 5718330e29 🐛 Fix issues in read-only mode #39 2020-05-24 14:22:15 +02:00
Jan Oberhauser 2cdfb69e0c Improve data display for large amount of data 2020-05-24 00:57:40 +02:00
Jan Oberhauser c6281f2b0e Use only JSON-Data for display-size-calculation 2020-05-23 23:54:56 +02:00
Jan Oberhauser f004bc8aaf 🐛 Fix display issue on failed oauth connect #PROD-95 2020-05-18 14:54:03 +02:00
Jan Oberhauser 00935032e2 Improve OAuth connect flow 2020-05-18 11:58:37 +02:00
Jan Oberhauser 95097a8bd7 🐛 Fix issue with credentials which extend others 2020-05-16 19:22:06 +02:00
Jan Oberhauser cfe6e72440 Do not save credential default values to DB #PROD-52 2020-05-14 14:27:19 +02:00
Jan Oberhauser 4e4c1c8a9f Display OAuth callback URL in UI #PROD-23 2020-05-12 11:27:07 +02:00
Jan Oberhauser 147c50485c 🔀 Merge branch 'master' into oauth-support 2020-05-12 01:56:27 +02:00
Jan Oberhauser 3d330a94d3 Make it possible to display notes in flow 2020-05-05 17:34:12 +02:00
Boris Berenberg 4269e8b914 minor grammar fixes 2020-05-04 16:06:13 -04:00
Jan Oberhauser 384efade9f Small improvements to Mongo connection string support 2020-05-01 20:24:20 +02:00
Jan Oberhauser eb1213248e 🔀 Merge branch 'mongodb_updates' of https://github.com/clonardo/n8n into clonardo-mongodb_updates 2020-05-01 18:56:48 +02:00
Jan Oberhauser 1ed72af255 🐛 Fix issue with push messages that get received to fast 2020-05-01 10:45:28 +02:00
Jan Oberhauser 90fe5113a0 🔀 Merge branch 'master' into oauth-support 2020-04-14 20:54:19 +02:00
Jan Oberhauser c7024ca454 Add "alwaysOutputData" option to nodes 2020-04-12 19:58:30 +02:00
Jan Oberhauser f9dd92db97 🔀 Merge branch 'master' into oauth-support 2020-04-08 10:10:44 +02:00
Jan Oberhauser 931b73e1bd Display "options" parameter as "string" if options could not be loaded 2020-04-06 10:15:46 +02:00
Chris Lonardo c6aa73cc2f upgrade mongodb client to support mongodb 4.2 and allow conn string override 2020-04-05 21:06:00 -04:00
Jan Oberhauser 9dd9e0d8ba 🔀 Merge branch 'master' into oauth-support 2020-04-04 17:34:10 +02:00
Jan Oberhauser 9da0c1c884 Display errors in expressions 2020-04-03 19:37:28 +02:00
Subhash Chandra 4a2828a2f3 Fix oauth2 connect UI 2020-03-27 17:32:13 +05:30
Jan Oberhauser 31ca6be3a5 Fix extend for grandchild credential 2020-03-22 18:26:42 +01:00
Jan Oberhauser a56a49574b Improve support for touch-devices 2020-02-15 17:29:08 -08:00
Jan Oberhauser 70286b469e Make workflow metadata available in expresions and
node-functions
2020-02-15 17:07:01 -08:00
Jan Oberhauser b1719f1bcc Make node "json" data available in expression via "json" key 2020-02-15 16:06:06 -08:00
Jan Oberhauser 1777f171bd Ignore node-parameter-issues on disabled nodes 2020-02-09 23:37:08 -08:00
Jan Oberhauser 7ee03cf132 Ignore node-credential-issues on disabled nodes 2020-02-09 23:24:12 -08:00
Jan Oberhauser 6e6ece1bcb 🔀 Merge branch 'RicardoE105-feature/github-oauth' into oauth-support 2020-02-09 15:49:03 -08:00
Jan Oberhauser c1574a73ac Improved Github Oauth support and generic Oauth functionality 2020-02-09 15:39:14 -08:00
Jan Oberhauser 6bff3dc199 Add parameter type "hidden" 2020-02-09 13:33:40 -08:00
Jan Oberhauser 2e9fa3b868 Improve support for touch-devices 2020-02-09 00:06:01 -08:00
Jan Oberhauser 0e0f5c3e15 Display also properties with value "null" in variable selector 2020-02-08 23:30:09 -08:00
Jan Oberhauser 15e92ca494 Fix some minor issues 2020-02-08 18:46:41 -08:00
Jan Oberhauser 5594543ec8 Fix OAuth UI issues and allow to set additional query parameters 2020-02-08 16:14:28 -08:00
Jan Oberhauser b6b5935c57 🔀 Merge branch 'master' of github.com:n8n-io/n8n 2020-02-07 17:08:03 -08:00
Jan Oberhauser b41d40cc95 🐛 Fix error with displaying null in expression 2020-02-07 17:06:36 -08:00
Guilherme Almeida Girardi 30f013f9be Replacing the /deep/ selector
https://community.n8n.io/t/editor-ui-building/778
2020-02-07 13:36:23 -03:00
Jan Oberhauser eb285ef711 Make it possible to set credentials to fixed values 2020-01-25 23:48:38 -08:00
Jan Oberhauser de098f7da4 Fix issue that parameter inputs on lower levels are very small 2020-01-23 16:05:27 -08:00
Jan Oberhauser 62134f639b 🐛 Fix issue with deleting fixedCollection with multipleValues=false 2020-01-23 15:57:34 -08:00
Jan Oberhauser 965ce74895 Do not allow to display NodeCreator via tab in readOnly-Mode 2020-01-20 10:47:52 -06:00
Jan Oberhauser 8228b8505f Abstract OAuth signing and make credentials extendable 2020-01-13 20:46:58 -06:00
Jan Oberhauser 70e972ff7d Revert "🔀 Merge branch 'oauth-support' of https://github.com/tildabio/n8n"
This reverts commit 0c5972bb98, reversing
changes made to 3de03b5097.
2020-01-10 14:26:06 -06:00
Jan Oberhauser 29633cfd1f Add "About n8n" to Help in sidebar 2020-01-09 21:53:26 -06:00
Jan Oberhauser 7f21f3eee7 🐛 Fix bug that TextEdit did not display existing values 2020-01-08 13:25:35 -06:00
Jan Oberhauser dfc3cb962c 👕 Fix lint issue 2020-01-07 23:23:43 -06:00
Jan Oberhauser 740cb8a6fc Some small changes to basic OAuth support 2020-01-07 18:29:11 -06:00
Jan Oberhauser 0c5972bb98 🔀 Merge branch 'oauth-support' of https://github.com/tildabio/n8n 2020-01-06 18:01:45 -06:00
Jan Oberhauser 9392b94e40 👕 Fix lint issue 2020-01-04 22:54:16 -06:00
Jan Oberhauser 6b2dc25059 🐛 Fix errors with unknown nodeTypes 2020-01-04 22:51:54 -06:00
Jan Oberhauser bf4c8bc3a2 Make it possible to define dependencies for loadOptions 2020-01-04 22:28:09 -06:00
Jan Oberhauser d59e005436 🐛 Fix issue that TextEdit did not work anymore 2020-01-03 21:48:55 -06:00
Ram Yalamanchili cb73853680 Add UI logic to support OAuth authentication flow
Add support in credentialsList to kickoff an OAuth2 authorization
flow. This enables users to authenticate and allow n8n to store
the resulting keys in the backend.
2020-01-01 22:55:16 -08:00
Jan Oberhauser 23985dbcb2 Add SSE Trigger-Node 2019-12-31 19:03:46 -06:00
Jan Oberhauser 93c974308f 🐛 Fix new string input issue 2019-12-29 23:04:51 -06:00
Jan Oberhauser 0ba712cd92 👕 Fix lint issue 2019-12-29 15:13:15 -06:00
Jan Oberhauser 49e2285573 ⬆️ Update packages to latest version on n8n-editor-ui 2019-12-29 15:02:21 -06:00
Jan Oberhauser 50f3d9bb5a Add HTML Extract-Node 2019-12-28 21:28:15 -06:00
Jan Oberhauser 1ed5a4589d Improve handling of incorrect return data of Function Nodes 2019-12-23 14:54:27 -06:00
Jan Oberhauser e0752b861d Make it possible to rename workflows 2019-12-20 16:58:36 -06:00
Jan Oberhauser 403c52ddf8 🐛 Add missing file 2019-12-18 14:17:31 -06:00
Jan Oberhauser a7d729842a 🐛 Fix that "getCurrentNodeParameter" did not resolve expressions 2019-12-16 20:27:56 -06:00
Jan Oberhauser 359dc3b485 Add possibility to retry with currently saved workflow 2019-12-12 18:18:20 -06:00
Jan Oberhauser b389854046 Add possibility to filter executions by status 2019-12-12 17:39:56 -06:00
Jan Oberhauser 870961b101 🐛 Fix bug that it did load same executions multiple times 2019-12-12 20:57:11 +01:00
Jan Oberhauser d74f0d9bbd 👕 Fix lint issue 2019-12-10 20:31:11 +01:00
Jan Oberhauser 5a0d1bf993 🐛 Fix variable selector bug with arrays in arrays 2019-12-10 16:37:22 +01:00
Jan Oberhauser f31049d454 🐛 Fix that drop connection and addNodeButton did connect wrong 2019-12-10 15:39:14 +01:00
Jan Oberhauser 5da4a80d67 Add support for nodes with 4 in- or outputs 2019-12-10 14:35:27 +01:00
Jan Oberhauser 862b693c0a Fix issue that items got displayed twice in JSON-View 2019-11-23 10:23:26 +01:00
Jan Oberhauser 2d409b6535 Support also numbers as values in options and multiOptions 2019-11-22 00:07:38 +01:00
Jan Oberhauser 463a532a0a Display description also for credential parameters 2019-11-17 22:38:37 +01:00
Jan Oberhauser edf216ba24 💄 Display new line in JSON data 2019-11-16 23:42:18 +01:00
Jan Oberhauser c206658f8b Make it possible to also load values dynamically for multiOptions 2019-11-05 20:49:04 +01:00
Jan Oberhauser dba4bc25c5 Fix button text 2019-11-03 23:19:56 +01:00
Jan Oberhauser 4c397ea958 🐛 Fix bug that "alwaysOpenEditWindow" did not work for "json" type 2019-11-03 22:06:03 +01:00
Jan Oberhauser d073204bb0 Add MoveBinaryData-Node to move data between binary an JSON 2019-10-31 17:24:56 +01:00
Jan Oberhauser 91498b4573 👕 Fix lint issue 2019-10-31 13:41:39 +01:00
BenoitTallandier 02a7d92fc1 🔃Add unction getCurrentNodeParameters to get currents parameters in loading function 2019-10-20 20:55:49 +02:00
Jan Oberhauser 5fc3fd640a 👕 Fix lint issue 2019-10-15 23:19:20 +02:00
Luca Faggianelli 168d2214a8 fix focus of ParameterInput with type multiOptions
fix #78, fix #2
2019-10-15 16:44:09 +02:00
Jan Oberhauser 9d01f79778 💄 Improve slightly display of Executions 2019-10-06 11:09:01 +02:00
Jan Oberhauser a7a1ddbb89 👕 Fix lint issue 2019-10-04 13:45:41 +02:00
Jan Oberhauser 9b7aee23cc Do not add large amounts of data to variable selector 2019-10-04 13:34:05 +02:00
Jan Oberhauser 199e7a7a2c Improve hiding of large data 2019-10-04 13:27:50 +02:00
Jan Oberhauser 1ab8896c37 🐛 Fix warning on save 2019-10-04 12:43:48 +02:00
Jan Oberhauser 5829ed2e3d 👕 Fix lint issue 2019-10-04 12:36:42 +02:00
Jan Oberhauser 295bd212ce 🐛 Fix issue that JSON view could not be selected anymore 2019-10-04 12:34:09 +02:00
Jan Oberhauser 888f01b343 🐛 Fix issue with FixedCollection 2019-10-04 12:33:23 +02:00
Jan Oberhauser 3ed6acd58a Fix issue that two finger swipe on mac did change page 2019-10-03 11:42:16 +02:00
Jan Oberhauser 50b23f1fc4 If node contains large amount of data hide it first by default 2019-10-02 15:30:51 +02:00
Jan Oberhauser 2727c0f8f1 👕 Fix lint issue 2019-09-22 22:03:58 +02:00
Jan Oberhauser 8328d7ad9a Add Help-Menu 2019-09-22 21:59:45 +02:00
Jan Oberhauser 37bf2f02b7 🐛 Fix display of version 2019-09-22 20:56:16 +02:00
Jan Oberhauser a595434cd0 👕 Fix lint issue 2019-09-20 14:07:02 +02:00
Jan Oberhauser c1a609d358 💄 Make sure that parameter help icon gets always displayed 2019-09-19 23:59:25 +02:00
Jan Oberhauser 419af0a5fd 🐛 Fix bug that array elements larger than 10 could not be removed 2019-09-19 23:19:34 +02:00
Jan Oberhauser 57958aebc2 👕 Fix lint issue 2019-09-11 23:44:19 +02:00
Jan Oberhauser d6b8b9544f Display currently installed version in editor-ui 2019-09-11 18:40:22 +02:00
Jan Oberhauser 6e81abef3c 💄 Fix display issue of select fields 2019-09-11 11:06:43 +02:00
Jan Oberhauser 132ac3737d 👕 Fix lint issue 2019-09-11 10:59:50 +02:00
Jan Oberhauser 2d0d3f7ce1 👕 Fix lint issue 2019-09-07 09:01:27 +02:00
Jan Oberhauser fc2b3d15c0 💄 Fix issue that it did display scroll bars next to selects 2019-09-05 19:04:02 +02:00
Jan Oberhauser 2b2113433f Improve Code-Editor in Function-Nodes 2019-09-04 18:24:49 +02:00
Jan Oberhauser 7108320297 Add XML-Node 2019-09-04 12:18:21 +02:00
Jan Oberhauser 014972a0c0 👕 Fix lint issue 2019-09-03 16:15:32 +02:00
Jan Oberhauser eb7b516f9d Link n8n.io node directory to nodeType help 2019-09-01 22:25:54 +02:00
Jan Oberhauser 4d6e25c28e 💥 Fix typo reponse => response 2019-08-28 17:16:09 +02:00
Jan Oberhauser 6d1be05f56 💄 Improve display of node input-/output-labels 2019-08-10 09:59:15 +02:00
Jan Oberhauser fcb0982401 Rename also expressions on pasted nodes and fix unique naming
issue
2019-08-09 20:33:22 +02:00
Jan Oberhauser e66c259407 🐛 Fix code to work with new n8n-workflow 2019-08-09 12:51:45 +02:00
Jan Oberhauser 886100eeef Improve workflow retry 2019-08-09 08:07:18 +02:00
Jan Oberhauser d59a043e3f Run workflows in own independent subprocess 2019-08-08 20:47:08 +02:00
Jan Oberhauser abb0a52b08 :zip: Improve display of retry 2019-08-08 20:24:37 +02:00
Jan Oberhauser 983ef13db9 👕 Fix lint issue 2019-08-02 17:06:06 +02:00
Jan Oberhauser 72bd291efb 🐛 Fix bug that it does always move to beginning of line after
entering first character in expression input
2019-08-02 16:53:02 +02:00
Jan Oberhauser a0b7abed20 Add support for input labels 2019-08-02 15:56:05 +02:00
Jan Oberhauser a8f1f9c0ba Small fixes and fix that some nodes changed incoming data 2019-08-01 22:44:29 +02:00
Jan Oberhauser 6672a62a62 Improve node locations 2019-08-01 08:26:43 +02:00
Jan Oberhauser f2102f8ea0 🐛 Fix bug that webhooks could not be tested anymore 2019-07-26 14:17:00 +02:00
Jan Oberhauser e3fafc85e6 Use color for icons in node creator and update colors 2019-07-26 11:41:08 +02:00
Jan Oberhauser 84154843c2 💄 Add icons to all nodes which did not have any 2019-07-26 11:27:46 +02:00
Jan Oberhauser dae2aa3d5d 💄 Improve position of node options 2019-07-26 07:49:00 +02:00
Jan Oberhauser 4bbc7edad2 Make it possible to move workflow with mouse-wheel/two-finger 2019-07-26 07:41:09 +02:00
Jan Oberhauser d00610e629 Create duplicated node underneath the existing one 2019-07-26 07:17:40 +02:00
Jan Oberhauser 0ac97c6523 💄 Improve editor-ui connection creation and deletion 2019-07-25 21:57:27 +02:00
Jan Oberhauser 6c2887e608 Improve position of node output labels 2019-07-25 19:27:58 +02:00
Jan Oberhauser fd2da9d4b6 Fix inital position of Start-Node for now horizontal flows 2019-07-25 19:23:27 +02:00
Jan Oberhauser 0ace7ca423 👕 Fix lint issue 2019-07-25 19:15:41 +02:00
Jan Oberhauser 0510824c24 🐛 Fix issue that push messages received before the REST API did 2019-07-25 19:08:19 +02:00
Jan Oberhauser 8482e1b363 💄 Improve editor-ui by displaying clearer what each node does 2019-07-25 18:50:45 +02:00
Jan Oberhauser 0c89445682 🐛 Fix bug that workflow names could have spaces in beginning and end 2019-07-25 15:21:57 +02:00
Jan Oberhauser 132f32132a Automatically select text in rename-prompt 2019-07-24 15:21:44 +02:00
Jan Oberhauser 117630fb68 🐛 Fix bug that node was not selected after rename 2019-07-24 15:04:24 +02:00
Jan Oberhauser 2d8038669a Push active executions to clients to remove manual reload 2019-07-24 14:25:30 +02:00
Jan Oberhauser a9453806b8 Add support for PostgresDB and save date as Date 2019-07-22 20:29:06 +02:00
Jan Oberhauser 32204d35d1 Make it possible to retry node on error 2019-07-18 19:39:54 +02:00
Jan Oberhauser 9c0b1a9cec 🐛 Fix issue that properties on node root level could not be changed 2019-07-18 17:41:53 +02:00
Jan Oberhauser 6fc02a5024 Improve naming of created names 2019-07-17 19:58:54 +02:00
Jan Oberhauser 5054c7054d Implement that nodes can also be deselected with ctrl+click 2019-07-17 19:05:03 +02:00
Jan Oberhauser 416eb81a6e Make it easily possible to select up/downstream nodes 2019-07-17 18:45:09 +02:00
Jan Oberhauser 4bc21dfef5 Make sure that paste does not get executed multiple times 2019-07-17 18:14:03 +02:00
Jan Oberhauser 26381de92b Automatically adjust position of pasted nodes 2019-07-17 16:05:01 +02:00
Jan Oberhauser bcb314107d 🐛 Fix lastClickPosition init as it is offscreen 2019-07-17 12:47:20 +02:00
Jan Oberhauser de3c52b355 🐛 Fix issue that lastClickPosition ignored node view offset position 2019-07-17 12:44:00 +02:00
Jan Oberhauser 34c2975a9f Deactivate workflow when saved under a new name 2019-07-17 12:20:26 +02:00
Jan Oberhauser 40b17c59f6 🐛 Fix issue that it starts select mode when mac users try to move workflow 2019-07-17 12:19:09 +02:00
Jan Oberhauser 79383ffa84 🐛 Fix delete button display bug in compiled version 2019-07-17 09:23:12 +02:00
Jan Oberhauser 009cc6c1e9 🐛 Fix issue that it is almost impossible to delete item 2019-07-17 07:42:45 +02:00
Jan Oberhauser 3b6013f6f4 🐛 Fix issue that mac users can not move workflow 2019-07-17 07:31:28 +02:00
Jan Oberhauser 91bff6e4f6 🐛 Fix parameter update bug with identically named parameters 2019-07-14 14:10:16 +02:00
Jan Oberhauser be1da6d9e1 👕 Fix lint issue 2019-07-13 20:03:28 +02:00
Jan Oberhauser be9c5622ac Add possibility to define custom node-subtitle for nodes in
UI
2019-07-12 14:14:36 +02:00
Jan Oberhauser 2d20a4b6c1 💄 Display node-description in node-settings 2019-07-11 15:05:12 +02:00
Jan Oberhauser 71ca59e3a8 🐛 Fix bug that it overwrote default functionality in some input-fields 2019-07-11 13:12:37 +02:00
Jan Oberhauser cc3f2c42d1 ⬆️ Set identical tslint version in all packages and fix lint
issues
2019-07-11 07:30:01 +02:00
Jan Oberhauser a17a376d13 Make it possible to define if workflow executions should be
saved or not
2019-07-10 20:53:13 +02:00
Jan Oberhauser e00bc83f1b 🎨 Rename setting "saveManualRuns" to "saveManualExecutions" 2019-07-10 18:06:26 +02:00
Jan Oberhauser bba3154ed5 🐛 Fix issue that parameters did not always get set correctly from
external windows
2019-07-10 11:46:59 +02:00
Jan Oberhauser 16ba7e6ed7 🐛 Fix bug with displaying node-issues 2019-07-07 19:17:34 +02:00
Jan Oberhauser 1f79353397 💄 Give delete button more space 2019-07-07 16:32:28 +02:00
Jan Oberhauser 91c7f52c37 👕 Fix lint issue 2019-07-01 14:52:14 +02:00
Jan Oberhauser 3282acbcf1 Before credentials get created or updated check if one with same type and
name already exist
2019-06-30 19:33:47 +02:00
Jan Oberhauser 00f00f9cbe 🐛 Fix issue that expressions always read from output with index 0 even
when the nodes with the expression were connected to a different one
2019-06-27 16:46:26 +02:00
Jan Oberhauser 3d80d9602e 💄 Improve display of output- and execution-selection 2019-06-27 14:07:45 +02:00
Jan Oberhauser bbab4fc6e1 🐛 Fix bug 2019-06-27 14:07:25 +02:00
Jan Oberhauser 6cc6c6f138 Fix scrollbars and dialogs on lower resolutions 2019-06-27 12:44:59 +02:00
Jan Oberhauser a7cd27d745 Display output names on connections if there are any 2019-06-27 11:27:02 +02:00
Jan Oberhauser 5cbd16e286 Fix display of tags in select field 2019-06-27 08:27:18 +02:00
Jan Oberhauser 3095e5728a Fix issue that it opened the webhook urls every time credentials got
selected
2019-06-27 08:15:53 +02:00
Jan Oberhauser d031ae312a Fix issue that expressions did not resolve correctly in
expression-editor
2019-06-27 07:31:18 +02:00
Jan Oberhauser d6db85caf9 💄 Add "ellipsis" overflow to inputs to make clear when there is
more text
2019-06-24 14:50:22 +02:00
Jan Oberhauser 6da4c60060 💄 Make clearer in credentials what data is for 2019-06-24 14:45:03 +02:00
Jan Oberhauser e9eb18759c 💄 Move "Delete Current Execution Data" button next to "Execute
Workflow" button
2019-06-24 13:52:03 +02:00
Jan Oberhauser 1d86a2a773 Update to TypeScript 3.5.x 2019-06-24 10:28:18 +02:00
Jan Oberhauser 9cb9804eee Initial commit to release 2019-06-23 12:35:23 +02:00