hako/internal/server/handlers
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felipe M. 484b225af7
feat: add user administration API and UI
Add admin-only CRUD endpoints for user management under /api/v1/system/users
with full frontend implementation including create, edit, change password,
and delete operations with self-protection guards.

- Extend AuthDomain interface with ListUsers, GetUser, UpdateUser,
  UpdateUserPassword, DeleteUser methods
- Add List, Update, Delete methods to UserStore with shared scanUser helper
- Create UserHandler with 5 endpoints protected by admin middleware
- Complete Users.vue admin page with modals and error handling
- Make CreateUser accept role parameter for atomic user creation
- Fix auth middleware to use database role as source of truth instead of
  stale JWT claims, preventing privilege persistence after demotion
- Fix pre-existing gofmt issues in yt_dlp.go and config.go
2026-04-02 10:33:36 +02:00
..
archives.go refactor: names for archivers and extractors with admin sections for configuration 2026-01-10 17:26:14 +01:00
archives_test.go feat: implement URL cleaning functionality to remove tracking parameters and add unit tests 2026-01-10 10:12:09 +01:00
auth.go feat: implement user role management with JWT and enhance admin functionalities 2026-01-10 12:24:41 +01:00
auth_test.go feat: implement user role management with JWT and enhance admin functionalities 2026-01-10 12:24:41 +01:00
categories.go feat: implement thumbnail extraction and integration into link handling 2026-01-07 17:06:36 +01:00
links.go feat: search 2026-01-18 09:51:25 +01:00
links_test.go feat: search 2026-01-18 09:51:25 +01:00
system.go feat: rules admin 2026-01-12 19:33:08 +01:00
system_test.go feat: rules admin 2026-01-12 19:33:08 +01:00
users.go feat: add user administration API and UI 2026-04-02 10:33:36 +02:00