Commit Graph

10 Commits

Author SHA1 Message Date
f1b46b788d Adds structured logging and fixes event reactivity. 2023-09-26 13:32:46 +02:00
8450226211 Refactors services with defaultConfig and polled data.
Much more simpler code base. Each service requires a poll functioon to poll its
status. If type is defined, and the registered '+service.ts' exports a poll
ServicePoller, it will be used. Otherwise, a generic poll mechanism is used.
2023-09-22 10:34:51 +02:00
19a4e7514d Adds content for PiHole 2023-09-21 13:50:14 +02:00
93b663c2c8 Makes sure it do not crashes when polling. 2023-09-21 11:21:26 +02:00
3311594f1e Makes healthcheck data a server polling thing. 2023-09-21 10:57:37 +02:00
006c09ce66 [WIP] 2023-09-20 17:33:25 +02:00
f10e380bb2 Fixes production build with custom services 2023-09-20 15:44:36 +02:00
b2f2c2af44 WIP lost 2023-09-14 10:18:54 +02:00
edbbd2f0f6 Refactors loading function
* Initialize service component and handler in hooks
* Dynamically watch the config instead of a reload on each page
* Uses derived store for public server config
* Moves service data in its own page data property
* Reverts to a array to store group/services
2023-08-13 14:19:39 +02:00
f23f268b60 automatic service registration à la Svelte 2023-08-11 18:49:06 +02:00