frigate/web/src
Nicolas Mowen 6c0978498d
Abstract MQTT from communication and make mqtt optional (#4462)
* Add option for mqtt config

* Setup communication layer

* Have a dispatcher which is responsible for handling and sending messages

* Move mqtt to communication

* Separate ws communications module

* Make ws client conform to communicator

* Cleanup imports

* Migrate to new dispatcher

* Clean up

* Need to set topic prefix

* Remove references to mqtt in dispatcher

* Don't start mqtt until dispatcher is subscribed

* Cleanup

* Shorten package

* Formatting

* Remove unused

* Cleanup

* Rename mqtt to ws on web

* Fix ws mypy

* Fix mypy

* Reformat

* Cleanup if/else chain

* Catch bad set commands
2022-11-23 20:03:20 -06:00
..
__mocks__ fix tests 2022-05-20 09:28:26 -05:00
__tests__ Update web deps (#4383) 2022-11-13 10:31:36 -06:00
api Abstract MQTT from communication and make mqtt optional (#4462) 2022-11-23 20:03:20 -06:00
assets Update web deps (#4383) 2022-11-13 10:31:36 -06:00
components Update web deps (#4383) 2022-11-13 10:31:36 -06:00
context Abstract MQTT from communication and make mqtt optional (#4462) 2022-11-23 20:03:20 -06:00
hooks Event Datepicker (#2428) 2022-02-18 21:18:26 -06:00
icons add frontend for frigate+ submission 2022-04-10 09:11:16 -05:00
routes Abstract MQTT from communication and make mqtt optional (#4462) 2022-11-23 20:03:20 -06:00
utils switch to vite 2022-03-11 07:49:06 -06:00
app.css Update web deps (#4383) 2022-11-13 10:31:36 -06:00
app.tsx rename debug to system (#4447) 2022-11-20 08:56:48 -06:00
AppBar.jsx Abstract MQTT from communication and make mqtt optional (#4462) 2022-11-23 20:03:20 -06:00
env.js fix tests 2022-05-20 09:28:26 -05:00
index.css swr events refactor 2022-03-11 07:49:06 -06:00
main.tsx Update web deps (#4383) 2022-11-13 10:31:36 -06:00
preact.d.ts switch to vite 2022-03-11 07:49:06 -06:00
Sidebar.jsx rename debug to system (#4447) 2022-11-20 08:56:48 -06:00
vite-env.d.ts switch to vite 2022-03-11 07:49:06 -06:00