v26.05.23.2: serve /images + artist cleanup migrator #4
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patch release rolling up two post-migration fixes.
Fixes
/images/<path>from disk (f653c26): without this route, the SPA catch-all swallowed every thumbnail/original URL and returnedindex.html, causing the aspect-ratio-shaped grey placeholders in Showcase and Gallery. Added a guardedsend_from_directoryroute registered before the SPA fallback.Features
/api/migrate/cleanupmigrator (f5efbea): targeted destructive cleanup — deletes everyimage_recordattributed to one artist (CASCADE handlesimage_tag,image_provenance,series_page,tag_suggestion_rejection), unlinks originals + thumbnails on disk, optionally sweepsimport_taskrows under a givensource_path_prefix, removes emptyimport_batchrows, and finally deletes the artist row. Built for the IR-migration rescue case where the scan derived a bogusimagerepoartist from a mismatched bind-mount layout. Honorsdry_runfor a safe preview; requiresforce: trueto bypass the pre-migration backup guard.Commits