Implement Phase 3 usage statistics API

- Add GET /api/admin/stats/overview (user counts, login stats)
- Add GET /api/admin/stats/active-users (time series with period toggle)
- Add GET /api/admin/stats/actions (action breakdown with date filter)
- Add GET /api/admin/stats/peak-times (hourly/daily averages)
- Implement 5-minute in-memory caching for expensive aggregations
- All 57 Phase 3 tests passing
This commit is contained in:
2026-01-22 13:10:33 -07:00
parent c23afdf0b7
commit 40cd0e35bf
2 changed files with 809 additions and 383 deletions

File diff suppressed because it is too large Load Diff