Skip to content

Omnibus v1.1.0-beta.062

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Jun 23:22

v1.1.0-beta.062 - fix: issue cover controls — per-issue Upload alongside Reset

🖼️ Per-issue cover Upload + Reset on the series page (admin)

  • beta.061 added a "Reset cover" button when viewing an issue, but the only upload control on the series page ("Cover") always set the SERIES cover — it wrote /cover.jpg and cleared the active issue — so there was no way to upload a cover for an individual issue. Now, when viewing an issue, admins get both: "Cover" uploads a custom cover for THAT issue (uploads/issue-covers/.jpg + hasCustomCover lock, the same shape the Smart Matcher writes) and the reset button clears it and re-fetches the provider cover. The series Upload/Revert still show when viewing the series cover.

🔌 Consolidated route: POST/DELETE /api/library/issue/cover-upload (admin-only)

  • Replaces the beta.061 reset-cover route. POST uploads a per-issue cover (15MB cap, path-contained, AuditLogger UPLOAD_ISSUE_COVER); DELETE resets it (delete upload + provider re-fetch + clear lock, RESET_ISSUE_COVER). Mirrors the series library/cover-upload POST/DELETE shape.

✅ Verification

  • tsc clean; eslint . 0 errors; vitest 282 passed