move name field to top for a bunch of nodes

This commit is contained in:
Dave Conway-Jones 2023-11-28 17:56:07 +00:00
parent 54dc363490
commit 5371f9bb92
No known key found for this signature in database
GPG Key ID: 1DDB0E91A28C2643
40 changed files with 177 additions and 177 deletions

View File

@ -1,12 +1,12 @@
<script type="text/html" data-template-name="sentiment"> <script type="text/html" data-template-name="sentiment">
<div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/>
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name"> <input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div> </div>
<div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/>
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-sentiment", "name" : "node-red-node-sentiment",
"version" : "0.1.6", "version" : "0.1.7",
"description" : "A Node-RED node that uses the AFINN-165 wordlists for sentiment analysis of words.", "description" : "A Node-RED node that uses the AFINN-165 wordlists for sentiment analysis of words.",
"dependencies" : { "dependencies" : {
"sentiment" : "2.1.0" "sentiment" : "2.1.0"
@ -19,7 +19,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-random", "name" : "node-red-node-random",
"version" : "0.4.1", "version" : "0.4.2",
"description" : "A Node-RED node that when triggered generates a random number between two values.", "description" : "A Node-RED node that when triggered generates a random number between two values.",
"dependencies" : { "dependencies" : {
}, },
@ -18,7 +18,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
}, },
"contributors": [ "contributors": [

View File

@ -1,4 +1,8 @@
<script type="text/html" data-template-name="random"> <script type="text/html" data-template-name="random">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name" style="width:70%;">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label> <label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/> <input type="text" id="node-input-property" style="width:70%;"/>
@ -18,11 +22,6 @@
<label for="node-input-high"><i class="fa fa-arrow-up"></i> <span data-i18n="random.label.to"></label> <label for="node-input-high"><i class="fa fa-arrow-up"></i> <span data-i18n="random.label.to"></label>
<input type="text" id="node-input-high" data-i18n="[placeholder]random.label.highestNumber" style="width:70%;"> <input type="text" id="node-input-high" data-i18n="[placeholder]random.label.highestNumber" style="width:70%;">
</div> </div>
<br/>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name" style="width:70%;">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-rbe", "name" : "node-red-node-rbe",
"version" : "0.6.0", "version" : "0.6.1",
"description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capabilities.", "description" : "A Node-RED node that provides report-by-exception (RBE) and deadband capabilities.",
"dependencies" : { "dependencies" : {
}, },
@ -18,7 +18,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="rbe"> <script type="text/html" data-template-name="rbe">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="rbe.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]rbe.label.name" style="width:70%;">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="rbe.label.func"></span></label> <label for="node-input-func"><i class="fa fa-wrench"></i> <span data-i18n="rbe.label.func"></span></label>
<select type="text" id="node-input-func" style="width:70%;"> <select type="text" id="node-input-func" style="width:70%;">
@ -32,10 +36,6 @@
<input type="checkbox" id="node-input-septopics" style="display:inline-block; width:20px; vertical-align:baseline;"> <input type="checkbox" id="node-input-septopics" style="display:inline-block; width:20px; vertical-align:baseline;">
<span data-i18n="rbe.label.septopics"></span> <input type="text" id="node-input-topi" style="width:27%;"/> <span data-i18n="rbe.label.septopics"></span> <input type="text" id="node-input-topi" style="width:27%;"/>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="rbe.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]rbe.label.name" style="width:70%;">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="smooth"> <script type="text/html" data-template-name="smooth">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label> <label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/> <input type="text" id="node-input-property" style="width:70%;"/>
@ -37,11 +41,6 @@
<input type="checkbox" id="node-input-reduce" style="display:inline-block; width:20px; vertical-align:baseline;"> <input type="checkbox" id="node-input-reduce" style="display:inline-block; width:20px; vertical-align:baseline;">
only emit one message per most recent N values only emit one message per most recent N values
</div> </div>
<br/>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips" id="node-tip">Tip: This node ONLY works with numbers.</div> <div class="form-tips" id="node-tip">Tip: This node ONLY works with numbers.</div>
</script> </script>

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-smooth", "name" : "node-red-node-smooth",
"version" : "0.1.2", "version" : "0.1.3",
"description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.", "description" : "A Node-RED node that provides several simple smoothing algorithms for incoming data values.",
"dependencies" : { "dependencies" : {
}, },
@ -18,7 +18,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
}, },
"contributors" : [ "@clickworkorange" ] "contributors" : [ "@clickworkorange" ]

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="discovery"> <script type="text/html" data-template-name="discovery">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-service"><i class="fa fa-gear"></i> Service</label> <label for="node-input-service"><i class="fa fa-gear"></i> Service</label>
<input type="text" id="node-input-service" placeholder="_http._tcp"> <input type="text" id="node-input-service" placeholder="_http._tcp">
@ -8,10 +12,6 @@
<label for="node-input-topic"><i class="fa fa-tasks"></i> Topic</label> <label for="node-input-topic"><i class="fa fa-tasks"></i> Topic</label>
<input type="text" id="node-input-topic" placeholder="Topic"> <input type="text" id="node-input-topic" placeholder="Topic">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">The service <i>must</i> start with an underscore _ and end ._tcp or ._udp</div> <div class="form-tips">The service <i>must</i> start with an underscore _ and end ._tcp or ._udp</div>
</script> </script>
@ -52,6 +52,10 @@
</script> </script>
<script type="text/html" data-template-name="announce"> <script type="text/html" data-template-name="announce">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name of service">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-service"><i class="fa fa-gear"></i> Service</label> <label for="node-input-service"><i class="fa fa-gear"></i> Service</label>
<input type="text" id="node-input-service" placeholder="_http._tcp"> <input type="text" id="node-input-service" placeholder="_http._tcp">
@ -64,10 +68,6 @@
<label for="node-input-txt"><i class="fa fa-tasks"></i> TxtRecord</label> <label for="node-input-txt"><i class="fa fa-tasks"></i> TxtRecord</label>
<input type="text" id="node-input-txt" placeholder='"name":"value","name2":"value2"'> <input type="text" id="node-input-txt" placeholder='"name":"value","name2":"value2"'>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name of service">
</div>
<div class="form-tips">%h in the name will be replaced by the machine hostname.</div> <div class="form-tips">%h in the name will be replaced by the machine hostname.</div>
</script> </script>

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-discovery", "name" : "node-red-node-discovery",
"version" : "0.0.23", "version" : "0.0.24",
"description" : "A Node-RED node that uses Bonjour / Avahi to discover nearby services.", "description" : "A Node-RED node that uses Bonjour / Avahi to discover nearby services.",
"dependencies" : { "dependencies" : {
"mdns" : "^2.5.1" "mdns" : "^2.5.1"
@ -19,7 +19,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="ping"> <script type="text/html" data-template-name="ping">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
<div class="form-row" id="div-node-input-host"> <div class="form-row" id="div-node-input-host">
<label for="node-input-host"><i class="fa fa-dot-circle-o"></i> <span data-i18n="ping.label.target"></span></label> <label for="node-input-host"><i class="fa fa-dot-circle-o"></i> <span data-i18n="ping.label.target"></span></label>
<input type="text" id="node-input-host" placeholder="192.168.0.1, www.google.com"> <input type="text" id="node-input-host" placeholder="192.168.0.1, www.google.com">
@ -23,10 +27,6 @@
<label for="node-input-timer"><i class="fa fa-repeat"></i> <span data-i18n="ping.label.ping"></label> <label for="node-input-timer"><i class="fa fa-repeat"></i> <span data-i18n="ping.label.ping"></label>
<input type="text" id="node-input-timer" placeholder="20"> <input type="text" id="node-input-timer" placeholder="20">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
<div class="form-tips" id="node-ping-tip"><span data-i18n="ping.label.tip"></span></div> <div class="form-tips" id="node-ping-tip"><span data-i18n="ping.label.tip"></span></div>
</script> </script>

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-ping", "name" : "node-red-node-ping",
"version" : "0.3.3", "version" : "0.3.4",
"description" : "A Node-RED node to ping a remote server, for use as a keep-alive check.", "description" : "A Node-RED node to ping a remote server, for use as a keep-alive check.",
"dependencies" : { "dependencies" : {
}, },
@ -18,7 +18,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
}, },
"contributors": [ "contributors": [

View File

@ -1,13 +1,13 @@
<script type="text/html" data-template-name="serial in"> <script type="text/html" data-template-name="serial in">
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name"> <input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div> </div>
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
@ -33,14 +33,14 @@
</script> </script>
<script type="text/html" data-template-name="serial out"> <script type="text/html" data-template-name="serial out">
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label> <label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name"> <input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div> </div>
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
@ -66,14 +66,14 @@
</script> </script>
<script type="text/html" data-template-name="serial request"> <script type="text/html" data-template-name="serial request">
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-inputoutput-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label> <label for="node-inputoutput-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name"> <input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div> </div>
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
@ -367,14 +367,14 @@
</script> </script>
<script type="text/html" data-template-name="serial control"> <script type="text/html" data-template-name="serial control">
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-inputoutput-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label> <label for="node-inputoutput-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name"> <input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div> </div>
<div class="form-row node-input-serial">
<label for="node-input-serial"><i class="fa fa-random"></i> <span data-i18n="serial.label.serialport"></span></label>
<input type="text" id="node-input-serial">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,5 +1,6 @@
module.exports = function(RED) { module.exports = function(RED) {
/*jshint -W082 */
"use strict"; "use strict";
var settings = RED.settings; var settings = RED.settings;
var events = require("events"); var events = require("events");
@ -44,7 +45,7 @@ module.exports = function(RED) {
this.out = serialPort.out || this.out; this.out = serialPort.out || this.out;
} }
}; }
RED.nodes.registerType("serial-port",SerialPortNode); RED.nodes.registerType("serial-port",SerialPortNode);
// receives msgs and sends them to the serial port // receives msgs and sends them to the serial port
@ -138,7 +139,7 @@ module.exports = function(RED) {
node.port.on('stopped', function() { node.port.on('stopped', function() {
node.status({fill:"grey",shape:"ring",text:"serial.status.stopped"}); node.status({fill:"grey",shape:"ring",text:"serial.status.stopped"});
}); });
}; }
setCallback(node) setCallback(node)
} }
RED.nodes.registerType("serial in",SerialInNode); RED.nodes.registerType("serial in",SerialInNode);
@ -212,7 +213,7 @@ module.exports = function(RED) {
node.port.on('stopped', function() { node.port.on('stopped', function() {
node.status({fill:"grey",shape:"ring",text:"serial.status.stopped"}); node.status({fill:"grey",shape:"ring",text:"serial.status.stopped"});
}); });
}; }
setCallback(node); setCallback(node);
} }
else { else {

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-serialport", "name" : "node-red-node-serialport",
"version" : "2.0.0", "version" : "2.0.1",
"description" : "Node-RED nodes to talk to serial ports", "description" : "Node-RED nodes to talk to serial ports",
"dependencies" : { "dependencies" : {
"serialport" : "^12.0.0" "serialport" : "^12.0.0"

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-snmp", "name" : "node-red-node-snmp",
"version" : "2.0.0", "version" : "2.0.1",
"description" : "A Node-RED node that gets and sets SNMP oid values. Supports v1, v2c and v3", "description" : "A Node-RED node that gets and sets SNMP oid values. Supports v1, v2c and v3",
"dependencies" : { "dependencies" : {
"net-snmp" : "^3.9.0" "net-snmp" : "^3.9.0"
@ -19,7 +19,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
}, },
"contributors": [ "contributors": [

View File

@ -53,6 +53,10 @@
} }
</script> </script>
<script type="text/html" data-template-name="snmp"> <script type="text/html" data-template-name="snmp">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label> <label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-input-host" placeholder="ip address(:optional port)"> <input type="text" id="node-input-host" placeholder="ip address(:optional port)">
@ -111,10 +115,6 @@
<label for="node-input-oids"><i class="fa fa-tags"></i> OIDs</label> <label for="node-input-oids"><i class="fa fa-tags"></i> OIDs</label>
<textarea rows="4" cols="60" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0" style="width:70%;"></textarea> <textarea rows="4" cols="60" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0" style="width:70%;"></textarea>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: Multiple OIDs can be separated by commas.</div> <div class="form-tips">Tip: Multiple OIDs can be separated by commas.</div>
</script> </script>
@ -166,6 +166,10 @@
</script> </script>
<script type="text/html" data-template-name="snmp set"> <script type="text/html" data-template-name="snmp set">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label> <label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-input-host" placeholder="ip address(:optional port)"> <input type="text" id="node-input-host" placeholder="ip address(:optional port)">
@ -227,10 +231,6 @@
<textarea rows="10" cols="60" id="node-input-varbinds" placeholder="e.g. [ { &quot;oid&quot;: &quot;1.3.6.1.2.1.1.5.0&quot;, &quot;type&quot;: &quot;OctetString&quot;, &quot;value&quot;: &quot;host1&quot;}, { &quot;oid&quot;: &quot;1.3.6.1.2.1.1.6.0&quot;, &quot;type&quot;: &quot;OctetString&quot;, value: &quot;somewhere&quot; } ]" <textarea rows="10" cols="60" id="node-input-varbinds" placeholder="e.g. [ { &quot;oid&quot;: &quot;1.3.6.1.2.1.1.5.0&quot;, &quot;type&quot;: &quot;OctetString&quot;, &quot;value&quot;: &quot;host1&quot;}, { &quot;oid&quot;: &quot;1.3.6.1.2.1.1.6.0&quot;, &quot;type&quot;: &quot;OctetString&quot;, value: &quot;somewhere&quot; } ]"
style="width:70%;"></textarea> style="width:70%;"></textarea>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: Numeric inputs must be numbers not strings, e.g. 1 not "1".</div> <div class="form-tips">Tip: Numeric inputs must be numbers not strings, e.g. 1 not "1".</div>
</script> </script>
@ -298,6 +298,10 @@
</script> </script>
<script type="text/html" data-template-name="snmp table"> <script type="text/html" data-template-name="snmp table">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label> <label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-input-host" placeholder="ip address(:optional port)"> <input type="text" id="node-input-host" placeholder="ip address(:optional port)">
@ -358,10 +362,6 @@
<label for="node-input-oids"><i class="fa fa-tags"></i> OID</label> <label for="node-input-oids"><i class="fa fa-tags"></i> OID</label>
<input type="text" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0"> <input type="text" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: ONLY accepts a single OID.</div> <div class="form-tips">Tip: ONLY accepts a single OID.</div>
</script> </script>
@ -413,6 +413,10 @@
</script> </script>
<script type="text/html" data-template-name="snmp subtree"> <script type="text/html" data-template-name="snmp subtree">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label> <label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-input-host" placeholder="ip address(:optional port)"> <input type="text" id="node-input-host" placeholder="ip address(:optional port)">
@ -473,10 +477,6 @@
<label for="node-input-oids"><i class="fa fa-tags"></i> OID</label> <label for="node-input-oids"><i class="fa fa-tags"></i> OID</label>
<input type="text" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0"> <input type="text" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: ONLY accepts a single OID (node).</div> <div class="form-tips">Tip: ONLY accepts a single OID (node).</div>
</script> </script>
@ -529,6 +529,10 @@
<script type="text/html" data-template-name="snmp walker"> <script type="text/html" data-template-name="snmp walker">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-host"><i class="fa fa-globe"></i> Host</label> <label for="node-input-host"><i class="fa fa-globe"></i> Host</label>
<input type="text" id="node-input-host" placeholder="ip address(:optional port)"> <input type="text" id="node-input-host" placeholder="ip address(:optional port)">
@ -589,10 +593,6 @@
<label for="node-input-oids"><i class="fa fa-tags"></i> OID</label> <label for="node-input-oids"><i class="fa fa-tags"></i> OID</label>
<input type="text" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0"> <input type="text" id="node-input-oids" placeholder="e.g. 1.3.6.1.2.1.1.5.0">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: ONLY accepts a single OID (node).</div> <div class="form-tips">Tip: ONLY accepts a single OID (node).</div>
</script> </script>

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="stomp in"> <script type="text/html" data-template-name="stomp in">
<div class="form-row">
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-server" style="width: 110px;"><i class="fa fa-bookmark"></i> Server</label> <label for="node-input-server" style="width: 110px;"><i class="fa fa-bookmark"></i> Server</label>
<input type="text" id="node-input-server"> <input type="text" id="node-input-server">
@ -17,13 +21,9 @@
</select> </select>
</div> </div>
<div class="form-tips" style="margin-bottom: 12px;"> <div class="form-tips" style="margin-bottom: 12px;">
Enabling the ACK (acknowledgment) will set the <code>ack</code> header to <code>client</code> while subscribing to topics. Enabling the ACK (acknowledgment) will set the <code>ack</code> header to <code>client</code> while subscribing to topics.
This means the items on the broker queue will not be dequeue'd unless an ACK message is sent using the <code>ack</code> node. This means the items on the broker queue will not be dequeue'd unless an ACK message is sent using the <code>ack</code> node.
</div> </div>
<div class="form-row">
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script> </script>
<script type="text/html" data-help-name="stomp in"> <script type="text/html" data-help-name="stomp in">
@ -61,6 +61,10 @@
</script> </script>
<script type="text/html" data-template-name="stomp out"> <script type="text/html" data-template-name="stomp out">
<div class="form-row">
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-server" style="width: 110px;"><i class="fa fa-bookmark"></i> Server</label> <label for="node-input-server" style="width: 110px;"><i class="fa fa-bookmark"></i> Server</label>
<input type="text" id="node-input-server"> <input type="text" id="node-input-server">
@ -69,10 +73,6 @@
<label for="node-input-topic" style="width: 110px;"><i class="fa fa-envelope"></i> Destination</label> <label for="node-input-topic" style="width: 110px;"><i class="fa fa-envelope"></i> Destination</label>
<input type="text" id="node-input-topic" placeholder="topic or queue"> <input type="text" id="node-input-topic" placeholder="topic or queue">
</div> </div>
<div class="form-row">
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips" style="margin-bottom: 12px;">The <b>Destination</b> field is optional. If not set uses the <code>msg.topic</code> <div class="form-tips" style="margin-bottom: 12px;">The <b>Destination</b> field is optional. If not set uses the <code>msg.topic</code>
property of the message.</div> property of the message.</div>
</script> </script>
@ -113,6 +113,10 @@
</script> </script>
<script type="text/html" data-template-name="stomp-server"> <script type="text/html" data-template-name="stomp-server">
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name">
</div>
<div class="form-row node-input-server"> <div class="form-row node-input-server">
<label for="node-config-input-server"><i class="fa fa-bookmark"></i> Server</label> <label for="node-config-input-server"><i class="fa fa-bookmark"></i> Server</label>
<input class="input-append-left" type="text" id="node-config-input-server" placeholder="localhost" style="width: 45%;" > <input class="input-append-left" type="text" id="node-config-input-server" placeholder="localhost" style="width: 45%;" >
@ -150,10 +154,6 @@
<div class="form-tips" style="margin-bottom: 12px;"> <div class="form-tips" style="margin-bottom: 12px;">
Reconnection timings are calculated using exponential backoff. The first reconnection happens immediately, the second reconnection happens at +delay ms, the third at + 2*delay ms, etc. Reconnection timings are calculated using exponential backoff. The first reconnection happens immediately, the second reconnection happens at +delay ms, the third at + 2*delay ms, etc.
</div> </div>
<div class="form-row">
<label for="node-config-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-config-input-name" placeholder="Name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">
@ -179,6 +179,10 @@
</script> </script>
<script type="text/html" data-template-name="stomp ack"> <script type="text/html" data-template-name="stomp ack">
<div class="form-row">
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-server" style="width: 110px;"><i class="fa fa-bookmark"></i> Server</label> <label for="node-input-server" style="width: 110px;"><i class="fa fa-bookmark"></i> Server</label>
<input type="text" id="node-input-server"> <input type="text" id="node-input-server">
@ -187,10 +191,6 @@
<label for="node-input-topic" style="width: 110px;"><i class="fa fa-envelope"></i> Destination</label> <label for="node-input-topic" style="width: 110px;"><i class="fa fa-envelope"></i> Destination</label>
<input type="text" id="node-input-topic" placeholder="topic or queue"> <input type="text" id="node-input-topic" placeholder="topic or queue">
</div> </div>
<div class="form-row">
<label for="node-input-name" style="width: 110px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script> </script>
<script type="text/html" data-help-name="stomp ack"> <script type="text/html" data-help-name="stomp ack">

View File

@ -1,4 +1,4 @@
/* jshint ignore:start */
module.exports = function(RED) { module.exports = function(RED) {
"use strict"; "use strict";
var StompClient = require('stomp-client'); var StompClient = require('stomp-client');
@ -136,7 +136,7 @@ module.exports = function(RED) {
*/ */
node.register = function(stompNode, callback = () => {}) { node.register = function(stompNode, callback = () => {}) {
node.users[stompNode.id] = stompNode; node.users[stompNode.id] = stompNode;
if (!node.connected) { if (!node.connected) {
node.connectedCallbacks.push(callback); node.connectedCallbacks.push(callback);
} }
@ -158,7 +158,7 @@ module.exports = function(RED) {
* Remove registered STOMP processing nodes from the connection. * Remove registered STOMP processing nodes from the connection.
* @param { StompInNode | StompOutNode | StompAckNode } stompNode The STOMP processing node to unregister * @param { StompInNode | StompOutNode | StompAckNode } stompNode The STOMP processing node to unregister
* @param { Boolean } autoDisconnect Automatically disconnect from the STOM server when no processing nodes registered to the connection * @param { Boolean } autoDisconnect Automatically disconnect from the STOM server when no processing nodes registered to the connection
* @param { Function } callback * @param { Function } callback
*/ */
node.deregister = function(stompNode, autoDisconnect, callback = () => {}) { node.deregister = function(stompNode, autoDisconnect, callback = () => {}) {
delete node.users[stompNode.id]; delete node.users[stompNode.id];
@ -179,7 +179,7 @@ module.exports = function(RED) {
/** /**
* Connect to the STOMP server. * Connect to the STOMP server.
* @param {Function} callback * @param {Function} callback
*/ */
node.connect = function(callback = () => {}) { node.connect = function(callback = () => {}) {
if (node.canConnect()) { if (node.canConnect()) {
@ -195,7 +195,7 @@ module.exports = function(RED) {
} }
node.client = new StompClient(node.options); node.client = new StompClient(node.options);
node.client.on("connect", function(sessionId) { node.client.on("connect", function(sessionId) {
node.closing = false; node.closing = false;
node.connecting = false; node.connecting = false;
@ -206,7 +206,7 @@ module.exports = function(RED) {
setStatusConnected(node, true); setStatusConnected(node, true);
callback(); callback();
}); });
node.client.on("reconnect", function(sessionId, numOfRetries) { node.client.on("reconnect", function(sessionId, numOfRetries) {
node.closing = false; node.closing = false;
node.connecting = false; node.connecting = false;
@ -246,7 +246,7 @@ module.exports = function(RED) {
/** /**
* Disconnect from the STOMP server. * Disconnect from the STOMP server.
* @param {Function} callback * @param {Function} callback
*/ */
node.disconnect = function(callback = () => {}) { node.disconnect = function(callback = () => {}) {
const waitDisconnect = (client, timeout) => { const waitDisconnect = (client, timeout) => {
@ -295,7 +295,7 @@ module.exports = function(RED) {
* Subscribe to a given STOMP queue. * Subscribe to a given STOMP queue.
* @param { String} queue The queue to subscribe to * @param { String} queue The queue to subscribe to
* @param { "auto" | "client" | "client-individual" } clientAck Can be `auto`, `client` or `client-individual` (the latter only starting from STOMP v1.1) * @param { "auto" | "client" | "client-individual" } clientAck Can be `auto`, `client` or `client-individual` (the latter only starting from STOMP v1.1)
* @param { Function } callback * @param { Function } callback
*/ */
node.subscribe = function(queue, acknowledgment, callback) { node.subscribe = function(queue, acknowledgment, callback) {
node.log(`Subscribe to: ${queue}`); node.log(`Subscribe to: ${queue}`);
@ -308,7 +308,7 @@ module.exports = function(RED) {
const headers = { const headers = {
id: node.subscriptionIds[queue], id: node.subscriptionIds[queue],
// Only set client-individual if not v1.0 // Only set client-individual if not v1.0
ack: acknowledgment === "client-individual" && node.options.protocolVersion === "1.0" ? "client" : acknowledgment ack: acknowledgment === "client-individual" && node.options.protocolVersion === "1.0" ? "client" : acknowledgment
} }
node.client.subscribe(queue, headers, function(body, responseHeaders) { node.client.subscribe(queue, headers, function(body, responseHeaders) {
@ -544,4 +544,5 @@ module.exports = function(RED) {
//JavaScript does not protect the property name hasOwnProperty //JavaScript does not protect the property name hasOwnProperty
//Object.prototype.hasOwnProperty.call is the recommended/safer test //Object.prototype.hasOwnProperty.call is the recommended/safer test
return Object.prototype.hasOwnProperty.call(obj, propName); return Object.prototype.hasOwnProperty.call(obj, propName);
} }
/* jshint ignore:end */

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-stomp", "name" : "node-red-node-stomp",
"version" : "1.0.5", "version" : "1.0.6",
"description" : "A Node-RED node to publish and subscribe to/from a Stomp server", "description" : "A Node-RED node to publish and subscribe to/from a Stomp server",
"dependencies" : { "dependencies" : {
"stomp-client" : "^0.9.0" "stomp-client" : "^0.9.0"

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="wake on lan"> <script type="text/html" data-template-name="wake on lan">
<div class="form-row">
<label for="node-input-name" style="width:120px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-mac" style="width:120px;"><i class="fa fa-address-card-o"></i> MAC Address</label> <label for="node-input-mac" style="width:120px;"><i class="fa fa-address-card-o"></i> MAC Address</label>
<input type="text" id="node-input-mac" placeholder="e.g. DE:AD:BE:EF:FE:ED"> <input type="text" id="node-input-mac" placeholder="e.g. DE:AD:BE:EF:FE:ED">
@ -20,10 +24,6 @@
<label for="node-input-interval" style="width:120px;"><i class="fa fa-clock-o"></i> Interval Between Packets (ms)</label> <label for="node-input-interval" style="width:120px;"><i class="fa fa-clock-o"></i> Interval Between Packets (ms)</label>
<input type="number" id="node-input-interval" placeholder="100"> <input type="number" id="node-input-interval" placeholder="100">
</div> </div>
<div class="form-row">
<label for="node-input-name" style="width:120px;"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">Tip: leave blank if you want to use <code>msg.mac</code> or <code>msg.host</code> to dynamically set target information.</div> <div class="form-tips">Tip: leave blank if you want to use <code>msg.mac</code> or <code>msg.host</code> to dynamically set target information.</div>
</script> </script>

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-wol", "name": "node-red-node-wol",
"version": "0.2.0", "version": "0.2.1",
"description": "A Node-RED node to send Wake-On-LAN (WOL) magic packets", "description": "A Node-RED node to send Wake-On-LAN (WOL) magic packets",
"dependencies": { "dependencies": {
"wake_on_lan": "^1.0.0" "wake_on_lan": "^1.0.0"
@ -23,7 +23,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="base64"> <script type="text/html" data-template-name="base64">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-action"><i class="fa fa-dot-circle-o"></i> <span data-i18n="base64.label.action"></span></label> <label for="node-input-action"><i class="fa fa-dot-circle-o"></i> <span data-i18n="base64.label.action"></span></label>
<select style="width:70%" id="node-input-action"> <select style="width:70%" id="node-input-action">
@ -12,10 +16,6 @@
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label> <label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/> <input type="text" id="node-input-property" style="width:70%;"/>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-base64", "name" : "node-red-node-base64",
"version" : "0.3.0", "version" : "0.3.1",
"description" : "A Node-RED node to pack and unpack objects to base64 format", "description" : "A Node-RED node to pack and unpack objects to base64 format",
"dependencies" : { "dependencies" : {
}, },

View File

@ -1,13 +1,13 @@
<script type="text/html" data-template-name="msgpack"> <script type="text/html" data-template-name="msgpack">
<div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/>
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label> <label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name"> <input type="text" id="node-input-name" placeholder="Name">
</div> </div>
<div class="form-row">
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/>
</div>
</script> </script>
<script type="text/html" data-help-name="msgpack"> <script type="text/html" data-help-name="msgpack">

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-msgpack", "name" : "node-red-node-msgpack",
"version" : "1.2.1", "version" : "1.2.2",
"description" : "A Node-RED node to pack and unpack objects to msgpack format", "description" : "A Node-RED node to pack and unpack objects to msgpack format",
"dependencies" : { "dependencies" : {
"msgpack-lite" : "^0.1.26" "msgpack-lite" : "^0.1.26"

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="xmpp in"> <script type="text/html" data-template-name="xmpp in">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-server"><i class="fa fa-bookmark"></i> Connect as</label> <label for="node-input-server"><i class="fa fa-bookmark"></i> Connect as</label>
<input type="text" id="node-input-server"> <input type="text" id="node-input-server">
@ -17,10 +21,6 @@
<label for="node-input-password"><i class="fa fa-lock"></i> Password</label> <label for="node-input-password"><i class="fa fa-lock"></i> Password</label>
<input type="password" id="node-input-password" placeholder="optional room password"> <input type="password" id="node-input-password" placeholder="optional room password">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips"><b>Note:</b> By leaving Buddy empty and ticking "Is a chat room", <div class="form-tips"><b>Note:</b> By leaving Buddy empty and ticking "Is a chat room",
the node will try to listen to all the rooms the user has access to. the node will try to listen to all the rooms the user has access to.
You can specify multiple rooms by separating them by a : You can specify multiple rooms by separating them by a :
@ -72,6 +72,10 @@
<script type="text/html" data-template-name="xmpp out"> <script type="text/html" data-template-name="xmpp out">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-server"><i class="fa fa-bookmark"></i> Connect as</label> <label for="node-input-server"><i class="fa fa-bookmark"></i> Connect as</label>
<input type="text" id="node-input-server"> <input type="text" id="node-input-server">
@ -94,10 +98,6 @@
<label for="node-input-password"><i class="fa fa-lock"></i> Password</label> <label for="node-input-password"><i class="fa fa-lock"></i> Password</label>
<input type="password" id="node-input-password" placeholder="optional room password"> <input type="password" id="node-input-password" placeholder="optional room password">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-tips">The <b>To</b> field is optional. If not set uses the <code>msg.topic</code> property of the message.</div> <div class="form-tips">The <b>To</b> field is optional. If not set uses the <code>msg.topic</code> property of the message.</div>
</script> </script>
@ -146,6 +146,10 @@
</script> </script>
<script type="text/html" data-template-name="xmpp-server"> <script type="text/html" data-template-name="xmpp-server">
<div class="form-row">
<label for="node-config-input-resource"><i class="fa fa-globe"></i> Resource</label>
<input type="text" id="node-config-input-resource" placeholder="optional resource id">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-config-input-server"><i class="fa fa-bookmark"></i> Server</label> <label for="node-config-input-server"><i class="fa fa-bookmark"></i> Server</label>
<input class="input-append-left" type="text" id="node-config-input-server" placeholder="blah.im" style="width: 40%;" > <input class="input-append-left" type="text" id="node-config-input-server" placeholder="blah.im" style="width: 40%;" >
@ -164,10 +168,6 @@
<label for="node-config-input-password"><i class="fa fa-lock"></i> Password</label> <label for="node-config-input-password"><i class="fa fa-lock"></i> Password</label>
<input type="password" id="node-config-input-password"> <input type="password" id="node-config-input-password">
</div> </div>
<div class="form-row">
<label for="node-config-input-resource"><i class="fa fa-globe"></i> Resource</label>
<input type="text" id="node-config-input-resource" placeholder="optional resource id">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-xmpp", "name": "node-red-node-xmpp",
"version": "0.6.0", "version": "0.6.1",
"description": "A Node-RED node to talk to an XMPP server", "description": "A Node-RED node to talk to an XMPP server",
"dependencies": { "dependencies": {
"@xmpp/client": "^0.13.1" "@xmpp/client": "^0.13.1"
@ -25,7 +25,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,4 +1,8 @@
<script type="text/html" data-template-name="tail"> <script type="text/html" data-template-name="tail">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="tail.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]tail.label.name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="tail.label.filename"></span></label> <label for="node-input-filename"><i class="fa fa-file"></i> <span data-i18n="tail.label.filename"></span></label>
<input id="node-input-filename" type="text"> <input id="node-input-filename" type="text">
@ -17,10 +21,6 @@
<label for="node-input-split"><i class="fa fa-tag"></i> <span data-i18n="tail.label.splitlines"></span></label> <label for="node-input-split"><i class="fa fa-tag"></i> <span data-i18n="tail.label.splitlines"></span></label>
<input type="text" id="node-input-split" data-i18n="[placeholder]tail.label.regex"> <input type="text" id="node-input-split" data-i18n="[placeholder]tail.label.regex">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> <span data-i18n="tail.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]tail.label.name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,9 +1,9 @@
{ {
"name": "node-red-node-tail", "name": "node-red-node-tail",
"version": "0.4.0", "version": "0.4.1",
"description": "A node to tail files for Node-RED", "description": "A node to tail files for Node-RED",
"dependencies": { "dependencies": {
"tail": "^2.2.4" "tail": "^2.2.6"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -22,7 +22,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="sunrise"> <script type="text/html" data-template-name="sunrise">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="sunrise.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]sunrise.label.name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-lat"><i class="fa fa-globe"></i><span data-i18n="sunrise.label.latitude"></span></label> <label for="node-input-lat"><i class="fa fa-globe"></i><span data-i18n="sunrise.label.latitude"></span></label>
<input type="text" id="node-input-lat" placeholder="51.025"> <input type="text" id="node-input-lat" placeholder="51.025">
@ -35,10 +39,6 @@
<span style="margin-right:4px" data-i18n="sunrise.start"></span> <input type="text" id="node-input-soff" placeholder="minutes" style='width:60px;' > <span data-i18n="sunrise.mins"></span> <span style="margin-right:4px" data-i18n="sunrise.start"></span> <input type="text" id="node-input-soff" placeholder="minutes" style='width:60px;' > <span data-i18n="sunrise.mins"></span>
<span style="margin-left:14px; margin-right:4px" data-i18n="sunrise.end"></span> <input type="text" id="node-input-eoff" placeholder="minutes" style='width:60px;'><span data-i18n="sunrise.mins"></span> <span style="margin-left:14px; margin-right:4px" data-i18n="sunrise.end"></span> <input type="text" id="node-input-eoff" placeholder="minutes" style='width:60px;'><span data-i18n="sunrise.mins"></span>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="sunrise.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]sunrise.label.name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-suncalc", "name" : "node-red-node-suncalc",
"version" : "1.1.0", "version" : "1.1.1",
"description" : "A Node-RED node to provide a signal at sunrise and sunset", "description" : "A Node-RED node to provide a signal at sunrise and sunset",
"dependencies" : { "dependencies" : {
"suncalc" : "^1.8.0" "suncalc" : "^1.8.0"
@ -19,7 +19,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-timeswitch", "name" : "node-red-node-timeswitch",
"version" : "1.1.1", "version" : "1.1.2",
"description" : "A Node-RED node to provide a simple timeswitch to schedule daily on/off events.", "description" : "A Node-RED node to provide a simple timeswitch to schedule daily on/off events.",
"dependencies" : { "dependencies" : {
"spacetime": "^7.4.3", "spacetime": "^7.4.3",
@ -20,7 +20,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
}, },
"contributors": [ "contributors": [

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="timeswitch"> <script type="text/html" data-template-name="timeswitch">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-starttime"><i class="fa fa-clock-o"></i> Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On</label> <label for="node-input-starttime"><i class="fa fa-clock-o"></i> Time&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;On</label>
<select id="node-input-starttime" style="width:24% !important"> <select id="node-input-starttime" style="width:24% !important">
@ -870,10 +874,6 @@
<label for="node-input-mytopic"><i class="fa fa-tasks"></i> Topic </label> <label for="node-input-mytopic"><i class="fa fa-tasks"></i> Topic </label>
<input type="text" id="node-input-mytopic" placeholder="optional msg.topic"> <input type="text" id="node-input-mytopic" placeholder="optional msg.topic">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="annotate-image"> <script type="text/html" data-template-name="annotate-image">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
<div class="form-row"> <div class="form-row">
<span id="node-input-row-stroke"> <span id="node-input-row-stroke">
<label for="node-input-stroke">Line Color</label> <label for="node-input-stroke">Line Color</label>
@ -14,10 +18,6 @@
<label style="margin-left: 20px" for="node-input-fontSize">Font Size</label> <label style="margin-left: 20px" for="node-input-fontSize">Font Size</label>
<input style="width: 50px" type="text" id="node-input-fontSize"> <input style="width: 50px" type="text" id="node-input-fontSize">
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i> Name</label>
<input type="text" id="node-input-name" placeholder="Name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-annotate-image", "name": "node-red-node-annotate-image",
"version": "0.1.2", "version": "0.1.3",
"description": "A Node-RED node that can annotate an image", "description": "A Node-RED node that can annotate an image",
"dependencies": { "dependencies": {
"pureimage": "^0.2.7" "pureimage": "^0.2.7"

View File

@ -1,6 +1,10 @@
<!DOCTYPE html> <!DOCTYPE html>
<script type="text/html" data-template-name="daemon"> <script type="text/html" data-template-name="daemon">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-command"><i class="fa fa-file"></i><span data-i18n="daemon.label.command"></span></label> <label for="node-input-command"><i class="fa fa-file"></i><span data-i18n="daemon.label.command"></span></label>
<input type="text" id="node-input-command" data-i18n="[placeholder]daemon.label.command"> <input type="text" id="node-input-command" data-i18n="[placeholder]daemon.label.command">
@ -41,10 +45,6 @@
<option value="SIGINT" data-i18n="[label]daemon.option.onclose.sigint"></option> <option value="SIGINT" data-i18n="[label]daemon.option.onclose.sigint"></option>
</select> </select>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="node-red:common.label.name"></span></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
<div class="form-tips"><span data-i18n="[html]daemon.tip"></span></div> <div class="form-tips"><span data-i18n="[html]daemon.tip"></span></div>
</script> </script>

View File

@ -1,6 +1,6 @@
{ {
"name" : "node-red-node-daemon", "name" : "node-red-node-daemon",
"version" : "0.6.0", "version" : "0.6.1",
"description" : "A Node-RED node that runs and monitors a long running system command.", "description" : "A Node-RED node that runs and monitors a long running system command.",
"dependencies" : { "dependencies" : {
}, },
@ -18,7 +18,7 @@
}, },
"author": { "author": {
"name": "Dave Conway-Jones", "name": "Dave Conway-Jones",
"email": "ceejay@vnet.ibm.com", "email": "dceejay@gmail.com",
"url": "http://nodered.org" "url": "http://nodered.org"
} }
} }

View File

@ -1,5 +1,9 @@
<script type="text/html" data-template-name="exif"> <script type="text/html" data-template-name="exif">
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="node-red:common.label.name"></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
<div class="form-row"> <div class="form-row">
<label for="node-input-mode"><i class="fa fa-dot-circle-o"></i><span data-i18n="exif.label.mode"></span></label> <label for="node-input-mode"><i class="fa fa-dot-circle-o"></i><span data-i18n="exif.label.mode"></span></label>
<select style="width:70%" id="node-input-mode"> <select style="width:70%" id="node-input-mode">
@ -11,10 +15,6 @@
<label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label> <label for="node-input-property"><i class="fa fa-ellipsis-h"></i> <span data-i18n="node-red:common.label.property"></span></label>
<input type="text" id="node-input-property" style="width:70%;"/> <input type="text" id="node-input-property" style="width:70%;"/>
</div> </div>
<div class="form-row">
<label for="node-input-name"><i class="fa fa-tag"></i><span data-i18n="node-red:common.label.name"></label>
<input type="text" id="node-input-name" data-i18n="[placeholder]node-red:common.label.name">
</div>
</script> </script>
<script type="text/javascript"> <script type="text/javascript">

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-node-exif", "name": "node-red-node-exif",
"version": "0.4.0", "version": "0.4.1",
"description": "A Node-RED node that extracts Exif information from JPEG image buffers.", "description": "A Node-RED node that extracts Exif information from JPEG image buffers.",
"dependencies": { "dependencies": {
"exif": "^0.6.0" "exif": "^0.6.0"