Commit graph

1120 commits

Author SHA1 Message Date
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