vikunja/pkg/modules/background/handler
kolaente 8381f7543f refactor(background): share upload validation between v1 and v2 handlers
Extract the MIME validation, file storage and project reload from the v1
UploadBackground handler into ValidateAndSaveBackgroundUpload so the upcoming
v2 handler can reuse it instead of duplicating the logic. The v1 handler keeps
its exact wire behaviour; the inline "not an image" check now returns a typed
ErrFileIsNoImage that the handler maps to the same message.
2026-06-12 08:47:08 +00:00
..
background.go refactor(background): share upload validation between v1 and v2 handlers 2026-06-12 08:47:08 +00:00
errors.go refactor(background): share upload validation between v1 and v2 handlers 2026-06-12 08:47:08 +00:00