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

150 Commits

Author SHA1 Message Date
Dave C-J
58774c366d Add .delete property to File output node
Fix to close #162
2014-02-20 21:00:54 +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
Ben Hardill
da167c8607 remove un needed commented out line 2014-02-18 10:28:46 +00:00
Ben Hardill
560d106ba2 Merge remote-tracking branch 'upstream/master' 2014-02-18 10:25:21 +00:00
Ben Hardill
7af88f63f5 Fix delay node singleton issue
Fixes #154
2014-02-18 10:23:44 +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
b7e3e2d739 Add username/password to Mongo nodes
Fixes #159
2014-02-16 23:17:15 +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
Nick O'Leary
20de0c7c89 Move to twitter-ng module
Fixes #136

This will require an `npm update` to keep things working
2014-02-05 20:26:56 +00:00
Nick O'Leary
cef652eef7 File node: allow filename to be overridden 2014-02-05 10:26:17 +00:00
Dave C-J
ae03562f86 Slight UI tweak to Inject node - move fire once below options 2014-02-05 08:09:16 +00:00
Dave C-J
f3f52fa586 Inject - cleanup messing with crontab... just don't do it. 2014-02-04 22:31:51 +00:00
Dave C-J
40232f95ed Clear inject once flag properly. Issue #145 2014-02-04 22:19:55 +00:00
Dave C-J
b1de42b297 Tweak Inject Fire at Once options as per Issue #145 2014-02-04 21:50:35 +00:00
Dave C-J
bdd9d901ec inject node - Remove couple of lines of excess console.log 2014-02-03 19:06:49 +00:00
Ben Hardill
ad1f967a8d Fix random wait in delay node
Fixes #143
2014-02-03 13:08:20 +00:00
Dave C-J
e19f2956a8 tiny tweak to inject to fix name and hide un-needed text box.
tweak exec node text to be less alarmist
2014-02-02 18:12:28 +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
Nick O'Leary
c47c72cf48 Improve inject node payload options 2014-02-02 15:37:34 +00:00
Dave C-J
3dee0f1e20 Add small bit of extra node.log to exec node to make it obvious what it is doing. 2014-01-27 19:24:15 +00:00
Dave C-J
3a2ed39b51 Add new Range Node 2014-01-27 19:23:35 +00:00
Dave C-J
aa044970c9 Add extra labels to extra Pi GPIO pins 2014-01-14 19:23:50 +00:00
Dave C-J
ad675c00d8 enhance fs.notify help text
windows paths need double slashes \\
2014-01-13 20:25:58 +00:00
Dave C-J
82f58393c7 enhance labels for Pi GPIO pins 2014-01-13 20:24:57 +00:00
Dave Conway-Jones
08559838cc Merge pull request #133 from cpswan/master
Enable Pi to use of all 17 WiringPi pins
2014-01-13 12:04:31 -08: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
Dave C-J
cbad188be8 Update to fs.watch node to use new fs.notify API
requires npm update fs.notify
2014-01-08 16:44:05 +00:00
Dave C-J
b652d26b6b Add invite event to irc node 2014-01-03 10:57:49 +00:00
Dave C-J
e5536b848a Changes to IRC node
addresses fix for #106
moved channel to node properties (won't break but will flag as undeployed changes)
changed defaults to be irc.freenode.net
allow input of a msg.raw as an array of a raw irc command (undocumented)
2014-01-02 11:15:03 +00:00
Chris Swan
9839e87580 pintable + tablepin maps for all 17 WiringPi pins 2013-12-31 08:54:06 +00:00
Chris Swan
982ad91581 Drop down options for all 17 pins in WiringPi 2013-12-31 08:50:24 +00:00
Nick O'Leary
1c010c568d Fix keepalive handling in MQTT client
Fixes #124
2013-12-29 20:16:27 +00:00
Nick O'Leary
24c373ecc2 Tidying up the Change node after a lot of churn 2013-12-24 23:16:36 +00:00
Frank van de Pol
44e920fde2 Disable the notification for the Change node editor
Disable the notification on the Change node.
Once the infrastructure for validation error messages is implemented
this can be re-enabled and retrofitted to the
new structure.
2013-12-24 23:29:40 +01:00
Frank van de Pol
1ebc5979aa Add validation to Change node editor for invalid regex
This change adds input validation to the gui of Change Nodes to prevent
the user from unintentionally entering an invalid regular expression
(in case the ‘use regular expressions’  option is enabled).

The user will be notified (using the RED notification mechanism) on the
specific error code to help resolve the issue.
2013-12-24 20:28:08 +01:00
Frank van de Pol
b411d59d43 Make log message in invalid regular expressions more verbose
Make logging of erratic regular expressions more verbose to help
identification and resolving of the configuration issue:

eg.:
old: 24 Dec 18:40:09 - [error] [change:Strip kW] Invalid regex: *kW
new: 24 Dec 18:40:09 - [error] [change:Strip kW] Invalid regular
expression: /*kW/: Nothing to repeat

old: 24 Dec 20:15:57 - [error] [change:Strip kW] Invalid regex: *kW
new: 24 Dec 20:15:57 - [error] [change:Strip kW] Invalid regular
expression: /[kW/: Unterminated character class
2013-12-24 20:17:42 +01:00
Frank van de Pol
231f8b6a4d undo my changes to the Change node; revert to original
undo the local changes to the Change node to get back aligned with the
master tree
2013-12-24 20:02:30 +01:00
Frank van de Pol
b81f251023 merge from upstream 2013-12-24 18:53:38 +01:00
Dave C-J
00202a3930 wrong syntax for checking check box... in change node 2013-12-24 17:07:07 +00:00