From f5cffe240c44045684d4f74981235b060828550e Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 6 Jan 2026 10:03:43 +0200 Subject: Add HTML status page generation (v1.3.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add configurable HTML status page generation after each check-run - Default output: /var/www/htdocs/buetow.org/self/gogios/index.html - New config options: HTMLStatusFile (path) and HTMLDisable (bool) - Auto-creates output directory if it doesn't exist - Uses atomic writes (tmp file + rename) to prevent corruption - Auto-refresh every 5 minutes via meta tag - Minimal, clean styling based on f3s_fallback template - W3C HTML5 compliant output - Email notifications on I/O errors via existing notifyError mechanism - Mirrors email report structure (status changes, unhandled alerts, stale alerts) - Comprehensive unit tests including W3C compliance validation - All user-generated content properly HTML-escaped for security 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- cmd/gogios/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/gogios/main.go b/cmd/gogios/main.go index d223eb6..580d150 100644 --- a/cmd/gogios/main.go +++ b/cmd/gogios/main.go @@ -9,7 +9,7 @@ import ( "codeberg.org/snonux/gogios/internal" ) -const versionStr = "v1.2.1" +const versionStr = "v1.3.0" func main() { configFile := flag.String("cfg", "/etc/gogios.json", "The config file") -- cgit v1.2.3