Dave C-J
273acc0ec4
Let MQTT input node receive binary packets
...
Try to auto select output type to be string or buffer to be backwards compatible
Fixes #435
2014-11-04 21:56:15 +00:00
Dave C-J
a1830def8e
Fix http in node close wrinkle if cors enabled but not used.
2014-10-29 18:26:09 +00:00
Dave C-J
0bb78ae491
Try to ensure TCP node closes server connections on redeploy
...
(to clean up properly - especially in case of port changes)
Closes Issue #454
2014-10-25 17:52:24 +01:00
Nick O'Leary
21e349c22a
Ensure httpNodePath is handled properly in HTTP/WS nodes
...
Cope with httpNodePath not ending with a / when it comes to
displaying the node details. The runtime is not affected.
2014-10-08 11:03:18 +01:00
Nick O'Leary
1f95071a37
Only normalise known headers in http node
2014-09-22 20:48:06 +01:00
Dave C-J
ed1da5cf7b
Add try/catch to websocket to fix #402
...
Also allow buffer out as binary if required. (ie don't try and stringify a buffer)
2014-09-18 17:10:01 +01:00
Mark Hindess
5d9c16ffbf
Remove redundant msg != null checks.
2014-09-08 21:10:06 +01:00
Nick O'Leary
d30f1e639b
Merge pull request #391 from hindessm/remove-undefined-reference-to-node
...
Remove reference to undefined variable 'node'.
2014-09-08 20:38:00 +01:00
Nick O'Leary
27149fe10f
Merge pull request #390 from hindessm/fix-base64-udp-send
...
Fix base64 udp send
2014-09-08 20:20:22 +01:00
Dave C-J
cba4791b65
MQTT node better check for topic existing
2014-09-08 20:19:25 +01:00
Mark Hindess
3ec07a9161
Remove reference to undefined variable 'node'.
2014-09-08 20:19:20 +01:00
Mark Hindess
6368a43a02
Fix base64 encoding of msg.payload in UDP out node.
2014-09-08 20:13:08 +01:00
Dave C-J
ab4d3c025e
MQTT node should only send message if topic actually specified (string)
2014-09-08 20:01:28 +01:00
Mark Hindess
3f054bdf7e
Migrate to fa icons.
2014-09-08 12:07:39 +01:00
Dave C-J
426453d925
make tcp and udp node fa icons more consistent
2014-09-07 22:12:25 +01:00
Dave C-J
5872541b1b
Tweak info of watch and file nodes to be more style consistent with others.
2014-09-07 22:11:00 +01:00
Nick O'Leary
67d5bc2399
Merge pull request #380 from hindessm/trivial-html-fixes
...
Fix two trivial HTML bugs.
2014-09-05 23:12:32 +01:00
Nick O'Leary
56768fbf2c
HTTP In delete configuration missing errorHandler
...
Fixes #384
2014-09-05 13:19:05 +01:00
Mark Hindess
e90054c93c
Fix two trivial HTML bugs.
2014-09-04 19:59:30 +01:00
Dave C-J
fc679adefb
Allow TCP node option to break connections per message (and auto
...
reconnect) - eg for file trnasfer to indicate EOF.
Change to FA icons.
2014-09-03 20:06:29 +01:00
Dave C-J
e136080888
Tiny wrinkle (non critical) in httpin node
2014-09-03 20:04:38 +01:00
Mark Hindess
0a009e2a15
Rename RED.utils to RED.util. Fixes #364 .
2014-09-03 13:20:45 +01:00
Mark Hindess
a9e72858df
Add ensure string helper for nodes.
2014-08-28 14:25:41 +01:00
Dave C-J
a8ade083d4
Add QoS and Retain to the MQtt node options
2014-08-22 12:44:54 +01:00
Nick O'Leary
907ce5c079
MQTT Node: allow publishing of Buffer payloads
...
Closes #341
2014-08-18 11:27:52 +01:00
Nick O'Leary
55679694c9
HTTP In - fix header iterator
2014-07-23 21:28:53 +01:00
Nick O'Leary
c079576e49
Remove websocket listeners on close
...
Fixes #285
2014-07-23 21:18:07 +01:00
Dave C-J
82036dd84a
Simple fix to check/force http: to close #288
...
Checks url starts http: or https: - if not add http: - at least then it breaks gently.
Also add resultant url to any error payload if request fails in order to make debug easier.
2014-07-23 12:09:34 +01:00
Nick O'Leary
bead24e760
HTTP In node: Check credentials exist before using
2014-07-22 11:33:52 +01:00
Dave C-J
0b308deb79
Slight tidy to MQTT - move to fa icons - use built in close method.
2014-07-21 20:29:10 +01:00
Nick O'Leary
4302deb5a6
Change credential boolean prefix
2014-07-20 20:42:41 +01:00
Nick O'Leary
d67a54a66a
Update HTTP Request node to new credentials api
2014-07-19 00:26:46 +01:00
Nick O'Leary
760dd022dc
Migrate MQTT nodes to new credentials api
2014-07-19 00:25:22 +01:00
Dave C-J
4770a06679
yet more JShint cleaning.
2014-07-18 21:49:48 +01:00
Mark Hindess
5073cf8dd7
Reduce scope of variable declaration to be consistent with MQTTInNode code.
2014-07-16 21:45:02 +01:00
Mark Hindess
77f6652fa9
Remove spurious variable declaration.
2014-07-16 21:45:02 +01:00
Dave Conway-Jones
debd5c4496
Spelling correctin http node info, close #266
2014-07-14 09:26:09 +01:00
Dave C-J
62496d80d5
tray/catch error in Websocket node to close #264
2014-07-13 17:39:56 +01:00
Dave C-J
bc53d302ff
and add fa icons to websocket
2014-07-11 21:32:51 +01:00
Dave Conway-Jones
b84aba5c98
minor spelling correction
2014-07-11 08:20:47 +01:00
Nick O'Leary
3db84d5bf1
HTTP Out payload: relax null checking
2014-07-09 09:51:43 +01:00
Nick O'Leary
4d031891e5
Http Out: remove excess debug
2014-07-09 09:48:09 +01:00
Nick O'Leary
a7e7254317
Handle null response payloads
2014-07-09 09:46:10 +01:00
Nick O'Leary
8e24a958b7
HTTP Out - stringed the wrong bit
2014-07-09 09:43:02 +01:00
Nick O'Leary
bd80cf4f83
HTTP Out - header properties must be strings
2014-07-09 09:08:43 +01:00
Dave C-J
c10c687653
Add TCP request node to TCP node "family"
2014-07-08 13:45:00 +01:00
Dave C-J
790ad8eb68
Tidy up jsHint errors in parser nodes
2014-06-30 20:43:31 +01:00
Dave C-J
7c7f030aa8
Tweak serial to outpur correct number of chars from buffer.
...
Having counted the correct number into the buffer it seems a shame
not to send them all out to the next node...
(Also allow separator char to be specified as hex (eg 0x0a))
2014-06-24 22:27:02 +01:00
Dave C-J
6f6ecfc7a8
Make sure buffers are nulled to ensure cleanup.
2014-06-17 20:06:54 +01:00
Dave C-J
c61d4d3209
revert logging of every url request from http reg node.
2014-06-12 21:16:41 +01:00