Christopher Hiller
6e2e36e7a0
tcp: queue messages while connecting; closes #1414
...
- queues messages on a per-client basis while waiting for TCP server
connection
- add `denque` package for performance (`shift()` happens in constant
instead of `Array`'s linear time)
- add tests
- remove a duplicate test in `31-tcp_request.spec.js`
- cap queue at value specified in settings (`tcpMsgQueueSize`); default
to 1000
- add `tcpMsgQueueSize` to `settings.js`
Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
2018-03-20 13:45:44 -07:00
Hiroyasu Nishiyama
341ff9bf5c
move i18n info text of core nodes under nodes/core/locales directory
2018-03-03 10:39:11 +09:00
Hiroyasu Nishiyama
1fd44a9958
merge i18n-info-jp-io
2018-02-15 22:46:46 +09:00
Hiroyasu Nishiyama
35db8b45f0
add Japanese info text for io category nodes
2018-02-15 22:39:46 +09:00
Hiroyasu Nishiyama
abe60b62e6
change backquote in info text to <code>...</code>
2018-02-08 23:20:53 +09:00
Dave Conway-Jones
0968f96982
add a default keepalive to tcp client mode
...
to address #1469
2018-02-06 11:36:14 +00:00
Dave Conway-Jones
5931e13b9c
move node.send in exec and httprequest nodes
...
just in case
2018-02-06 11:36:13 +00:00
Nick O'Leary
55a33bc408
Add HEAD to list of methods with no body in http req node
2018-01-31 23:54:06 +00:00
Nick O'Leary
3ec35ed119
Do not include payload in GET requests
...
Fixes #1598
This regression was caused by #1531 - allowing the http request node
use any method.
The full fix is to identify which common verbs must not include a payload
and exclude them. GET needs fixing right now.
2018-01-31 23:39:26 +00:00
Nick O'Leary
73ee657d74
Add TLS options to WebSocket client
2018-01-25 20:26:35 +00:00
Nick O'Leary
45913e5ee8
Don't end mqtt client on first error
...
Fixes #1566
2018-01-25 16:58:42 +00:00
Nick O'Leary
22a5b339f7
Stop list items from overflowing to new lines in node ui
...
Fixes #1408
2018-01-25 14:02:41 +00:00
Dave Conway-Jones
0b0005337c
Decrement connected client count rather than show disconnected
...
to close #1577
2018-01-25 13:27:47 +00:00
Nick O'Leary
b7a0a9d7c2
Merge branch 'master' into 0.18
2018-01-24 23:08:14 +00:00
Nick O'Leary
f3cf58c8ff
Remove mqtt debug
2018-01-22 23:15:20 +00:00
Nick O'Leary
25f4a018d9
Merge branch '0.18' into projects
2018-01-16 11:21:54 +00:00
Nick O'Leary
548f45cd56
Publish null/undefined to mqtt as blank not toString
...
Fixes #1521
2018-01-13 22:53:58 +00:00
Nick O'Leary
8c42b2bdb4
Add passphrase to TLS node
2018-01-13 20:27:54 +00:00
Nick O'Leary
bedb2d943e
Merge branch 'pr_1231' into 0.18
2018-01-11 22:46:18 +00:00
Dave Conway-Jones
a3640bd9bf
tag UDP ports in use properly so they get closed correctly ( #1508 )
...
* tag ports in use properly so they get closed correctly
to close #1470
* redo test for udp port in use
* check port in use correctly on close
2018-01-11 22:03:59 +00:00
Nick O'Leary
161c7d30ca
Add support for rejectUnauthorized msg property
2018-01-11 22:00:10 +00:00
delbozkester
af5df890a5
Add MQTT via WebSocket communication option ( #1544 )
...
* Add MQTT via WebSocket communication option
Add option in MQTT broker configuration node to enable MQTT via WebSoket comunication
* MQTT over WS error correction
Minimal correction of values and erase debug console.log unnecessary
* original package.json
Erase some changes on grunt build at package.json. Erase package-lock.json and back to the original package.json
* .gitignore
* .gitignore again
* No tabs
2018-01-11 21:22:02 +00:00
Hugobox
5f4f6e37b5
HTTP REQUEST: Adding PROPPATCH and PROPFIND http methods ( #1531 )
...
* HTTP REQUEST: Adding PROPPATCH and PROPFIND http methods
* Removed method check
2017-12-22 10:16:39 +00:00
Nick O'Leary
b1cd13d629
Initial projects implementation
2017-09-20 10:30:07 +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
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
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
timolehto
4c9f1369c8
Set Proxy-Authorization when needed ( #1146 )
...
fixes #1145
2017-06-29 15:55:12 +01:00
Nick O'Leary
710f1e2ca0
Be consistent in how node settings are addressed
2017-06-29 11:17:39 +01:00
Nick O'Leary
a6a9025bab
Typo in http node help
2017-06-28 17:15:42 +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
Dave Conway-Jones
a824caf712
update core nodes to use newer Buffer syntax
2017-06-24 13:53:45 +01:00
Dave Conway-Jones
82d9a02d92
Move udp sock error listener to only be instantiated once.
2017-06-23 16:20:28 +01:00
Nick O'Leary
6c2de40dba
Add cookie handling to HTTP Request node
2017-06-05 11:33:37 +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
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
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