vikunja/pkg/modules
kolaente eac1fa2726 refactor(auth): extract shared auth/token business logic for v2 reuse
Pull the HTTP-independent core out of the v1 auth handlers so both
/api/v1 and the upcoming /api/v2 routes share one implementation:

- oauth2server: ExchangeToken and Authorize take plain inputs and return
  typed responses; HandleToken/HandleAuthorize keep binding + headers.
- pkg/routes/api/shared: AuthenticateLinkShare, RegisterUser,
  ResetPassword (+ session clear), RequestPasswordResetToken and
  ConfirmEmail, plus the shared UserRegister and LinkShareToken types.

v1 handlers now delegate to these; their wire output is unchanged.
2026-06-12 07:58:17 +00:00
..
auth refactor(auth): extract shared auth/token business logic for v2 reuse 2026-06-12 07:58:17 +00:00
avatar fix(api/v2): reject non-decodable images (e.g. SVG) on avatar upload with 400 2026-06-02 11:55:25 +00:00
background feat(api/v2): add project background endpoints 2026-06-11 20:07:43 +00:00
dump chore(lint): suppress known gosec false positives 2026-03-23 16:23:15 +01:00
humaecho5 feat: vendor humaecho adapter for echo/v5 2026-05-31 12:56:57 +00:00
keyvalue fix(keyvalue): treat undecodable cached values as a cache miss 2026-05-30 13:48:01 +00:00
migration feat(api/v2): port OAuth migrators (Todoist, Trello, Microsoft To-Do) 2026-06-11 18:35:55 +00:00