1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
Commit Graph

67 Commits

Author SHA1 Message Date
Nick O'Leary
8f1dd62515 Allow Serial nodes to close asynchonously 2014-05-14 21:34:17 +01:00
Dave C-J
6f981d29ec Patch to suppoer use strict
Fixes Issue #205
Manual merge due to other changes
2014-05-14 11:44:19 +01:00
Dave C-J
6f0e619611 add Status to email, http nodes (update copyright on tcp) 2014-05-13 11:39:59 +01:00
Dave C-J
7e71a118eb Add status indicators to serial and tcp (client) nodes 2014-05-12 16:32:19 +01:00
Nick O'Leary
7e85eb297d Make status display toggleable and add to MQTT nodes 2014-05-10 23:33:02 +01:00
Dave C-J
e47839b7e7 Tweaks to shorten Serialport html names.
and remove redundant code.
2014-05-06 11:12:56 +01:00
Nick O'Leary
14e882f250 Remove rogue console.log 2014-05-05 21:44:04 +01:00
Nick O'Leary
b64b1f2956 Serial port select combo-box 2014-05-05 21:42:01 +01:00
Dave C-J
671723374d Allow serial port to be manual entry or pick from list. 2014-05-05 11:39:59 +01:00
Dave C-J
b806854867 Revert serial port config to a text box - while we look at how best to
provide a list - but allow free input. (for Pi that doesn't enumerate tyAMA0)
2014-05-05 09:02:01 +01:00
Nick O'Leary
ff49d2b217 Migrate to new node function style 2014-05-03 23:32:04 +01:00
Nick O'Leary
1df963e0ed Generate content-length on HTTP Request node 2014-04-30 22:05:27 +01:00
Dave C-J
e49eb3c685 Tweak layout of serial port config (Thanks Frank) 2014-04-30 14:09:08 +01:00
Dave Conway-Jones
f60430305e Merge pull request #207 from fvdpol/master
Add configuration of serial protocol settings (25-serial node)
2014-04-30 13:53:36 +01:00
Frank van de Pol
c62a42169f Typo 2014-04-21 23:42:07 +02:00
Frank van de Pol
9d1bb39018 Add configuration of serial protocol settings
- Add support for configuration of protocol parameters (data bits,
party, stop bits)
- Set serial device/port using select list (discovered ports)
- Provide default settings for existing flows that do not yet have
serial protocol settings
2014-04-21 23:35:28 +02:00
Nick O'Leary
c20128b80f MQTT Client - missing null check 2014-04-21 21:14:03 +01:00
Nick O'Leary
0b7fa1ab5c Fix MQTT client reconnect logic 2014-04-21 20:40:56 +01:00
Nick O'Leary
729036ec0b Fix HTTTP Request url template 2014-04-20 20:50:20 +01:00
Nick O'Leary
eee8f89146 Clear MQTT Connection watchdog on error 2014-04-19 22:19:06 +01:00
Nick O'Leary
d5b36fcadc Add mustache template support to the HTTP Request url 2014-04-15 22:49:39 +01:00
Nick O'Leary
bcefa6c9ef Properly deprecate httpget node 2014-04-02 21:21:51 +01:00
Nick O'Leary
fa2d2771a7 Add websocket error handlers
Fixes #190
2014-04-01 23:18:34 +01:00
Nick O'Leary
e7dcdb075a Update udp node bind local options 2014-03-31 13:06:57 +01:00
Dave C-J
1f6155f118 Fix to allow blank password for Basic Auth in httprequest node 2014-03-31 10:28:37 +01:00
Nick O'Leary
a3fa6dada5 Rework local port UI in udp node 2014-03-30 23:05:59 +01:00
Dave C-J
79f8d057a1 tweak "leave blank for random" text for outgoing port
as per Nick's suggestion
2014-03-28 08:53:25 +00:00
Dave C-J
e5e457a410 UDP node fixes. Allow fixing of outbound port.
Fixes #178
Also fixed multicast binding to work more correctly.
Note: - if you fix the outbound port it will then be unvailable for input - as we are not setting up a pool.
2014-03-27 23:27:43 +00:00
Nick O'Leary
f666b0e6f9 TCP Node port in use not caught properly 2014-03-17 16:09:07 +00:00
Nick O'Leary
15002f6872 Add headless mode
closes #2

httpAdminRoot / httpNodeRoot can be set to false to disable their respective bits. If both are set to false, (or httpRoot is set to false), and httpStatic is not defined, then it will not start the http server.
2014-03-08 22:35:35 +00:00
Nick O'Leary
5e58cc9fc1 HTTP In help text should use httpNodeRoot 2014-03-08 21:54:13 +00:00
Nick O'Leary
f81ebf0e64 Fix too specific wildcard matching in MQTT node 2014-02-23 20:14:27 +00:00
Nick O'Leary
f7a72a48ea Improve socket error handling in MQTT client
Fixes #155
2014-02-20 21:56:29 +00:00
Dave C-J
0bc4a3bbb1 update UDP node to not bind output port if not required to do so.
Fix to Close #165
2014-02-20 20:59:05 +00:00
Dave C-J
46765d5737 Turn down console.log-ing in udp node 2014-02-20 18:11:08 +00:00
Nick O'Leary
d97e23947d Add uid to mqtt client log messages
This is a semi-temporary change to help debug the multiple-connection issue seen with the MQTT client
2014-02-19 22:17:20 +00:00
Nick O'Leary
b4ef1d354d Catch mqtt socket write error after disconnect
Part of #155
2014-02-19 21:30:46 +00:00
Nick O'Leary
d8f2f24b44 Add optional basic-auth to HTTP Request node
Closes #160
2014-02-19 20:31:42 +00:00
Nick O'Leary
b8953abb28 Add clientid to mqtt-broker label
Fixes #161
2014-02-17 22:42:31 +00:00
Nick O'Leary
6b278fdceb Add httpNodeCors setting
Adds a dependency on the 'cors' npm module
2014-02-17 22:32:53 +00:00
Nick O'Leary
09f162d933 Fix overriding method in HTTP Req node 2014-02-17 22:16:42 +00:00
Nick O'Leary
7c24d4d760 Separate out httpAdmin and httpNode 2014-02-16 00:39:30 +00:00
Nick O'Leary
e6cf783d52 HTTP In GET error handler fix 2014-02-15 22:36:01 +00:00
Nick O'Leary
35fb4bb47a Add rawBody middleware
Fixes #151
2014-02-12 21:30:49 +00:00
Nick O'Leary
7c24c7465a HTTP Request: allow message to override https
Fixes #147
2014-02-06 22:14:27 +00:00
Dave C-J
b882846516 Quick fix for serial hangs (with serialport1.3.1)
While we investigate further.
2014-02-02 16:52:32 +00:00
Dave C-J
ad675c00d8 enhance fs.notify help text
windows paths need double slashes \\
2014-01-13 20:25:58 +00:00
Nick O'Leary
79aeeea640 Handle duplicate PUBREL
Fixes #138

If the connection to a broker is lost mid qos 2 flow, there is a window where we have processed the PUBREL, released the message and deleted it from our store, but not sent the PUBCOMP. When the connection is re-established, and the PUBREL is resent by the broker, we assume the message still exists - and hit the error reported.

The fix is to check the message is valid before trying to process it. We send the PUBCOMP to complete the flow regardless.
2014-01-13 11:32:16 +00:00
Nick O'Leary
6b3010f95b Guard against null client in MQTT nodes
Fixes #130

There was a timing window where a client could connect to a broker just as new flows were deployed that would cause the on-connect callback to be called after client has been set to null. This caused an NPE.

The fix is to check client isn't null in the event handler.
2014-01-13 11:27:09 +00:00
Dave C-J
10b7f402c3 Update MQTT node Icon color to be different from Twitter one
Fixes #132
2014-01-08 16:44:47 +00:00