Colin Law
a868cb97d9
Move all node.send to end of timer functions in trigger node (issue #1527 ) ( #1539 )
2018-01-02 08:28:08 +00:00
Dave Conway-Jones
f737ea96f3
Don't send message if it doesn't exist. and give it time not to exist.
...
to close #1527
2017-12-19 17:54:26 +00:00
Hiroyasu Nishiyama
d7c8adfd82
Fix handling of too many pending messages in SORT node ( #1514 )
...
* initial support of SORT node
minor fix of sort node
fixed error message of sort node
fixed error handling of SORT node
add test case for SORT node
make limit of messages count computed once in SORT node
* update type in message & info description
* fix handling of pending messages in SORT node
2017-12-06 19:44:46 +00:00
Dave Conway-Jones
b98d1216b1
ignore _msgid when merging full objects
...
to hand code and close #1423
2017-12-05 21:45:43 +00:00
Dave Conway-Jones
27db727321
Let CSV correct parts if we remove header row.
...
and add test
2017-12-05 17:34:49 +00:00
Hiroyasu Nishiyama
6d2fd2e641
add parts support for CSV node ( #1496 )
...
* add parts support for CSV node
* make CSV node to preserve incoming parts property
2017-12-05 15:39:51 +00:00
Dave Conway-Jones
422fbcb0b7
add error msg to sort node
2017-12-05 15:01:58 +00:00
Hiroyasu Nishiyama
afce106186
initial support of SORT node ( #1500 )
...
* initial support of SORT node
minor fix of sort node
fixed error message of sort node
fixed error handling of SORT node
add test case for SORT node
make limit of messages count computed once in SORT node
* update type in message & info description
2017-12-05 14:54:03 +00:00
Ross Cruickshank
f21c8154ed
enable template config via msg.template for stored or generated templates ( #1503 )
...
* updates to 80-template to allow setting template with msg.template
* updated 80-template_spec test for msg.template support
* fixed 80-template.js test
2017-12-05 12:24:06 +00:00
Nick O'Leary
64191e8303
Merge master to 0.18
2017-12-03 22:32:28 +00:00
Hiroyasu Nishiyama
806457063f
add parts support for HTML node ( #1495 )
...
* add parts support for HTML node
* add parts.{type,ch} to output of HTML node
2017-12-01 13:09:05 +00:00
Nathanaël Lécaudé
f09e61a59a
Added parsed YAML support for template node ( #1443 )
2017-11-30 13:38:50 +00:00
Dave Conway-Jones
cc88ebd2b9
Let trigger node support per topic mode ( #1398 )
...
* Let trigger node support per topic mode
* ensure trigger node clones repeating message
* Add some tests for trigger by topic
* test trigger repeat for pass by ref error
* trigger test - add missing try/catch to all test with callback
* boost trigger node test coverage
2017-11-17 17:35:18 +00:00
Dave Conway-Jones
f39d9d6f1b
clone messages before delayed send ( #1474 )
...
and accept floats for delay interval.
2017-11-17 17:27:29 +00:00
Dave Conway-Jones
2b9aa94f3a
Add rc property to exec node outputs 1 and 2 ( #1401 )
...
* Add rc property to exec node outputs 1 and 2
to close #1399
* improve test coverage and add tests for new msg.rc
* make spawn test slightly more robust to different environments
* added debug for spawn test
* let spawn error test be even more relaxed
* don't necessarily clone msg.payload in exec node stderr
as per suggestion
2017-11-02 16:55:44 +00:00
Dave Conway-Jones
dd47e615ee
Fix css template with spaces , and add test ( #1462 )
...
to close #1460
2017-11-02 16:50:13 +00:00
Hiroki Uchikawa
22772ca33e
Fix debug message format for Buffer ( #1444 )
...
and add a test case
2017-10-23 12:13:28 +02:00
jmikerq
dba6ff1d51
added chinese messages.json locale file ( #1452 )
...
* modified the wording in the chinese editor.json
change the wording closer to their meanings in chinese
* added chinese messages.json
2017-10-23 11:55:26 +02:00
Kazuhito Yokoi
5b137c457b
Fix invalid from property error in change node ( #1442 )
...
* Fix invalid from property error in change node
* Empty commit to run test cases again
2017-10-17 22:17:27 +01:00
Hiroyasu Nishiyama
23c2a771d3
fixed unmatched HTML tags ( #1437 )
2017-10-11 13:31:37 +01:00
Dave Conway-Jones
58a890e836
completely remove unnecessary callback
...
to Fix #1436
2017-10-11 08:52:28 +01:00
Dave Conway-Jones
6a869e120c
speed up debug window - only process required number of messages ( #1378 )
...
* speed up debug window - only process required number of messages
* tiny optimisation to debug utils stack handler
* remove unnecessary callback
(and rename function)
2017-10-10 21:53:25 +01:00
Dave Conway-Jones
ae7c298b1a
let default apply if msg.delay not set in override mode. ( #1397 )
...
* let default apply if msg.delay not set in override mode.
* Update tests to match
* allow msg.delay to be 0 if wanted
and test for that
2017-10-10 21:40:09 +01:00
Hiroki Uchikawa
cb4f46decc
Fix circular reference in join node ( #1412 )
...
and add a test case
2017-09-28 19:09:54 +01:00
Hiroki Uchikawa
81256279a8
Fix wrong argument in change node ( #1415 )
...
and add test cases
2017-09-28 10:06:31 +01:00
Kazuhito Yokoi
ef53dca062
Handle escape characters in template node which uses Mustache format and JSON output mode ( #1377 )
...
* Handle escape characters in template node which uses Mustache format and JSON output mode
* Handle escape characters in template node which uses Mustache format and JSON output mode
2017-09-21 13:38:45 +01:00
Kazuki Nakanishi
a42e99c4aa
Fix the appearance of 'is between' rule on switch node property ( #1383 )
2017-09-17 08:46:47 +01:00
Nick O'Leary
85392496e7
Allow setTimeout in Function node to be promisified in node 8
2017-09-12 15:13:13 +01:00
Dave Conway-Jones
a844ca161f
Spinner fixes ( #1371 )
...
* Fix for function node invalid spinner values
to close #1370
* better validation of spinners for inject and delay
(don’t allow negative numbers)
* remove need for declaring local min variable
2017-08-21 22:00:23 +01:00
btsimonh
e09efba313
mqtt: Add 'name' to mqtt-broker node, and label it by this if it is set. ( #1364 )
...
This allows you to easily distinguish between broker nodes which are talking to the same server but with different credentials.
2017-08-09 22:22:40 +01:00
Kazuhito Yokoi
d7d13c12fe
Modify messages to refer to language files ( #1361 )
2017-08-07 10:00:28 +01:00
Nick O'Leary
4a2e3586f1
Allow delay node in rate-limit mode to be reset
...
Fixes #1360
2017-08-04 21:09:00 +01:00
Nick O'Leary
eaf08a9971
Keep local/remote diff objects in sync as they expand
2017-07-31 23:29:36 +01:00
Nick O'Leary
2aced893c6
File node: recreate write stream when file deleted
...
Fixes #1351
2017-07-22 22:28:45 +01:00
Nick O'Leary
781ca77794
Do not try to send msg after http request error handled
...
Fixes #1344
2017-07-19 22:37:29 +01:00
Kazuhito Yokoi
c6e453fb00
Fix boundary problem in range node ( #1338 )
...
* Fix boundary problem in range node
* Remove duplicated test case
* Empty commit to retry Travis CI
2017-07-19 16:42:39 +01:00
Kazuhito Yokoi
a40b3dd377
Modify messages in node properties to refer messages.json ( #1339 )
2017-07-19 13:50:34 +01:00
Patrik Åkerfeldt
d8a4e9e1ab
Allow false and 0 in payload for httprequest ( #1334 )
2017-07-09 12:17:54 +01:00
Kazuhito Yokoi
3a2f56cb95
Fix column name in link nodes to refer language file ( #1330 )
2017-07-07 11:43:07 +01:00
Nick O'Leary
a4d33879dc
Use namespaces with link node title attributes i18n name
...
Fixes #1329
2017-07-06 17:57:53 +01:00
Nick O'Leary
e2a91d1ea9
Tidy up GPIO pin table presentation
...
Fixes #1328
2017-07-06 00:00:08 +01:00
Nick O'Leary
f30f80d117
Join: count of 0 should not send on every msg
2017-07-05 14:12:28 +01:00
Nick O'Leary
266274135e
Handle importing only one end of a link node pair
2017-07-04 23:40:37 +01:00
Nick O'Leary
a10439b67c
Make sending to Debug synchronous again
...
Fixes #1323
Being asynchronous meant the msg that was eventually sent to
Debug could be a modified version from later in the flow, if
the flow was other synchronous.
2017-07-04 23:30:51 +01:00
Nick O'Leary
0fd8d0e2bf
Make send-error behaviour optional in file node
...
Existing nodes will have sendError enabled. New instances
will default to it being disabled.
2017-07-04 20:12:53 +01:00
Nick O'Leary
47e2707fd3
Restore File In node behaviour of sending msg on error
2017-07-04 19:55:09 +01:00
Nick O'Leary
f7bb4a7d60
Expose context.keys within Function node
2017-07-04 14:52:14 +01:00
Nick O'Leary
6102a31a31
JSON parser default should be not formatting output
...
If its a checkbox, then the default value should be a boolean,
not a string. Because "false" is truthy.
2017-07-04 13:44:37 +01:00
Nick O'Leary
92654a71fb
Remove unused oldDepth from Delay node
2017-07-03 21:27:45 +01:00
Nick O'Leary
18615640e0
Update delay node status without spawning unecessary intervals
2017-07-03 21:23:14 +01:00