@gregoriusrippenstein/node-red-contrib-introspection 0.7.3 → 0.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/nodes/51-install-package.html +31 -5
- package/package.json +3 -3
- package/plugins/sidebar.html +18 -26
package/README.md
CHANGED
|
@@ -172,6 +172,7 @@ There are [example flows](/examples) contained in the package, examples can also
|
|
|
172
172
|
- [Sink and Seeker](https://flowhub.org/f/139a816449acd89f)
|
|
173
173
|
- [Obfuscation](https://flowhub.org/f/825ddf24d98eb011)
|
|
174
174
|
- [InstallPackage](https://flowhub.org/f/6dcbd2643ea80615)
|
|
175
|
+
- [Complete deployment](https://flowhub.org/f/7e50047a51586752)
|
|
175
176
|
|
|
176
177
|
## License
|
|
177
178
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
color: '#e5e4ef',
|
|
4
4
|
icon: "introspesubflow.svg",
|
|
5
5
|
category: 'introspection',
|
|
6
|
+
paletteLabel: "InstallPkg",
|
|
6
7
|
defaults: {
|
|
7
8
|
name: {
|
|
8
9
|
value:"",
|
|
@@ -25,6 +26,9 @@
|
|
|
25
26
|
apiPasswordType: {
|
|
26
27
|
value: "env",
|
|
27
28
|
},
|
|
29
|
+
locally: {
|
|
30
|
+
value: false
|
|
31
|
+
}
|
|
28
32
|
},
|
|
29
33
|
inputs:1,
|
|
30
34
|
outputs:1,
|
|
@@ -60,6 +64,20 @@
|
|
|
60
64
|
$('#useAuthentication-input-fields').hide()
|
|
61
65
|
}
|
|
62
66
|
});
|
|
67
|
+
|
|
68
|
+
if ( $('#node-input-locally').is(":checked") ) {
|
|
69
|
+
$('.hostUrl-row').hide();
|
|
70
|
+
} else {
|
|
71
|
+
$('.hostUrl-row').show();
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
$('#node-input-locally').on( 'change', function() {
|
|
75
|
+
if ( $('#node-input-locally').is(":checked") ) {
|
|
76
|
+
$('.hostUrl-row').hide();
|
|
77
|
+
} else {
|
|
78
|
+
$('.hostUrl-row').show();
|
|
79
|
+
}
|
|
80
|
+
});
|
|
63
81
|
},
|
|
64
82
|
});
|
|
65
83
|
</script>
|
|
@@ -70,19 +88,27 @@
|
|
|
70
88
|
<input type="text" id="node-input-name" placeholder="Name">
|
|
71
89
|
</div>
|
|
72
90
|
|
|
91
|
+
<!--
|
|
73
92
|
<div class="form-row">
|
|
93
|
+
<input type="checkbox" id="node-input-locally"
|
|
94
|
+
style="display:inline-block; width:15px; vertical-align:baseline;">
|
|
95
|
+
<label for="node-input-locally"><i class="fa fa-home"></i> Locally?</label>
|
|
96
|
+
</div>
|
|
97
|
+
-->
|
|
98
|
+
|
|
99
|
+
<div class="form-row hostUrl-row">
|
|
74
100
|
<label for="node-input-hostUrl"><i class="fa fa-tag"></i> Host</label>
|
|
75
101
|
<input type="text" id="node-input-hostUrl" placeholder="Host URL">
|
|
76
102
|
</div>
|
|
77
103
|
|
|
78
104
|
<div class="form-row">
|
|
105
|
+
<input type="checkbox" id="node-input-useAuthentication"
|
|
106
|
+
style="display:inline-block; width:15px; vertical-align:baseline;">
|
|
107
|
+
|
|
79
108
|
<label for="node-input-useAuthentication">
|
|
80
|
-
<i class="fa "></i>
|
|
109
|
+
<i class="fa fa-key"></i>
|
|
81
110
|
<span>Use Authentication?</span>
|
|
82
111
|
</label>
|
|
83
|
-
|
|
84
|
-
<input type="checkbox" id="node-input-useAuthentication"
|
|
85
|
-
style="display:inline-block; width:15px; vertical-align:baseline;">
|
|
86
112
|
</div>
|
|
87
113
|
|
|
88
114
|
<div id="useAuthentication-input-fields" class="hidden">
|
|
@@ -107,5 +133,5 @@
|
|
|
107
133
|
</script>
|
|
108
134
|
|
|
109
135
|
<script type="text/html" data-help-name="InstallPackage">
|
|
110
|
-
<p>
|
|
136
|
+
<p>Install package on another Node-RED instance.</p>
|
|
111
137
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gregoriusrippenstein/node-red-contrib-introspection",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"got": "^13",
|
|
6
6
|
"uglify-js": "^3.17.4",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"nodes": {
|
|
31
31
|
"seeker": "nodes/05-seeker.js",
|
|
32
32
|
"sink": "nodes/10-sink.js",
|
|
33
|
+
"clientcode": "nodes/60-client-code.js",
|
|
33
34
|
"getflows": "nodes/45-get-flows.js",
|
|
34
35
|
"sendflow": "nodes/50-send-flow.js",
|
|
35
|
-
"installpackage": "nodes/51-install-package.js"
|
|
36
|
-
"clientcode": "nodes/60-client-code.js"
|
|
36
|
+
"installpackage": "nodes/51-install-package.js"
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
|
package/plugins/sidebar.html
CHANGED
|
@@ -321,39 +321,31 @@
|
|
|
321
321
|
</div>
|
|
322
322
|
|
|
323
323
|
<div id="func-introspection-tab-orphans" style="display:none; min-height: calc(100%);">
|
|
324
|
-
<div class="form-row">
|
|
325
|
-
<
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
<div class="form-row" style="margin-left: 10px;">
|
|
338
|
-
<button id="node-input-orphan-clear-workspace-btn"
|
|
339
|
-
class="red-ui-button">Clear dots</button>
|
|
340
|
-
</div>
|
|
341
|
-
|
|
342
|
-
<div class="form-row node-input-target-row node-input-target-list-row"
|
|
343
|
-
style="margin-left: 10px; position: relative; min-height: 200px; height: 450px; margin-right: 15px; ">
|
|
344
|
-
<div style="margin-bottom: 5px; width: 35%; padding-left: 60%;">
|
|
345
|
-
<input type="text" id="node-input-orphan-target-filter" style="display: none;">
|
|
346
|
-
</div>
|
|
347
|
-
<div id="node-input-orphan-target-container-div"></div>
|
|
348
|
-
</div>
|
|
324
|
+
<div class="form-row" style="margin-left: 10px; margin-top: 30px">
|
|
325
|
+
<button id="node-input-orphan-find-btn"
|
|
326
|
+
class="red-ui-button"><i class="fa fa-life-ring"></i> Unconnected</button>
|
|
327
|
+
<button id="node-input-documentation-find-btn"
|
|
328
|
+
class="red-ui-button"><i class="fa fa-cc"></i> Undocumented</button>
|
|
329
|
+
<button id="node-input-linkcalls-find-btn"
|
|
330
|
+
class="red-ui-button"><i class="fa fa-link"></i> Link Calls</button>
|
|
331
|
+
<button id="node-input-linkin-nodes-find-btn"
|
|
332
|
+
class="red-ui-button"><i class="fa fa-link"></i> Link Ins</button>
|
|
333
|
+
<button id="node-input-orphan-clear-workspace-btn"
|
|
334
|
+
class="red-ui-button">Clear dots</button>
|
|
335
|
+
</div>
|
|
349
336
|
|
|
337
|
+
<div class="form-row"
|
|
338
|
+
style="margin-left: 10px; position: relative; min-height: 200px; height: 450px; margin-right: 15px; ">
|
|
339
|
+
<div style="margin-bottom: 5px; width: 35%; padding-left: 60%;">
|
|
340
|
+
<input type="text" id="node-input-orphan-target-filter" style="display: none;">
|
|
350
341
|
</div>
|
|
342
|
+
<div id="node-input-orphan-target-container-div"></div>
|
|
351
343
|
</div>
|
|
352
344
|
</div>
|
|
353
345
|
|
|
354
346
|
<div id="func-introspection-tab-obfuscation" style="display:none; min-height: calc(100%);">
|
|
355
347
|
|
|
356
|
-
<div class="form-row
|
|
348
|
+
<div class="form-row">
|
|
357
349
|
<label for="node-input-obfuscate-name" class="w-30">
|
|
358
350
|
<i class="fa fa-tag"></i>
|
|
359
351
|
<span>Obfuscate Name?</span>
|