Commit Graph

127 Commits

Author SHA1 Message Date
Omar Ajoue
e53efdd337 Separate webhooks from core (#1408)
* 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

* Added webhooks service and setting to disable webhooks from main process

* Fixed executions list when running with queues. Now we get the list of actively running workflows from bull.

* Add option to disable deregistration of webhooks on shutdown

* Rename WEBHOOK_TUNNEL_URL to WEBHOOK_URL keeping backwards compat.

* Added auto refresh to executions list

* Improvements to workflow stop process when running with queues

* Refactor queue system to use a singleton and avoid code duplication

* Improve comments and remove unnecessary commits

* Remove console.log from vue file

* Blocking webhook process to run without queues

* Handling execution stop graciously when possible

* Removing initialization of all workflows from webhook process

* Refactoring code to remove code duplication for job stop

* Improved execution list to be more fluid and less intrusive

* Fixing workflow name for current executions when auto updating

*  Right align autorefresh checkbox

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-02-09 23:32:40 +01:00
Jan Oberhauser
5398a06ff2 Add variable $mode 2021-01-29 09:31:40 +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
75cca869b4 Fix issue that source node was also selected after duplicate 2020-12-24 08:37:13 +01:00
Tristian Flanagan
137c334389 Add horizontal scroll (#1172) 2020-11-18 23:29:12 +01:00
Jan Oberhauser
9465653fab Improve editor-UI dirty checking 2020-11-04 13:04:40 +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
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
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
c8d009bced Add expression support to credentials 2020-09-12 12:16:07 +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
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
317949d765 Remove left behind debug code 2020-08-26 21:30:24 +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
Erin
5f32341a9e Remove logs 2020-07-20 11:52:24 -04:00
Erin
ad1228e0ea Everything works except refresh 2020-07-09 16:54:50 -04:00
Jan Oberhauser
9cae58c787 🐛 Fix issue that nodes can not be opened in readOnly-Mode 2020-06-08 00:34:15 +02:00
ricardo
af3d799e5c Oauth1 support and Twitter node 2020-06-01 20:42:44 -04:00
Jan Oberhauser
f1f09d4a03 🔀 Merge branch 'master' into oauth-support 2020-05-24 20:37:59 +02:00
Jan Oberhauser
5718330e29 🐛 Fix issues in read-only mode #39 2020-05-24 14:22:15 +02:00
Jan Oberhauser
147c50485c 🔀 Merge branch 'master' into oauth-support 2020-05-12 01:56:27 +02:00
Jan Oberhauser
1ed72af255 🐛 Fix issue with push messages that get received to fast 2020-05-01 10:45:28 +02:00
Jan Oberhauser
9dd9e0d8ba 🔀 Merge branch 'master' into oauth-support 2020-04-04 17:34:10 +02:00
Jan Oberhauser
70286b469e Make workflow metadata available in expresions and
node-functions
2020-02-15 17:07:01 -08:00
Jan Oberhauser
1777f171bd Ignore node-parameter-issues on disabled nodes 2020-02-09 23:37:08 -08:00
Jan Oberhauser
7ee03cf132 Ignore node-credential-issues on disabled nodes 2020-02-09 23:24:12 -08:00
Jan Oberhauser
70e972ff7d Revert "🔀 Merge branch 'oauth-support' of https://github.com/tildabio/n8n"
This reverts commit 0c5972bb98, reversing
changes made to 3de03b5097.
2020-01-10 14:26:06 -06:00
Jan Oberhauser
dfc3cb962c 👕 Fix lint issue 2020-01-07 23:23:43 -06:00
Jan Oberhauser
740cb8a6fc Some small changes to basic OAuth support 2020-01-07 18:29:11 -06:00
Jan Oberhauser
0c5972bb98 🔀 Merge branch 'oauth-support' of https://github.com/tildabio/n8n 2020-01-06 18:01:45 -06:00
Jan Oberhauser
6b2dc25059 🐛 Fix errors with unknown nodeTypes 2020-01-04 22:51:54 -06:00
Ram Yalamanchili
cb73853680 Add UI logic to support OAuth authentication flow
Add support in credentialsList to kickoff an OAuth2 authorization
flow. This enables users to authenticate and allow n8n to store
the resulting keys in the backend.
2020-01-01 22:55:16 -08:00
Jan Oberhauser
0ba712cd92 👕 Fix lint issue 2019-12-29 15:13:15 -06:00
Jan Oberhauser
49e2285573 ⬆️ Update packages to latest version on n8n-editor-ui 2019-12-29 15:02:21 -06:00
Jan Oberhauser
1ed5a4589d Improve handling of incorrect return data of Function Nodes 2019-12-23 14:54:27 -06:00
Jan Oberhauser
403c52ddf8 🐛 Add missing file 2019-12-18 14:17:31 -06:00
Jan Oberhauser
a7d729842a 🐛 Fix that "getCurrentNodeParameter" did not resolve expressions 2019-12-16 20:27:56 -06:00
Jan Oberhauser
359dc3b485 Add possibility to retry with currently saved workflow 2019-12-12 18:18:20 -06:00
Jan Oberhauser
870961b101 🐛 Fix bug that it did load same executions multiple times 2019-12-12 20:57:11 +01:00
Jan Oberhauser
f31049d454 🐛 Fix that drop connection and addNodeButton did connect wrong 2019-12-10 15:39:14 +01:00
Jan Oberhauser
5da4a80d67 Add support for nodes with 4 in- or outputs 2019-12-10 14:35:27 +01:00
Jan Oberhauser
91498b4573 👕 Fix lint issue 2019-10-31 13:41:39 +01:00
BenoitTallandier
02a7d92fc1 🔃Add unction getCurrentNodeParameters to get currents parameters in loading function 2019-10-20 20:55:49 +02:00