Skip to content

Commit

Permalink
Update pupController
Browse files Browse the repository at this point in the history
No longer checks if instance exists
Refactoring of pupController visually
Remove close action from PupController interface
  • Loading branch information
st-randers committed May 15, 2024
1 parent 4676abb commit 1b454f0
Show file tree
Hide file tree
Showing 27 changed files with 97 additions and 82 deletions.
6 changes: 4 additions & 2 deletions node-red/flows_js/_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@
"junction.4f203b986380d00b.flows.js",
"junction.4641ad1f3fe75577.flows.js",
"junction.a803e2ae20c0fed3.flows.js",
"junction.31ead4878dd7beb8.flows.js",
"junction.02bfe93020543b12.flows.js",
"websocket_listener.6e63b3c396c75d87.flows.js",
"websocket_listener.13a90a014adf9bc5.flows.js",
"http_in.b93057423dbab117.flows.js",
Expand All @@ -167,7 +169,6 @@
"comment.5b841495c9c84c66.flows.js",
"change.f38a2efe43edd64e.flows.js",
"http_in.8646ac73ab639fcd.flows.js",
"switch.d68baf48942491dd.flows.js",
"change.274738f45a0d5d5a.flows.js",
"comment.fa696e728e31ff49.flows.js",
"http_response.69738f2e4dcc6f63.flows.js",
Expand All @@ -177,7 +178,6 @@
"comment.9da2cdfaa3c63d2e.flows.js",
"comment.3d490b929251bc8a.flows.js",
"comment.8ce8fe7e4e9fd6a5.flows.js",
"comment.30cc309628e939bc.flows.js",
"function.6553bd482e86e7cd.flows.js",
"comment.5b02768458131405.flows.js",
"change.0fa8b45a3aec3fd5.flows.js",
Expand All @@ -204,6 +204,8 @@
"debug.704b6fa1cfb6c584.flows.js",
"debug.6e9a141119f3d379.flows.js",
"debug.d6f85b9c47b51228.flows.js",
"comment.6532b523250734cc.flows.js",
"comment.2127fdca10fae55f.flows.js",
"change.88e4c1ff6d0333f9.flows.js",
"switch.eae97dc11278dc8c.flows.js",
"comment.ae14111b4808cbf3.flows.js",
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/change.274738f45a0d5d5a.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const Node = {
"from": "",
"to": "",
"reg": false,
"x": 920,
"y": 440,
"x": 700,
"y": 460,
"wires": [
[
"adb383a374c3a116"
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/change.2fd098a8190ef089.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const Node = {
"from": "",
"to": "",
"reg": false,
"x": 1400,
"y": 520,
"x": 920,
"y": 760,
"wires": [
[
"5935cece6c345653",
Expand Down
6 changes: 3 additions & 3 deletions node-red/flows_js/change.ba19f064476425c9.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ const Node = {
"from": "",
"to": "",
"reg": false,
"x": 930,
"y": 540,
"x": 1130,
"y": 460,
"wires": [
[
"580a9e3166314a22"
"02bfe93020543b12"
]
]
}
Expand Down
6 changes: 3 additions & 3 deletions node-red/flows_js/change.d30ba0f3f094c17d.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ const Node = {
"from": "",
"to": "",
"reg": false,
"x": 1100,
"x": 1120,
"y": 340,
"wires": [
[
"d68baf48942491dd",
"704b6fa1cfb6c584"
"704b6fa1cfb6c584",
"274738f45a0d5d5a"
]
]
}
Expand Down
12 changes: 12 additions & 0 deletions node-red/flows_js/comment.2127fdca10fae55f.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
const Node = {
"id": "2127fdca10fae55f",
"type": "comment",
"z": "41d1b8798efe7e15",
"name": "Action complete",
"info": "",
"x": 920,
"y": 720,
"wires": []
}

module.exports = Node;
2 changes: 1 addition & 1 deletion node-red/flows_js/comment.42eb161131236941.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Node = {
"z": "41d1b8798efe7e15",
"name": "Set browserless launch settings",
"info": "",
"x": 1130,
"x": 1150,
"y": 300,
"wires": []
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
const Node = {
"id": "30cc309628e939bc",
"id": "6532b523250734cc",
"type": "comment",
"z": "41d1b8798efe7e15",
"name": "Check instance",
"name": "Flow complete",
"info": "",
"x": 700,
"y": 400,
"x": 910,
"y": 560,
"wires": []
}

Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/debug.668e1ae3f9c4ccf8.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const Node = {
"targetType": "jsonata",
"statusVal": "",
"statusType": "auto",
"x": 1620,
"y": 320,
"x": 1140,
"y": 580,
"wires": []
}

Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/debug.704b6fa1cfb6c584.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const Node = {
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 1450,
"y": 280,
"x": 1430,
"y": 340,
"wires": []
}

Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/debug.972436459614bbd2.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const Node = {
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 1630,
"y": 600,
"x": 1130,
"y": 820,
"wires": []
}

Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/debug.d6f85b9c47b51228.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const Node = {
"targetType": "jsonata",
"statusVal": "",
"statusType": "auto",
"x": 920,
"y": 580,
"x": 1120,
"y": 420,
"wires": []
}

Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/delay.8f5e60be2a6e0ff4.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const Node = {
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 1390,
"y": 320,
"x": 910,
"y": 600,
"wires": [
[
"668e1ae3f9c4ccf8"
Expand Down
1 change: 1 addition & 0 deletions node-red/flows_js/function.51862731c3f4d319.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const Node = {
"name": "Add browser old (broken)",
"func": "",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
Expand Down
6 changes: 3 additions & 3 deletions node-red/flows_js/function.580a9e3166314a22.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const Node = {
"id": "580a9e3166314a22",
"type": "function",
"z": "41d1b8798efe7e15",
"name": "Solo Controller",
"name": "Controller",
"func": "",
"outputs": 2,
"timeout": "",
Expand All @@ -19,8 +19,8 @@ const Node = {
"module": "path"
}
],
"x": 1160,
"y": 460,
"x": 620,
"y": 680,
"wires": [
[
"cb4ea3ccf7541c86",
Expand Down
1 change: 1 addition & 0 deletions node-red/flows_js/function.74b52793f2b5863a.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const Node = {
"name": "Initialize? backup",
"func": "",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/function.adb383a374c3a116.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const Node = {
"module": "puppeteer"
}
],
"x": 690,
"y": 540,
"x": 890,
"y": 460,
"wires": [
[
"ba19f064476425c9",
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/http_response.69738f2e4dcc6f63.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const Node = {
"name": "",
"statusCode": "",
"headers": {},
"x": 1550,
"y": 400,
"x": 1070,
"y": 620,
"wires": []
}

Expand Down
14 changes: 14 additions & 0 deletions node-red/flows_js/junction.02bfe93020543b12.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const Node = {
"id": "02bfe93020543b12",
"type": "junction",
"z": "41d1b8798efe7e15",
"x": 1300,
"y": 500,
"wires": [
[
"31ead4878dd7beb8"
]
]
}

module.exports = Node;
14 changes: 14 additions & 0 deletions node-red/flows_js/junction.31ead4878dd7beb8.flows.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const Node = {
"id": "31ead4878dd7beb8",
"type": "junction",
"z": "41d1b8798efe7e15",
"x": 480,
"y": 540,
"wires": [
[
"580a9e3166314a22"
]
]
}

module.exports = Node;
17 changes: 11 additions & 6 deletions node-red/flows_js/subflow.41d1b8798efe7e15.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Node = {
],
"out": [
{
"x": 1520,
"y": 440,
"x": 1040,
"y": 660,
"wires": [
{
"id": "cb4ea3ccf7541c86",
Expand All @@ -30,8 +30,8 @@ const Node = {
]
},
{
"x": 1720,
"y": 540,
"x": 1220,
"y": 780,
"wires": [
{
"id": "5935cece6c345653",
Expand All @@ -44,9 +44,14 @@ const Node = {
"meta": {},
"color": "#DDAA99",
"status": {
"x": 1760,
"x": 1600,
"y": 100,
"wires": []
"wires": [
{
"id": "b650822ef599b5ff",
"port": 0
}
]
}
}

Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/switch.5935cece6c345653.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Node = {
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1570,
"y": 520,
"x": 1110,
"y": 760,
"wires": [
[
"8020507bdd5939ba"
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/switch.88c67ba4256cdc60.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const Node = {
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1410,
"y": 580,
"x": 890,
"y": 800,
"wires": [
[],
[
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/switch.cb4ea3ccf7541c86.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const Node = {
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 1370,
"y": 420,
"x": 890,
"y": 640,
"wires": [
[
"69738f2e4dcc6f63"
Expand Down
31 changes: 0 additions & 31 deletions node-red/flows_js/switch.d68baf48942491dd.flows.js

This file was deleted.

3 changes: 0 additions & 3 deletions node-red/flows_js/template.e271c933dcfb52c5.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ function actionList() {
"action": "authenticate",
"username": "",
"password": ""
},
{
"action": "close"
}
];
};
Expand Down
4 changes: 2 additions & 2 deletions node-red/flows_js/websocket_out.8020507bdd5939ba.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const Node = {
"name": "",
"server": "6e63b3c396c75d87",
"client": "",
"x": 1770,
"y": 500,
"x": 1270,
"y": 740,
"wires": []
}

Expand Down

0 comments on commit 1b454f0

Please sign in to comment.