Commit graph

4996 commits

Author SHA1 Message Date
Anuj Kapoor 32dc10f289
🐛 Return correct exit code on node version conflict (#2526) 2021-12-11 17:41:18 +01:00
Oliver Trajceski 42742de876
Add Value Survey (#2499)
* N8N-2619 Value Survey Front-end

* N8N-2619 Added Contact Prompt Modal and logic

* N8N-2619 Added Link to Toast Message on Successful submitting ValueSurvey

* N8N-2619 Updated TypeForm URL in ValueSurvey Success Toast

* N8N-2619 Fixed Typo placeholder for ValueSurvey and ContactPrompt Modal

* N8N-2619 Fixed Toast not close automatically in ValueSurvey, Make part of the title bold, Changed Font-sizes on Value Survey

* N8N-2619 Fixed Close Button on ValueSurvey, Vertical Allignment for Questions in ValueSurvey Drawer

* N8N-2619 Make Value Survey with static height

* N8N-2619 Fixed Telemetry Events on closing ValueSurvey

* N8N-2619 Updated N8NPrompt Interface, Added Dynamic Title and Description on ContactPrompt Modal

* N8N-2619 Reversed Answers in ValueSurveyModal

* N8N-2619 Added Telemetry Event on user close ValueSurvey on second Question

* N8N-2619 Re-work, Optimized, Simplify the code after technical review

* N8N-2619 Fixed If else statement in openUserPromptsIfPossible

* N8N-2619 Change Text under Email Box - ValueSurvey, ContactPrompt, Added new Telemetary Event on ValueSurvey Open, Fixed Toast to close aftet 15s

* N8N-2619 Change ContactPrompt Modal to use Atoms like N8N-Heading and N8N-Text

* N8N-2619 Change Design & Logic on ValueSurvey - When to open

* N8N-2619 Updated Value Survey with new Telemetry Events (Refactor), Simplified functions, Added Atoms in ValueSurvey + ContactPrompt

* N8N-2619 Refactor in Interfaces, Updated/Refactor Getters and Vuex store props

* N8N-2619 Defined IN8nValueSurveyData interface

* N8N-2619 Disabled Keyboard shortcuts to be activated on typing in ValueSurvey Input field, Fire an event on Saving WF from Menu and with shorcut, Make Drawer keep-alive

* N8N-2619 Added Atoms in Value Survey Modal (buttons), Rework css

* N8N-2619 Added Responses on ValueSurvey Submit

* N8N-2619 Added Response for SubmittingContactInfo

* N8N-2619 Added loading state for buttons / ValueSurvey

* N8N-2619 Changed ValueSurvey and ContactPrompt to support enter key on submit, Simplifed closeDialog Function, Changed css for button in ValueSurvey, Prevent showing the Modals if Saving WF fails, Add Debouncing on showing prompt

* N8N-2619 Added IsTelemetryEnabled Getter in Vuex.store

* N8N-2619 Created/Added N8N-SquareButton to Design-system

* N8N-2619 Change Promise in MainSideBar with Async/Await function, Nitpick simpliefied

* N8N-2619 Update the text under the input fields

* N8N-2619 Update the text in ContactPrompt Modal

* N8N-2619 Allign Send button on ValueSurvey Modal

* N8N-2619 Fixed Input in ValueSurvey Modal

* N8N-2619 Check if the workflow is saving

* N8N-2619 Check if WF is saving to allowed performs fetchPromptsData

* N8N-2619 Hotfix

* N8N-2619 Fixed ValueSurvey, Updated onSaveButtonClick function, Created onSaveKeyboardShortcut function in NodeView

* N8N-2619 Rework css module classes for ValueSurvey, Simplified

* N8N-2619 Simplified N8N-SquareButton Component, removed dead code

* N8N-2619 Added Breakpoints for Mobile/Tablet View

* N8N-2619 Formatting fix

* N8N-2619 Update css for mobile/tablet, change promises to asyn/await functions in ContactPrompt and ValueSurvey, Added isActive prop to ValueSurvey

* N8N-2619 Update TEMPLATE_BASE_URL to production
2021-12-11 17:38:16 +01:00
Jan Oberhauser 66745033e6 Do not error even if no contacts found 2021-12-11 17:08:45 +01:00
Ricardo Espinoza 556e8e9417
Add query support to people:getAll - Google Contacts (#2552)
* Add query support to people:getAll

*  Fix typo
2021-12-11 17:00:47 +01:00
Ricardo Espinoza 4adb9b83c5
Add scope to PagerDuty (#2539) 2021-12-11 10:36:51 +01:00
Jascha Lülsdorf 76d79a6256
🐛 Fix typo in Saleforce Node (#2534) 2021-12-11 10:30:20 +01:00
Ricardo Espinoza 1854d505b8
🐛 Set new Hubspot granular scopes (#2531)
* Hubspot Developer API Credentials: Use granular scopes as contacts scope is no longer available for new apps

*  Add new scopes to regular node

*  Small fix

*  Load contacts, companies and deals from API

Co-authored-by: that-one-tom <19203795+that-one-tom@users.noreply.github.com>
2021-12-10 20:28:59 +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
Ricardo Espinoza b62dc50559
Add Workable Trigger Node (#2522)
*  Workable Trigger

*  Improvements

*  Small improvement

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-10 18:36:24 +01:00
Ricardo Espinoza 2d1422f5de
Add Figma Trigger Node (#2521)
*  Figma Trigger

*  Improvements

*  Small cleanup

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-10 17:42:20 +01:00
Jan Oberhauser 35a7ecf580 🐛 Fix bug ApiTemplate image create bug 2021-12-10 17:29:31 +01:00
Mutasem Aldmour 783d0f6d45
🐛 Fix node-menu hover issue (#2546) 2021-12-10 15:35:33 +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
Mutasem Aldmour 75c7b5ed97
🐛 Hide trigger tooltip for polling nodes (#2547)
* hide trigger tooltip for polling nodes

* fix spacing
2021-12-10 14:48:56 +01:00
Anuj Kapoor 1d05185c4a
Added toast tweaks (#2530)
* Added toast fallback

* Added a parameter to copy function to deduce cut operations

* 👕 Fix Liniting
2021-12-10 14:24:09 +01:00
Jan Oberhauser 6453996de3 Add support for Query Auth 2021-12-05 17:00:41 +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
Jan Oberhauser 072bbaa3ab 🔖 Release n8n-editor-ui@0.119.0 2021-12-04 16:47:08 +00:00
Jan Oberhauser 758350c6b7 ⬆️ Set n8n-workflow@0.79.0 on n8n-editor-ui 2021-12-04 16:47:08 +00:00
Jan Oberhauser 5d951a4034 🔖 Release n8n-nodes-base@0.149.0 2021-12-04 16:46:30 +00:00
Jan Oberhauser 5c2f769587 ⬆️ Set n8n-core@0.96.0 and n8n-workflow@0.79.0 on n8n-nodes-base 2021-12-04 16:46:29 +00:00
Jan Oberhauser 23d8542e50 🔖 Release n8n-node-dev@0.36.0 2021-12-04 16:46:18 +00:00
Jan Oberhauser 642fbbe193 ⬆️ Set n8n-core@0.96.0 and n8n-workflow@0.79.0 on n8n-node-dev 2021-12-04 16:46:18 +00:00
Jan Oberhauser b2de521428 🔖 Release n8n-core@0.96.0 2021-12-04 16:46:08 +00:00
Jan Oberhauser 00c7998a29 ⬆️ Set n8n-workflow@0.79.0 on n8n-core 2021-12-04 16:46:07 +00:00
Jan Oberhauser f868acba97 🔖 Release n8n-workflow@0.79.0 2021-12-04 16:45:57 +00:00
Jan Oberhauser 83af3dfa12 ⬆️ Update package-lock.json file 2021-12-04 12:09:15 +01: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
Ricardo Espinoza c0b519a149
Add Google Calendar Trigger (#2474)
*  Google Calendar Trigger

*  Improvements
2021-12-04 11:11:22 +01:00
Mutasem Aldmour 76c63790b4
Add plus endpoint (#2450)
* fix

* refactor

* clean up css

* refactor setzoom level

* refactor

* refactor

* refactor func

* remove scope

* remove localstorage caching

* clean up imports

* update zero case

* add delete connection

* update selected state

* add base type, remove straight line

* add stub offset back

* rename param

* add label offset

* update font size of items

* move up label

* fix error state while executing

* disrespect stubs

* check for errors

* refactor position

* clean up extra space

* make entire node connectable

* Revert "make entire node connectable"

e304f7c5b8

* always show border

* add border to zoom buttons

* update spacing

* update colors

* allow connecting to entire node

* fix pull conn active

* two line names

* apply select to all lines

* increase input margin

* override target pos

* reset conn after pull

* fix types

* update orientation

* fix up connectors snapping

* hide arrow on pull

* update overrides for connectors

* change text

* update pull colors

* set to 1 line when selected

* fix executions bug

* build

* refactor node component

* remove comment

* refactor more

* remove prop

* fix build issue

* fix input drag bug in executions

* reset offset

* update select background

* handle issue when endpoints are not set

* fix connection aborted issue

* add try catch to help show errors

* wrap bind with try/catch

* set default styles

* reset pos despite zoom

* add more checks

* clean up impl

* update icon

* handle unknown types

* hide items on init

* fix importing unknown types with credentials

* change opacity

* push up item label

* update color

* update label class and colors

* add to drop distance

* fix z-index to match node

* disable eslint

* fix lasso tool selection

* update background color

* update waiting state

* update tooltip positions

* update wait node border

* fix selection bug mostly

* if selected, move above other nodes

* add line through disabled nodes

* remove node color option

* move label above connection

* success color for line through

* update options index

* hide waiting icon when disabled

* fix gmail icon

* refactor icons

* clear execution data on disable/delete

* fix selected node

* fix executing behavior

* optional __meta

* set grid size

* remove default color

* remove node color

* add comments

* comments

* add comments

* remove empty space

* update comment

* refactor uuids

* fix type issue

* Revert "fix type issue"

9523b34f96

* Revert "fix type issue"

9523b34f96

* Revert "refactor uuids"

07f6848065

* fix build issues

* refactor

* update uuid

* child nodes

* skip nodes behind when pushing in loop

* shift output icon for switch node

* don't show output if waiting

* waiting on init

* build

* change to bezier

* implement plus

* revert connector change

* add bezier type

* fix snapping

* clean up impl

* refactor func

* make const

* rename type

* refactor to simplify

* Revert "refactor to simplify"

2db0ed504c

* enable flowchart mode

* clean up flowchart type

* refactor type

* merge types

* configure curviness

* set in localstorage

* fix straight line arrow bug

* show arrow when pulling

* refactor / simplify

* fix target gap in bezier

* refactor target gap

* add comments

* add comment

* fix dragging connections

* fix bug when moving connection

* update comment

* rename file

* update values

* update minor

* update straight line box

* clean up conn types

* clean up z-indexes

* move color filters to node icon

* update background color

* update to use grid size value

* fix endpoint offsets

* set yspan range lower

* remove overlays when moving conn

* prevent unwanted connections

* fix messed up connections

* remove console log

* clear execution issues on workflow run

* update corner radius

* fix drag/delete bug

* increase offset

* update disabled state

* hide if endpoint has conn

* node insert on click

* simplify impl

* fix z-indexes

* add drop hover message

* address comments

* refactor

* refactor func

* remove drop conn overlay

* update messagE

* update colors

* remove console log

* rebuild impl

* add stalk

* fix disabled state

* fix dragging bug

* remove node selection

* disable plus in executions

* add success output to talk

* add success output

* set output

* fix bug

* fix switch size

* update size for 3 output nodes

* update loops

* fix bug when node is renamed

* set final values

* update loop behavior

* update comment

* hide output labels on multi outputs

* center output

* fix flicker when deleting nodes

* fix dragging space

* increase stalk if if

* more type checks

* rename event source

* rename event source

* support touch when dragging

* offset center

* center plus

* fix repaint behavior

* remove extending output

* add offset to switch

* fix merge node bug

* rename endpoint

* refactor css, fix merge bug

* fix unrelated issues

* space out

* remove flowchart type

* rename constant key

* clean up css

* rename var

* fix more type issues

* update types

* fix spacing

* simplify vertical offset

* refactor css

* add license

* update css

* clean up scss

* update to use css var

* clean up code

* update params

* show message

* fix plus position

* fix merge node bugs

* hide box when not dragging and hidden

* fix potential issue

* address comments
2021-12-03 18:53:55 +01:00
Anuj Kapoor d62c7a7f3c
🐛 Add error pop up and redirection for non existing workflow IDs (#2516)
* 🐛 Add error pop up and redirection for non existing workflow IDs

* Remove code comments
2021-12-03 15:37:04 +01:00
Jan Oberhauser 2081aedc81 🐛 Improve expression security 2021-12-03 15:08:38 +01:00
Mutasem Aldmour 833c0e4972
Open workflows/executions in new window (ctrl/command + click) (#2508)
* open workflows in new window

* open execution in new window
2021-12-03 13:59:15 +01:00
Elvina Valieva a48bff2eee
Survey updates (#2495)
* feat: update survey

* feat: appearance tweaks

* chore: hardcode survey showing

* chore: fix survey options

* feat: show survey for users with workflows

* chore: take personalization into account

* chore: revert survey conditions

* chore: remove select override

* chore: remove transfer component from editor

* chore: more expressive flag name

*  Minor improvements

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-12-03 13:19:23 +01:00
Iván Ovejero a783288338
Enforce type checking in all node params (#2509) 2021-12-03 09:44:16 +01:00
Ricardo Espinoza ca761c88c8
Enable image downloading in channel_post event on Telegram (#2513) 2021-12-03 08:53:20 +01:00
Ricardo Espinoza 95a9019cbe
🐛 Fix bug with pagination on BigQuery node (#2511) 2021-12-02 23:38:14 +01:00
Iván Ovejero 0153beb8b1
🐛 Fix typos in Salesforce param descriptions (#2502) 2021-12-01 00:19:54 +01:00
m2scared b07d5b8ea6
Fix RabbitMQTrigger default node name (#2505)
The 'Trigger' sufix is missing.
2021-12-01 00:18:57 +01:00
Mutasem Aldmour a550093f3e
🐛 Fix draggable memory leak (#2503)
* attempt fix

* wrap in try catch

* Revert "wrap in try catch"

4b0444747f

*  Improve comment

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-11-30 20:37:55 +01:00
Zvonimir Erdelja b005686ecd
🐛 Fix typo in salesforce node description (#2500) 2021-11-30 15:30:39 +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 9b405707e2 🐛 Fix docker custom build 2021-11-27 10:44:14 +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
Jan Oberhauser a7bc49237f 🔖 Release n8n-editor-ui@0.118.0 2021-11-26 12:18:03 +00:00
Jan Oberhauser 94bb16dbfd ⬆️ Set n8n-design-system@0.8.0 and n8n-workflow@0.78.0 on n8n-editor-ui 2021-11-26 12:18:03 +00:00