feat: add Web UI server with basic-auth and artist dashboard

This commit is contained in:
2026-07-19 22:35:28 +03:00
parent 11f838ace9
commit cea20957e7
5 changed files with 460 additions and 4 deletions

View File

@@ -119,10 +119,10 @@ name collisions.)
- [x] run tests - must pass before task 7
### Task 7: Web UI — server + auth + dashboard
- [ ] create `internal/web` with `Server` (net/http), `//go:embed` templates, basic-auth middleware using `ServerConfig.Username/Password`
- [ ] dashboard handler: list monitored artists with missing-release counts (join scanner result / external vs local)
- [ ] write tests: unauthenticated request → 401; authenticated → 200 with expected artist rendered
- [ ] run tests - must pass before task 8
- [x] create `internal/web` with `Server` (net/http), `//go:embed` templates, basic-auth middleware using `ServerConfig.Username/Password`
- [x] dashboard handler: list monitored artists with missing-release counts (join scanner result / external vs local)
- [x] write tests: unauthenticated request → 401; authenticated → 200 with expected artist rendered
- [x] run tests - must pass before task 8
### Task 8: Web UI — artist detail + archive + ignore actions
- [ ] artist page: local albums (Subsonic) + found missing (MB cache) + ignore buttons