11 Commits

Author SHA1 Message Date
Michael Stapelberg 181586678f move status JavaScript into its own file 2025-04-13 18:39:17 +02:00
Michael Stapelberg 29f3a3f118 Revert "status: properly clean up EventSource connections"
This reverts commit c7823aff1a.

This “fix” introduced a new problem: when navigating in the
back/forward cache, the EventSource connection would not resume.
2025-03-07 16:52:31 +01:00
Michael Stapelberg 9285793115 /status: do not link the service name
related to https://github.com/gokrazy/gokrazy/issues/295
2025-02-04 18:50:25 +01:00
Michael Stapelberg c7823aff1a status: properly clean up EventSource connections
This should fix occasional hangs when navigating between pages.

I did not expect this behavior from browsers. I would have expected
all pending requests of a page to be terminated when the user
navigates to a different page. Instead, one needs to explicitly
close() EventSource connections.
2024-12-22 17:14:40 +01:00
oliverpool 2a8ba55e96 dashboard: speed up log line truncation logic (#181) 2023-03-15 17:15:51 +01:00
oliverpool 46e37e95ce dashboard: add link to raw logs (#180) 2023-03-13 08:26:49 +01:00
Michael Stapelberg 0bcf6191bd status: allow running once or in a loop
fixes https://github.com/gokrazy/gokrazy/issues/117
2022-03-21 23:45:40 +01:00
Christian Heusel 6e3e6ed39f clean up status table 2022-03-06 15:58:17 +01:00
Anup Chenthamarakshan af5773f40f status: live tail logs (#100)
Create a /log endpoint for streaming stdout/stderr logs for processes.
Replace status page stdout/stderr to call into /log to stream logs and
live update page.
2021-12-13 09:17:44 +01:00
Michael Stapelberg b07a22daa4 add /divert handler
This diverts existing services to their temporary counterparts, uploaded via the
/uploadtemp handler.

related to https://github.com/gokrazy/gokrazy/issues/88
2021-11-21 16:46:18 +01:00
Michael Stapelberg fefd4180bb use go:embed directive instead of goembed.go for bundling assets 2021-06-24 17:54:43 +02:00