Commit graph

1192 commits

Author SHA1 Message Date
Jan Oberhauser c6901be5cb 🔖 Release n8n@0.165.1 2022-03-01 11:46:33 +01:00
Jan Oberhauser f1e28e21be ⬆️ Set n8n-editor-ui@0.132.1 on n8n 2022-03-01 11:45:04 +01:00
Jan Oberhauser ec6f4d72cd 🔖 Release n8n@0.165.0 2022-02-28 10:07:26 +00:00
Jan Oberhauser 30a504a0ef ⬆️ Set n8n-core@0.106.0, n8n-editor-ui@0.132.0, n8n-nodes-base@0.163.0 and n8n-workflow@0.88.0 on n8n 2022-02-28 10:07:25 +00:00
Oliver Trajceski cfa91cda27
Add Templates (#2720)
* Templates Bugs / Fixed Various Bugs / Multiply Api Request, Carousel Gradient, Core Nodes Filters ...

* Updated MainSidebar Paddings

* N8N-Templates Bugfixing - Remove Unnecesairy Icon (Shape), Refatctor infiniteScrollEnabled Prop + updated infiniterScroll functinality

* N8N-2853 Fixed Carousel Arrows Bug after Cleaning the SearchBar

* fix telemetry init

* fix search tracking issues

* N8N-2853 Created FilterTemplateNode Constant Array, Filter PlayButton and WebhookRespond from Nodes, Added Box for showing more nodes inside TemplateList, Updated NewWorkflowButton to primary, Fixed Markdown issue with Code

* N8N-2853 Removed Placeholder if Workflows Or Collections are not found, Updated the Logic

* fix telemetry events

* clean up session id

* update user inserted event

* N8N-2853 Fixed Categories to Moving if the names are long

* Add todos

* Update Routes on loading

* fix spacing

* Update Border Color

* Update Border Readius

* fix filter fn

* fix constant, console error

* N8N-2853 PR Fixes, Refactoring, Removing unnecesairy code ..

* N8N-2853 PR Fixes - Editor-ui Fixes, Refactoring, Removing Dead Code ...

* N8N-2853 Refactor Card to LongCard

* clean up spacing, replace css var

* clean up spacing

* set categories as optional in node

* replace vars

* refactor store

* remove unnesssary import

* fix error

* fix templates view to start

* add to cache

* fix coll view data

* fix categories

* fix category event

* fix collections carousel

* fix initial load and search

* fix infinite load

* fix query param

* fix scrolling issues

* fix scroll to top

* fix search

* fix collections search

* fix navigation bug

* rename view

* update package lock

* rename workflow view

* rename coll view

* update routes

* add wrapper component

* set session id

* fix search tracking

* fix session tracking

* remove deleted mutation

* remove check for unsupported nodes

* refactor filters

* lazy load template

* clean up types

* refactor infinte scroll

* fix end of search

* Fix spacing

* fix coll loading

* fix types

* fix coll view list

* fix navigation

* rename types

* rename state

* fix search responsiveness

* fix coll view spacing

* fix search view spacing

* clean up views

* set background color

* center page not vert

* fix workflow view

* remove import

* fix background color

* fix background

* clean props

* clean up imports

* refactor button

* update background color

* fix spacing issue

* rename event

* update telemetry event

* update endpoints, add loading view, check for endpoint health

* remove conolse log

* N8N-2853 Fixed Menu Items Padding

* replace endpoints

* fix type issues

* fix categories

* N8N-2853 Fixed ParameterInput Placeholder after ElementUI Upgrade

* update createdAt

*  Fix placeholder in creds config modal

* ✏️ Adjust docstring to `credText` placeholder version

* N8N-2853 Optimized

* N8N-2853 Optimized code

*  Add deployment type to FE settings

*  Add deployment type to interfaces

* N8N-2853 Removed Animated prop from components

*  Add deployment type to store module

*  Create hiring banner

*  Display hiring banner

*  Undo unrelated change

* N8N-2853 Refactor TemplateFilters

*  Fix indentation

* N8N-2853 Reorder items / TemplateList

* 👕 Fix lint

* N8N-2853 Refactor TemplateFilters Component

* N8N-2853 Reorder TemplateList

* refactor template card

* update timeout

* fix removelistener

* fix spacing

* split enabled from offline

* add spacing to go back

* N8N-2853 Fixed Screens for Tablet & Mobile

* N8N-2853 Update Stores Order

* remove image componet

* remove placeholder changes

* N8N-2853 Fixed Chinnese Placeholders for El Select Component that comes from the Library Upgrade

* N8N-2853 Fixed Vue Agile Console Warnings

* N8N-2853 Update Collection Route

* ✏️ Update jobs URL

* 🚚 Move logging to root component

*  Refactor `deploymentType` to `isInternalUser`

*  Improve syntax

* fix cut bug in readonly view

* N8N-3012 Fixed Details section in templates with lots of description, Fixed Mardown Block with overflox-x

* N8N-3012 Increased Font-size, Spacing and Line-height of the Categories Items

* N8N-3012 Fixed Vue-agile client width error on resize

* only delay redirect for root path

* N8N-3012 Fixed Carousel Arrows that Disappear

* N8N-3012 Make Loading Screen same color as Templates

* N8N-3012 Markdown renders inline block as block code

* add offline warning

* hide log from workflow iframe

* update text

* make search button larger

* N8N-3012 Categories / Tags extended all the way in details section

* load data in cred modals

* remove deleted message

* add external hook

* remove import

* update env variable description

* fix markdown width issue

* disable telemetry for demo, add session id to template pages

* fix telemetery bugs

* N8N-3012 Not found Collections/Wokrkflow

* N8N-3012 Checkboxes change order when categories are changed

* N8N-3012 Refactor SortedCategories inside TemplateFilters component

* fix firefox bug

* add telemetry requirements

* add error check

* N8N-3012 Update GoBackButton to check if Route History is present

* N8N-3012 Fixed WF Nodes Icons

* hide workflow screenshots

* remove unnessary mixins

* rename prop

* fix design a bit

* rename data

* clear workspace on destroy

* fix copy paste bug

* fix disabled state

* N8N-3012 Fixed Saving/Leave without saving Modal

* fix telemetry issue

* fix telemetry issues, error bug

* fix error notification

* disable workflow menu items on templates

* fix i18n elementui issue

* Remove Emit - NodeType from HoverableNodeIcon component

* TechnicalFixes: NavigateTo passed down as function should be helper

* TechnicalFixes: Update NavigateTo function

* TechnicalFixes: Add FilterCoreNodes directly as function

* check for empty connecitions

* fix titles

* respect new lines

* increase categories to be sliced

* rename prop

* onUseWorkflow

* refactor click event

* fix bug, refactor

* fix loading story

* add default

* fix styles at right level of abstraction

* add wrapper with width

* remove loading blocks component

* add story

* rename prop

* fix spacing

* refactor tag, add story

* move margin to container

* fix tag redirect, remove unnessary check

* make version optional

* rename view

* move from workflows to templates store

* remove unnessary change

* remove unnessary css

* rename component

* refactor collection card

* add boolean to prevent shrink

* clean up carousel

* fix redirection bug on save

* remove listeners to fix multiple listeners bug

* remove unnessary types

* clean up boolean set

* fix node select bug

* rename component

* remove unnessary class

* fix redirection bug

* remove unnessary error

* fix typo

* fix blockquotes, pre

* refactor markdown rendering

* remove console log

* escape markdown

* fix safari bug

* load active workflows to fix modal bug

* ⬆️ Update package-lock.json file

*  Add n8n version as header

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2022-02-28 10:57:44 +01:00
Jan Oberhauser 7d5f65d8c0 🐛 Fix credential testing for versioned nodes 2022-02-27 13:01:12 +01:00
Jonathan Bennetts 40e5bea514
Add breaking change for 0.165.0
* fix security culnerability

* Update BREAKING-CHANGES.md

Added note to Breaking Changes file.

Co-authored-by: quansenB <inaki.breinbauer@gmail.com>
2022-02-26 11:37:52 +01:00
Ahsan Virani 8fc1095d1e
🐛 Swallow telemetry error and only log in warn and debug mode (#2858)
* catch nodegraph errors

* use loglevel config for telemetry

* Use getByNameAndVersion instead of getByName

* remove any usage of nodeTypes.getByName method

* deprecate getByName method
2022-02-24 17:15:30 +01:00
Jan Oberhauser 783c8e67f4 👕 Fix lint issue 2022-02-20 23:29:29 +01:00
Jan Oberhauser d19a4259c2 🔖 Release n8n@0.164.1 2022-02-20 16:47:24 +01:00
Jan Oberhauser ff20a58c70 🐛 Fix bug with Webhook-Process 2022-02-20 16:44:30 +01:00
Jan Oberhauser 3305247984 🔖 Release n8n@0.164.0 2022-02-20 09:43:06 +00:00
Jan Oberhauser 3445e7a479 ⬆️ Set n8n-core@0.105.0, n8n-editor-ui@0.131.0, n8n-nodes-base@0.162.0 and n8n-workflow@0.87.0 on n8n 2022-02-20 09:43:06 +00:00
Jan Oberhauser 9a06d0fffc Add DELETE, PATCH and PUT request support to Webhooks 2022-02-20 10:30:01 +01:00
Jan Oberhauser ea1b627ab0 Move options around and also allow no data for last node 2022-02-19 12:37:41 +01:00
Jan Oberhauser cb3f0a0ec6 🔀 Merge branch 'feat/webhook-node/response-mode' of https://github.com/Jhalter5Stones/n8n into Jhalter5Stones-feat/webhook-node/response-mode 2022-02-19 11:32:29 +01:00
Justin Halter d1290075ed
feat(WebhookHelpers.ts, Webhook.node.ts): no body response for webhook
no body response for webhook response. This may be helpful if certain
services require that a response doesn't have a body
2022-02-18 13:09:28 -06:00
Ahsan Virani 0a9ce092fc
🗃️ Add relevant indexes in execution_entity (#2794)
* 🗃️ Add relevant indexes in execution_entity

* CR suggestions
2022-02-18 15:59:34 +01:00
Jan Oberhauser 8a4811683c 🔖 Release n8n@0.163.1 2022-02-13 19:06:35 +01:00
Jan Oberhauser 9045699e5d 🐛 Fix getParentTypes bug which caused problems with OAuth 2022-02-13 19:05:09 +01:00
Jan Oberhauser e683114765 🔖 Release n8n@0.163.0 2022-02-13 09:56:51 +00:00
Jan Oberhauser 71bcb2fc91 ⬆️ Set n8n-editor-ui@0.130.0 and n8n-nodes-base@0.161.0 on n8n 2022-02-13 09:56:51 +00:00
Jan Oberhauser 51dde68568
Add optional health check endpoint to worker (#2786)
*  Add optional health check endpoint to worker

* 👕 Fix lint issue

*  Improve error output
2022-02-11 13:09:27 +01:00
Jan Oberhauser 920a18ab5d 🔖 Release n8n@0.162.0 2022-02-06 11:02:16 +00:00
Jan Oberhauser 5f4abd9684 ⬆️ Set n8n-core@0.104.0, n8n-editor-ui@0.129.0, n8n-nodes-base@0.160.0 and n8n-workflow@0.86.0 on n8n 2022-02-06 11:02:15 +00:00
Jan Oberhauser 71f18de04e 🐛 Return original error of sub-workflow to main-workflow #2757 2022-02-06 11:13:49 +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
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
Mutasem Aldmour 7bdb7e2a25
Support telemetry page (#2756)
* support telemetry page events

* add log level to FE settings

* add debug logging

* fix types

* state fix

* move call
2022-02-03 23:24:01 +01:00
Jan Oberhauser 0bf554394a 🔖 Release n8n@0.161.1 2022-02-01 11:29:00 +01:00
Ahsan Virani 135d5a89cd
Add debug log in healthcheck and enable DB logging via environment (#2744)
*  add debug log in healthcheck

*  add DB logging

* CR
2022-02-01 11:27:08 +01:00
Jan Oberhauser b487d4f392 🔖 Release n8n@0.161.0 2022-01-30 14:09:53 +00:00
Jan Oberhauser 46fba951df ⬆️ Set n8n-core@0.103.0, n8n-editor-ui@0.128.0, n8n-nodes-base@0.159.0 and n8n-workflow@0.85.0 on n8n 2022-01-30 14:09:53 +00:00
Jan Oberhauser 7609cd32e4 🔖 Release n8n@0.160.0 2022-01-22 17:59:07 +00:00
Jan Oberhauser 17b23d4758 ⬆️ Set n8n-core@0.102.0, n8n-editor-ui@0.127.0, n8n-nodes-base@0.158.0 and n8n-workflow@0.84.0 on n8n 2022-01-22 17:59:06 +00:00
Jan Oberhauser baabd60852 🔖 Release n8n@0.159.1 2022-01-18 10:16:09 +01:00
Jan Oberhauser 853535b494 ⬆️ Set n8n-core@0.101.1 on n8n 2022-01-18 10:15:27 +01:00
Jan Oberhauser 737d567111 🔖 Release n8n@0.159.0 2022-01-16 13:41:09 +00:00
Jan Oberhauser 93187a7d79 ⬆️ Set n8n-core@0.101.0, n8n-editor-ui@0.126.0, n8n-nodes-base@0.157.0 and n8n-workflow@0.83.0 on n8n 2022-01-16 13:41:08 +00:00
Jan Oberhauser 7efb73053d Allow to use execute command with workflows that do not have an ID 2022-01-16 14:04:42 +01:00
Jan Oberhauser 6fea3843c7 🔖 Release n8n@0.158.0 2022-01-09 16:16:59 +00:00
Jan Oberhauser c10e02c8f0 ⬆️ Set n8n-core@0.100.0, n8n-editor-ui@0.125.0, n8n-nodes-base@0.156.0 and n8n-workflow@0.82.0 on n8n 2022-01-09 16:16:59 +00:00
Vahid Sebto 228ba36b56
Add external hook "activeWorkflows.initialized" (#2571) 2022-01-08 18:53:42 +01:00
Iván Ovejero 5fec563c5c
i18n feedback refactorings (#2597)
*  Create endpoint for node credential translation

*  Add API helper method in FE

* 🔨 Add creds JSON files to tsconfig

*  Refactor credentials loading

*  Refactor calls in CredentialConfig

* ✏️ Add dummy translations

*  Split translations per node

* 🔥 Remove deprecated method

*  Refactor nesting in collections

* 🚚 Rename topParameter methods for accuracy

* ✏️ Fill out GitHub dummy cred

* 🚚 Clarify naming for collection utils

* ✏️ Fill out dummy translation

* 🔥 Remove surplus colons

* 🔥 Remove logging

*  Restore missing space

* 🔥 Remove lingering colon

*  Add path to InputLabel calls

* ✏️ Fill out dummy translations

* 🐛 Fix multipleValuesButtonText logic

*  Add sample properties to be deleted

*  Render deeply nested params

* 📦 Update package-lock.json

* 🔥 remove logging

* ✏️ Add dummy value to Slack translation

* ✏️ Add placeholder to dummy translation

*  Fix placeholder rendering for button text

* 👕 Fix lint

* 🔥 Remove outdated comment

* 🐛 Pass in missing arg for placeholder

* ✏️ Fill out Slack translation

*  Add explanatory comment

* ✏️ Fill out dummy translation

* ✏️ Update documentation

* 🔥 Remove broken link

* ✏️ Add pending functionality

* ✏️ Fix indentation

* 🐛 Fix method call in CredentialEdit

*  Implement eventTriggerDescription

* 🐛 Fix table-json-binary radio buttons

* ✏️ Clarify usage of eventTriggerDescription

* 🔥 Remove unneeded arg

* 🐛 Fix display in CodeEdit and TextEdit

* 🔥 Remove logging

* ✏️ Add translation for test cred options

* ✏️ Add test for separate file in same dir

* ✏️ Add test for versioned node

* ✏️ Add test for node in grouped dir

* ✏️ Add minor clarifications

* ✏️ Add nested collection test

* ✏️ Add pending functionality

*  Generalize collections handling

* 🚚 Rename helper to remove redundancy

* 🚚 Improve naming in helpers

* ✏️ Improve helpers documentation

* ✏️ Improve i18n methods documentation

* 🚚 Make endpoint naming consistent

* ✏️ Add final newlines

* ✏️ Clean up JSON examples

*  Reuse i18n method

*  Improve utils readability

*  Return early if cred translation exists

* 🔥 Remove dummy translations
2022-01-07 22:02:21 +01:00
Ahsan Virani 57016624b8
Improve telemetry (#2604)
* add node positions in node graph

* add hover events

* add tag count in save event

* populate properties when default

* fix delete and enable node events

* add node and workflow exec events

* lint

* add node graph

* add node id
2022-01-07 17:14:59 +01:00
Jan Oberhauser df412e9523 🔖 Release n8n@0.157.1 2022-01-03 22:54:36 +01:00
Jan Oberhauser 9b520e77ff ⬆️ Set n8n-nodes-base@0.155.1 on n8n 2022-01-03 22:53:45 +01:00
Omar Ajoue baa43c1e33
🐛 Fix execute commands after binary data release (#2628) 2022-01-03 22:49:44 +01:00
Jan Oberhauser aff93480d4 🔖 Release n8n@0.157.0 2022-01-02 09:47:14 +00:00
Jan Oberhauser 86578cf32f ⬆️ Set n8n-core@0.99.0, n8n-editor-ui@0.124.0 and n8n-nodes-base@0.155.0 on n8n 2022-01-02 09:47:13 +00:00
Ricardo Espinoza 7a8425a152
Add Notion node V2 (#2437)
*  Add versioning

*  Add credentials verification

*  Add folmula filtering

*  Add file support

*  Apply internal review

*  Improvements

*  Add page updated event to trigger

*  Use name instead of id when setting expression in select type

*  improvements

*  Improvements

*  Improvement to descriptions

*  Add filter to databasePage:getAll

*  Improvements

*  Add database:search operation

*  Add page:archive operation

*  Allow clearing fields date type

*  Allow setting single value in people type field

* asasas

* asasas

* aaaaa

*  Improvements

*  Fix merging issues

* 🐛 Fix filename

*  Minor fix

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-29 23:23:22 +01:00
Jan Oberhauser aab5f5ddab 🔖 Release n8n@0.156.0 2021-12-25 13:19:52 +00:00
Jan Oberhauser e2a44770b8 ⬆️ Set n8n-core@0.98.0, n8n-editor-ui@0.123.0, n8n-nodes-base@0.154.0 and n8n-workflow@0.81.0 on n8n 2021-12-25 13:19:52 +00:00
Jan Oberhauser 2996d5d1e8 👕 Fix lint issue 2021-12-25 13:51:42 +01:00
Vahid Sebto 8f9dbb7163
Add executionId workflow.postExecute external hook (#2569)
Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com>
2021-12-25 13:42:17 +01:00
Jan Oberhauser 48f0f71f95 Make it possible to disable the UI 2021-12-24 07:59:14 +01:00
Ahsan Virani 1e42effc3a
Introduce binary data management (#2059)
* introduce binary data management

* merge fixes

* fixes

* init binary data manager for other modes

* improve binary manager

* improve binary manager

* delete binary data on executions delete

* lazy delete non-saved executions binary data

* merge fixes + error handing

* improve structure

* leftovers and cleanups

* formatting

* fix config description

* fixes

* fix races

* duplicate binary data for execute workflow node

* clean up and cr

* update mode name, add binary mode to diagnostics

* update mode name, add prefix to filename

* update filename

* allow multiple modes, backward compatibility

* improve file and id naming

* use execution id for binary data storage

* delete binary data by execution id

* add meta for persisted binary data

* delete marked persisted files

* mark deletion by executionid

* add env var for persisted binary data ttl

* improvements

* lint fix

* fix env var description

* cleanup

* cleanup

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-23 22:29:04 +01:00
Jan Oberhauser d126933947 🔖 Release n8n@0.155.2 2021-12-20 17:23:49 +01:00
Jan Oberhauser eb9191b5e3 ⬆️ Set n8n-editor-ui@0.122.1 on n8n 2021-12-20 17:23:17 +01:00
Jan Oberhauser 7a5c41fe1a 🔖 Release n8n@0.155.1 2021-12-19 14:23:59 +01:00
Jan Oberhauser 6fd4c700e8 ⬆️ Set n8n-core@0.97.0, n8n-editor-ui@0.122.0, n8n-nodes-base@0.153.0 and n8n-workflow@0.80.0 on n8n 2021-12-19 14:23:14 +01:00
Jan Oberhauser 1057f865fc 🔖 Release n8n@0.155.0 2021-12-19 13:05:05 +00:00
Jan Oberhauser a5b9bd4a16 ⬆️ Set n8n-nodes-base@0.152.0 on n8n 2021-12-19 13:05:05 +00:00
Jan Oberhauser 5f6e9767c9 🔀 Merge branch 'master' into i18n-v2 2021-12-19 13:52:04 +01:00
Jan Oberhauser c2f81d9137 🔖 Release n8n@0.154.0 2021-12-19 12:44:47 +00:00
Jan Oberhauser fa2a2119f1 ⬆️ Set n8n-editor-ui@0.121.0 and n8n-nodes-base@0.151.0 on n8n 2021-12-19 12:44:47 +00:00
Iván Ovejero c33cd0de3f 🔀 Merge master 2021-12-13 09:50:26 +01:00
Jan Oberhauser 984a7a5301 🔖 Release n8n@0.153.0 2021-12-11 18:44:46 +00:00
Jan Oberhauser b2023c389a ⬆️ Set n8n-editor-ui@0.120.0 and n8n-nodes-base@0.150.0 on n8n 2021-12-11 18:44:46 +00:00
Jan Oberhauser 4996939268 🐛 Fix issue with queue mode and missing wait-webhook data 2021-12-11 19:24:09 +01:00
Jan Oberhauser 0eab23dcd3 🐛 Fix missing execution id with queue-mode 2021-12-11 18:28:23 +01:00
Anuj Kapoor 32dc10f289
🐛 Return correct exit code on node version conflict (#2526) 2021-12-11 17:41:18 +01:00
Elvina Valieva 8e2191b633
🐛 Fix recommendation logic (#2543)
* fix: expect multiple answers for survey

* chore: refactor survey input methods

* fix error; fix tracking

Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-12-10 18:53:31 +01:00
Anuj Kapoor 8d2c6cc073
Added fallback when port in use (#2524)
* Added fallback when port in use

*  Minor Fixes
2021-12-10 15:32:32 +01:00
Ahsan Virani 2125f25791
Tweaks to diagnostic events (#2544)
* Tweaks to events

* more tweaks and fixes
2021-12-10 15:29:05 +01:00
Iván Ovejero 00ac975164 🔀 Merge master 2021-12-06 09:41:15 +01:00
Jan Oberhauser 703ff4a754 🔖 Release n8n@0.152.0 2021-12-04 16:47:49 +00:00
Jan Oberhauser 69c2961740 ⬆️ Set n8n-core@0.96.0, n8n-editor-ui@0.119.0, n8n-nodes-base@0.149.0 and n8n-workflow@0.79.0 on n8n 2021-12-04 16:47:49 +00:00
Iván Ovejero c50b6c2c21
Enable multiple args in logging via nodes (#2501)
*  Enable multiple args in logging via nodes

* 👕 Fix lint

*  Change to behave more as expected

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-04 11:57:13 +01:00
Iván Ovejero a07f0ea575 Populate translations without blocking 2021-12-02 14:33:23 +01:00
Iván Ovejero 01db7f4a5b 🔥 Replace require() to prevent caching 2021-12-02 13:38:29 +01:00
Iván Ovejero 4e218a5e05 Reduce calls to config object 2021-12-02 09:33:23 +01:00
Iván Ovejero 563a852f47 🔀 Merge master 2021-11-29 10:05:37 +01:00
Jan Oberhauser fe741bd90a 👕 Fix lint issue 2021-11-27 11:36:59 +01:00
Omar Ajoue fbaac6cd5e
🚨 Stabilize test workflows (#2480)
* Attempt to fix test workflows execution

* Remove apt update

* trying to fix timezone

* Trying to fix build issues

* Reduced concurrency level

* Improve error message and further decrease concurrency level

* Further reduce concurrency level

* Removed concurrency

* Removing update credentials as it's not working currently

* Also removing export

* Fixed versions for typeorm and sqlite

* Re add concurrency

* Adjustig sqlite3 and typeorm versions

* Fixing only sqlite version

* Fixing only typeorm version

* Reverting unnecessary changes
2021-11-27 10:54:18 +01:00
Jan Oberhauser 316904d36a 🔖 Release n8n@0.151.0 2021-11-26 12:18:38 +00:00
Jan Oberhauser 7eb37ae6f5 ⬆️ Set n8n-core@0.95.0, n8n-editor-ui@0.118.0, n8n-nodes-base@0.148.0 and n8n-workflow@0.78.0 on n8n 2021-11-26 12:18:38 +00:00
Iván Ovejero ed68ae8055 Switch to JSON for localization service 2021-11-24 12:16:59 +01:00
Iván Ovejero a48429f425 🔀 Merge master 2021-11-22 11:51:31 +01:00
Iván Ovejero b4399a1c63 Minor optimizations 2021-11-22 11:49:59 +01:00
Jan Oberhauser e45781be09 Fix order 2021-11-21 23:19:41 +01:00
Jonathan 03a7380042 Fixed build issue 2021-11-20 15:05:06 +00:00
Jan Oberhauser be6ab8de13 👕 Fix lint issue 2021-11-19 18:41:45 +01:00
Jan Oberhauser c68db308d4 🔖 Release n8n@0.150.0 2021-11-19 17:30:30 +00:00
Jan Oberhauser ea38087bca ⬆️ Set n8n-core@0.94.0, n8n-editor-ui@0.117.0, n8n-nodes-base@0.147.0 and n8n-workflow@0.77.0 on n8n 2021-11-19 17:30:30 +00:00
Tom d22a4b1b11
🐛 CLI: Add windows support to import:workflow --separate (#2441) 2021-11-19 18:16:00 +01:00
Iván Ovejero 7518617eee 🔀 Merge master 2021-11-19 15:35:38 +01:00
Iván Ovejero 9819c25ec5 Support versioned nodes 2021-11-19 12:22:01 +01:00
Iván Ovejero 99963b04a5 Render header strings 2021-11-19 10:52:25 +01:00
Jan Oberhauser 0c6af9fd95 Pin @rudderstack/rudder-sdk-node to 1.0.6 in cli package to fix build issue 2021-11-19 07:38:07 +01:00
Iván Ovejero c98772c927 🔨 Fix build 2021-11-17 11:29:27 +01:00
Iván Ovejero 29a3953dff 🔀 Merge master 2021-11-17 10:25:05 +01:00
Iván Ovejero 7fc0395e95 Render node strings 2021-11-17 10:24:35 +01:00
Jan Oberhauser dec81a171a 🔖 Release n8n@0.149.0 2021-11-13 12:12:39 +00:00
Jan Oberhauser 3ecd78dd29 ⬆️ Set n8n-core@0.93.0, n8n-editor-ui@0.116.0, n8n-nodes-base@0.146.0 and n8n-workflow@0.76.0 on n8n 2021-11-13 12:12:39 +00:00
Jan Oberhauser 670e93c0f4 👕 Fix lint issue 2021-11-13 09:37:42 +01:00
Omar Ajoue 357178d83b
New JSON attributes are now considered warnings in testing workflows (#2432) 2021-11-12 14:28:49 +01:00
Jan Oberhauser 653a8bb42e 🐛 Fix bug with internal hooks and CLI workflow execution 2021-11-09 22:04:45 +01:00
Iván Ovejero 61bb8de352 🔀 Merge master 2021-11-09 10:00:30 +01:00
Iván Ovejero 1de9ecf4ec Set up i18n 2021-11-09 09:59:48 +01:00
Jan Oberhauser 27543fcdd4 🔖 Release n8n@0.148.0 2021-11-05 17:52:48 +00:00
Jan Oberhauser 7f8dbfa405 ⬆️ Set n8n-core@0.92.0, n8n-editor-ui@0.115.0, n8n-nodes-base@0.145.0 and n8n-workflow@0.75.0 on n8n 2021-11-05 17:52:48 +00:00
Jan Oberhauser 8c4040dc5b Minor improvements to RespondToWebhook node 2021-11-05 11:19:23 -06:00
Jan 7b8d388d17
Add Webhook response node (#2254)
*  Add Webhook-Response-Node

*  Replace callback function with promise

*  Add support for Bull and binary-data

*  Add string response option

*  Remove some comments

*  Make more generically possible & fix issue multi call in
queue mode

*  Fix startup and eslint issues

*  Improvements to webhook response node and functionality

*  Replace data with more generic type

*  Make statusMessage optional

*  Change parameter order

*  Move Response Code underneath options

*  Hide Response Code on Webhook node if mode responseNode got selected

*  Minor improvements

*  Add missing file and fix lint issue

*  Fix some node linting issues

*  Apply feedback

*  Minor improvements
2021-11-05 10:45:51 -06:00
nikozila 35787455ab
Add hook: workflow.afterCreate (#2407) 2021-11-05 08:47:05 -06:00
Ben Hesseldieck a46c7f827d
🐛 Fix saving credentials id as string (#2410) 2021-11-04 20:23:10 -06:00
Jan Oberhauser aaa39876f9 🔖 Release n8n@0.147.1 2021-11-03 10:06:53 -06:00
Jan Oberhauser bae45421a8 ⬆️ Set n8n-nodes-base@0.144.1 on n8n 2021-11-03 10:06:09 -06:00
Jan Oberhauser 85f6c84301 🔖 Release n8n@0.147.0 2021-11-03 15:14:45 +00:00
Jan Oberhauser 91e50105b9 ⬆️ Set n8n-nodes-base@0.144.0 on n8n 2021-11-03 15:14:44 +00:00
Ben Hesseldieck 0877f485d9
Run migration in chunks (#2393) 2021-11-03 09:12:48 -06:00
Ahsan Virani 2a164cab6d
add anonymous ID everytime (#2398) 2021-11-03 10:42:54 +01:00
Jan Oberhauser ebdd86a5f5 🔖 Release n8n@0.146.0 2021-10-29 00:15:48 +00:00
Jan Oberhauser 59b58b3245 ⬆️ Set n8n-core@0.91.0, n8n-editor-ui@0.114.0, n8n-nodes-base@0.143.0 and n8n-workflow@0.74.0 on n8n 2021-10-29 00:15:47 +00:00
Jan Oberhauser 37930057d8 🐛 Fix build issue by setting fixed version of @types/node #2358 2021-10-22 14:39:36 -05:00
Jan Oberhauser 73931f73ce 🔖 Release n8n@0.145.0 2021-10-22 00:29:45 +00:00
Jan Oberhauser d54396281c ⬆️ Set n8n-core@0.90.0, n8n-editor-ui@0.113.0, n8n-nodes-base@0.142.0 and n8n-workflow@0.73.0 on n8n 2021-10-22 00:29:45 +00:00
Jan Oberhauser 6fa8dd701e Fix issue with queue mode 2021-10-21 18:25:31 -05:00
Jan Oberhauser a0b89ee5a4 Remove more not used code 2021-10-21 18:24:43 -05:00
Jan Oberhauser 0b56db5617 Remove not used code 2021-10-21 18:04:08 -05:00
Ahsan Virani d0403dd875
timeout process stop events (#2349) 2021-10-21 12:50:38 -05:00
Jan Oberhauser 2f7ad6968e Fix credential overwrite via environment variables 2021-10-20 20:49:07 -05:00
Ahsan Virani 421dd72224
Introduce telemetry (#2099)
* introduce analytics

* add user survey backend

* add user survey backend

* set answers on survey submit

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* change name to personalization

* lint

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>

* N8n 2495 add personalization modal (#2280)

* update modals

* add onboarding modal

* implement questions

* introduce analytics

* simplify impl

* implement survey handling

* add personalized cateogry

* update modal behavior

* add thank you view

* handle empty cases

* rename modal

* standarize modal names

* update image, add tags to headings

* remove unused file

* remove unused interfaces

* clean up footer spacing

* introduce analytics

* refactor to fix bug

* update endpoint

* set min height

* update stories

* update naming from questions to survey

* remove spacing after core categories

* fix bug in logic

* sort nodes

* rename types

* merge with be

* rename userSurvey

* clean up rest api

* use constants for keys

* use survey keys

* clean up types

* move personalization to its own file

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>

* Survey new options (#2300)

* split up options

* fix quotes

* remove unused import

* add user created workflow event (#2301)

* simplify env vars

* fix versionCli on FE

* update personalization env

* fix event User opened Credentials panel

* fix select modal spacing

* fix nodes panel event

* fix workflow id in workflow execute event

* improve telemetry error logging

* fix config and stop process events

* add flush call on n8n stop

* ready for release

* improve telemetry process exit

* fix merge

* improve n8n stop events

Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com>
Co-authored-by: Mutasem <mutdmour@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-10-19 05:57:49 +02:00
Jan Oberhauser 4b857b19ac 🔖 Release n8n@0.144.0 2021-10-15 00:03:36 +00:00
Jan Oberhauser 45103b213d ⬆️ Set n8n-core@0.89.0, n8n-editor-ui@0.112.0 and n8n-nodes-base@0.141.0 on n8n 2021-10-15 00:03:36 +00:00
Jan Oberhauser 71d7ed1164 🔖 Release n8n@0.143.0 2021-10-13 22:41:07 +00:00
Jan Oberhauser 1c9296aea0 ⬆️ Set n8n-core@0.88.0, n8n-editor-ui@0.111.0, n8n-nodes-base@0.140.0 and n8n-workflow@0.72.0 on n8n 2021-10-13 22:41:07 +00:00
Ben Hesseldieck 3137de2585
Change credentials structure (#2139)
*  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

Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-10-13 15:21:00 -07:00
Jan Oberhauser 981d2dc313 🔖 Release n8n@0.142.0 2021-10-07 23:08:08 +00:00
Jan Oberhauser 1ef6bef7ab ⬆️ Set n8n-core@0.87.0, n8n-editor-ui@0.110.0, n8n-nodes-base@0.139.0 and n8n-workflow@0.71.0 on n8n 2021-10-07 23:08:08 +00:00
Jan Oberhauser a077c8e416 🔖 Release n8n@0.141.1 2021-10-01 10:48:09 -05:00
Jan Oberhauser 5002ebfabe ⬆️ Set n8n-core@0.86.1 on n8n 2021-10-01 10:47:40 -05:00
Jan Oberhauser 0243fc68d9 🔖 Release n8n@0.141.0 2021-09-30 19:23:13 +00:00
Jan Oberhauser a675faffd5 ⬆️ Set n8n-core@0.86.0, n8n-editor-ui@0.109.0 and n8n-nodes-base@0.138.0 on n8n 2021-09-30 19:23:13 +00:00
Jan Oberhauser 4db91d55dd 🔖 Release n8n@0.140.0 2021-09-28 22:26:19 +00:00
Jan Oberhauser dfce6476e3 ⬆️ Set n8n-core@0.85.0, n8n-editor-ui@0.108.0 and n8n-nodes-base@0.137.0 on n8n 2021-09-28 22:26:19 +00:00
Omar Ajoue 3c256dc3f6
🐛 Fix startup behavior for scaled mode (#2242) 2021-09-24 08:42:41 +02:00
Jan Oberhauser 5b2741e258 🔖 Release n8n@0.139.1 2021-09-23 10:51:55 +02:00
Jan Oberhauser 5140b6c231 ⬆️ Set n8n-editor-ui@0.107.1 on n8n 2021-09-23 10:50:58 +02:00
Jan Oberhauser 4836a31714 🔖 Release n8n@0.139.0 2021-09-22 15:58:14 +00:00
Jan Oberhauser 84e983df56 ⬆️ Set n8n-core@0.84.0, n8n-editor-ui@0.107.0, n8n-nodes-base@0.136.0 and n8n-workflow@0.70.0 on n8n 2021-09-22 15:58:14 +00:00
Iván Ovejero f57409eb9e
📌 Unpin libphonenumber-js (#2224) 2021-09-21 19:42:10 +02:00
Omar Ajoue 443c2a4d51
Updated node design and node versioning (#1961)
*  introduce versioned nodes

* Export versioned nodes for separate process run

* Add bse node for versioned nodes

* fix node name for versioned nodes

* extend node from nodeVersionedType

* improve nodes base and flow to FE

* revert lib es2019 to es2017

* include version in key to prevent duplicate key

* handle type versions on FE

* clean up

* cleanup nodes base

* add type versions in getNodeParameterOptions

* cleanup

* code review

* code review + add default version to node type description

* remove node default types from store

* 💄 cleanups

* Draft for migrated Mattermost node

* First version of Mattermost node versioned according to node standards

* Correcting deactivate operations name to match currently used one

*  Create utility types

*  Simplify Mattermost types

*  Rename exports for consistency

*  Type channel properties

*  Type message properties

*  Type reaction properties

*  Type user properties

*  Add type import to router

* 🐛 Add missing key

* 🔨 Adjust typo in operation name

* 🔨 Inline exports for channel properties

* 🔨 Inline exports for message properties

* 🔨 Inline exports for reaction properties

* 🔨 Inline exports for user properties

* 🔨 Inline exports for load options

* 👕 Fix lint issue

* 🔨 Inline export for description

* 🔨 Rename descriptions for clarity

* 🔨 Refactor imports/exports for methods

* 🔨 Refactor latest version retrieval

* 🔥 Remove unneeded else clause

When the string literal union is exhausted, the resource key becomes never, so TS disallows wrong key usage.

*  Add overloads to getNodeParameter

*  Improve overload

* 🔥 Remove superfluous INodeVersions type

* 🔨 Relocate pre-existing interface

* 🔥 Remove JSDoc arg descriptions

*  Minor reformatting in transport file

*  Fix API call function type

* Created first draft for Axios requests

* Working version of mattermost node with Axios

* Work in progress for replacing request library

* Improvements to request translations

* Fixed sending files via multipart / form-data

* Fixing translation from request to axios and loading node parameter options

* Improved typing for new http helper

* Added ignore any for specific lines for linting

* Fixed follow redirects changes on http request node and manual execution of previously existing workflow with older node versions

* Adding default headers according to body on httpRequest helper

* Spec error handling and fixed workflows with older node versions

* Showcase how to export errors in a standard format

* Merging master

* Refactored mattermost node to keep files in a uniform structure. Also fix bugs with merges

* Reverting changes to http request node

* Changed nullish comparison and removed repeated code from nodes

* Renamed queryString back to qs and simplified node output

* Simplified some comparisons

* Changed header names to be uc first

* Added default user agent to requests and patch http method support

* Fixed indentation, remove unnecessary file and console log

* Fixed mattermost node name

* Fixed lint issues

* Further fix linting issues

* Further fix lint issues

* Fixed http request helper's return type

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
2021-09-21 19:38:24 +02:00
Harshil Agrawal 5ea4dc03b8
Add OAuth to HubSpot Trigger node credentials (#2166)
* 🔨 HubSpot Trigger node credentials

*  Small changes

*  Add breaking change message

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
2021-09-18 22:18:35 +02:00
Jan Oberhauser 7a6b926e4a 🔖 Release n8n@0.138.0 2021-09-15 09:33:29 +00:00
Jan Oberhauser 8ed6186c34 ⬆️ Set n8n-core@0.83.0, n8n-editor-ui@0.106.0, n8n-nodes-base@0.135.0 and n8n-workflow@0.69.0 on n8n 2021-09-15 09:33:29 +00:00
Jan Oberhauser 6e270cd77e ⬆️ Set body-parser-xml@2.0.3 on n8n 2021-09-15 10:37:41 +02:00
Mutasem Aldmour 3d6b40b852
Update credentials modal (#2154)
*  Generalize unique entity name generation

*  Standardize variable names

* redo credentials

* revert some changes, replace got with was

* fix v-if order

* fix v-if order

* update linting

* update gulpfile

* update ssh display name

* update height

* update params

* update info tip sizes

* address design comments

* update google button disabled

* update icon size to 28px

* update design issues

* update info tab design

* address design comments

* update tab size

* update run data spacing

* address comments, update logo design

* fix spacing issues

* clean up store

* fix create new bug

* add loading state

* rename prop

* remove unused prop

* fix select bug

* remove label tag

* update word break

* build

* address design comments

* update font family of button

* update menu opacity

* update text

* update title

* address more comments

* update oauth messages

* add oauth validation

* hide disabled state

* update warning modal

* show button on text input

* clean up cred details

* add validation errors

* fix bug when deleting cred

* Frontend hack to display test button

* Created interfaces for testing and endpoint

* Testing slack node credentials working

* Adding test with node to endpoint for credential testing

* Fixed linting and test detectability

* Adding required for slack token

* Added google sheets credential testing

* update message

* Adding suggestions by Ivan and Mutasem

* Address comments

* keep blurred when focused

* update font weight of errors

* add oauth banner

* remove toast

* Fixed code bug and added telegram credential testing

* scroll to top on success

* clean up duplication

* Fixed telegram trigger node and added tests to typeform

* refactor modal

* add more validation support

* refactor info tab

* scroll to bottom on save, handle cred saving

* refactor save button

* save cred on valid

* save cred on valid

* scroll to top if has error

* add targets on input labels

* delete credentails input

* revert fe changes

* update validation logic

* clean interface

* test credentials

* update banner design

* show testing state

* update x position

* fix issues

* fix focus issues

* clean up validation behavior

* make error relative

* update banner component

* update error spacing

* don't close dialog

* rename button

* update how banners behave

* if has unsaved changes first

* move confirm message

* add success banner

* update time state

* disable transitions

* test on open

* clean up banner behavior

* update banner styling

* capitalize

* update error banner styling to handle long texts

* avoid unnessary content jostling

* add loading label

* show validation warnings when opening modal

* retest cred if not all props req

* update scroll to auto

* add error warning

* update color saturation

* set overflow to auto

* fix bug to get credentials when connected

* round down to minutes

* change tab name

* update casing oauth

* disable credential testing if it has expressions

* label same as title

* add more space between close and save

* remove check on making any changes

* hide close on confirm modals

* don't accept clicks outside dialog

* fix build issues

* undo test changes

* fix table scrollbar logs

* rename modals

* fix bug with same name

* refactor modal

* fix tslint issue

* refactor name

* update name behavior

* update monospace font

* remove comment

* refactor inputs

* refactor error handling

* reduce spacing changes

* fix doc url oauth1 oauth2

* build

* hide infotip if no inputs

* address most comments

* rename file

* fix menu alignment

* gst

* update types

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-09-11 10:15:36 +02:00
Iván Ovejero bf9d3d4ce7
Pin libphonenumber in /cli package to fix build issue (#2193) 2021-09-10 14:01:21 +02:00
Jan Oberhauser 0b7049e27b 🐛 Fix PayloadTooLargeError issue 2021-09-10 11:59:55 +02:00
Jan Oberhauser 0e89166013 🔖 Release n8n@0.137.0 2021-09-05 17:51:01 +00:00
Jan Oberhauser 55242a39d7 ⬆️ Set n8n-core@0.82.0, n8n-editor-ui@0.105.0, n8n-nodes-base@0.134.0 and n8n-workflow@0.67.0 on n8n 2021-09-05 17:51:00 +00:00
Omar Ajoue 1db0097ae3
Add execution ID to queue processes for clarification (#2168)
* Add execution ID to queue processes for clarification

*  Display correct execution ID

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-09-02 18:58:13 +02:00
Omar Ajoue d17ab8e9e5
Allow webhook processes to wake up waiting executions (#2153) 2021-08-31 11:55:06 +02:00
Jan Oberhauser 098bafefe2 🔖 Release n8n@0.136.0 2021-08-29 21:28:23 +00:00
Jan Oberhauser a947ab0084 ⬆️ Set n8n-core@0.81.0, n8n-editor-ui@0.104.0, n8n-nodes-base@0.133.0 and n8n-workflow@0.66.0 on n8n 2021-08-29 21:28:23 +00:00
Iván Ovejero 56c4c6991f
🎨 Set up linting and formatting (#2120)
* ⬆️ Upgrade TS to 4.3.5

* 👕 Add ESLint configs

* 🎨 Add Prettier config

* 📦 Add deps and commands

*  Adjust global .editorconfig to new ruleset

* 🔥 Remove unneeded local .editorconfig

* 📦 Update deps in editor-ui

* 🔨 Limit Prettier to only TS files

*  Add recommended VSCode extensions

* 👕 Fix build

* 🔥 Remove Vue setting from global config

*  Disable prefer-default-export per feedback

* ✏️ Add forgotten divider

* 👕 Disable no-plusplus

* 👕 Disable class-methods-use-this

* ✏️ Alphabetize overrides

* 👕 Add one-var consecutive override

*  Revert one-var consecutive override

This reverts commit b9252cf935.

* 🎨 👕 Lint and format workflow package (#2121)

* 🎨 Format /workflow package

* 👕 Lint /workflow package

* 🎨 Re-format /workflow package

* 👕 Re-lint /workflow package

* ✏️ Fix typo

*  Consolidate if-checks

* 🔥 Remove prefer-default-export exceptions

* 🔥 Remove no-plusplus exceptions

* 🔥 Remove class-methods-use-this exceptions

* 🎨 👕 Lint and format node-dev package (#2122)

* 🎨 Format /node-dev package

*  Exclude templates from ESLint config

This keeps the templates consistent with the codebase while preventing lint exceptions from being made part of the templates.

* 👕 Lint /node-dev package

* 🔥 Remove prefer-default-export exceptions

* 🔥 Remove no-plusplus exceptions

* 🎨 👕 Lint and format core package (#2123)

* 🎨 Format /core package

* 👕 Lint /core package

* 🎨 Re-format /core package

* 👕 Re-lint /core package

* 🔥 Remove prefer-default-export exceptions

* 🔥 Remove no-plusplus exceptions

* 🔥 Remove class-methods-use-this exceptions

* 🎨 👕 Lint and format cli package (#2124)

* 🎨 Format /cli package

* 👕 Exclude migrations from linting

* 👕 Lint /cli package

* 🎨 Re-format /cli package

* 👕 Re-lint /cli package

* 👕 Fix build

* 🔥 Remove prefer-default-export exceptions

*  Update exceptions in ActiveExecutions

* 🔥 Remove no-plusplus exceptions

* 🔥 Remove class-methods-use-this exceptions

* 👕 fix lint issues

* 🔧 use package specific linter, remove tslint command

* 🔨 resolve build issue, sync dependencies

* 🔧 change lint command

Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
2021-08-29 20:58:11 +02:00
Snyk bot 96f3a6256d
⬆️ Set mysql2@3.3.0 on n8n
Snyk has created this PR to upgrade mysql2 from 2.2.5 to 2.3.0.

See this package in npm:
https://www.npmjs.com/package/mysql2

See this project in Snyk:
https://app.snyk.io/org/janober/project/fc678bbc-0ac7-4659-9458-8f7f360e2566?utm_source=github&utm_medium=upgrade-pr
2021-08-29 13:46:41 +02:00
Jan Oberhauser 52fb4563d7 🔖 Release n8n@0.135.3 2021-08-27 19:47:21 +02:00
Jan Oberhauser d88cdd8058 ⬆️ Set n8n-editor-ui@0.103.1 and n8n-nodes-base@0.132.1 on n8n 2021-08-27 19:46:36 +02:00
Jan Oberhauser b66a56ec3a Display message on wait migration run 2021-08-27 19:40:18 +02:00
Iván Ovejero 7ea515c840
Restore missing await in VACUUM query (#2140) 2021-08-27 18:22:57 +02:00
Jan Oberhauser 6835d62b3a 🔖 Release n8n@0.135.2 2021-08-26 13:46:32 +02:00
Omar Ajoue 128e1b241b
🐛 Fix performance issue with credentials loading (#2130) 2021-08-26 13:45:15 +02:00
Tanay Pant 7365309346
🔨 Minor improvements to breaking changes (#2115) 2021-08-23 10:50:57 +02:00
Jan Oberhauser 5e66c4789f 🔖 Release n8n@0.135.1 2021-08-23 10:27:56 +02:00
Omar Ajoue 9dca4d0f24
🐛 Drop temporary table if it exists before running full migration (#2114) 2021-08-23 10:25:57 +02:00
Jan Oberhauser 719c0eb546 Add breaking change for 0.135.0 2021-08-22 15:23:02 +02:00
Jan Oberhauser 75fc6300e9 🔖 Release n8n@0.135.0 2021-08-22 12:41:49 +00:00
Jan Oberhauser e8293d6a66 ⬆️ Set n8n-core@0.80.0, n8n-editor-ui@0.103.0, n8n-nodes-base@0.132.0 and n8n-workflow@0.65.0 on n8n 2021-08-22 12:41:48 +00: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
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
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
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
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
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
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 ce354ed0cf 🔖 Release n8n@0.132.2 2021-08-02 22:46:33 +02:00
Jan Oberhauser 139b5ec03e ⬆️ Set n8n-nodes-base@0.129.1 on n8n 2021-08-02 22:45:58 +02:00
Jan Oberhauser 8f07bcee03 🔖 Release n8n@0.132.1 2021-08-02 17:14:43 +02:00
Jan Oberhauser ddee2ec47c 🐛 Hardcode typeorm@0.2.34 as new version makes health-check fail 2021-08-02 17:09:17 +02:00
Jan Oberhauser 1c7033a76b 🔖 Release n8n@0.132.0 2021-08-01 19:53:03 +00:00
Jan Oberhauser 1af6b1207d ⬆️ Set n8n-nodes-base@0.129.0 on n8n 2021-08-01 19:53:03 +00:00
Jan Oberhauser 231c15801a 🔖 Release n8n@0.131.0 2021-07-24 20:02:30 +00:00
Jan Oberhauser 8380a441cf ⬆️ Set n8n-core@0.78.0, n8n-editor-ui@0.100.0, n8n-nodes-base@0.128.0 and n8n-workflow@0.64.0 on n8n 2021-07-24 20:02:30 +00:00
Iván Ovejero f29950ee81
🐛 Fix executions pruning and UTC storage (#1959)
*  Add logging for pruning errors

*  Reformat pruning date to UTC string

*  Reformat workflow deletion date to UTC

*  Enforce UTC datetimes for MySQL

*  Enforce UTC datetimes for Postgres

*  Revert "Reformat workflow deletion date to UTC"

This reverts commit ca9628bc6d.
2021-07-23 21:40:53 +02:00
MedAliMarz 2a99a77b43
update webhook response (#2006)
* add hint to 'webhook not registered' error

* Convert hints to constants
2021-07-23 20:56:18 +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