feat: add per-song MP3 download buttons to admin request page #1

Merged
yrtria merged 1 commit from feat/download-song-button into main 2026-09-19 20:49:19 -06:00
Owner

Summary

Adds the ability to download the song a client has decided on directly from the admin request page.

Changes

  • New route GET /admin/request/<rid>/download-song/<version> — admin-authenticated, serves the Version A or Version B MP3 as a download using the original filename. Missing files redirect back with a flash error.
  • Section 2 (Songs): a "⬇ Download" button now appears next to each Version A / Version B row, shown only when that MP3 exists on disk.
  • Styling: added a .song-download rule so the button aligns cleanly in the song row.
  • Version bump to 0.9.2 (MINOR) in VERSION and the README badge, plus a routes-table note.

Scope

  • MP3 only (WAV lines untouched).
  • Button on both Version A and Version B whenever the file exists, regardless of customer approval.
  • Original filename as the download name.
## Summary Adds the ability to download the song a client has decided on directly from the admin request page. ## Changes - **New route** `GET /admin/request/<rid>/download-song/<version>` — admin-authenticated, serves the Version A or Version B MP3 as a download using the original filename. Missing files redirect back with a flash error. - **Section 2 (Songs)**: a "⬇ Download" button now appears next to each Version A / Version B row, shown only when that MP3 exists on disk. - **Styling**: added a `.song-download` rule so the button aligns cleanly in the song row. - **Version bump** to 0.9.2 (MINOR) in `VERSION` and the README badge, plus a routes-table note. ## Scope - MP3 only (WAV lines untouched). - Button on both Version A and Version B whenever the file exists, regardless of customer approval. - Original filename as the download name.
yrtria added 1 commit 2026-09-19 20:49:10 -06:00
Adds an admin download route (/admin/request/<rid>/download-song/<version>)
and Download buttons next to Version A and Version B in section 2 (Songs),
shown only when the MP3 exists on disk. Bumps version to 0.9.2.
yrtria merged commit dead6602f5 into main 2026-09-19 20:49:19 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: yrtria/booth-musicgpt#1
No description provided.