vikunja/pkg/files
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
..
db.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
diagnostics_unix.go feat(doctor): add user namespace detection and improved storage diagnostics (#2180) 2026-02-01 11:57:35 +01:00
diagnostics_windows.go feat(doctor): add user namespace detection and improved storage diagnostics (#2180) 2026-02-01 11:57:35 +01:00
dump.go fix: correct license header references (#882) 2025-06-10 12:18:38 +02:00
error.go fix(attachments): extend upload file size to form data (#1577) 2025-09-30 22:23:07 +00:00
filehandling.go feat: add UNSIGNED-PAYLOAD config option for S3-compatible stores (#2205) 2026-02-08 15:03:19 +00:00
files.go fix: eliminate nested database sessions to prevent table locks 2026-02-25 11:03:02 +01:00
files_test.go fix: detect and store mime type when creating file attachments 2026-02-22 00:00:11 +01:00
main_test.go feat: move to slog for logging 2025-07-21 18:15:39 +02:00
repair.go feat: add repair-file-mime-types CLI command 2026-02-22 00:00:11 +01:00
s3_test.go fix(backgrounds): stream unsplash download to temp file instead of memory 2026-02-08 15:31:25 +01:00