vikunja/pkg/modules
kolaente 49bba7f830 fix: eliminate nested database sessions to prevent table locks
Refactor functions that created their own sessions when called from
within existing transactions, which caused "database table is locked"
errors in SQLite's shared-cache mode.

Changes:
- Add files.CreateWithSession() to reuse caller's session
- Refactor DeleteBackgroundFileIfExists() to accept session parameter
- Add variadic session parameter to notifications.Notify() and
  Notifiable.ShouldNotify() interface
- Update all Notify callers (~17 sites) to pass their session through
- Use files.CreateWithSession in SaveBackgroundFile and NewAttachment
- Fix test code to commit sessions before assertions
2026-02-25 11:03:02 +01:00
..
auth fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
avatar fix: use DelPrefix in upload avatar FlushCache to clear all cached sizes 2026-02-13 09:31:28 +01:00
background fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
dump fix(dump): limit copy size to prevent decompression bombs 2026-02-08 15:31:25 +01:00
keyvalue feat: add keyvalue.Remember function 2025-07-17 16:19:13 +02:00
migration fix: add missing Commit() to write callers 2026-02-25 11:03:02 +01:00