admin
95c821deb2
feat: comprehensive debug logging across all controller modules
...
Add detailed [DEBUG] logging to every controller module when
logging.level is set to "debug". Each module with stateful debug
uses SetDebug(bool) wired from main.go. Covers stacks, backup,
cloudflare, integrations, system, monitor, settings, scheduler,
web handlers, storage, metrics, API, selfupdate, and assets.
Also includes the app export/import (.fab bundles) feature from
v0.32.0 and its debug page integration.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-26 18:14:43 +01:00
admin
02650e3202
v0.23.0 — CSRF protection on all browser-facing POST endpoints
...
Controller:
- internal/web/csrf.go (new): CsrfProtect middleware, csrfToken/csrfField helpers
- auth.go: per-session CSRF token (csrfToken field, csrfTokenForSession method)
- server.go: executeTemplate wrapper auto-injects CSRFField+CSRFToken
- main.go: wire CsrfProtect on all routes; bump to v0.23.0
- handlers.go, storage_handlers.go, handler_restore.go: executeTemplate
- All templates: CSRFField in forms, meta csrf-token, csrfHeaders() JS helper,
fetch calls updated; sendBeacon→fetch+keepalive in storage_attach.html
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-21 16:38:56 +01:00
admin
8aebbb8902
feat: Hub monitoring takeover — event push system + config cleanup (v0.21.0)
...
Replace external Healthchecks.io with Hub-native event system. Controller
now pushes structured events via POST /api/v1/event with typed detail
structs. Hub handles dead man's switch, notification dispatch, and cooldowns.
Phase 5: PushEvent() core method, 21 event types, expanded notification
settings (11 toggles), Hub connection monitoring on dashboard, alerts.
Phase 6: Deprecation log for ping UUIDs, pinger kept for transition.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 18:53:21 +01:00
admin
75ea9d73f0
Fix bugs from BUGHUNT.md: restore race conditions, infra backup, DR wiring, docker-setup.sh, restore.html
2026-02-19 14:06:42 +01:00
admin
6713df2186
v0.15.5: Disaster recovery — Hub-based infra backup, auto-mount, restore UI
...
Complete DR implementation (TASK2.md Phases 1-4):
- Hub infra-backup push/pull endpoints (controller.yaml, disk layout, stacks)
- Fresh-deployment detection pulls config from Hub, auto-mounts drives by UUID
- Full-page restore UI with drive status, app table, sequential restore
- docker-setup.sh shows DR instructions when customer_id is configured
New files: disk_layout.go, restore_scan.go, restore_app_linux.go,
restore_drives_linux.go, infra_backup.go, infra_pull.go,
handler_restore.go, restore.html
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-19 13:16:46 +01:00