Implement Phase 2 activity monitoring API

- Add GET /api/admin/activity with pagination and filters
- Add GET /api/admin/users/:id/activity for user-specific history
- Add GET /api/admin/activity/export for CSV export
- Implement $lookup aggregation for user info (name, email)
- Add date range filtering with validation
- Export limited to 10,000 records with truncation headers
- All 50 Phase 2 tests passing
This commit is contained in:
2026-01-22 13:01:48 -07:00
parent dbd8d81668
commit c23afdf0b7
3 changed files with 1477 additions and 652 deletions

File diff suppressed because it is too large Load Diff