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
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
..
editor-api Update package dependencies 2021-10-06 09:11:20 +01:00
editor-client Merge pull request #3200 from node-red/fix-link-call-label 2021-10-14 12:04:25 +01:00
nodes Dynamic MQTT connections (#3189) 2021-10-14 12:05:06 +01:00
registry Merge branch 'master' into dev 2021-10-06 09:12:16 +01:00
runtime Bump version for 2.1.0-beta.1 2021-09-27 17:50:09 +01:00
util Merge branch 'master' into dev 2021-10-06 09:12:16 +01:00