vikunja/pkg/user
kolaente 2f680d041c fix: address review comments on session lifecycle
- user_export.go: Remove defer s.Close() from checkExportRequest since
  it returns the session to callers. Callers now own the session
  lifecycle with their own defer s.Close(). Close session on all error
  paths within checkExportRequest.

- user_delete.go: Close the read session immediately after Find() before
  the per-user deletion loop, avoiding a long-lived transaction holding
  locks unnecessarily.

- user/delete.go: Remove double s.Close() in notifyUsersScheduledForDeletion
  by closing immediately after Find() instead of using both defer and
  explicit close.

- caldav_token.go: Return nil token on Commit() error to prevent callers
  from using an unpersisted token.
2026-02-25 11:03:02 +01:00
..
caldav_token.go fix: address review comments on session lifecycle 2026-02-25 11:03:02 +01:00
db.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
delete.go fix: address review comments on session lifecycle 2026-02-25 11:03:02 +01:00
error.go fix: 403 http error code on failed login (#1756) 2025-11-06 08:40:46 +01:00
events.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
listeners.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
main_test.go feat: move to slog for logging 2025-07-21 18:15:39 +02:00
notifications.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
test.go fix(user): persist status on email updates (#1084) 2025-08-04 14:07:00 +00:00
token.go fix: add missing Commit() to write callers 2026-02-25 11:03:02 +01:00
totp.go fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
update_email.go fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
update_email_test.go fix(user): persist status on email updates (#1084) 2025-08-04 14:07:00 +00:00
user.go fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
user_create.go fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
user_email_confirm.go fix(user): persist status on email updates (#1084) 2025-08-04 14:07:00 +00:00
user_email_confirm_test.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
user_password_reset.go fix: isolate deletion notifications into per-user transactions 2026-02-25 11:03:02 +01:00
user_test.go fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
users_project.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
validator.go feat(auth): require auth to fetch avatars (#930) 2025-06-14 13:12:41 +00:00