140 Commits

Author SHA1 Message Date
237899745
78821e0c44 perf: async OSS upload in resumable complete endpoint
For OSS storage, the /api/upload/resumable/complete endpoint now returns
immediately after all chunks are assembled, then uploads to OSS in the
background. This eliminates the blocking re-upload delay for large files.

Local storage remains synchronous (already optimized with rename-first).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 00:26:02 +08:00
237899745
f40fd6003c feat: optimize file icons, UI, share direct links, and upload performance
- Replace CSS-only file icons with SVG icons for each file type (folder, image, video, audio, archive, document, app)
- Add navigation icons to left sidebar (Baidu Netdisk style)
- Enlarge file cards (108px -> 120px) with smoother transitions
- Add direct links section to share page with copy/delete actions
- Add Rust bridge commands for fetching and deleting direct links
- Optimize local storage put() to use rename-first strategy instead of copyFileSync for instant large file completion
- Show "server processing" status during upload finalization instead of appearing stuck

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 00:19:20 +08:00
d8cd7fd514 fix: improve app relaunch after update and release 0.1.28 2026-02-20 23:53:02 +08:00
b161a3e3e7 feat: improve sync workspace and updater stability in 0.1.27 2026-02-20 23:44:26 +08:00
b179cae14e fix: make silent updater produce logs reliably and release 0.1.26 2026-02-20 22:55:20 +08:00
c8f63d6fc9 feat: verify updater package and harden client reliability in 0.1.25 2026-02-20 22:15:28 +08:00
fe544efc91 fix: harden silent updater flow and release 0.1.24 2026-02-20 20:34:02 +08:00
01384a2215 feat: improve upload resilience and release 0.1.23 2026-02-20 20:21:42 +08:00
cdfe45b3a2 fix: stabilize silent updater and release 0.1.22 2026-02-19 21:41:44 +08:00
7563664733 chore: bump desktop update channel to 0.1.21 2026-02-19 21:04:12 +08:00
77799ef819 feat: tighten file card borders on web and desktop with 0.1.10 release 2026-02-19 20:57:24 +08:00
099ba3e3e0 feat: release desktop 0.1.9 with device dedupe and new branding 2026-02-19 20:33:54 +08:00
71a19e9e87 feat: adjust confirm button order and improve file name wrapping 2026-02-19 20:09:05 +08:00
9c3ced5c44 chore: release desktop client 0.1.7 2026-02-19 19:44:15 +08:00
5082a5ed04 fix: unify client confirmations and inline rename UX 2026-02-19 19:36:52 +08:00
d604b8dc7b chore: bump desktop client version to 0.1.6 2026-02-19 19:14:35 +08:00
50d41cb7ae fix: restore login by defining getClientIp helper 2026-02-19 19:08:12 +08:00
19f53875c9 feat: add online device management and desktop settings integration 2026-02-19 17:34:41 +08:00
365ada1a4a feat(desktop): remember login in sqlite and streamline update flow 2026-02-19 00:12:33 +08:00
3329ff10cf chore(release): bump desktop client to 0.1.4 2026-02-18 22:55:52 +08:00
fd236e6949 chore(release): bump desktop client to 0.1.3 2026-02-18 22:27:20 +08:00
fec2bd37a4 feat(update): auto-clean old desktop installer packages 2026-02-18 22:14:26 +08:00
af51d74a9f feat(share): reuse existing share and direct links per file 2026-02-18 22:13:14 +08:00
74032fe497 chore(release): publish desktop 0.1.2 with manual update checks 2026-02-18 22:02:34 +08:00
f96a9ccaa9 feat(security): shorten download signed URLs to 30s and remove update polling 2026-02-18 21:59:14 +08:00
4b3a113285 chore(release): bump desktop client to 0.1.1 2026-02-18 21:23:05 +08:00
32a66e6c77 feat(desktop): add sort/filter, update center, and local sync workspace 2026-02-18 20:07:21 +08:00
751428a29a fix: keep expired reservations reconcilable for delayed OSS logs 2026-02-18 10:49:58 +08:00
5eab1de03e fix: ingest oss traffic logs without file extensions 2026-02-18 10:24:00 +08:00
96ff46aa4a feat: add configurable stealth download security policies 2026-02-18 09:48:14 +08:00
8956270a60 fix: improve reservation cleanup and share popup handling 2026-02-17 23:55:31 +08:00
1a1c64c0e7 feat: add share security, resumable upload, global search and reservation ops panel 2026-02-17 23:36:30 +08:00
6242622f1a feat: add independent direct-link sharing flow 2026-02-17 21:57:38 +08:00
d236a790a1 test: update admin/share edge scripts for cookie+csrf auth 2026-02-17 21:32:07 +08:00
aed5dfdcb2 feat: add server-side admin user pagination and align traffic report accounting 2026-02-17 20:30:02 +08:00
0885195cb5 fix: remove preview content-type override for aliyun oss compatibility 2026-02-17 19:51:01 +08:00
f0e7381c1d fix: use preview-mode signed URLs and graceful media preview fallback 2026-02-17 19:36:49 +08:00
2b700978ad fix: precheck local downloads to avoid JSON file download on quota errors 2026-02-17 19:32:48 +08:00
978ae545e1 feat: make zero download quota block downloads and use -1 for unlimited 2026-02-17 19:25:39 +08:00
53e77ebf4e fix: precheck local share download quota at download-url stage 2026-02-17 19:08:47 +08:00
19d3f29f6b fix: move share quota block to download and add 3s download alert 2026-02-17 19:05:12 +08:00
10a3f09952 feat: switch OSS download quota to reservation plus log reconcile 2026-02-17 18:12:33 +08:00
b171b41599 fix: force OSS direct download even when traffic quota is enabled 2026-02-17 17:40:55 +08:00
3a22b88f23 feat: add user download traffic reports and restore OSS direct downloads 2026-02-17 17:36:26 +08:00
7687397954 feat: enhance download traffic quota lifecycle controls 2026-02-17 17:19:25 +08:00
2629237f9e feat(quota): add downloadable traffic quota with local/OSS/share metering 2026-02-17 16:52:26 +08:00
b0e89df5c4 fix(security): harden CORS/cookie policy and share path validation 2026-02-12 21:39:01 +08:00
12859cbb20 feat: apply UI/storage/share optimizations and quota improvements 2026-02-12 18:02:57 +08:00
d46d20f670 chore: 移除系统设置的密码二次验证
移除 /api/admin/settings 路由的 requirePasswordConfirmation 中间件,
简化管理员操作流程。系统设置更新现在仅依赖管理员登录认证。

注意:此修改降低了安全性,建议在生产环境中考虑其他安全措施。

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 11:58:39 +08:00
Dev Team
0061d837ec fix: 修复OSS删除单个文件失败的bug
## 问题
删除单个文件时使用DeleteObjectsCommand导致阿里云OSS报错:
"Missing Some Required Arguments."

## 修复
- 改用DeleteObjectCommand删除单个文件
- 修复storage.js:1224的delete方法
- 与之前修复的rename方法保持一致

## 影响
-  文件删除功能现在正常工作
-  与重命名功能使用相同的删除命令
-  完全兼容阿里云OSS

**Bug数量:** 1个
**修改文件:** 1个
2026-01-20 22:24:05 +08:00