2b016f91af
upload-files 接受任意后缀含 .zip;拖拽/多选统一原样暂存,解压改走「ZIP 解压上传」按钮。 Co-authored-by: Cursor <cursoragent@cursor.com>
642 B
642 B
Changelog — 推送普通文件取消后缀限制
日期:2026-06-07
摘要
/sync/upload-files 与推送页拖拽/选择上传不再按后缀分流;.zip、无后缀文件等均原样写入暂存。需解压目录时单独点「ZIP 解压上传」。
涉及文件
server/api/sync_v2.py— 移除 upload-files 对.zip的拒绝frontend/src/composables/push/usePushForm.ts— 统一走 upload-files;解压独立入口frontend/src/components/push/PushZipUpload.vuetests/test_sync_upload_staging.py
验证
pytest tests/test_sync_upload_staging.py -q
cd frontend && npm run build