1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
node-red/packages/node_modules/@node-red/nodes/core
Nick O'Leary b8f1386ad0
Dynamic MQTT connections (#3189)
* add mqtt-control
- adds auto-connect option to broker
- add new node mqtt-control
- adds i18n messages
- adds documentation

* documentation tweaks

* built in documentation improvements

* fix tip layout causing oversized editor

* remove unused requires

* add missing `unsubscribe` dropdown option
- oddly forgotten - now added

* ensure clientid is updated dynamically

* [rewrite] move mqtt-control login into mqtt-in

* Remove dynamic label

* remove redundant mqtt-control code left overs

* Callback for brokerConn.connect (improve done())
- done is now called on connect callback

* fix race condition if connect/disconnect too fast
- node.connected and node.client.connected getting out of sync

* fix connection fail when switching protocol 3 ~ 5
- ensure protocolId is correct for protocolVersion

* change msg.subscribe prop to `msg.topic`

* unsub all topics if msg.topic is `true`

* delete temprary debugger statements

* Final rework of dynamic mqtt connections

Co-authored-by: Steve-Mcl <sdmclaughlin@gmail.com>
2021-10-14 12:05:06 +01:00
..
common Ensure link call node label updates when link-in changes 2021-10-14 12:00:27 +01:00
function Fix rule focus when switch 'otherwise' rule is used 2021-10-12 17:25:13 +01:00
network Dynamic MQTT connections (#3189) 2021-10-14 12:05:06 +01:00
parsers Fix HTML parsing when body is included in the select tag 2021-07-23 10:09:00 +01:00
sequence Renamed resetTimeout to restartTimeout 2021-08-25 21:53:37 +02:00
storage Add paletteLabel to file nodes to make read/write more obvious 2021-09-30 10:41:18 +01:00