Commit graph

541 commits

Author SHA1 Message Date
Omar Ajoue 7a3aaf8a24
Unify execution id + Queue system (#1340)
* Unify execution ID across executions

* Fix indentation and improved comments

* WIP: saving data after each node execution

* Added on/off to save data after each step, saving initial data and retries working

* Fixing lint issues

* Fixing more lint issues

*  Add bull to execute workflows

* 👕 Fix lint issue

*  Add graceful shutdown to worker

*  Add loading staticData to worker

* 👕 Fix lint issue

*  Fix import

* Changed tables metadata to add nullable to stoppedAt

* Reload database on migration run

* Fixed reloading database schema for sqlite by reconnecting and fixing postgres migration

* Added checks to Redis and exiting process if connection is unavailable

* Fixing error with new installations

* Fix issue with data not being sent back to browser on manual executions with defined destination

* Merging bull and unify execution id branch fixes

* Main process will now get execution success from database instead of redis

* Omit execution duration if execution did not stop

* Fix issue with execution list displaying inconsistant information information while a workflow is running

* Remove unused hooks to clarify for developers that these wont run in queue mode

* Added active pooling to help recover from Redis crashes

* Lint issues

* Changing default polling interval to 60 seconds

* Removed unnecessary attributes from bull job

*  Improved output on worker job start

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 08:59:32 +01:00
Jan Oberhauser 5829f09a97 🔖 Release n8n-editor-ui@0.77.0 2021-02-08 08:02:43 +01:00
Jan Oberhauser 243c8d579f Minor improvements 2021-02-08 07:52:09 +01:00
Florian Metz c59e522e9e
:spakles: Ctrl + scroll zoom (#1419) 2021-02-08 07:51:23 +01:00
Jan Oberhauser 9c8a65ed69 🔖 Release n8n-editor-ui@0.76.0 2021-02-05 09:37:10 +01:00
Jan Oberhauser 80f7ee1f7b Small design tweak 2021-02-01 23:57:00 +01:00
Jan Oberhauser f357649f98 🔖 Release n8n-editor-ui@0.75.0 2021-02-01 08:38:22 +01:00
Jan Oberhauser 604034624b ⬆️ Set n8n-workflow@0.51.0 on n8n-editor-ui 2021-02-01 08:37:56 +01:00
Jan Oberhauser 5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +01:00
Jan Oberhauser ec01afc870 🔖 Release n8n-editor-ui@0.74.0 2021-01-27 09:17:13 +01:00
Jan Oberhauser f92a432e45 ⬆️ Set n8n-workflow@0.50.0 on n8n-editor-ui 2021-01-27 09:16:34 +01:00
Jan Oberhauser e937d18e9f 🔖 Release n8n-editor-ui@0.73.0 2021-01-26 12:07:23 +01:00
Jan Oberhauser 93f5eef865 ⬆️ Set n8n-workflow@0.49.0 on n8n-editor-ui 2021-01-26 12:06:39 +01:00
Jan Oberhauser 1dedb3f4b8 Add expression support to credentials 2021-01-24 13:33:57 +01:00
Ricardo Espinoza 298836b1f8
Add Compression Node (#1319)
*  Compression Node

*  Validate input data format when decompressing

*  Improvements to Compression Node

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-23 15:00:44 +01:00
Jan Oberhauser b9a550856a 🔖 Release n8n-editor-ui@0.72.0 2021-01-21 11:01:25 +01:00
Ahsan Virani 4d446229c3
Introduce FE external hooks (#1332)
*  Introduce FE external hooks

*  update hooks

*  add data from frontend settings to hooks

* re-organize and update

* cleanup

* 👌

*  cleanup workflowSave mixin, add events

* avoid alert on new workflow save as

*  update workflow active events

* rename externalhooks method

*  Rename frontend hooks

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-19 23:48:30 +01:00
Jan Oberhauser 18a7c325dc Improve CodeEdit dialog close behaviour #1353 2021-01-19 08:55:39 +01:00
Jan Oberhauser 4077cabb52 Fix issue that tab-title did not get reset on new workflow 2021-01-17 14:07:07 +01:00
Jan Oberhauser 37595e0753 🔖 Release n8n-editor-ui@0.71.0 2021-01-15 11:48:17 +01:00
Iván Ovejero 6759e2e72a
Add data-node-name to node item (#1329)
* Add data-node-name to node item

* Restore n8n-nodes-base prefix for consistency
2021-01-13 09:02:10 +01:00
Jan Oberhauser 9fbd4c0738 🔖 Release n8n-editor-ui@0.70.0 2021-01-07 14:26:57 +01:00
Jan Oberhauser af414d77fb ⬆️ Set axios@0.21.1 on n8n-editor-ui 2021-01-05 23:20:17 +01:00
Jan Oberhauser 77d58ca011 🔖 Release n8n-editor-ui@0.69.0 2020-12-30 11:59:59 +01:00
Jan Oberhauser 18cf5f541d ⬆️ Set n8n-workflow@0.48.0 on n8n-editor-ui 2020-12-30 11:59:39 +01:00
Jan Oberhauser 30b6fe017e 🐛 Set fixed jsplumb version to fix node-delete issue 2020-12-29 14:13:17 +01:00
Jan Oberhauser 04b16c5ab8 👕 Fix lint issue 2020-12-27 00:28:51 +01:00
Jan Oberhauser 95315cec60 Add optional sort option if "multipleValues" is set 2020-12-27 00:15:33 +01:00
Jan Oberhauser aaae7964d6 Keep binary data visible on re-execution 2020-12-26 23:11:25 +01:00
Jan Oberhauser e1890a0368 🔖 Release n8n-editor-ui@0.68.1 2020-12-24 22:09:43 +01:00
Jan Oberhauser 065937a39c 🐛 Fix bug that HTML did get rendered in JSON view 2020-12-24 22:09:07 +01:00
Jan Oberhauser 122f34d4e4 🔖 Release n8n-editor-ui@0.68.0 2020-12-24 09:11:30 +01:00
Jan Oberhauser 75cca869b4 Fix issue that source node was also selected after duplicate 2020-12-24 08:37:13 +01:00
Jan bfb344a23c
Add functionality to easily copy data and path of output data (#1260)
*  Add functionality to easily copy data and path of output data

*  Fix issues with copied path

* 👕 Fix lint issue

* ;bug: Fix issue that some paths were wrong

*  Final improvements
2020-12-18 18:55:53 +01:00
Jan Oberhauser 51131d30cd 🔖 Release n8n-editor-ui@0.67.0 2020-12-16 12:41:59 +01:00
Jan Oberhauser a546f599cd 🐛 Additional fix to dirty check 2020-12-11 19:22:24 +01:00
Jan Oberhauser a2222fa5d6 🐛 Fix issue that workflow displayed as changed on activate/deactivate 2020-12-11 19:17:53 +01:00
Jan Oberhauser 38511d8f5c 🔖 Release n8n-editor-ui@0.66.0 2020-12-03 13:12:25 +01:00
Jan Oberhauser 083d2bf675 ⬆️ Set n8n-workflow@0.47.0 on n8n-editor-ui 2020-12-03 13:12:00 +01:00
Jan Oberhauser 8fee799d3d Add Google icon for OAuth to meet their branding guidelines 2020-12-03 12:36:34 +01:00
Jan Oberhauser 1b335de272 🔖 Release n8n-editor-ui@0.65.0 2020-11-25 13:20:13 +01:00
Jan Oberhauser b44105d38d ⬆️ Set n8n-workflow@0.46.0 on n8n-editor-ui 2020-11-25 13:19:34 +01:00
Jan Oberhauser 3de3423001 🔖 Release n8n-editor-ui@0.64.0 2020-11-19 14:12:20 +01:00
Jan Oberhauser 05f55a3607 ⬆️ Set n8n-workflow@0.45.0 on n8n-editor-ui 2020-11-19 14:07:06 +01:00
Tristian Flanagan 137c334389
Add horizontal scroll (#1172) 2020-11-18 23:29:12 +01:00
Ricardo Espinoza b954ec99a3
⬆️ Set google-fonts-webpack-plugin to latest version (#1176) 2020-11-18 08:25:36 +01:00
Jan Oberhauser cdea2af248 🔖 Release n8n-editor-ui@0.63.0 2020-11-11 12:01:18 +01:00
Jan Oberhauser bf47cc0337 ⬆️ Set n8n-workflow@0.44.0 on n8n-editor-ui 2020-11-11 12:00:54 +01:00
Jan Oberhauser c6f21804d7 👕 Fix lint issue 2020-11-09 12:35:44 +01:00
Jan Oberhauser 639bdd2ceb Allow custom documentation URLs on credentials & nodes 2020-11-09 12:23:53 +01:00
Jan Oberhauser 9fee42b2a8 Add shear option, resize with alpha color and fix bug 2020-11-09 11:26:46 +01:00
Jan Oberhauser b630d00179 🔖 Release n8n-editor-ui@0.62.0 2020-11-04 16:25:34 +01:00
Jan Oberhauser 9465653fab Improve editor-UI dirty checking 2020-11-04 13:04:40 +01:00
Jan Oberhauser e411cb5b63 🔖 Release n8n-editor-ui@0.61.0 2020-10-30 09:49:52 +01:00
Jan Oberhauser b1df37f401 ⬆️ Set n8n-workflow@0.43.0 on n8n-editor-ui 2020-10-30 09:49:29 +01:00
Jan Oberhauser 889267ebb6 👕 Fix lint issue 2020-10-28 23:14:09 +01:00
Jan Oberhauser c38a2f4210 🐛 Fix bug with dirty state checking 2020-10-26 19:28:32 +01:00
Jan Oberhauser 66bfcca63f 🐛 Fix issue with IF&Switch node for undefined expressions #1099 2020-10-26 09:43:01 +01:00
Jan Oberhauser c339d76456 Minior improvements 2020-10-25 12:58:02 +01:00
Jan 72ac20b070
Improvements on #911 to display unsaved changes. Now works with back button. (#1098)
Co-authored-by: Omar Ajoue <krynble@gmail.com>
2020-10-25 12:47:49 +01:00
Jan dc93694a1a
Merge branch 'master' into save-changes-warning 2020-10-25 11:47:47 +01:00
Jan Oberhauser 4a10cf246b Further improve support for touch-devices 2020-10-24 20:01:13 +02:00
Jan Oberhauser 044c986f30 👕 Fix lint issue 2020-10-23 19:13:25 +02:00
Jan Oberhauser d90a5e5dc6 Improve wheel-scrolling in Firefox 2020-10-23 18:43:30 +02:00
Jan Oberhauser c40601eecb Fix issues with support for touch-devices 2020-10-23 18:16:00 +02:00
Jan Oberhauser 4df74771e3 Improve support for touch-devices #1070 2020-10-23 13:51:39 +02:00
Jan Oberhauser 7addd14e36 Add tslintfix script 2020-10-23 09:21:15 +02:00
Omar Ajoue 37f787d7b2
Load node properties on demand (#1089)
*  Changed rest api endpoint to omit node properties by default.
 Created another endpoint to return all node information based on a list of names

* refactor: changed endpoint to POST instead of GET

* Changed properties to be optional for node description

* Removed eager loading for node properties.

All nodes will have their properties fetched when used in a workflow.
Works when opening an already saved workflow, creating a new one from
scratch or pasting JSON / URLs.

* Removing unnecessary dependency
2020-10-22 17:24:35 +02:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser 269bab679d 👕 Fix built issue 2020-10-20 11:15:14 +02:00
Jan Oberhauser a0e879fa45 🔖 Release n8n-editor-ui@0.60.0 2020-10-14 11:50:19 +02:00
Jan Oberhauser 6d41f43216 Fix issue that workflows could not be pasted if they had issue 2020-10-10 18:02:51 +02:00
Jan Oberhauser bea59e3cc8 🔖 Release n8n-editor-ui@0.59.0 2020-10-05 09:40:04 +02:00
Jan Oberhauser 82e16790c6 🐛 Fix bug that webhookId did not get refreshed on node-duplicate 2020-10-04 17:22:11 +02:00
Jan Oberhauser 1a80a6afed Improve support for svg-icons 2020-10-03 14:10:08 +02:00
Jan Oberhauser c2ba4b64c3 🔖 Release n8n-editor-ui@0.58.0 2020-09-30 16:19:04 +02:00
Jan Oberhauser f1680386ca Get OAuth-Callback URLs from backend 2020-09-30 15:57:40 +02:00
Rytis Ilciukas 3350723bf3
fix malformed html (#999) 2020-09-29 10:39:51 +02:00
Jan Oberhauser 9237409523 🔖 Release n8n-editor-ui@0.57.1 2020-09-23 17:31:59 +02:00
Jan Oberhauser 9cb106c9b4 🐛 Fix issue that OAuth window did not close 2020-09-23 17:31:00 +02:00
Jan Oberhauser 5cb5020cf6 👕 Fix lint issue 2020-09-23 13:31:03 +02:00
Jan Oberhauser b164470239 🔖 Release n8n-editor-ui@0.57.0 2020-09-23 13:27:17 +02:00
Jan Oberhauser 3c3e1725db ⬆️ Set n8n-workflow@0.42.0 on n8n-editor-ui 2020-09-23 13:26:45 +02:00
Jan Oberhauser 2db6ae0f76 Simplify documentation help code and display only if URL is set 2020-09-23 11:10:23 +02:00
Jan Oberhauser 24c95c4f09 Use short variables for direct input data 2020-09-22 11:31:48 +02:00
Jan Oberhauser 181ba3c4e2 📚 License text fix 2020-09-15 07:55:09 +02:00
Jan Oberhauser 1eb957dfe0 🔖 Release n8n-editor-ui@0.56.0 2020-09-14 13:39:16 +02:00
Jan Oberhauser 982b04c540 ⬆️ Set n8n-workflow@0.40.0 on n8n-editor-ui 2020-09-14 13:38:52 +02:00
Jan Oberhauser ac2e0040b0 Set fixed version of @types/node to fix build 2020-09-12 19:25:49 +02:00
Jan Oberhauser d48c649329 ⬆️ Upgrade some dependencies 2020-09-12 14:02:33 +02:00
Jan Oberhauser c8d009bced Add expression support to credentials 2020-09-12 12:16:07 +02:00
Jan Oberhauser f00c6c10a3 Increase default space between new nodes 2020-09-11 16:59:41 +02:00
Rupenieks 16195c8b55 Fix store state dirty when selecting a node 2020-09-09 14:45:49 +02:00
Rupenieks 33582655f2 Revert " Deconstructed store mutation data parameters for better readability"
This reverts commit 17ab16d248.
2020-09-09 14:28:13 +02:00
Rupenieks 17ab16d248 Deconstructed store mutation data parameters for better readability 2020-09-09 14:05:11 +02:00
Rupenieks 4c63db8908 Build error fixed (let to const) 2020-09-02 16:06:18 +02:00
Rupenieks d1f9cef891 Fixed dirty state not being triggered with node connection 2020-09-02 15:59:20 +02:00
Rupenieks 4c04cc015d Reduced dirty state sensetivity
- No longer considers opening a node a state change
- No longer considers selecting a node a state change
2020-09-02 15:26:17 +02:00
Rupenieks 1cdf0164e9 Returned to using correct uuid lib 2020-09-02 09:16:16 +02:00
Rupenieks d756bea1f4 Added asterisk to indicate if workflow is saved or not 2020-09-01 16:42:40 +02:00
Rupenieks 3e1ada7c1a 🚧 Added Vuex dirty state flag as central source of truth for if there are unsaved changes 2020-09-01 16:06:08 +02:00
rupenieks 66b76d16ee Merged contributor work 2020-08-31 13:08:27 +02:00
Jan Oberhauser fa2ee989ea 🔖 Release n8n-editor-ui@0.55.0 2020-08-27 10:57:05 +02:00
Jan Oberhauser df3e342d1e Minor improvements to display of help links 2020-08-27 10:48:57 +02:00
Jan Oberhauser 26a7acf5ed Minor improvements to display of help links 2020-08-27 09:57:34 +02:00
Jan Oberhauser d2110f677e 🔀 Merge branch 'master' into Doc-Link-to-Node-Credentials-Modal 2020-08-27 09:35:22 +02:00
Rupenieks 89499313b6 indentation 2020-08-27 09:23:23 +02:00
Rupenieks cf52ce3cfa Updated UTM link 2020-08-27 09:12:16 +02:00
maxtkacz 520933c7a4
Update CredentialsEdit.vue (#888)
Changed width of Credentials modal from 55% to 75%. Result is the "Nodes with Access" UI now only collapses in a UX-unfriendly manner on viewport widths under 1108px (previously was 1506px)
2020-08-26 21:31:08 +02:00
Jan Oberhauser 317949d765 Remove left behind debug code 2020-08-26 21:30:24 +02:00
maxtkacz f386d9e90a
Made "easy wins" copy-edit pass through vue components (#889)
Essentially scrubbed through .vue files in packages/editor-ui/src/components and copy edited labels/ tooltips etc.

Tried to prevent opinionated editing, simply rewriting existing meaning for clarity. I did however make an opinionated decision on changing a node's "Notes" to "Note" (only labels, nothing code related) because it feels more like a singluar note - especially when used as a subtitle in the workflow. Singular form also futureproofs functionality like showing a list of all node notes across a workflow (or versioning/ collaborative notes features).

So far, have gotten up to PageContentWrapper.vue (when sorted alphabetically). In a followup, will review ParameterInput.vue and onwards in /components folder
2020-08-26 21:25:59 +02:00
Jan Oberhauser b78145f2ec Fix issues with Dynamic title 2020-08-25 20:39:14 +02:00
Rupenieks 44f7b7a9c2
Dynamic title based on workflow execution (#865)
*  Added title changes based on workflow execution

*  Title changes on workflow open, reset on workflow delete, fixed not showing when page refreshed

*  Title icons
2020-08-25 20:37:24 +02:00
Rupenieks d8e8db39c4 Fixed new/open credentials from menu. UTM link adjusted for unknown nodes base. 2020-08-25 14:28:16 +02:00
Rupenieks d5dda2e35a Credential fallback added, fixed Gmail documentationUrl 2020-08-20 15:34:45 +02:00
Rupenieks 05258cc645 Credentials doc help link 2020-08-20 14:47:59 +02:00
Jan Oberhauser f44611a8d1 🔖 Release n8n-editor-ui@0.54.0 2020-08-18 17:21:00 +02:00
Jan Oberhauser c88249efa2 ⬆️ Set n8n-workflow@0.39.0 on n8n-editor-ui 2020-08-18 17:20:36 +02:00
Jan Oberhauser adf0d09cc5 Update @types/node to latest version 2020-08-14 18:36:34 +02:00
Rupenieks a69098a096 Updated @types/node to v14, fixed TS breaking with changes 2020-08-12 12:19:41 +02:00
Jan Oberhauser da0ef0d94c Add "Execute Once" node-setting 2020-08-08 21:11:12 +02:00
Jan Oberhauser 2e9a32f4e2 🔖 Release n8n-editor-ui@0.52.0 2020-08-05 09:44:52 +02:00
Jan Oberhauser 9575f386ed ⬆️ Set n8n-workflow@0.37.0 on n8n-editor-ui 2020-08-05 09:44:21 +02:00
Jan Oberhauser 420777c0b3 Small improvements to FTP-Node 2020-08-04 09:01:37 +02:00
Jan Oberhauser e82f3f405e Fix link to documentation 2020-07-31 09:57:23 +02:00
Rupenieks 0f86df4c0f
Documentation Link in Node Display (#808)
*  Implemented Documentation link help box

*  Adjusted transition speed

*  Added UTM link, fixed Node Name issue
2020-07-31 09:56:39 +02:00
Jan Oberhauser c298fd325a 🐛 Fix bug which displayed selector for low number of items 2020-07-29 22:43:05 +02:00
Jan Oberhauser b488ae8d3a 👕 Fix lint issue 2020-07-29 14:20:31 +02:00
Ben Hesseldieck 051598d30e
Add max execution time for Workflows (#755)
* 🎉 basic setup and execution stopping

* 🚧 soft timeout for own process executions

* 🚧 add hard timeout for subprocesses

* 🚧 add soft timeout to main thread

* 🔧 set default timeout to 5 mins --> 500s

* 💡 adding documentation to configs

* 🚧 deactivate timeout by default

* 🚧 add logic of max execution timeout

*  adding timeout to settings in frontend and server

* 🎨 improve naming

* 💡 fix change in config docs

* ✔️ fixing compilation issue

* 🎨 add format for new config variables

* 👌 type cast before checking equality

*  Improve error message if NodeType is not known

* 🐳 Tag also rpi latest image

* 🐛 Fix Postgres issue with Node.js 14 #776

* 🚧 add toggle to activate workflow timeout

* 💄 improving UX of setting a timeout and its duration

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2020-07-29 14:12:54 +02:00
Jan Oberhauser d5d03815d0 🔖 Release n8n-editor-ui@0.51.0 2020-07-26 12:53:32 +02:00
Jan Oberhauser 2a38b3ec58 ⬆️ Set n8n-workflow@0.36.0 on n8n-editor-ui 2020-07-26 12:53:02 +02:00
Erin 5f32341a9e Remove logs 2020-07-20 11:52:24 -04:00
Erin 70a584a46d 🎉 Works with ctrl s, now working on a user saving from the side bar 2020-07-20 10:57:58 -04:00
Jan Oberhauser 0b66b8e753 🔖 Release n8n-editor-ui@0.50.0 2020-07-15 12:39:32 +02:00
Jan Oberhauser bbd39e19ca ⬆️ Set n8n-workflow@0.35.0 on n8n-editor-ui 2020-07-15 12:39:06 +02:00
Jan Oberhauser c1378c2f88 🐛 Fix Expression editor issue #719 2020-07-15 11:54:03 +02:00
Jan Oberhauser 25cc745894 🐛 Fix editor-ui build 2020-07-14 23:36:05 +02:00
Jan Oberhauser d17161cf40 🔀 Merge branch 'static-stateless-webhooks' 2020-07-14 12:34:34 +02:00
Jan Oberhauser c03c9a06c8 Fix logos in README.md files 2020-07-13 14:22:34 +02:00
Jan Oberhauser 941ee06b14 Make n8n work in subfolder & Fix events in AffinityTrigger 2020-07-12 12:17:01 +02:00
Jan Oberhauser 305894d9b4 🐛 Fix item display issue 2020-07-10 10:12:30 +02:00
Erin ad1228e0ea Everything works except refresh 2020-07-09 16:54:50 -04:00
Jan Oberhauser 22cb017c1a 🔖 Release n8n-editor-ui@0.49.0 2020-07-08 11:26:47 +02:00
Jan Oberhauser d97ed68ce9 ⬆️ Set n8n-workflow@0.34.0 on n8n-editor-ui 2020-07-08 11:26:22 +02:00
Erin f4022c6cd5 🔧 Prompt User to Save Before Page Unload 2020-07-07 10:36:43 -04:00
Jan Oberhauser f99da78c1d 🔖 Release n8n-editor-ui@0.48.0 2020-06-25 12:27:26 +02:00
Jan Oberhauser 0bdb9cecac Make it possible that n8n is deployed under subfolder 2020-06-23 22:15:07 +02:00
Jan Oberhauser d41b976b3b Remove unnecessary import 2020-06-23 21:37:15 +02:00
ricardo 494b1de93f Merge branch 'master' into static-stateless-webhooks 2020-06-22 16:16:50 -04:00
Jan Oberhauser d9906e1b24 📚 Text fix 2020-06-18 10:12:13 +02:00