orion
dd905c5c90
🐛 fix(webdav): 保证流式上传取消后清理未发布文件
2026-09-18 16:22:22 +08:00
orion
8a3147ef0d
🔧 chore(test): 固定取件码修复前端并隔离测试限流状态
2026-09-18 16:17:58 +08:00
orion
90089f793e
⚡ fix(webdav): 改用独立分片流式合并并隔离测试协议
2026-09-18 15:38:45 +08:00
orion
32298bfdeb
⚡ perf(webdav): 偏移写入分片并取消整文件落盘合并
2026-09-18 11:52:27 +08:00
orion
3e32806b59
✨ feat(backend): 补齐本地目录分页搜索与分享校验
2026-09-18 10:57:20 +08:00
orion
96e8eeac39
🔀 merge: 合并 2.7.0 后端并固定新版管理前端构建
Deploy VitePress site to Pages / build (push) Canceled after 0s
Deploy VitePress site to Pages / Deploy (push) Canceled after 0s
Create release / release-please (push) Canceled after 0s
Build and push Docker image / buildx (push) Canceled after 0s
2026-09-18 10:30:39 +08:00
orion
9e9571b031
feat: 整合官方 2.7.0 安全修复与本地文件分享
2026-09-18 10:08:42 +08:00
orion
b10113e5ab
✨ feat(core): 引入垃圾回收管理功能
...
* 新增垃圾回收管理逻辑,支持批量管理与清理功能
* 在数据模型中增加过期时间与保留天数验证逻辑
* 在 FileService 中集成垃圾回收管理模块
* 调整任务调度逻辑以适配新的垃圾回收规则
* 为垃圾回收功能补充相应的单元测试覆盖
2026-09-18 09:39:27 +08:00
orion
925c6450ac
✨ 配置回收站默认保留期
2026-09-11 16:50:05 +08:00
orion
6bc1c30797
✨ 新增回收站审计与八位取件码
2026-09-11 16:49:50 +08:00
orion
b2e1928898
🐛 兼容新旧取件码并完善回收站复制
2026-09-11 08:59:34 +08:00
orion
cd06a5580e
🐛 修复详情披露与滚动锁所有权
...
修复记录详情中的渐进式二维码与 wget 展示,并确保详情切换时重置披露状态。为滚动锁引入按所有者释放机制,避免重复或错误释放解锁仍打开的抽屉。
- 二维码和 wget 命令默认折叠,改为可操作的显示控件
- 详情关闭按钮保持 44px 触控目标,嵌套对话框 Escape 不穿透
- 增加 scrollLock mocked document 回归测试
- 已通过类型检查、架构检查、生产构建和 Node 测试
2026-09-11 08:55:28 +08:00
orion
67a4fd894c
🔀 合并 FileCodeBox 2.5.6 官方修复
...
在保留现有 2026 主题、管理后台与存储定制的基础上,同步官方 2.5.5/2.5.6 的安全修复与生产日志优化。
- 合入分片上传文件名清理与路径穿越防护
- 合入生产日志降噪、访问日志开关和回收站处理修复
- 保留现有前端主题、WebDAV 和管理后台定制
2026-09-11 07:37:37 +08:00
vastsa
5537f56b88
fix(logging): reduce production log noise
2026-09-01 23:56:08 +08:00
vastsa
da1dd06655
fix(chunk-upload): persist sanitized filenames
2026-08-29 12:38:46 +08:00
zhou-kkk
cebac32145
fix: sanitize chunk upload file_name to prevent path traversal
2026-08-29 12:13:39 +08:00
orion
07e362d341
✨ 配置回收站默认保留期
2026-08-07 15:02:23 +08:00
orion
5427c187d4
🐛 停止改写共享前端模块
2026-08-07 11:33:27 +08:00
orion
bf68e8dded
🐛 修复文件管理共享剪贴板模块语法
2026-08-07 11:23:44 +08:00
orion
5db619a1e8
🐛 封存历史审计与手工改码取件码
2026-08-07 10:59:35 +08:00
orion
d75044e884
🐛 永久封存恢复前的旧取件码
2026-08-07 10:46:45 +08:00
orion
4ee06e2d29
✨ 新增回收站审计与八位取件码
2026-08-07 10:28:22 +08:00
orion
c25c495657
🐛 修复主题静态资源错误回退
...
避免缺失或越界的主题资源被全局 SPA 404 回退误返回首页 200,保持静态资源请求的明确 404 语义。
- 为主题资源回退增加显式 404 响应
- 增加缺失资源与路径穿越回归测试
2026-08-07 09:23:56 +08:00
orion
0be5a31a59
🔀 合并 FileCodeBox 2.5.4 安全更新
...
同步官方 2.5.4 的初始化、安全、容量控制与上传校验,并保留 2026 主题、动态资源缓存和管理后台统计能力。
- 使用原子领取和容量预留,补齐文件校验、限流、令牌轮换与路径防护
- 保留三主题构建、2026 静态资源隔离及 TransferStats 生命周期记录
- 已通过容器生产镜像构建、23 项安全与分享回归测试、Python 编译检查和 Dockerfile 检查
2026-08-07 09:09:42 +08:00
vastsa
fc0cbeb4f0
fix: run Docker image as root for data volume compatibility
...
Revert the non-root container user so existing deployments with
root-owned data volumes keep working without a manual chown step.
2026-07-23 22:35:00 +08:00
vastsa
eda0a3127a
fix: add magic-byte checks, login rate limits, and non-root Docker
...
Close the remaining security gaps: validate upload content against
file signatures, rate-limit admin login failures with configurable
thresholds, and run the container as uid 1000 instead of root.
2026-07-23 22:23:04 +08:00
Lan
ae7702603a
Merge pull request #496 from vastsa/fix/pr494-security-patches
...
fix: harden share expiry, download token, quota SQL, and CORS
2026-07-23 19:41:40 +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
Lan
59ed733f3a
support text direct downloads ( #490 )
...
## 合入说明
- 修复 `GET /share/select/` 文本分享直链错误走存储层导致“已删除/过期”的问题
- 文本分享返回 UTF-8 plain text 附件下载
- 补充回归测试,不影响现有文件下载与次数扣减逻辑
## 评估结论
有必要合入:master 仍复现该缺陷,改动小、无冲突、测试通过。
2026-07-21 14:52:36 +08:00
vastsa
00f3abd3b2
fix: patch CVE dependencies and path traversal risks
...
Upgrade aiohttp and related packages, harden local file and storage path checks, tighten password/JWT comparisons, and default Docker forwarded IP trust to empty.
2026-07-21 14:49:30 +08:00
monlor
f2277e1649
support text direct downloads
2026-07-15 15:12:24 +08:00
Lan
ee8f9082ab
feat: automate version releases
2026-07-11 21:49:04 +08:00
Lan
818dd47b2a
feat: add global storage capacity limit
2026-07-11 17:50:26 +08:00
Lan
93ff291366
feat: configure admin session lifetime ( #484 )
2026-07-10 19:21:00 +08:00
Lan
8d7d856c62
fix: harden share retrieval and admin visibility ( #482 , #480 )
2026-07-10 17:39:53 +08:00
Lan
cdaf3638b8
feat: add first-run setup security flow
2026-06-16 00:49:43 +08:00
Lan
c1fb802223
fix : #473 normalize retrieve codes before lookup
2026-06-05 11:40:11 +08:00
Lan
1d03337e2f
fix : #476 serve assets from selected theme
2026-06-05 11:37:44 +08:00
Lan
8d6eaacb70
fix : #478 make s3 upload confirmation resilient
2026-06-05 11:33:21 +08:00
Lan
3fe136536e
fix : #461 support s3 path style addressing
2026-06-05 11:32:31 +08:00
Lan
aa6904a12c
fix : #465 restrict uploads by allowed file types
2026-06-05 11:29:37 +08:00
Lan
135dfdda9d
fix : #464 serialize admin file list items safely
2026-06-05 11:28:22 +08:00