Nick O'Leary
6562c558de
Add help info for split node
2017-06-27 11:24:20 +01:00
Dave Conway-Jones
2482d122b8
Let join node auto re-assemble buffers
...
and add test
2017-06-26 23:10:08 +01:00
Nick O'Leary
df9e50445e
Merge branch 'master' into 0.17
2017-06-26 10:18:42 +01:00
Kazuhito Yokoi
61339face6
Add and improve Japanese translation file(editor.json, infotips.json and messages.json) ( #1284 )
...
* Update Japanese translation(editor.json)
* Add Japanese translation file(infotips.json)
* Add Japanese translation file(messages.json)
2017-06-26 10:08:05 +01:00
Dave Conway-Jones
a824caf712
update core nodes to use newer Buffer syntax
2017-06-24 13:53:45 +01:00
Dave Conway-Jones
395210e4f0
destroy editor to ensure fully removed on close (function, template, comment)
...
to close #1279
2017-06-24 12:15:03 +01:00
Dave Conway-Jones
e23354b2bb
tidy up split node to remove todo comments
2017-06-24 12:09:52 +01:00
Dave Conway-Jones
c9e05cf9f6
split node - in object mode allow msg.complete on its own
2017-06-23 21:48:13 +01:00
Dave Conway-Jones
82d9a02d92
Move udp sock error listener to only be instantiated once.
2017-06-23 16:20:28 +01:00
Dave Conway-Jones
dc9fa81346
let split of objects use key to set another property (e.g. topic)
...
and add tests
and update messages
2017-06-22 18:42:54 +01:00
Dave Conway-Jones
b91c178200
add "split/stream" ability to file in node
...
and add teste
2017-06-22 18:41:49 +01:00
Simon Asp
adebdf36a5
Bug fix in exec node. White spaces in arguments now works ( #1285 )
2017-06-18 11:55:39 +01:00
Dave Conway-Jones
4f34980c9f
adding streaming modes into split node
...
and add tests
2017-06-16 22:26:14 +01:00
Dave Conway-Jones
e70766a535
fix split to pass tests...
2017-06-16 09:21:53 +01:00
Dave Conway-Jones
55110dfbac
let split node reassemble based on a final packet. (as well as the first)
2017-06-16 09:16:23 +01:00
Dave Conway-Jones
56405ac903
let join also accumulate strings (and not fail)
2017-06-15 00:11:35 +01:00
Dave Conway-Jones
f12031ee9e
redo delay node status messages to be interval based
2017-06-14 22:25:44 +01:00
Nick O'Leary
c26852da77
Add buffer support to split node
2017-06-13 21:01:27 +01:00
Nick O'Leary
d9dc171c28
Add buffer mode to typedInput
2017-06-13 21:01:27 +01:00
Dave Conway-Jones
d407f31ae5
stop delay node spamming web socket (when in fast rate limit mode)
2017-06-09 19:42:12 +01:00
Dave Conway-Jones
7c42b04eff
updated split/join node (split still needs work before release)
2017-06-05 17:04:17 +01:00
Nick O'Leary
7502a2b1ff
Update trigger help
2017-06-05 14:01:24 +01:00
Nick O'Leary
6c2de40dba
Add cookie handling to HTTP Request node
2017-06-05 11:33:37 +01:00
Dave Conway-Jones
ef90f19eaa
Make exec node explicitly call SIGTERM for default
2017-06-05 09:47:42 +01:00
Nick O'Leary
b44e70115b
Delay/Range node help tidy up
2017-05-26 14:27:53 +01:00
Nick O'Leary
ac31957707
Update delay node ui
2017-05-26 13:51:58 +01:00
Nick O'Leary
479b18354d
More core node info help tidy up
2017-05-24 16:55:53 +01:00
Nick O'Leary
0a6ff900da
Add guard against the http-request buffer fix being reverted
2017-05-24 11:18:52 +01:00
bartbutenaers
f54f863611
Revert "Multipart streaming"
...
This reverts commit bd671e75e6
.
2017-05-24 11:08:08 +01:00
bartbutenaers
9cc04da7b2
Multipart streaming
2017-05-24 11:07:09 +01:00
bartbutenaers
d7f5b0c9d7
Always request buffer
2017-05-24 11:05:57 +01:00
bartbutenaers
9bd4598c6a
Buffer fix
2017-05-24 11:04:33 +01:00
bartbutenaers
e3b052bc38
initial commit
2017-05-24 11:04:33 +01:00
Nick O'Leary
dfe1cd4f90
Tidy up more core node help text
2017-05-23 17:26:23 +01:00
Nick O'Leary
749b0d7019
Tidy up parser node edit dialogs and help text
2017-05-23 14:18:09 +01:00
Dave Conway-Jones
7978f85f7a
Add Pretty print option to JSON node and
...
make XML and CSV nodes more consistent look and feel
2017-05-23 09:35:37 +01:00
Nick O'Leary
bd14acb68a
Change debug message menu icon
2017-05-22 22:21:52 +01:00
Nick O'Leary
2a3e355437
Add per-node filter option to Debug pane
2017-05-22 11:35:55 +01:00
Dave Conway-Jones
f6b0459d27
change pin selection table for pi gpis nodes
2017-05-20 02:36:03 +01:00
Dave Conway-Jones
790d6912fd
re-add return to http request (removed in error)
2017-05-20 02:35:41 +01:00
Dave Conway-Jones
1148a0b637
tcp request - remove confusing timeout wording from info
2017-05-15 22:05:33 +01:00
Dave Conway-Jones
524021f0fa
http request node add transport validity check and warn.
2017-05-15 22:04:47 +01:00
Nick O'Leary
9d4139085b
Handle HTTP In url that is missing its leading /
...
Fixes #1218
2017-05-15 14:10:06 +01:00
Nick O'Leary
8a7bb1be9f
Log error when non-msg-object is returned from a Function
2017-05-15 13:54:05 +01:00
Nick O'Leary
a5ade39d7c
Fix selection of link nodes
2017-05-13 22:39:06 +01:00
Nick O'Leary
080469cdf5
Ensure debug node marked changed when button pressed
2017-05-12 22:35:29 +01:00
Nick O'Leary
835ad29417
Fix pop-out debug window for all the recent updates
2017-05-12 22:22:47 +01:00
Nick O'Leary
c09bea4710
Add debug message menu
2017-05-12 22:12:55 +01:00
Nick O'Leary
5feb07583b
Don't include msg. in debug message copied paths
2017-05-12 10:19:50 +01:00
Dave Conway-Jones
b43d566968
Final TCP node nits - let 0 do it's thing as per every other timeout
2017-05-11 19:11:51 +01:00
Dave Conway-Jones
6b4e15dd0f
fix tcp port not waiting as per info/previous behaviour
...
add separate return immediate mode rather than conflate ideas
2017-05-11 17:24:20 +01:00
Dave Conway-Jones
49389d6f06
Add new msg.delay option to delay node
...
and msg.reset to clear/fluch existing delays
2017-05-11 16:13:40 +01:00
Nick O'Leary
7730d0a4f8
Merge branch 'master' into 0.17
2017-05-11 15:10:12 +01:00
Nick O'Leary
e79da408a8
Allow debug msg elements to be pinned
2017-05-11 15:08:10 +01:00
Nick O'Leary
61e0e50e7b
Remove unused modified flag on debug messages
2017-05-10 16:11:26 +01:00
Nick O'Leary
00460d856b
Add copy path/value buttons to debug messages
2017-05-10 15:49:56 +01:00
Nathanaël Lécaudé
48958f392f
TCP In: Fix error in timout callback ( #1249 )
...
Thanks @natcl
2017-05-09 22:09:21 +01:00
Dave Conway-Jones
a84efeb5d5
stop using sudo for Pi gpio access
...
(as PI user doesn’t need it) - other users must be in gpio group
2017-05-08 09:04:26 +01:00
Dave Conway-Jones
6e8c978d12
Add sentence about clearing retained topic on mqtt
...
and use of administrator for ump on windows…
2017-05-05 12:31:18 +01:00
Nick O'Leary
dbf0486acb
Add JSONata expr tester and improved feedback
2017-05-05 11:23:24 +01:00
Nick O'Leary
2249b9449c
NLS Expression/JSON editor and fix their height calculation
2017-05-03 17:17:36 +01:00
Nick O'Leary
30920b1b78
Add $context/$flow/$global functions to jsonata
2017-05-03 15:48:30 +01:00
Dave Conway-Jones
a3c73a04c2
yet more core node info updates
...
sentiment, gpio, change and range
2017-04-26 21:52:33 +01:00
Dave Conway-Jones
7f90d31846
more core node info updates to newer style
2017-04-25 21:47:58 +01:00
Dave Conway-Jones
45fbd22e28
Update some core nodes info
2017-04-24 20:37:06 +01:00
Nick O'Leary
4689d56955
Allow a node to decide for itself if its button should be enabled or not
...
This means:
1. an Inject node that has only been moved can still inject
2. the Debug node is now marked as changed when its button is clicked
which, without this fix, then prevented the button from being
clicked to toggle its state again
2017-04-23 23:20:50 +01:00
Nick O'Leary
b6510d66e0
Update debug node to register the settings it uses
2017-04-22 09:03:52 +01:00
Nick O'Leary
bb2649d063
Ensure ace editor instances are freed if edit cancelled
2017-04-21 09:05:03 +01:00
Dave Conway-Jones
b756a8edef
Make tcp send msg more consistent
...
to close #1236
2017-04-20 12:22:36 +01:00
Nathanaël Lécaudé
e574f4516f
Update 31-tcpin.js ( #1235 )
...
TCP-IN: Add check to see if object exists, fixes issue #1222
2017-04-18 16:03:16 +01:00
Dave Conway-Jones
08b8a8e3af
update messages for updated exec node
2017-04-16 20:24:38 +01:00
Dave Conway-Jones
a281b8c74e
Make exec node spawn and exec outputs more consistent
...
(with an option to revert if necessary)
and new info docs
2017-04-13 11:36:54 +01:00
Simon Hailes
8dcc114873
MQTT node - if Server/URL config contains '//' use it as a complete url; enabled ws:// and wss://
2017-04-12 18:31:49 +01:00
Nick O'Leary
bfb548636e
Merge branch 'master' into 0.17
2017-04-11 14:53:44 +01:00
Nick O'Leary
301ac279ff
Handle IncomingMessage/ServerResponse object types in debug
...
Fixes #1202
2017-04-10 21:59:59 +01:00
Nick O'Leary
62876ca377
Toggling debug node enabled/disabled state should set state dirty
...
Fixes #1203
2017-04-10 16:11:01 +01:00
Nick O'Leary
67337e013a
Merge branch 'master' into 0.17
2017-04-10 15:45:21 +01:00
Nick O'Leary
624befd704
Restructure info tab
2017-04-06 23:17:30 +01:00
Nick O'Leary
262db23f7d
First pass of new node-info style
2017-04-05 16:19:23 +01:00
Dave Conway-Jones
28ea22f0e1
MQTT new style info
2017-03-29 21:45:28 +01:00
Dave Conway-Jones
3f349c3531
remove requirement for cmd in exec node config + new style info
2017-03-29 21:44:58 +01:00
Dave Conway-Jones
9928e8562a
let inject "between time" also fire at start - Plus new info
2017-03-24 14:01:26 +00:00
Dave Conway-Jones
b1e3fc5761
remove repeat symbol from inject if repeat is 0
2017-03-23 22:04:53 +00:00
Nam Giang
b2390f1caf
adding frequency configuration to pwm output ( #1206 )
2017-03-23 21:02:22 +00:00
Ben Hardill
8cc9aeba4a
Fix docs
2017-03-23 20:06:11 +00:00
Ben Hardill
ba0823c38c
Add support for rejectUnauthorized msg property
...
This update lets you pass msg.rejectUnauthorized=false
to allow you to connect to https sites that don't have
certs signed by recognised CAs
2017-03-23 19:48:48 +00:00
Dave Conway-Jones
0c1c710afe
make sure MQTT client closes if redeploy during reconnect
...
to close #1193
Thanks @tedhuang for the excellent problem determination
2017-03-12 22:04:38 +00:00
Nick O'Leary
5945be95cf
Treat missing msg properties as undefined rather than throw error
...
Fixes #1167
2017-03-12 22:04:37 +00:00
Dave Conway-Jones
834e894b1d
make sure MQTT client closes if redeploy during reconnect
...
to close #1193
Thanks @tedhuang for the excellent problem determination
2017-03-10 20:12:52 +00:00
Nick O'Leary
5356373681
Finalise nodeSettings and update tlsConfigDisableLocalFiles
...
- increase test coverage around registerType
2017-03-09 21:06:49 +00:00
Nick O'Leary
f45a2643f2
Change default value of tlsConfigDisableLocalFiles to false
2017-03-09 20:01:44 +00:00
Nick O'Leary
e55933706d
Merge branch 'nodeSettings' into 0.17
2017-03-09 20:00:54 +00:00
Kazuki-Nakanishi
3b3d696e45
Add the node setting tlsConfigDisableLocalFiles for tls node. ( #1190 )
...
* Add the node setting tlsConfigDisableLocalFiles for tls node.
* Fix the bug that shows node setting when specified in settings.js and exportable is false.
2017-03-09 19:58:34 +00:00
Kazuki-Nakanishi
34089aec70
Allow a node to declare what settings should be made available to the editor. ( #1185 )
...
* Implement register/exportNodeSettings.
* Change normaliseRegisterTypeName to normaliseNodeTypeName. Force it to name in a camel case.
2017-03-08 14:38:33 +00:00
Dave Conway-Jones
27b7fb54e8
nail trigger test for windows AND linux
2017-03-06 19:06:10 +00:00
Dave Conway-Jones
d351aa842c
add port label to file node and update info
2017-03-06 19:05:52 +00:00
Dave Conway-Jones
59da705b8f
really close tcp node connection right away (if told to)
...
rather than wait then close
2017-03-06 19:05:16 +00:00
Dave Conway-Jones
c6436f47eb
let exec node take msg.kill SIG... param and pid param
...
and redo test
2017-03-06 15:27:29 +00:00
Dave Conway-Jones
4a8a5ed8d4
Add port labels to inject node (to show types)
2017-03-03 10:21:07 +00:00
Dave Conway-Jones
c4554b71d3
Add link label value as portLabels
2017-03-02 23:12:06 +00:00
Nick O'Leary
63ce743571
Treat missing msg properties as undefined rather than throw error
...
Fixes #1167
2017-03-02 14:02:26 +00:00
Nick O'Leary
6cf53c611b
merge exec fixes
2017-03-02 13:41:01 +00:00
Nick O'Leary
d8720ee325
Third output from Exec node must be consistent for success/failure conditions
2017-03-02 13:34:01 +00:00
Nick O'Leary
73501f3ad3
Resync with master
2017-03-01 17:45:09 +00:00
Nick O'Leary
fca77a868f
Allow a node to declare settings that should be exported
2017-03-01 15:01:07 +00:00
mblackstock
0979d565bb
changes as suggested by @knolleary
2017-02-28 14:03:35 -08:00
mblackstock
2bde07561f
UI to upload certificates and keys for TLS, and send them to node red in configuration properties to store them in credentials file
...
by default upload buttons will be shown unless a cert or key path is already set
added new settings flag called 'tlsDisableLocalFiles' to disable UI for local paths for cloud hosted NR
2017-02-28 12:21:34 -08:00
Dave Conway-Jones
8b31a918a4
Fix Pi GPIO debounce
...
To close #1139
2017-02-27 19:22:02 +00:00
cinhcet
ee0bd49918
exec node returns 0 on the third output if command ended without error. ( #1160 )
...
* exec node returns 0 on the third output if command ended without error.
Otherwise, the status of the node is updated and the error code is send through the third output.
* info text updated and the second output returns only something if stderr is not empty
* proper stderror handling
* proper handling of stderr
2017-02-22 22:22:06 +00:00
Dave Conway-Jones
a625eeeac8
move csv fixes to master
...
to fix #1142 in master
2017-02-22 20:19:44 +00:00
Dave Conway-Jones
bfcd795687
Fix wrong number of double quotes in CSV parsing
...
to close #1162
2017-02-20 22:44:37 +00:00
Dave Conway-Jones
702e6d3b51
slight filed size adjust for mqtt broker port field - allow 5 digits
2017-02-14 20:59:52 +00:00
Nick O'Leary
2913e13a30
Misconfigured WebSocket nodes should not register msg handlers
2017-02-13 21:39:31 +00:00
Nick O'Leary
a17dcbde0f
Remove console log from Switch node
2017-02-08 20:43:26 +00:00
Nick O'Leary
fbd159a23a
Add placeholder text on label inputs and clear buttons
2017-02-08 10:48:26 +00:00
Nick O'Leary
185b16a858
Keep port label form in sync with output reordering
2017-02-08 10:48:25 +00:00
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