vikunja/pkg/routes/api/v1
kolaente 4cd79088d1 test: add WebSocket e2e tests
Add comprehensive end-to-end tests for the WebSocket system:

- Protocol tests: auth (valid/invalid token, timeout, double auth),
  subscriptions (valid/invalid event, auth required, unsubscribe),
  message delivery (notification on team add, doer exclusion,
  multi-connection)
- Frontend integration tests: notification badge update, dropdown
  rendering, and logout cleanup via browser-level Playwright tests
- Comment notification test: full flow where user B mentions user A
  in a task comment and user A receives real-time WebSocket notification

Includes ws test dependency, shared test helper utilities, and
cascade-truncation of notifications when truncating users to prevent
test pollution.
2026-04-02 16:30:23 +00:00
..
redoc refactor: use embed fs for redoc UI and update to latest version 2026-03-30 15:09:54 +00:00
avatar.go refactor(user): export IsErrUserStatusError for use across packages 2026-03-23 12:06:16 +00:00
docs.go refactor: use embed fs for redoc UI and update to latest version 2026-03-30 15:09:54 +00:00
info.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
link_sharing_auth.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
login.go refactor: extract shared RefreshSession helper 2026-03-27 23:05:04 +00:00
notifications.go fix: add missing Commit() to write callers 2026-02-25 11:03:02 +01:00
task_attachment.go refactor: replace afero with FileStorage interface 2026-03-20 10:59:44 +01:00
testing.go test: add WebSocket e2e tests 2026-04-02 16:30:23 +00:00
token_check.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_caldav_token.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_confirm_email.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_deletion.go refactor: remove redundant Begin() calls after NewSession auto-begins 2026-02-25 11:03:02 +01:00
user_export.go fix: use file mime type instead of hardcoded application/zip in S3 export 2026-03-20 10:59:44 +01:00
user_list.go docs: update user search endpoint description for external team bypass 2026-03-04 20:32:11 +01:00
user_password_reset.go feat(api): enforce password validation on reset and update flows 2026-02-25 13:44:56 +01:00
user_register.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_settings.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_show.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_totp.go fix: invalidate all sessions when enabling TOTP 2026-03-19 12:27:44 +01:00
user_update_email.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00
user_update_password.go feat(api): enforce password validation on reset and update flows 2026-02-25 13:44:56 +01:00
user_webhooks.go fix: strip BasicAuth credentials from user webhook API responses 2026-03-23 16:35:47 +00:00
webhooks.go fix(deps): update module github.com/labstack/echo/v4 to v5 (#2131) 2026-01-24 20:38:32 +01:00