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
91 MiB
Languages
Go 84.2%
HTML 11.1%
Shell 2.1%
CSS 1.8%
Python 0.6%
Other 0.1%