1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-11-09 17:50:52 +03:00
Commit Graph

635 Commits

Author SHA1 Message Date
schnapsterdog
d11767108f N8N-2553 Change node parameter validation behaviour 2021-11-09 12:44:39 +01:00
Jan Oberhauser
9ac41953ab 🔖 Release n8n-editor-ui@0.115.0 2021-11-05 17:52:10 +00:00
Jan Oberhauser
55455524e4 ⬆️ Set n8n-workflow@0.75.0 on n8n-editor-ui 2021-11-05 17:52:10 +00:00
Mutasem Aldmour
70a9f0446e
🐛 Fix importing unknown types with credentials (#2414) 2021-11-05 09:40:33 -06:00
Ben Hesseldieck
a46c7f827d
🐛 Fix saving credentials id as string (#2410) 2021-11-04 20:23:10 -06:00
Jan Oberhauser
a7a6e77598 🔖 Release n8n-editor-ui@0.114.0 2021-10-29 00:15:11 +00:00
Jan Oberhauser
a6a40d8be4 ⬆️ Set n8n-design-system@0.6.0 and n8n-workflow@0.74.0 on n8n-editor-ui 2021-10-29 00:15:11 +00:00
Mutasem Aldmour
171f5a458c
Update parameter inputs to be multi-line (#2299)
* 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>

* update parameter inputs to be multiline

* update spacing

* Survey new options (#2300)

* split up options

* fix quotes

* remove unused import

* refactor node credentials

* add user created workflow event (#2301)

* update multi params

* simplify env vars

* fix versionCli on FE

* update personalization env

* clean up node detail settings

* fix event User opened Credentials panel

* fix font sizes across modals

* clean up input spacing

* fix select modal spacing

* increase spacing

* fix input copy

* fix webhook, tab spacing, retry button

* fix button sizes

* fix button size

* add mini xlarge sizes

* fix webhook 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

* fix input error highlighting

* revert change

* update toggle spacing

* fix delete positioning

* keep tooltip while focused

* set strict size

* increase left spacing

* fix sort icons

* remove unnessary margin

* clean unused functionality

* remove unnessary css

* remove duplicate tracking

* only show tooltip when hovering over label

* update credentials section

* use includes

Co-authored-by: ahsan-virani <ahsan.virani@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-10-27 14:55:37 -05:00
Iván Ovejero
db738fc824
Add workflow name and ID to settings (#2369)
*  Add workflow name and ID to settings

* 🔨 Refactor to use mapGetters
2021-10-26 18:54:03 -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
5ca3a30a97 🔖 Release n8n-editor-ui@0.113.0 2021-10-22 00:29:12 +00:00
Jan Oberhauser
b27f6bc68b ⬆️ Set n8n-design-system@0.5.0 and n8n-workflow@0.73.0 on n8n-editor-ui 2021-10-22 00:29:12 +00: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
0b0ed01635 🔖 Release n8n-editor-ui@0.112.0 2021-10-15 00:03:05 +00:00
Mutasem Aldmour
d49aa18717
🐛 Fix chrome autofill issue (#2294) 2021-10-13 16:39:05 -07:00
Jan Oberhauser
f5ec78d77e 🔖 Release n8n-editor-ui@0.111.0 2021-10-13 22:40:35 +00:00
Jan Oberhauser
12c34db475 ⬆️ Set n8n-workflow@0.72.0 on n8n-editor-ui 2021-10-13 22:40:35 +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
Mutasem Aldmour
d1824b9dd0
🐛 Fix error when opening ftp/sftp credentials (#2298)
* n8n-2513 fix error when opening credentials

* clean up validation logic
2021-10-09 13:42:30 -05:00
Jan Oberhauser
ef06c8704e 🔖 Release n8n-editor-ui@0.110.0 2021-10-07 23:07:34 +00:00
Jan Oberhauser
b8a01daf08 ⬆️ Set n8n-workflow@0.71.0 on n8n-editor-ui 2021-10-07 23:07:34 +00:00
Mutasem Aldmour
1341958aae
Open new window when duplicating (#2237)
* update duplicate to open in new window

* remove active action
2021-10-07 14:59:00 -05:00
Mutasem Aldmour
857426a918
Add query param for templates (#2293) 2021-10-07 14:54:22 -05:00
Mutasem Aldmour
e2daa523d4
🐛 Apply default save manual executions (#2286)
* revert savemanualexecution changes

* update toasts behavior to handle default case
2021-10-06 12:13:39 -05:00
Mutasem Aldmour
7159181345
Save on new workflow executions with webhook (#2231)
* save on new workflow executions

* only save if webhook node
2021-10-06 12:06:33 -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
Mutasem Aldmour
582f9a1e61
🐛 Remove overlap on mobile between buttons (#2233)
* remove overlap on mobile between buttons

* update breakpoints
2021-10-05 13:33:25 -05:00
Mutasem Aldmour
a4374e235e
Add open event (#2261) 2021-10-05 13:28:37 -05:00
Jan Oberhauser
02100a3daf 🔖 Release n8n-editor-ui@0.109.0 2021-09-30 19:22:52 +00:00
Jan Oberhauser
70c5795564 ⬆️ Set n8n-design-system@0.4.0 on n8n-editor-ui 2021-09-30 19:22:52 +00:00
Jan Oberhauser
e0cca284d8 🔖 Release n8n-editor-ui@0.108.0 2021-09-28 22:25:58 +00:00
Iván Ovejero
3a0b96bf32
🐛 Fix TypeError in nodes panel text selection (#2258) 2021-09-28 14:23:57 -05:00
Jan Oberhauser
d36f123e99 🔖 Release n8n-editor-ui@0.107.1 2021-09-23 10:49:02 +02:00
Iván Ovejero
e84ce79d9b
🐛 Remove auto-adding fixed collection option (#2241)
* 🔥 Remove auto-adding fixed collection option

* 🔥 Remove file from version control
2021-09-23 10:47:13 +02:00
Jan Oberhauser
4290c294e7 🔖 Release n8n-editor-ui@0.107.0 2021-09-22 15:57:45 +00:00
Jan Oberhauser
2397f0b7de ⬆️ Set n8n-workflow@0.70.0 on n8n-editor-ui 2021-09-22 15:57:45 +00:00
Iván Ovejero
5644a88d78
🎨 Fix checkmark spacing in multiOptions (#2223)
Co-authored-by: Mutasem <mutdmour@gmail.com>
2021-09-22 11:02:38 +02:00
Mutasem Aldmour
4f1bedc76e
🐛 Fix credentials modal spacing issue when no tooltip (#2230)
* fix credentials modal spacing issue when empty

* check length at inputs level
2021-09-22 09:42:19 +02:00
Mutasem Aldmour
6461423a5c
Add wait node toasts (#2203)
*  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

* add toast for waiting executions

* hide infotip if no inputs

* address most comments

* rename file

* fix menu alignment

* gst

* update types

* update language

* refactor toast behavior, add support for links clicking

* allow closing workflow modal from notification

* refactor how modals work

* fix data display

* update toast behavior

* fix type issues

* rename prop

* update overflow behavior for settings

* only expand used properties

* fix edge bug

* make scrollable prop, add margin to tags footer

* remove max height from tag manager

* rewrite message

* fix notice word break

* update property names

* clear sticky notifications on run

* build

* refactor function out

* use destruction

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2021-09-22 09:23:37 +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
Mutasem Aldmour
53fbf664b5
Switch to font source for open sans (#2220)
* switch to font source for open sans

* add 700 font weight
2021-09-21 14:35:55 +02:00
Iván Ovejero
8d42eddfc2
Add infobox to Split In Batches node (#2217) 2021-09-19 16:13:48 +02:00
Mutasem Aldmour
ebf9a5e4cd
🐛 Temp fix build replace endpoint (#2216) 2021-09-17 14:56:08 +02:00
Jan Oberhauser
eb9cea2006 🔖 Release n8n-editor-ui@0.106.0 2021-09-15 09:32:57 +00:00
Jan Oberhauser
312e6d34c5 ⬆️ Set n8n-design-system@0.3.0 and n8n-workflow@0.69.0 on n8n-editor-ui 2021-09-15 09:32:57 +00:00
Jan Oberhauser
86b9074424 🔀 Merge branch 'master' into fixed-collection-ux-improvements 2021-09-15 11:07:05 +02:00
Mutasem Aldmour
4db451d9d9
🐛 Fix issue showing too much data error (#2200)
* fix bug showing too much data error

* init when node changes

* revert node settings chagnes

* revert node settings chagnes
2021-09-15 10:11:59 +02:00
MedAliMarz
eb89b219f3
Add Item Lists node (#2032)
*  Item lists node

* Enhance the removeDuplicates operation

* Add aggregate items operation

*  Improvements

*  Improvements

* Improvements

*  Improvements

*  Improvements

*  Improvements

*  Improvements

*  Minor improvements

*  Fix issue with random option

Co-authored-by: ricardo <ricardoespinoza105@gmail.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-09-15 09:55:36 +02:00
Mutasem Aldmour
1f71e69ed8
💄 Fix run data header spacing (#2161) 2021-09-11 13:19:32 +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