Nick O'Leary
d7c516ab00
Port label editor starting point
2017-02-08 10:48:24 +00:00
Dave Conway-Jones
50838970ec
let css node handle ip addresses without trying to parse
...
and only warn once if no template (and then send object anyway)
to close #1142
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
1d15ee7034
let Hypriot on Pi detect gpio correctly
...
clean up duplicate labels
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
7029541b4f
Let watch node recurse into subdirectories
...
to close #1140
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
ada8e447cc
exec node can be killed on demand
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
1841fc18fa
let trigger node set repeated outputs
2017-02-07 21:14:16 +00:00
Dave Conway-Jones
94ee465682
clone message before send in stay connected mode
...
to Fix #1137
2017-02-02 09:57:04 +00:00
Nick O'Leary
829087550d
Add inputLabels and outputLabels to node defn + Update Change node
2017-01-27 18:11:25 +00:00
Nick O'Leary
d008b1970c
Add option to parse Template result as JSON before sending
2017-01-25 17:12:53 +00:00
Nick O'Leary
8d34f87667
Add websocketVerifyClient option to enable custom websocket auth
...
Fixes #1127
2017-01-24 21:37:08 +00:00
Nick O'Leary
b10141d71f
Allow statusCode/headers to be set directly within HTTP Response node
2017-01-24 14:56:48 +00:00
Nick O'Leary
7759aacb35
Ensure custom mustache context parent set in Template node
...
fixes #1126
2017-01-23 15:34:34 +00:00
Nick O'Leary
fd6f7cd881
Display debug node name in debug panel if its known
2017-01-23 13:57:06 +00:00
Nick O'Leary
0ffeb0c5af
Avoid creating multiple reconnect timers in websocket node
2017-01-17 20:48:05 +00:00
Nick O'Leary
64daaeb310
Add file upload support to HTTP In node
2017-01-16 22:39:30 +00:00
Nick O'Leary
5349bf7628
Don't filter debug properties starting with _
...
Fixes #1117
2017-01-14 21:34:09 +00:00
Nick O'Leary
a79e4d1bb3
Node logged errors not displayed properly in debug pane
...
Fixes #1116
2017-01-14 21:33:11 +00:00
Nick O'Leary
0a96259ddf
Update copyright header for JS Foundation
2017-01-11 15:24:33 +00:00
Nick O'Leary
ce6594c8cc
Do not tie debug src loading to needsPermission
...
Fixes #1111
2017-01-10 09:43:46 +00:00
Nick O'Leary
0e362943bf
Add option to colourise debug console output
...
Closes #1103
2017-01-08 22:38:40 +00:00
Nick O'Leary
aafcfef387
Add property validation to nodes using typedInput
2017-01-06 23:18:50 +00:00
Nick O'Leary
4b83d8160f
Add common validator for typedInput fields
...
Closes #1104
2017-01-06 22:20:09 +00:00
Nick O'Leary
707dc8c65c
Update debug node console logging indicator icon
...
Closes #1094
2017-01-06 14:43:51 +00:00
Nick O'Leary
e73216d4c1
Merge branch 'master' into 0.16
2017-01-06 14:30:13 +00:00
Nick O'Leary
0c7705beff
Allow quoted property expressions
...
Fixes #1101
2017-01-06 11:23:53 +00:00
Dave Conway-Jones
08b11addec
Let exec node (spawn) handle commands with spaces in path
2017-01-06 09:55:52 +00:00
Dave Conway-Jones
4ca3df77b3
Add ⇶ to debug node to indicate debugging also to console.log
2016-12-22 13:27:27 +00:00
Dave Conway-Jones
4cbe264869
Change file node to use node 4 syntax (drops support for 0.8)
2016-12-22 13:17:08 +00:00
Nick O'Leary
e7cc42a927
Use json-stringify-safe to detect circular references in debug msgs
2016-12-20 23:16:11 +00:00
Nick O'Leary
bba3ca8cc0
Avoid misinterpreting valid objects as encoded arrays in debug
2016-12-20 22:46:56 +00:00
Dave Conway-Jones
8423e2d245
add info for httprequest responseUrl property
2016-12-16 22:03:00 +00:00
Dave Conway-Jones
fc263718a1
Add res.responseUrl to httprequest node response
2016-12-16 21:54:24 +00:00
Nick O'Leary
16ecb1a9cb
Overhaul keyboard handling and introduce editor actions
2016-12-04 22:59:43 +00:00
Nick O'Leary
52fc497412
Properly escape html strings passed to debug
2016-11-27 21:51:34 +00:00
Nathanaël Lécaudé
2084ad318f
Tcpgetfix: Another small check ( #1070 )
...
* TCPget: Add another check for clients[connection_id]
2016-11-26 21:16:19 +00:00
Nathanaël Lécaudé
b530c1a43d
TCPGet: Ensure done() is called only once ( #1068 )
...
* Add additional safety checks to avoid acting on non-existent objects
* TCPGet: yet more checks
* TCPGet: seperate connected properties
* TCPGet: properly handle node.done()
2016-11-25 18:14:51 +00:00
Nick O'Leary
f2797a4153
Fix package.json conflict
2016-11-24 20:52:48 +00:00
Nick O'Leary
95b2675f03
Support query and search paths in url when opening debug sub window
2016-11-22 13:14:52 +00:00
Nathanaël Lécaudé
071a04595a
TCPGet: Separated the node.connected property for each instance ( #1062 )
...
* Add additional safety checks to avoid acting on non-existent objects
* TCPGet: yet more checks
* TCPGet: seperate connected properties
2016-11-19 16:25:54 +00:00
Nicholas Humfrey
74a1713e99
Corrected 'overide' typo in XML node help ( #1061 )
...
Thanks @njh
2016-11-18 11:41:48 +00:00
Nathanaël Lécaudé
5f5aa0b2f7
TCPGet: Last property check (hopefully) ( #1059 )
...
* Add additional safety checks to avoid acting on non-existent objects
* TCPGet: yet more checks
2016-11-18 11:25:06 +00:00
Nathanaël Lécaudé
eef59fd40e
Add additional safety checks to avoid acting on non-existent objects ( #1057 )
2016-11-17 21:04:38 +00:00
Dave Conway-Jones
eeea8e530e
add indicator for fire once on inject node
2016-11-17 13:56:37 +00:00
Nick O'Leary
1fd87bf664
Improve debug message meta data contrast and legibility
2016-11-16 15:05:04 +00:00
Adam Hořčica
be18cc9f2d
Add support for flow and global context in Template node ( #1048 )
...
* Enable tests for flow and global context
* Add support for flow and global context in Template node
* Handle missing node context
2016-11-16 14:08:14 +00:00
Nathanaël Lécaudé
18731f6055
TCPget: Store incoming messages alongside the client object to keep reference
2016-11-14 13:30:43 -05:00
Nathanaël Lécaudé
7ef153756b
TCPget can now handle concurrent sessions ( #1042 )
...
* First release of multi connection tcpget
* Works when connection is left open
* Change scope of clients object
* Fix comparison to "" in tcpin
* Add security checks
* Better scope handling
2016-11-11 09:01:22 +00:00
Nick O'Leary
bf90509526
Add jsonata support to Change/Switch nodes
2016-11-10 23:58:34 +00:00
Dave Conway-Jones
d63996eea1
slight tidy of YAML PR (remove excess console.log in test)
...
and improve XML test coverage slightly
2016-11-10 21:29:07 +00:00
Nathanaël Lécaudé
9bbc8eda9d
Added YAML parser node ( #1034 )
...
Thanks @natcl -
(sorry pressed closed by mistake !)
* Added YAML parser node
* Added YAML error strings in messages.json
* Change location of YAML library import
* Remove copyright
* Remove copyright
* Change order of yaml in Template node
* Add YAML test
* Add working test
2016-11-10 21:22:05 +00:00
Dave Conway-Jones
9cc1b03c56
small change to udp httpadmin
...
as it refers to both in and pout
2016-11-10 20:19:55 +00:00
Nick O'Leary
6042395b81
Allow a node to reorder its outputs and maintain links
...
Fixes #1031
2016-11-08 17:00:47 +00:00
Nick O'Leary
196d6e79e2
Don't pin change node input widths
2016-11-08 13:29:01 +00:00
Dave Conway-Jones
d5f3ba8d8a
remove unnecessary require from JSON node
2016-11-04 19:55:02 +00:00
Nick O'Leary
6c36778cac
Move debug message utils into core
2016-11-03 14:34:38 +00:00
Nick O'Leary
3489fe0cf4
Better toggling between raw/string views of buffers
2016-11-03 14:34:37 +00:00
Nick O'Leary
74b6d9dff9
Provide string view of buffers in debug messages
2016-11-03 14:34:37 +00:00
Nick O'Leary
06ee9aa05c
Make strings expandable in debug
2016-11-03 14:34:37 +00:00
Nick O'Leary
f0f40a8606
Restore object keys values in debug sidebar
2016-11-03 14:34:37 +00:00
Nick O'Leary
1f2c9879bd
Handle big arrays/buffers better in debug sidebar
2016-11-03 14:34:37 +00:00
Nick O'Leary
d1eb82bdf6
Show newlines/tabs in debug output
2016-11-03 14:34:37 +00:00
Nick O'Leary
9555e296a2
Close debug window when main window unloads
2016-11-03 14:34:37 +00:00
Nick O'Leary
f460283fa1
Full event passing between debug window and main window
2016-11-03 14:34:37 +00:00
Nick O'Leary
79da8e5a37
Move all common debug list code to its own library
2016-11-03 14:34:37 +00:00
Nick O'Leary
a35ce22218
Make debug message node id clickable
2016-11-03 14:34:36 +00:00
Nick O'Leary
1c905da8c2
Handle long strings in debug
2016-11-03 14:34:36 +00:00
Nick O'Leary
2b558768f1
Add debug filter box
2016-11-03 14:34:36 +00:00
Nick O'Leary
7607c4c882
Make inbuilt debug messages navigable
2016-11-03 14:34:36 +00:00
Nick O'Leary
c9f4813ce1
Fix debug path
2016-11-03 14:34:36 +00:00
Nick O'Leary
0428e27039
Improved type styling
2016-11-03 14:34:36 +00:00
Nick O'Leary
e30da2168d
Make Debug object explorable
2016-11-03 14:34:36 +00:00
Nick O'Leary
0cd20768f4
Style the debug window to match the sidebar
2016-11-03 14:34:36 +00:00
Nick O'Leary
ab31f34862
Initial debug pop-out window
2016-11-03 14:34:36 +00:00
Dave Conway-Jones
f66c91e18e
different test for Pi (rather than use serial port name)
2016-11-03 08:56:18 +00:00
Dave Conway-Jones
a235745be7
Fix missing 0 handling for css node with array input
2016-11-02 15:49:51 +00:00
Nick O'Leary
0adcea9e7c
Revert bidi changes to nodes and hide menu option until fixed
...
Fixes #1024
2016-10-28 08:37:33 +01:00
Dave Conway-Jones
aa8ad60083
Let xml node set options both ways
...
to close #1022 to close #975
Thanks @martin-doyle and @nikhildx
2016-10-26 22:06:35 +01:00
Dave Conway-Jones
4418fdaed6
gpio node handle multiple bits of data returned in one go
2016-10-25 21:42:27 +01:00
Nick O'Leary
c58c45c917
HTTP In should pass application/octet-stream as buffer not string
...
Fixes #1023
2016-10-25 21:19:49 +01:00
Dave Conway-Jones
45eba5cabd
tidy up udp node - repeat setting of var
2016-10-25 20:40:11 +01:00
Dave Conway-Jones
dbceef2581
fix spelling in join node info
...
Manual fix for #1014
Thanks @rogovski
2016-10-17 21:40:12 +01:00
Dave Conway-Jones
8a2ae6c480
Change html link refs from _new to _blank to be standards compliant
2016-10-12 17:53:27 +01:00
Nick O'Leary
325c6135cf
Defeat the exec node test dragons
2016-10-11 20:31:42 +01:00
Dave Conway-Jones
fdea19a45b
leave Pi GPIO pins in a sensible state on error
2016-10-11 15:37:34 +01:00
Nick O'Leary
f002560616
Exec node spawn mode should clone messages it reuses
2016-10-11 14:49:48 +01:00
Dave Conway-Jones
9704fb04d9
inject node label - show topic for timestamp mode if short
2016-10-11 09:27:02 +01:00
Dave Conway-Jones
4d19f881e9
Let change node set type if total match
...
remove unnecessary 2 step move when not required.
add test for moving sub property up to main property
2016-10-10 11:10:36 +01:00
Dave Conway-Jones
3a8820397b
clean up status on close for several core nodes.
2016-10-10 11:08:06 +01:00
Nick O'Leary
0dd2c7fe24
Change node: reparse JSON set value each time to avoid pass-by-ref
2016-10-09 23:14:52 +01:00
Nick O'Leary
f22c3b549e
Merge branch '0.15.0'
2016-10-09 23:00:28 +01:00
Dave Conway-Jones
2da9572a45
Better handle httprequest header capitalisation
2016-10-02 17:44:48 +01:00
Nick O'Leary
7ed9e7cdd4
Update debug sidebar to use RED.view.reveal to show debug nodes
2016-09-29 23:49:58 +01:00
Dave Conway-Jones
a89c7b1a70
Add full path tip to file node, And tidy up Pi node tips
2016-09-23 23:37:56 +01:00
Dave Conway-Jones
ded1376957
remove websocket node maxlistener warning
2016-09-23 23:36:58 +01:00
Nick O'Leary
39d90fe881
Update mqtt-broker node to use fully name-space qualified status messages
2016-09-19 09:36:38 +01:00
Antoine Aflalo
289de85754
Fix the check for nbRateUnits
2016-09-17 10:38:30 -04:00
Dave Conway-Jones
29e9740668
Let UDP node better share same port instance if required
2016-09-17 14:05:26 +01:00
Antoine Aflalo
ea8c6d5cce
Add number of units to the delay node (rate) ( #994 )
...
* Add possibility to set the value for the rate unit
Backward compatible, if the new nbRateUnits is not set, default to 1.
This way we can delay messages to 1 msg per X seconds/minutes/hours days
instead of always 1.
Useful when interacting with API that have a uncommon rate limiting like
1req per 2 seconds.
* Fix existing testing for delay
* Add new test for the nbRateUnits
* Fix label for timed and topic for delay node
* Schrink width of Units delay rate
* pluralisation of labels
* Dynamic pluralisation respecting i18n
* Remove debug data left
2016-09-16 14:27:14 +01:00
Alice Ferrazzi
e4c951984a
typo fix ( #990 )
...
typo fix in mqtt broker help text
2016-09-14 23:13:08 +01:00
Nick O'Leary
d3c7ac75be
Set switch node rule input widths properly
2016-09-08 21:12:39 +01:00
Nick O'Leary
55d7420abf
Remove tabs
2016-09-08 20:49:44 +01:00
wajnberg
489b56456f
Completing STT support ( #976 )
...
* Completing STT support
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
* Adressing Nick comments
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
2016-09-08 20:46:30 +01:00
Dave Conway-Jones
6868ef044b
Allow http middleware to skip rawBodyParser
2016-08-28 12:02:34 +01:00
Dave Conway-Jones
5dd0622e40
Let change node move property to sub-property.
2016-08-28 12:02:34 +01:00
Dave Conway-Jones
48bdab1dcf
Add info to exec warning about buffered output if using python
2016-08-28 12:02:34 +01:00
wajnberg
ccc08be0ee
Bidi support for Text Direction and Structured Text ( #961 )
...
* Bidi support for Text Direction and Structured Text
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
* Adding documentation for functions in bidi.js and format.js
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
* Removing unused functions from format.js
Signed-off-by: Moshe Wajnberg <wajnberg@il.ibm.com>
2016-08-25 16:47:30 +01:00
Dave Conway-Jones
42f4e0fa86
TCP node: pass on latest input msg properties
...
to close #944
2016-08-04 15:49:38 +01:00
Dave Conway-Jones
022d066fe0
Make sure MQTT broker is really set
...
To close #951
2016-08-04 10:02:27 +01:00
Nathanaël Lécaudé
1541e382e4
Fix escapce character catch in TCPGet + support 0x?? sequences
2016-08-02 12:32:49 -04:00
Nathanaël Lécaudé
6cbc1afb9b
Fix split character in TCP Request node
2016-08-02 11:09:41 -04:00
Nathanaël Lécaudé
3f86b660ed
Add CSS hilighting to the template node ( #950 )
...
This can be useful when using the template node to create frontends, see this post:
https://groups.google.com/d/msg/node-red/q4DKaX87Ano/Xa1mLpOdAwAJ
Thanks !
2016-08-01 22:32:02 +01:00
Dave Conway-Jones
4603f2d9ca
only update switch Prev value after all rules are run
2016-08-01 12:31:35 +01:00
Dave Conway-Jones
53ca3046b3
Add RPi.GPIO lib test for ArchLinux
2016-07-28 18:20:18 +01:00
Nick O'Leary
f484156d8e
Tell ace about Function node globals
...
Closes #927
2016-07-28 17:14:55 +01:00
Nick O'Leary
dd47eba88c
Add proper help text to link nodes
2016-07-28 15:58:00 +01:00
Nick O'Leary
7f63ddc9ea
Handle importing old mqtt-broker configs that lack properties
2016-07-27 23:05:48 +01:00
Nick O'Leary
d944298dd7
Tidy up mqtt nodes - linting and done handling
...
Closes #935
2016-07-26 21:33:00 +01:00
Nick O'Leary
0136ebd2b4
Fix invalid html in TCP and HTML node edit templates
2016-07-26 16:19:27 +01:00
Nick O'Leary
7c6e8eeefc
Cannot clear cookies with http nodes
2016-07-23 22:41:37 +01:00
Dave Conway-Jones
8eebb6ea2d
let HTML parse node allow msg.select set select
...
to close #943
2016-07-20 20:08:50 +01:00
Nick O'Leary
15b6f6268b
Debug node handles objects without constructor property
...
Fixes #933
2016-07-15 22:41:35 +01:00
Nick O'Leary
691b083364
Update trigger node ui to use typedInputs
2016-07-05 15:39:00 +01:00
Dave Conway-Jones
82269462a4
Fixed better handling of odd quotes in CSV node
...
(and a better commit message)
2016-07-05 11:31:25 +01:00
Dave Conway-Jones
d7943aab28
better handling of snatched quotes in css parser
2016-07-05 11:03:11 +01:00
Nick O'Leary
d91a99c833
Clarify the MQTT node sends msg.payload
...
Closes #929
2016-07-04 11:29:43 +01:00
Nick O'Leary
dc00870461
Fix select box handling in Safari
...
Fixes #928
2016-07-04 11:22:30 +01:00
Nick O'Leary
c3b1cf7c35
Form input widths behave more consistently when resizing
...
Fixes #919 #920
2016-06-26 23:48:59 +01:00
Nick O'Leary
682345da22
Inject node should reuse the message it is triggered with
...
Closes #914
2016-06-25 21:44:10 +01:00
Dave Conway-Jones
82f289c42e
(un)Fix inject payload width field
...
to close #919
2016-06-25 15:53:03 +01:00
Dave Conway-Jones
78eae99bd4
Stop trigger node re-using old message…
...
to Close #916
Thanks @jimbojw
2016-06-25 10:44:44 +01:00
Nick O'Leary
2b9bfbc309
MQTT In subscription qos not defaulting properly
2016-06-20 21:35:43 +01:00
Dave Conway-Jones
e50d04077b
Let exec node handle 0 as well as "0"
2016-06-20 19:28:59 +01:00
Nick O'Leary
343588b2a0
Support array references in Debug property field
2016-06-20 10:19:18 +01:00
Nick O'Leary
b78210e3be
Handle numberic msg.payload in HTTP Response node
2016-06-17 22:08:58 +01:00
Dave Conway-Jones
7fc056c8e3
remove extraneous udp console.log
...
and two tiny whitespace changes
2016-06-17 08:18:26 +01:00
Dave Conway-Jones
e4d5271d58
Better fix for css, reverting test
2016-06-14 23:55:50 +01:00
Dave Conway-Jones
9e96eba98f
fix csv handling of "numbers" with E in...
2016-06-14 22:36:44 +01:00
Nick O'Leary
589d43f0e5
Add RED.util to Function node sandbox
2016-06-13 22:16:36 +01:00
Nick O'Leary
13c1d1df7a
Update Debug node to use typedInput for complete/property option
2016-06-13 22:00:42 +01:00
Nick O'Leary
3ad9053d65
Fix multi-level sequences of split/join nodes
2016-06-13 17:44:20 +01:00
Dave Conway-Jones
8fe07e0f07
Limit Pi GPIO to dedicated GPIO pins
...
to avoid clashes with internal drivers (e.g. I2C, SPI, AMA0 etc)
2016-06-13 14:23:19 +01:00
Nick O'Leary
09b069c129
Add icons to parser nodes
2016-06-12 22:37:38 +01:00
Nick O'Leary
53e2f3e263
Update split/join icons
2016-06-12 12:24:52 +01:00
Nick O'Leary
7302ac5871
Add merged object to Join node
2016-06-11 21:44:00 +01:00
Dave Conway-Jones
1cfad27d6f
Delay node only warn once on queue >1000 messages
...
and then again at >10000 messages
2016-06-10 23:21:12 +01:00
Nick O'Leary
d82fe95076
Update split node docs
2016-06-10 22:51:57 +01:00
Nick O'Leary
8f8df4971c
Fix switch node assumptions around string/number handling
2016-06-10 21:03:38 +01:00
Nick O'Leary
fd66569950
Update Join node implementation
2016-06-09 11:33:40 +01:00
Nick O'Leary
241e2828e7
Add support to HTTP In node for PATCH requests
...
Closes #904
2016-06-08 11:31:59 +01:00
Nick O'Leary
5f6a0141f0
Add cookie handling to HTTP In and HTTP Response nodes
2016-06-08 11:09:18 +01:00
Nick O'Leary
ef2f71859c
Join node ui updates
2016-06-07 23:18:46 +01:00
Nick O'Leary
e594ffe0f8
Update Join node runtime to match UI changes
2016-06-07 23:18:46 +01:00
Nick O'Leary
9f8c32ce8f
Split node UI rework - WIP
2016-06-07 23:18:46 +01:00
Nick O'Leary
3959fcdc88
Handle null return from Function node in array of messages
2016-06-06 11:40:02 +01:00
Dave Conway-Jones
ea76c18f59
Add some info words to config nodes
2016-06-04 09:05:19 +01:00
Nick O'Leary
64722da4a7
Make sidebars disabled-on-edit by default
2016-05-29 22:37:25 +01:00
Nick O'Leary
ada1e624d8
Update editableList apis
2016-05-29 22:37:25 +01:00
Dave Conway-Jones
807873f685
set pi gpio pin status correctly if set on start
2016-05-26 10:37:20 +01:00
Nick O'Leary
291240dd94
Add editableList widget and update Switch/Change nodes to use it
2016-05-20 22:13:28 +01:00
Nick O'Leary
5ad46106f4
Use onadd in link nodes to ensure imported links are updated
2016-05-19 11:16:37 +01:00
Nick O'Leary
b78682f413
Change Inject repeat label icon
2016-05-18 09:35:43 +01:00
Nick O'Leary
e50659af09
Add repeat indicator to inject node label
...
Closes #887
2016-05-17 23:36:09 +01:00
Nick O'Leary
db433efbef
Link nodes show hidden wires when selected
...
☕ ️
2016-05-17 09:18:32 +01:00
Nick O'Leary
ea41a0e842
Improve edit tray size handling for small screens
2016-05-06 17:19:56 +01:00
Dave Conway-Jones
74b7500181
Add javascript highlighter to template node
...
because it’s FF
2016-05-06 17:00:58 +01:00
Nick O'Leary
41445a1b48
Merge branch 'config' into 0.14.0
...
explain why this merge is necessary,
2016-05-04 15:44:48 +01:00
Dave Conway-Jones
bd59398cab
Add optional timeout to exec node
...
(both exec and spawn modes)
and add test for it (both exec and spawn)
also extra test for trigger node.
2016-04-27 22:32:58 +01:00
Nick O'Leary
1e2521c37a
Add TLS node and update MQTT/HTTP nodes to use it
2016-04-27 12:33:02 +01:00
Dave Conway-Jones
4ad540412a
trigger node, fix send last message ...
...
(if extend not selected).
2016-04-24 21:24:15 +01:00
Dave Conway-Jones
8916cf273e
Let trigger node also send last payload to arrive
...
and add test for it.
2016-04-24 17:42:24 +01:00
Dave Conway-Jones
8fc0018cb9
Fix regression in delay node.
...
topic based queue was emptying all the time instead of spreading out
messages.
2016-04-24 11:08:58 +01:00
Dave Conway-Jones
8dacf72b3c
try to increase coverage for exec and template nodes
...
(works locally - may fail on travis - lets see…)
2016-04-23 17:09:46 +01:00
Nick O'Leary
2801838ffa
Throw an error if a Function node adds an input event listener
2016-04-21 22:25:47 +01:00
Dave Conway-Jones
59b34c2b3f
Add timestamp as a default typedInput
...
and update Inject and change nodes to match,
and add some tests.
2016-04-18 14:38:36 +01:00
Nick O'Leary
f55f85aa14
Fix debug toolbar button sizes
2016-04-18 14:08:07 +01:00
Nick O'Leary
627a80419a
Fix hang on partial deploy with disconnected mqtt node
2016-04-18 13:54:05 +01:00
Nick O'Leary
95c31f3e17
Add option to filter debug by flow and highlight subflow-emitting nodes
2016-04-15 20:20:16 -07:00
Nick O'Leary
e92241bf97
Resize change node rules when they are added
2016-04-13 18:09:41 -07:00
Nick O'Leary
44dc37ef6d
Add qos option to MQTT In node
2016-04-11 08:49:50 -07:00
Dave Conway-Jones
913b09570c
ensure tcp node creates a buffer of size 1 at least
2016-04-10 12:21:56 +01:00
Dave Conway-Jones
1c9b5dfd00
add status to exec spawn mode
2016-04-10 12:21:07 +01:00
Dave Conway-Jones
2954ae917b
Add Move capability to change node
2016-04-10 12:20:46 +01:00
Nick O'Leary
e1d09349ff
Add link nodes
2016-04-07 17:08:51 +01:00
Dave Conway-Jones
906703db5f
Add timed release mode to delay node
2016-03-20 17:46:12 +00:00
Nick O'Leary
b9f03e7d80
Deprecate old mqtt client and connection pool modules
2016-03-16 11:15:30 +00:00
Nick O'Leary
626cba4002
Change node: add bool/num types to change mode
...
Closes #835 #835 #835
2016-03-13 23:10:10 +00:00
Dave Conway-Jones
fed49e3718
pi node - don't try to send data if closing
2016-03-13 10:58:22 +00:00
Dave Conway-Jones
63ba05a193
Better right alignment of numerics in delay and trigger nodes
2016-03-04 10:12:07 +00:00
Nick O'Leary
0e2d13172a
Ensure errors in node def funcs don't break view rendering
...
Fixes #815
- also fixes errors in the Catch/Status node label funcs #815
2016-03-01 21:58:57 +00:00
Nick O'Leary
2e2556fdad
Merge pull request #805 from aryehof/InjectInfoUpdate
...
Updated Inject node info with instructions for flow and global options
2016-02-26 14:07:21 +00:00
Nick O'Leary
859a7538e1
Fix crash on repeated inject of invalid json payload
2016-02-26 10:35:15 +00:00
Dave Conway-Jones
0d1543ee8a
Add tail node binary mode test
2016-02-25 08:52:43 +00:00
Dave Conway-Jones
d3a98dd355
Add binary mode to tail node
2016-02-24 23:06:27 +00:00
Dave Conway-Jones
b3be8b30e7
remove direction flag from delay node
2016-02-22 17:45:28 +00:00
Aryeh Hoffman
8bfab8f73d
Updated Inject node info with instructions for flow and global options
2016-02-21 18:17:05 +02:00
Nick O'Leary
c6ad2c9ad2
Don't force reconnect mqtt client if message arrives
...
Fixes the annoying mqtt connect/disconnect cycle
2016-02-19 22:52:43 +00:00
Dave Conway-Jones
2ba146b9ff
Add timeout to httprequest node
...
and override 2 min default in settings.js.
to Close #801
2016-02-15 09:45:58 +00:00
Dave Conway-Jones
2361607aa3
file node info to same style as others
2016-02-14 13:45:14 +00:00
Nick O'Leary
86ffc80098
Tidy up spinner css
2016-02-14 11:52:33 +00:00
Dave Conway-Jones
7f6915eb59
tcp node add reply (to all) capability
...
if no _session present.
2016-02-12 13:17:50 +00:00
Dave Conway-Jones
d69bcad028
hardware, logic, storage nodes info updates
...
(and udp)
2016-02-12 13:17:21 +00:00
Dave Conway-Jones
4cb45e2712
parser node info updates
2016-02-12 13:16:28 +00:00
Dave Conway-Jones
b7a0ad703a
io and analysis nodes info updates
2016-02-12 13:15:53 +00:00
Dave Conway-Jones
7610b9a975
core nodes info updates
2016-02-12 13:15:05 +00:00
Dave Conway-Jones
7d95f621df
update UDP node info to be more correct.
2016-02-11 22:21:12 +00:00
Nick O'Leary
bba210e112
Allow the template node to be treated as plain text
2016-02-11 13:16:15 +00:00
Nick O'Leary
3a97e20bde
Validate MQTT In topics
...
Fixes #792
2016-02-10 22:38:59 +00:00
Nick O'Leary
3ec8ecd4de
Disable perMessageDeflate on WS servers
...
Workaround for this issue: https://github.com/websockets/ws/pull/632
as it has been fixed in the 1.x release that drops support for
node 0.10...
2016-02-10 21:43:37 +00:00
Nathanaël Lécaudé
e7c5b691a0
More ramdom --> random
2016-02-09 18:03:27 -05:00
Nathanaël Lécaudé
9f3ea8da67
Fix typo in delay node: replaced ramdom to random
2016-02-09 17:57:50 -05:00
Dave Conway-Jones
4d84d624b1
clear trigger status icon on re-deploy
2016-02-04 22:13:08 +00:00
Nick O'Leary
c7bcd3f438
Don't default inject payload to blank string
2016-02-04 21:43:18 +00:00
Dave Conway-Jones
fb09f4b22d
trigger node, add configurable reset
...
and make it do strings when it says so, and numbers if you want.
2016-02-04 21:05:15 +00:00
Dave Conway-Jones
bb06585748
another tidy up on Pi GPIO node
2016-02-03 21:10:44 +00:00
Dave Conway-Jones
72917117a9
Add debounce to Pi GPIO node
2016-01-25 09:56:35 +00:00
Nick O'Leary
4aa6b47c0e
Revert wrapping of http requestion object
...
Fixes #787
2016-01-21 22:15:25 +00:00
Dave Conway-Jones
3902a343f3
Add ports in use warning to udp node
...
to close #786
Thanks @hugobox
2016-01-17 10:34:40 +00:00
Nick O'Leary
81f082825d
Add 'previous value' option to Switch node
2016-01-15 11:35:59 +00:00
Nick O'Leary
6e75089f3a
CORS not properly configured on multiple http routes
...
Fixes #783
2016-01-13 12:54:34 +00:00
Nick O'Leary
fa4006619e
Make debug/config sidebar headers consistent
2016-01-12 23:55:18 +00:00
Nick O'Leary
de48c1be44
Wrap http request object to match http response object
2016-01-11 22:35:31 +00:00
Nick O'Leary
2e9d445d36
Add oneditresize function definition
2016-01-06 17:01:14 +00:00
Nick O'Leary
231adac6d8
Rename typedInput.options
2016-01-06 17:01:14 +00:00
Nick O'Leary
587c4e5915
Update template node to use typedInput
2016-01-06 17:01:14 +00:00
Nick O'Leary
55f1cbf18f
Ensure inject payload exists
2016-01-06 17:01:13 +00:00
Nick O'Leary
38168a545b
Update Inject node to use typedInput
2016-01-06 17:01:13 +00:00
Nick O'Leary
f1c59faf72
Rename propertySelect to typedInput and add boolean opt
2016-01-06 17:01:13 +00:00
Nick O'Leary
5f7019325c
Update switch/change help text to reflect updates
2016-01-06 17:01:13 +00:00
Nick O'Leary
fe4dae8518
Add propertySelect to switch node
2016-01-06 17:01:13 +00:00
Nick O'Leary
1f848b205b
Add propertySelect support to Change node
2016-01-06 17:01:13 +00:00
Nick O'Leary
742c470d81
Add context/flow/global support to Function node
2016-01-06 17:01:13 +00:00
Nick O'Leary
f62b7afede
Remove all uses of fs.exists as it is deprecated
...
The tests still use it in places - particular localfilesystem tests,
but those tests need to be redone with sinon stubbing in place and
not rely on real fs operations.
2016-01-06 17:01:11 +00:00
Nick O'Leary
8fb955e182
Move comms from runtime to api component
2016-01-06 17:01:11 +00:00
Dave Conway-Jones
b9b5eaccae
better handle utf8 file output chars
2016-01-06 12:27:47 +00:00
Dave Conway-Jones
9fb958b302
close tcp node connection properly when required.
2015-12-23 20:01:05 +00:00
Dave Conway-Jones
8e25e76439
Add hint re servos to Pi GPIO node info
2015-12-23 11:50:47 +00:00
Nick O'Leary
62694da7e6
Ensure last mqtt node turns off the lights before closing
...
The mqtt-broker node disconnects when the last node using it
is closed. But that node-close was not waiting for the disconnect
to complete. This led to a race-condition where the using node
was recreated and started trying to use the broker node whilst it
was still disconnecting.
2015-12-22 23:31:22 +00:00
Dave Conway-Jones
86064651af
Add Pi Keyboard code node
2015-12-21 10:27:58 +00:00
Dave Conway-Jones
08b39f50b3
Add attribute capability to HTML parser node
2015-12-19 12:44:11 +00:00
Dave Conway-Jones
5b04b86867
remove extraneous s from GPIO node...
2015-12-12 15:18:17 +00:00
Dave Conway-Jones
a074bcfd56
Pi no longer needs root workaround to access gpio
...
(stops PAM logging in Node-RED log under systemd)
2015-12-12 15:13:15 +00:00
Dave Conway-Jones
0f7119f468
TCPget don't send nun msg on disconnect
...
(as we now send status anyway)
2015-12-11 14:17:50 +00:00
Dave Conway-Jones
2685a24705
Let TCPget node pass through other msg properties
2015-12-11 14:07:20 +00:00
Nick O'Leary
d3de7037e5
Move HTTPRequest node to its own file
2015-12-10 12:58:50 +00:00
Dave Conway-Jones
d4ce193dc8
Fix trigger to block properly until reset
...
Fix to Close #764
2015-12-09 16:42:16 +00:00
Dave Conway-Jones
ef2dc4b9e1
One more tidy up for tcp node
2015-12-07 22:39:42 +00:00
Dave Conway-Jones
9baca1772b
Close tcp port for tcpin node (same as previous fix but for input)
2015-12-07 22:39:42 +00:00
Dave Conway-Jones
1280e5bc8b
Close tcp out node more forcibly. (and update status) on redeploy.
2015-12-07 17:41:51 +00:00
Dave Conway-Jones
dda90f956d
Clear delay node status on re-deploy. (rate limit path)
2015-12-02 15:37:36 +00:00
Dave Conway-Jones
bc4b599513
Fix udp socket creation error on node v0.10
2015-12-01 14:52:15 +00:00
Dave Conway-Jones
090d52d678
narrowing in on tcpget fix, reconnect but don't resend.
...
to address issue #759
2015-12-01 13:41:39 +00:00
Dave Conway-Jones
a47ad4842a
Clean up tcpget node connected status.
...
to address #759
2015-11-30 22:05:26 +00:00
Nick O'Leary
11d75ff581
Inject time spinner incrementing value incorrectly
2015-11-26 09:56:49 +00:00
Nick O'Leary
306fb7a3d1
Kill processes run with exec node when flows redeployed
2015-11-24 23:09:44 +00:00
Nick O'Leary
0839b6f58e
Debug node not handling null messages
2015-11-24 23:09:32 +00:00
Nick O'Leary
fceca703b3
Update tcp node status on reconnect after timeout
...
Closes #757
2015-11-24 22:40:39 +00:00
Nick O'Leary
4dc60d2477
Clarify debug rate limit method
2015-11-21 21:30:03 +00:00
Nick O'Leary
d840d0b67d
Fix mqtt node lifecycle with partial deployments
2015-11-17 22:19:56 +00:00
Dave Conway-Jones
43dad4c465
ensure udp socket bind works more often
2015-11-16 08:38:22 +00:00
Dave Conway-Jones
60812b2d8a
fix udp node messages
...
(timing issue still outstanding)
2015-11-16 00:25:26 +00:00
Nick O'Leary
35e2caff13
Handle errors thrown in Function node setTimeout/Interval
2015-11-15 22:22:17 +00:00
Nick O'Leary
4d99536ea7
Function setTimeout/Interval wrapper not returing timer id
...
Fixes #753
2015-11-14 21:21:14 +00:00
Dave Conway-Jones
3b769fd2de
add bash directive to nrgpio script
2015-11-04 08:42:00 +00:00
Nick O'Leary
9c3be40fbe
Automatically clear timeouts/intervals set in Function node
...
closes #744
2015-11-03 10:47:29 +00:00
Dave Conway-Jones
425b016d63
Add missing space to label in delay node
2015-10-26 09:42:16 +00:00
Nick O'Leary
f66886dbdb
Websocket input node not unsubscribing properly
...
Fixes #739
2015-10-23 23:01:25 +01:00
Dave Conway-Jones
86aa7c97be
Make exec node status indication consistent with others
2015-10-22 19:02:22 +01:00
Dave Conway-Jones
30e3525987
Add status icon to trigger node while it is active
2015-10-22 16:27:07 +01:00
Dave Conway-Jones
2569a35b6c
fix closing web socket timeout
...
to close #738 - thanks to @GSeva for spotting it.
2015-10-20 18:58:37 +01:00
Dave Conway-Jones
1ee5e50d50
Turn on tcp node socket keepalive when in server mode
2015-10-20 10:13:48 +01:00
Dave Conway-Jones
1dbec5eca8
slight tidy of Pi Mouse node
2015-10-20 10:02:57 +01:00
Dave Conway-Jones
20121b79c5
Let CSV node handle null columns in input array. array-> csv
2015-10-16 20:42:25 +01:00
Dave Conway-Jones
0343de9f34
Add status capability to function node
2015-10-15 13:33:05 +01:00
Dave Conway-Jones
6ae1a5ba0d
let CSV obj->css allow blank columns in template
2015-10-15 08:31:42 +01:00
Dave Conway-Jones
217c9718e4
catch missing template error in CSV parser node
...
and update help info
2015-10-14 23:38:29 +01:00
Dave Conway-Jones
61d7893467
Enhance CSV node to accept simple arrays -> css
2015-10-14 23:07:25 +01:00
Dave Conway-Jones
8f26c01f4b
fix escaping of quotes in CSV node
2015-10-14 11:02:31 +01:00
Dave Conway-Jones
61045ddd7f
try to fix debug node non-standard object type handling.
2015-10-10 22:41:07 +01:00
Dave Conway-Jones
1bf72a0bc3
correct TCP node server status message
2015-10-09 15:44:22 +01:00
Dave Conway-Jones
6d84b1bb8d
update inspect to come from correct package (util)
...
(works from v0.10 onwards - but now deprecated in v4)
2015-10-09 13:36:35 +01:00
Dave Conway-Jones
8abd0b1fdf
Detect/set correct method for http proxy
...
to close #732 — thanks @utaani
2015-10-09 09:19:09 +01:00
Dave Conway-Jones
81e125b7ba
add bit more help to exec node
...
Point out that parameters with spaces should be quoted
2015-10-05 21:41:53 +01:00
Dave Conway-Jones
d5e1468718
Normalise spawn behaviour in exec node to accept identical parameters
...
Can now just tick or untick spawn and command still works.
2015-10-05 21:17:35 +01:00
Nick O'Leary
c232bf5ed6
Avoid unnecessary isUtf8 check on HTTP payloads
2015-10-05 21:10:32 +01:00
Nick O'Leary
21b25ffaee
Merge pull request #730 from jthomas/master
...
Allow HTTP nodes to handle non-UTF8 content.
2015-10-05 20:52:35 +01:00
James Thomas
699a22c757
Allow HTTP nodes to handle non-UTF8 content.
...
Setting UTF-8 as the default body encoding stops us sending binary
content, e.g. audio, which can be decoded into a Buffer.
Use "Content-Type" header to decide whether to decode as UTF-8 or a
Buffer.
2015-10-05 11:53:29 +01:00
Nick O'Leary
8b2b1669b5
Add ignore-case flag to Switch regex rule
...
closes #366
2015-10-04 22:14:49 +01:00
Dave Conway-Jones
c1e8370916
Lets spawn msg.payload contain comma separated parameters
...
(like rest of parameters passed in to spawn via edit dialogue)
Will also accept an array…
2015-10-04 19:22:33 +01:00
Nick O'Leary
ddedea8b90
Resize change/switch rules with the dialog
2015-10-03 22:30:28 +01:00
Nick O'Leary
ecde942255
Wrap msg.req/res objects and add deprecated warnings to functions
2015-10-02 21:27:31 +01:00
Nick O'Leary
d668d43a0a
Move to express 4.x
2015-10-02 21:27:31 +01:00
Nick O'Leary
8d73f927db
Debug output should use overridden toString method if set
...
Closes #690
2015-10-02 21:27:31 +01:00
Nick O'Leary
66ec9bae27
Add warning if HTTP In node is missing path config
2015-10-02 21:27:30 +01:00
Nick O'Leary
c1d694a97c
Add birth message to MQTT node
2015-10-02 21:27:30 +01:00
Nick O'Leary
c33d02c53f
Ensure MQTT node cleansession/keepalive defaults are used
2015-10-02 21:27:29 +01:00
Nick O'Leary
fa5e37993e
Update mqtt node options to include will/cleansession/keepalive
2015-10-02 21:27:29 +01:00
Richard Ruston
437b2d506b
Update MQTT node to use MQTT.js 1.2 and enable secure connections
2015-10-02 21:27:29 +01:00
Nick O'Leary
0b98a6acf8
Ensure catch/status nodes marked changed when edited
2015-10-02 21:27:29 +01:00
Nick O'Leary
1d73c86cb2
Add scope to status node
2015-10-02 21:27:29 +01:00
Nick O'Leary
d1ea689999
Update catch node help text
2015-10-02 21:27:29 +01:00
Nick O'Leary
a6644ad5ff
Add status node
2015-10-02 21:27:29 +01:00
Nick O'Leary
3a6192bf73
Catch node can target specific nodes
2015-10-02 21:27:28 +01:00
Dave Conway-Jones
83a3642c0e
Allow JSON node to handle array type
2015-10-02 17:30:23 +01:00
Dave Conway-Jones
fa42fbdab8
Let XML node options be set
...
let msg.options to set a lot more options if required
2015-09-26 13:47:14 +01:00
Nick O'Leary
caa83ac830
Merge pull request #724 from vielmetti/travis-node-4
...
Support for Node 4.0.0 and Travis CI testing for same
2015-09-25 23:02:49 +01:00
Edward Vielmetti
005a98d020
Update for node 4 testing.
...
Changes to .travis.yml
Patch from @dceejay to make a test portable
Patch from @dceejay to correct a case where an int was expected
2015-09-23 15:27:45 -04:00
Dave Conway-Jones
9560dc9408
remove delay spinner upper limit
...
e.g. 65 secs is perfectly valid…
close #728
2015-09-22 15:06:58 +01:00
Nick O'Leary
f9e0420647
Fix http node method-override nls message id
2015-08-31 16:06:00 +01:00
Dave Conway-Jones
2fe568d9ba
Fix TCP node sending data
...
(it’s for the children)
2015-08-17 17:15:44 +01:00
Dave Conway-Jones
2d4979df4d
only set tcp timeout if needs setting.
2015-08-15 22:16:48 +01:00
Dave Conway-Jones
999b888c54
debug nodes - show length of strings, buffers or size of arrays
2015-08-11 19:39:37 +01:00
Dave Conway-Jones
10ad7fbf6e
remove spaces before ? in messages
2015-07-14 23:47:58 +01:00
Nick O'Leary
d3c41b38f7
More restylin
2015-07-14 15:59:56 +01:00
Nick O'Leary
27aa5ae7db
More UI refresh
2015-07-13 23:21:03 +01:00
Nick O'Leary
5d8dae05c4
More ui redesign
2015-07-13 11:26:29 +01:00
Dave Conway-Jones
60539d890b
Fix File node check of msg.payload to close #700
...
Also add feature to allow creation of directory(ies) if path to file
does not exist.
2015-07-10 14:59:23 +01:00
Nick O'Leary
fde9d40098
Copy/clone config nodes properly on import/export
2015-07-08 22:12:52 +01:00
Dave Conway-Jones
d0af4aac4d
cleanup status on delay node
2015-07-08 15:06:46 +01:00
Dave Conway-Jones
7de3704210
lets exec node pass more than just string as the command payload.
2015-07-08 15:06:08 +01:00
Nick O'Leary
1c33b837b8
Fix delay node labels
2015-07-08 08:04:47 +01:00
Nick O'Leary
bac4beae03
Fix Function error parsing for node 0.12 format
2015-07-05 22:40:24 +01:00
Nick O'Leary
6359b90352
Add sidebar menu and migrate existing panels to new api
2015-07-03 10:07:40 +01:00
Nick O'Leary
35cd7cf2b8
Fix tcp status message
2015-07-02 10:56:27 +01:00
Nick O'Leary
726069bc4b
NLS status text in editor not runtime
2015-07-02 10:49:40 +01:00
Nick O'Leary
c9f3c6f4a3
Update trigger node ui
2015-07-02 10:49:40 +01:00
Nick O'Leary
9ca102cf81
Ensure error messages are toStringed
2015-07-02 10:49:39 +01:00
Nick O'Leary
539afb1e1d
Fix Inject node interval label
2015-07-02 10:49:39 +01:00
Nick O'Leary
bdcba44ca5
Remove moved node messages
2015-07-02 10:49:39 +01:00
Allen Boone
409fa49234
Added missing NLS strings to sidebar and index.mst
2015-07-02 10:49:39 +01:00
Nick O'Leary
203bc41b06
Some more node i18n tidy up
2015-07-02 10:49:38 +01:00
Nick O'Leary
5ea68dafc4
More node i18n tidy ups
2015-07-02 10:49:38 +01:00
Nick O'Leary
5522e57f65
More node i18n tidy-up
2015-07-02 10:49:38 +01:00
Nick O'Leary
94e27dbfc5
Tidy up node i18n
2015-07-02 10:49:38 +01:00
Nick O'Leary
9058bf615c
Fix invalid json in message catalog
2015-07-02 10:49:38 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
Nick O'Leary
aa18c65fa8
NLS enable the Inject node
2015-06-29 16:03:59 +01:00
Nick O'Leary
a7900940da
Expose i18n in editor
2015-06-29 16:03:59 +01:00
Nick O'Leary
6d4c64fcd5
i18n enable runtime node files
2015-06-29 16:03:59 +01:00
Nick O'Leary
df0110913a
Remove rogue console.logs
2015-06-25 15:33:39 -07:00
Nick O'Leary
06731374a4
Fix trigger extend behaviour
2015-06-25 13:59:26 -07:00
Dave Conway-Jones
6c8b7c0082
Correct RPi pins labels... and add BCM pins also.
2015-06-24 12:39:27 +01:00
Dave Conway-Jones
529a691e1d
Add clearTimeout to function node sandbox
...
(to be a pair with setTimeout…)
2015-06-22 09:07:31 +01:00
dceejay
8a6d11b191
tiny lint thing in debug node... missing ;
2015-06-15 20:38:09 +01:00
dceejay
d8eb926e2c
Move out several core node to node-red-nodes ready for 0.10.8
...
Update package.json to match.
Part of #668
2015-06-15 20:37:36 +01:00
dceejay
369eae3d92
remove http response function call example from info. (being deprecated)
2015-06-03 22:53:27 +01:00
Nick O'Leary
4248d20f39
Add RED.util.generateId and ensure HTTP node adds proper id
2015-06-02 15:54:37 +01:00
Nick O'Leary
5cda08e7b0
Update trigger node UI
2015-05-31 20:58:28 +01:00
dceejay
7e9d96ee87
Let email node set a default filename for binary attachment
...
so it will send "something" if only a buffer arrives.
2015-05-31 20:27:27 +01:00
Nick O'Leary
0658b70631
Inject node not parsing 0-23 hour range correctly
2015-05-29 22:28:42 +01:00
dceejay
4f174308b9
Fix tcp node miscounting bytes, and check if staying connected first.
2015-05-26 20:08:58 +01:00
dceejay
98c9e40349
Add small note re escaping test to inject node.
2015-05-26 20:04:12 +01:00
dceejay
3a4756bd83
let urllib parse proxy url more cleanly in http-request node.
2015-05-23 18:55:11 +01:00
dceejay
6ccb05cb2c
http-request node - relax proxy regex check to let userid:password through
2015-05-21 17:45:11 +01:00
dceejay
3c2d32b867
Correct incorrect pwm "tip" info for RPI GPIO node
...
Closes #648
Thanks @edent
2015-05-21 17:03:59 +01:00
dceejay
956050434f
Add no_proxy to http-request node.
...
also make it support HTTP_PROXY and NO_PROXY (ie uppercase)
2015-05-19 11:07:54 +01:00
dceejay
38ab1550d2
change http request to use http_proxy environment rather than do it ourselves
2015-05-19 10:00:06 +01:00
dceejay
e852d1e57c
remove unrequired require from Arduino node
2015-05-19 10:00:06 +01:00
dceejay
911288e695
Arduino node - improved logging and port error handling.
2015-05-13 22:26:01 +01:00
dceejay
72e1f20383
Arduino - ensure port list populated on start,
...
also allow connect to first found board - by not specifying a port.
2015-05-13 21:59:15 +01:00
Nick O'Leary
d28a6eaf9d
Add httpNodeMiddleware option
...
Closes #631
Enables custom middleware to be inserted in front of all HTTP In
nodes.
2015-05-13 21:25:37 +01:00
dceejay
17f3366556
Adds proxy support to http node - via settings.js
2015-05-13 13:54:47 +01:00
dceejay
f11b906fd9
Websocket - fix broken test (or rather - fix code to pass test)
2015-05-10 10:00:44 +01:00
dceejay
518358d9dc
Websocket - add reconnect capability when running as a client.
...
to close #643
Also adds node.status to nodes.
2015-05-10 00:12:52 +01:00
dceejay
5ffde21d83
revert change to editor change detector, and redo function node valid
...
code "flag" to report as non-boolean.
2015-05-08 15:31:48 +01:00
dceejay
052302b3e7
actually set valid to be false in function so .toString will work...
2015-05-07 22:02:46 +01:00
Nick O'Leary
ce5c9da107
Ensure ace edit history is reset after initialisation
2015-05-07 21:12:46 +01:00
dceejay
cf25b2866e
Allow http to accept delete properly, and put, options etc.
2015-05-07 16:45:44 +01:00
Nick O'Leary
913fdac671
Add support for exclusive config nodes
2015-05-06 11:08:01 +01:00
Nick O'Leary
7dc838dea6
Fix click on debug message to reveal source node
2015-05-05 22:00:47 +01:00
dceejay
7b4cbbe816
Add try catch to exec node stdout if utf8 check fails
2015-05-05 12:50:46 +01:00
Nick O'Leary
b3684a70b5
Handle Buffer payloads in HTTP Response node
2015-05-02 22:20:46 +01:00
Nick O'Leary
a443491c0c
Merge pull request #630 from lostinthestory/swagger-gen
...
Added support for swagger doc to HTTP-In
2015-05-01 09:32:57 +01:00
Nick O'Leary
faa7d948a7
Update MQTT Out node status if already connected
2015-04-27 20:08:00 +01:00
Nick O'Leary
771342989e
HTTP Request - handle null url
...
Fixes #632
2015-04-26 08:50:42 +01:00
Cody Walker
e9ce519e4b
Added support for swagger doc to HTTP-In
2015-04-24 13:53:38 -05:00
Nick O'Leary
c016b102eb
Add async error handler to UDP out node
...
Fixes #629
2015-04-24 11:17:18 +01:00
Nick O'Leary
c71e76335b
Serial Out not appending character
...
Fixes #622
2015-04-21 09:43:00 +01:00
dceejay
e206d2919e
More defensive on closing tcp connections,
...
and tidy up some lint
2015-04-19 12:13:45 +01:00
Nick O'Leary
78ab4217be
Arduino pin values should be strings not numbers
2015-04-15 09:34:03 +01:00
Nick O'Leary
d090df94c5
Arduino output - ensure string/number payloads handled
...
A change to tighten the type checking meant passing a string
'0' or '1' no longer matched the tests for numeric 0 or 1.
2015-04-14 23:14:13 +01:00
drwoods
98e3ff014e
ignore Eclipse files and resolve some Eclipse JSHint warnings
...
squashed 4 commits into 1
2015-04-14 14:17:08 -04:00
dceejay
6f84526364
Remove pre-req for mkdirp package.
...
(fs-extra has all the features needed already)
2015-04-14 18:41:48 +01:00
dceejay
105d38c885
MQTT node - don't report missing topic if payload is missing...
2015-04-14 18:39:42 +01:00
dceejay
d7bdcd69fc
fix exec missing addpayload,
...
improve switch null test (to include null object)
check mqtt has payload before sending
2015-04-14 17:15:56 +01:00
dceejay
73d1f3d0e8
Expose rest of email node header fields.
2015-04-12 00:46:03 +01:00
dceejay
269846c587
Catch bad folder error in email node
2015-04-11 19:24:32 +01:00
dceejay
8dc98420db
handle pure plain text messages in email node.
2015-04-11 16:48:50 +01:00
dceejay
1014abe92f
Fix email node repeat send, add to, cc, bcc fields, and ability to select inbox.
2015-04-11 16:09:13 +01:00
Nick O'Leary
f48ee01a03
Ensure MQTT nodes unsubscribe before disconnect
...
Fixes #609
Needed for partial deployment - the nodes assumed the
connection would always be closed when a deploy occurs.
2015-04-09 20:10:34 +01:00
dceejay
698b2688f6
Add port, ssl and allow self signed certs to IRC node
2015-04-09 09:55:34 +01:00
dceejay
be1620dd07
Fix watch node to stat file sizes ok
...
(and also not to when file missing)
2015-04-08 21:43:44 +01:00
dceejay
5be3472413
For some reason http request node icon was aligned right,
...
inconsistent with most other "function" nodes...
2015-04-05 17:57:06 +01:00
dceejay
31b018c80e
Missed closing brace in email node fix
2015-03-31 16:39:00 +01:00
dceejay
255d708fb6
updates to serial, watch, websocket, udp, twitter, email to handle no payload.
2015-03-31 09:21:11 +01:00
dceejay
78d1da5fbc
Updates to sentiment, exec and range to handle missing payload properties
2015-03-31 08:35:56 +01:00
dceejay
9c22a770ef
remove superfluous console.log from debug node
2015-03-30 21:59:54 +01:00
Nick O'Leary
62c68d06fe
Merge pull request #598 from dceejay/dcjtests
...
new tests for sentiment, file and csv nodes
2015-03-26 16:57:04 +00:00
dceejay
16e17954b4
add try catch to helper shutdown,
...
tiny fixes for exec and trigger based on tests
2015-03-26 15:02:08 +00:00
dceejay
8a96dbd121
New tests for Trigger, catch and unknown nodes
2015-03-25 21:58:26 +00:00
dceejay
8a5c1bade5
new tests for sentiment, file and csv
...
(inc a bugfix for csv :-)
tweka of 0.8 ?
temp remove buffer should equall test from file node test
comment out failing test in file node (0.8 specific fail...)
stagger multiple writes slightly in file test
2015-03-25 14:58:57 +00:00