From 200fac005c2f2557881710d15a7207d7912e126e Mon Sep 17 00:00:00 2001 From: vishwajeet-13 Date: Tue, 8 Sep 2026 00:57:39 +0530 Subject: [PATCH] feat: JPEG/PNG download choice on shared folder/project pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The format menu shipped in #157 only reached the review page and the asset action menu — a guest on a /vms/shared/folder or /vms/shared/:project link could still only download a RAW/HEIC file in its original format. - vms.api.download_shared_converted_asset: guest endpoint, share-token scoped (same validation as get_shared_asset_download_url), 300 MB cap + 15/min rate limit via serve_converted_download - SharedProjectPage: per-asset Download becomes Original / JPEG / PNG for RAW/HEIC stills; "Download all" stays originals - MediaPreviewDialog: optional downloadMenu prop renders the same choice in the preview header Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01N6kPRDGo6QbcVcc8DPkMTf --- .../components/common/MediaPreviewDialog.vue | 8 +++- frontend/src/pages/SharedProjectPage.vue | 43 ++++++++++++++++++- vms/api.py | 32 ++++++++++++++ 3 files changed, 80 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/common/MediaPreviewDialog.vue b/frontend/src/components/common/MediaPreviewDialog.vue index 55fb796..647e675 100644 --- a/frontend/src/components/common/MediaPreviewDialog.vue +++ b/frontend/src/components/common/MediaPreviewDialog.vue @@ -3,8 +3,11 @@