Jesse Hills
e64709c37e
[code-quality] Organise core imports ( #7149 )
2024-07-29 14:07:44 +12:00
Gábor Poczkodi
4bf7c97088
WebSocket overrides check_origin for reverse proxy configuration ( #6845 )
2024-06-12 13:19:18 +12:00
Jesse Hills
9b7438a56d
Require xsrf/csrf when using a password ( #6396 )
2024-03-19 13:39:01 +13:00
Jesse Hills
687553a285
Replace name and friendly name in full adopted configs ( #4456 )
2024-03-18 13:00:59 +13:00
Jesse Hills
b3ff23ec76
Merge pull request from GHSA-9p43-hj5j-96h5
2024-03-06 08:09:45 +13:00
J. Nick Koston
83a1fc5fdb
dashboard: move storage json update to a background task in edit save ( #6280 )
...
* dashboard: move storage json update to a background task in edit save
* dashboard: move storage json update to a background task in edit save
* fix typing
* docs
2024-02-24 23:39:47 -05:00
Jesse Hills
a748610071
Merge pull request from GHSA-8p25-3q46-8q2p
2024-02-23 07:38:24 +13:00
J. Nick Koston
6dfdcff66c
dashboard: refactor ping implementation to be more efficient ( #6002 )
2024-01-09 10:35:43 +09:00
J. Nick Koston
46255ad4df
Fix dashboard logs when api is disabled and using MQTT ( #5992 )
2023-12-22 16:35:31 +09:00
Jessica Hamilton
70fdc3c3f8
web_server.py: return empty content when file doesn't exist ( #5980 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-12-22 10:58:30 +09:00
J. Nick Koston
ad5f6b5687
dashboard: fix supervisor auth doing I/O in the event loop ( #5807 )
2023-11-27 23:11:17 -06:00
J. Nick Koston
4e6d3729e1
dashboard: Small cleanups to dashboard ( #5841 )
2023-11-28 11:39:24 +13:00
J. Nick Koston
1762204b00
dashboard: set nodelay on the websocket to avoid a delay seeing log messages ( #5802 )
2023-11-24 11:49:55 +13:00
J. Nick Koston
cd9bf29df1
dashboard: Add lookup by name to entries ( #5790 )
...
* Add lookup by name to entries
* adj
* tweak
* tweak
* tweak
* tweak
* tweak
* tweak
* preen
2023-11-19 22:29:40 -05:00
J. Nick Koston
4e4fe3c26d
dashboard: Ensure disk I/O happens in the executor ( #5789 )
...
* Ensure I/O executor
* safe file writer
* fixes
* more io
* more io
2023-11-19 22:28:35 -05:00
J. Nick Koston
3c243e663f
dashboard: Add support for firing events ( #5775 )
...
* dashboard: fire events when entry is updated or state changes
* dashboard: fire events when entry is updated or state changes
* dashboard: fire events when entry is updated or state changes
* tweaks
* fixes
* remove typing_extensions
* rename for asyncio
* rename for asyncio
* rename for asyncio
* preen
* lint
* lint
* move dict converter
* lint
2023-11-17 19:33:10 -05:00
J. Nick Koston
149d814fab
dashboard: Centralize dashboard entries into DashboardEntries class ( #5774 )
...
* Centralize dashboard entries into DashboardEntries class
* preen
* preen
* preen
* preen
* preen
2023-11-15 21:49:56 -05:00
J. Nick Koston
5f1d8dfa5b
dashboard: use fastest available yaml loader in the dashboard ( #5771 )
...
* dashboard: use fastest available yaml loader in the dashboard
* remove unrelated change
2023-11-15 19:08:17 -05:00
J. Nick Koston
3644853d38
dashboard: fix subprocesses blocking the event loop ( #5772 )
...
* dashboard: fix subprocesses blocking the event loop
- break apart the util module
- adds a new util to run subprocesses with asyncio
* take a list
2023-11-15 19:07:51 -05:00
J. Nick Koston
c795dbde26
dashboard: split dashboard web server code into its own module ( #5770 )
2023-11-15 21:34:09 +00:00