admin 85d1f2f673 feat: add config apply endpoint and config hash in reports
- POST /api/config/apply: accepts YAML body from Hub, validates and
  writes controller.yaml atomically (tmp+rename)
- GET /api/config/hash: returns SHA256 hash of current config file
- Report payload now includes config_hash field for Hub comparison
- Config endpoints use same dual auth as self-update (session OR Bearer)
- config.LoadFromBytes() for validation without file I/O
- config.FileHash() helper for SHA256 computation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 16:13:35 +01:00
2026-02-16 13:28:03 +01:00
2026-02-18 08:36:12 +01:00
2026-02-20 14:13:46 +01:00
2026-02-20 11:09:52 +01:00
2026-02-19 18:07:20 +01:00
S
Description
No description provided
12 MiB
Languages
Go 66.8%
HTML 22.8%
Shell 5.7%
CSS 4.3%
Dockerfile 0.2%
Other 0.2%