Commit graph

346 commits

Author SHA1 Message Date
Omar Ajoue 9f7113c94b
🐛 Remove default headers for PUT and PATCH (#2434) 2021-11-15 17:20:28 +01:00
Jan Oberhauser 86c234f557 🔖 Release n8n-core@0.93.0 2021-11-13 12:11:11 +00:00
Jan Oberhauser b8e83e0eea ⬆️ Set n8n-workflow@0.76.0 on n8n-core 2021-11-13 12:11:11 +00:00
Omar Ajoue 15e64d1bc4
🐛 Add function to calculate content-length when using multipart/form-data (#2427) 2021-11-12 13:55:29 +01:00
Jan Oberhauser dc06ee60fb 🔖 Release n8n-core@0.92.0 2021-11-05 17:51:16 +00:00
Jan Oberhauser ace0802017 ⬆️ Set n8n-workflow@0.75.0 on n8n-core 2021-11-05 17:51:16 +00: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
Jan Oberhauser 783d48e3b1 🔖 Release n8n-core@0.91.0 2021-10-29 00:14:01 +00:00
Jan Oberhauser 95fd11dac2 ⬆️ Set n8n-workflow@0.74.0 on n8n-core 2021-10-29 00:14:01 +00:00
Omar Ajoue e39678b54f
🐛 Fixed url params serializing for OAuth1 requests (#2381) 2021-10-28 11:09:25 -05:00
Omar Ajoue c97ceba86d
🐛 Fixed the way proxies are declared with axios (#2384) 2021-10-28 11:07:09 -05:00
Omar Ajoue 15d05c7f01
Fixed ignore response code flag to work properly with return full response (#2370) 2021-10-26 18:58:08 -05: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 16d55a511c 🔖 Release n8n-core@0.90.0 2021-10-22 00:28:09 +00:00
Jan Oberhauser 04fa803c1f ⬆️ Set n8n-workflow@0.73.0 on n8n-core 2021-10-22 00:28:09 +00:00
Jan Oberhauser cba2874c2e 🐛 Fix useQuerystring in combination with x-www-form-urlencoded #2348 2021-10-21 15:12:15 -05:00
Jan Oberhauser d25353b6e6 Change log message from info to debug level 2021-10-21 13:34:16 -05:00
Jan Oberhauser e05d0a5286 🐛 Fix Ignore Response Code issue 2021-10-19 16:45:59 -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 1c4b9fbaae 🔖 Release n8n-core@0.89.0 2021-10-15 00:02:15 +00:00
Jan Oberhauser a6c6b2afea 🐛 Set cron to version 1.7.x to fix issue #2239 2021-10-14 16:45:51 -07:00
Jan Oberhauser 5e4aa9a7c7 🐛 Fix useQuerystring=false behaviour #2319 2021-10-14 11:59:34 -07:00
Ricardo Espinoza e296b02185
🐛 Fixes issue handling response when json property is not set (#2318)
Also fixes an small bug reading the keyCondtionExpression parameter
2021-10-13 16:36:33 -07:00
Jan Oberhauser 0747fa303b 🔖 Release n8n-core@0.88.0 2021-10-13 22:39:44 +00:00
Jan Oberhauser f220b67a7a ⬆️ Set n8n-workflow@0.72.0 on n8n-core 2021-10-13 22:39:44 +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 1e34aca8bd Fix build issue 2021-10-12 22:20:51 -05:00
Jan Oberhauser bc44294383 🔖 Release n8n-core@0.87.0 2021-10-07 23:06:31 +00:00
Jan Oberhauser 097e73dc60 ⬆️ Set n8n-workflow@0.71.0 on n8n-core 2021-10-07 23:06:31 +00:00
Jan Oberhauser 1d90cd3b09 🐛 Fix that active executions could not be canceled in main mode 2021-10-07 13:53:45 -05:00
Omar Ajoue a5e714f1c4
🐛 Fix the way arrays are serialized for gmail and a few other nodes (#2289) 2021-10-06 13:05:28 -05:00
Omar Ajoue 86942c4ce7
🐛 Fix "Ignore response code" flag in http request node (#2284) 2021-10-06 12:53:18 -05:00
Jan f7148bdd77
Display node-error only on executing nodes (#2274)
*  Dot not display errors on disconnected nodes

*  Fix some more inconsistencies
2021-10-06 19:02:31 +02:00
Jan 9dbf6e5f6d
🐛 Fix issue with none-json requests (#2283) 2021-10-06 19:00:38 +02:00
Jan Oberhauser 3195e997ba 🐛 Fix issue part-workflow execution wait-node being the last 2021-10-06 11:51:58 -05:00
Jan Oberhauser 332724bbec 🔖 Release n8n-core@0.86.1 2021-10-01 10:46:32 -05:00
Omar Ajoue 3253a81318
🐛 Fix body formatting for x-form-www-urlencoded (#2269) 2021-10-01 17:43:50 +02:00
Jan Oberhauser b16e2eff0c 🔖 Release n8n-core@0.86.0 2021-09-30 19:21:20 +00:00
Omar Ajoue 4a3d3cd331
🐛 Improve Axios compatibility (#2262)
* Improved the error object returned by axios to make it more compatible with request

* Fixed multipart/form-data payload creation

* 🐛 Remove issue with circular references

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-09-30 14:10:56 -05:00
Jan Oberhauser 6c6ae5d607 🔖 Release n8n-core@0.85.0 2021-09-28 22:25:10 +00:00
Jan Oberhauser 1ba1c95fe0 🔀 Merge branch 'master' into fix-refresh-token-oauth 2021-09-28 14:19:55 -05:00
Iván Ovejero db134f0abe
Add Splunk node (#2180)
*  Create Splunk node

* 🔨 Move rejectUnauthorized to credentials

* 🔨 Remove trailing slash

* 🔨 Clarify 401 error

* 🔥 Remove unused params

* 🔥 Remove unused logic

*  Guard against code missing

* 🔨 Refactor filter

* 🔥 Remove params with no effect

* 🔥 Remove superfluous description

* 🔥 Remove params for unimplemented resource

* 🔥 Remove param with no effect

* 🐛 Fix multiple roles in user create and upate

* 🔥 Remove logging

*  Simplify ID handling

* 👕 Fix lint

*  Add cred test

* 🎨 Format import

* ✏️ Apply Product feedback

* 🐛 Make axiox errors compatible

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-09-28 13:50:15 -05:00
Omar Ajoue 694ec64330 Changed the error handling location 2021-09-28 15:20:01 +02:00
Omar Ajoue b873eec2ad Fixed refresh token to work correctly with Axios 2021-09-28 14:41:12 +02:00
Omar Ajoue 62d1d69710
🐛 Fix n8n's behavior for empty response bodies (#2246)
* Fixed n8n's behavior for empty response bodies

* Correctly parsing empty bodies when expected output is a buffer
2021-09-27 17:50:37 -05:00
Jan Oberhauser 22be153e8a 🔖 Release n8n-core@0.84.0 2021-09-22 15:56:59 +00:00
Jan Oberhauser 810d3849e3 ⬆️ Set n8n-workflow@0.70.0 on n8n-core 2021-09-22 15:56:59 +00: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
Jan Oberhauser 2d7a004a39 🔖 Release n8n-core@0.83.0 2021-09-15 09:32:11 +00:00
Jan Oberhauser 06ead0f088 ⬆️ Set n8n-workflow@0.69.0 on n8n-core 2021-09-15 09:32:10 +00:00