Commit Graph

1214 Commits

Author SHA1 Message Date
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
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
Nick O'Leary b8c80a2310
Avoid stringify ServerResponse and Socket in Debug node
Fixes #1311
2017-07-03 20:55:04 +01:00
Nick O'Leary d8a3d2793f
Trigger node not handling a duration of 0 as block mode
Fixes #1316
2017-07-03 15:20:37 +01:00
Dave Conway-Jones 360b0d9997
correct gpis pin 13 typo
to address #1314
2017-07-02 20:53:27 +01:00
Dave Conway-Jones 87ac0507d9
and finally fix the gpio labels 2017-07-02 11:07:11 +01:00
Dave Conway-Jones 817f92a50e
refix GPIO - more correctly - backwards compatible
existing installations now keep working
2017-07-02 09:59:37 +01:00
Dave Conway-Jones 304be96dd6
stop gpis node reporting bad status message on slow Pi 2017-07-02 00:50:55 +01:00
Dave Conway-Jones dca553048a
Fix PI gpio to use BCM 2017-07-01 22:42:13 +01:00
Nick O'Leary 6201ed4d55
Prevent event thread contention when sending to Debug node
Closes #1311
2017-07-01 22:01:56 +01:00
Nick O'Leary e59eff83b9
Ensure default switch node config matches what a no-op edit gives 2017-06-29 23:22:31 +01:00
timolehto 4c9f1369c8 Set Proxy-Authorization when needed (#1146)
fixes #1145
2017-06-29 15:55:12 +01:00
Dave Conway-Jones adca1d7855
File node - don't hose status web socket on multiple file writes
and add close behaviour to info
2017-06-29 11:40:50 +01:00
Nick O'Leary 710f1e2ca0
Be consistent in how node settings are addressed 2017-06-29 11:17:39 +01:00
Dave Conway-Jones dded98e30c
tidied up implementation of file node close fix 2017-06-28 17:50:09 +01:00
Dave Conway-Jones 160c27c15a
file node - close files when required 2017-06-28 17:36:04 +01:00
Nick O'Leary a6a9025bab
Typo in http node help 2017-06-28 17:15:42 +01:00
Dave Conway-Jones b515df611d
fix file node to overwrite multiple files 2017-06-28 13:28:04 +01:00
Kazuhito Yokoi 283d5c64cb Update Japanese translation files (jsonata.json and messages.json) (#1300)
* Update Japanese translation file(jsonata.json)

* Update Japanese translation file(messages.json)
2017-06-28 09:26:07 +01:00
Kazuhito Yokoi 3134bc432b Improve editor messages (jsonata.json and messages.json) (#1299)
* Modify typo and improve messages in jsonata.json

* Change csv to CSV(messages.json)
2017-06-28 09:25:35 +01:00
Nick O'Leary fd93fef73e
Better template node help example 2017-06-27 21:53:12 +01:00
Dave Conway-Jones 8939a9c786
tiny bit of ; lint in switch node
#ocd
2017-06-27 17:16:18 +01:00
Nick O'Leary 52c0d360b2
Add buffer joiner mode to Join node 2017-06-27 17:11:11 +01:00
Dave Conway-Jones d99432bff1
Use correct Buffer.from method rather than constructor
exec, tcp, ump and file nodes
2017-06-27 17:11:36 +01:00
Dave Conway-Jones 4dd2d3ac7d
fix tcp node new Buffer alloc size 0 2017-06-27 16:58:17 +01:00
Nick O'Leary aa7fe3668c
HTTP Request node: add info on how to do form encoding 2017-06-27 14:58:13 +01:00
Nick O'Leary c9317659c5
Prevent unmodified msg.headers from breaking HTTP Request flows
Closed #1015
2017-06-27 11:24:20 +01:00