2 Commits
Author SHA1 Message Date
orion 69cfa436de ✨ feat: 完善下载检测与查件生命周期
* 提供有鉴权和并发限制的轻量下载检测,不消耗次数或生成取件事件
* 支持保存检测间隔,并校验关闭选项和有效范围
* 将成功查件记录按时间并入生命周期,与实际发起取件事件区分
* 统一签名下载入口,文本与直链分享仅在下载时计数并保留直链传输
* 处理检测取消时的连接释放,补充鉴权、存储和生命周期集成验证
* 记录文件恢复和测试验收,明确先推送代码再部署测试环境
2026-09-19 00:35:56 +08:00
vastsa a41693f90d fix: harden share expiry, download token, quota SQL, and CORS
Apply the useful security fixes from PR #494 with review corrections:
validate expire_style through a shared helper, accept previous download
token window, detect SQL dialect via Tortoise capabilities, close remote
download sessions on client abort, and disable invalid CORS credentials.
2026-07-23 19:38:50 +08:00