vikunja/pkg/routes/api
kolaente 5807f2e7b4 refactor(user): share user-search logic between v1 and v2
Extract the duplicated user-search business logic into two helpers both API
versions call, and refactor v1's handlers onto them:
- user.SearchUsers wraps ListUsers + email obfuscation (global search)
- models.SearchUsersForProject wraps the project read check + ListUsersFromProject

Each handler keeps its own forbidden mapping (v1 echo.ErrForbidden vs v2
huma) so v1 stays byte-identical on the wire.
2026-06-11 20:07:43 +00:00
..
shared feat(api/v2): add public instance info endpoint 2026-06-11 20:07:43 +00:00
v1 refactor(user): share user-search logic between v1 and v2 2026-06-11 20:07:43 +00:00
v2 refactor(user): share user-search logic between v1 and v2 2026-06-11 20:07:43 +00:00