Commit Graph
1426 Commits
Author SHA1 Message Date
Orion ba7d6c3d4f 🔀 同步 FileCodeBox 2.5.6 生产代码
Build and push Docker image / buildx (push) Canceled after 0s
Deploy VitePress site to Pages / build (push) Canceled after 0s
Create release / release-please (push) Canceled after 0s
Deploy VitePress site to Pages / Deploy (push) Canceled after 0s
2026-09-11 07:43:13 +08:00
orion 7638b1d75d 🔀 合并 FileCodeBox 2.5.6 测试验证版本
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-11 07:41:54 +08:00
orion 67a4fd894c 🔀 合并 FileCodeBox 2.5.6 官方修复
在保留现有 2026 主题、管理后台与存储定制的基础上,同步官方 2.5.5/2.5.6 的安全修复与生产日志优化。

- 合入分片上传文件名清理与路径穿越防护
- 合入生产日志降噪、访问日志开关和回收站处理修复
- 保留现有前端主题、WebDAV 和管理后台定制
2026-09-11 07:37:37 +08:00
github-actions[bot] 6c76aabe1e chore(master): release 2.5.6 (#509)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-01 16:08:44 +00:00
vastsa e08555a6e8 Merge fix/prod-log-noise-20260901 2026-09-01 23:56:25 +08:00
vastsa 5537f56b88 fix(logging): reduce production log noise 2026-09-01 23:56:08 +08:00
github-actions[bot] 00f1f1d8da chore(master): release 2.5.5 (#507)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-29 04:44:30 +00:00
Lan 5a7195c5c7 Merge pull request #506 from vastsa/fix/pr505-hardened
fix: harden chunk upload filename metadata
2026-08-29 12:44:06 +08:00
vastsa da1dd06655 fix(chunk-upload): persist sanitized filenames 2026-08-29 12:38:46 +08:00
vastsa d510aa7f57 Merge remote-tracking branch 'contributor/pr505' into fix/pr505-hardened 2026-08-29 12:32:00 +08:00
zhou-kkk cebac32145 fix: sanitize chunk upload file_name to prevent path traversal 2026-08-29 12:13:39 +08:00
Orion 70b9c1b7ca 🔀 同步移动端详情生产前端构建
Build and push Docker image / buildx (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Create release / release-please (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
将生产镜像的 2026 前端构建缓存标识同步到已合并的 main 提交,确保 1Panel 无缓存重建使用通过测试验证的移动端双列和高刷动效版本。

- 2026 前端生产分支已显式合并 test/custom-admin-ui
- 更新前端构建缓存标识至 f4e498b
- 后续通过既有 1Panel 编排重建生产容器
2026-08-07 23:29:44 +08:00
Orion 68ce135f29 🔀 合并移动端详情测试优化到生产分支 2026-08-07 23:28:16 +08:00
orion 1f497f8005 🔀 同步移动端详情前端测试构建
更新测试后端镜像的 2026 前端构建缓存标识,使测试环境在无缓存重建时拉取已验证的移动端详情双列与高刷动效提交。

- 保持测试前端分支为 test/custom-admin-ui
- 将前端构建缓存标识同步到 c2f0bf1
- 仅用于测试镜像重建,不涉及生产分支
2026-08-07 23:23:03 +08:00
Orion 3c492de6d9 🔀 合并回收站保留期配置到生产分支
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Create release / release-please (push) Has been cancelled
Build and push Docker image / buildx (push) Has been cancelled
2026-08-07 16:07:12 +08:00
orion d21f39af9d 🐛 补齐生命周期悬浮边框 2026-08-07 15:13:53 +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 a9c280fde8 🔀 合并回收站与取件码升级到生产分支
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Create release / release-please (push) Has been cancelled
Build and push Docker image / buildx (push) Has been cancelled
2026-08-07 11:02:00 +08:00
orion 5db619a1e8 🐛 封存历史审计与手工改码取件码 2026-08-07 10:59:35 +08:00
orion d75044e884 🐛 永久封存恢复前的旧取件码 2026-08-07 10:46:45 +08:00
orion 56a86c59cf 🐛 固定前端构建缓存版本 2026-08-07 10:43:52 +08:00
orion 4ee06e2d29 ✨ 新增回收站审计与八位取件码 2026-08-07 10:28:22 +08:00
Orion 231d609e86 🔀 合并主题静态资源 404 修复到生产分支
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Create release / release-please (push) Has been cancelled
Build and push Docker image / buildx (push) Has been cancelled
2026-08-07 09:24:35 +08:00
Orion 5483e3b494 🐛 修复主题静态资源错误回退
同步测试分支已验证的静态资源 404 回归修复,避免缺失或越界资源被 SPA 首页兜底为 200。
2026-08-07 09:24:35 +08:00
orion c25c495657 🐛 修复主题静态资源错误回退
避免缺失或越界的主题资源被全局 SPA 404 回退误返回首页 200,保持静态资源请求的明确 404 语义。

- 为主题资源回退增加显式 404 响应
- 增加缺失资源与路径穿越回归测试
2026-08-07 09:23:56 +08:00
Orion 3c427b5408 🔀 合并 FileCodeBox 2.5.4 安全更新到生产分支
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Create release / release-please (push) Has been cancelled
Build and push Docker image / buildx (push) Has been cancelled
2026-08-07 09:10:07 +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 f76d1e9841 docs: refresh readme and docs screenshots
Replace legacy PNG assets with new WebP banners and UI captures, and point Chinese/English readme plus docs pages at the updated images.
2026-07-24 16:34:24 +08:00
github-actions[bot] 287b647da1 chore(master): release 2.5.4 (#501)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-23 14:35:42 +00:00
Lan fbcd4a5b2b Merge pull request #500 from vastsa/fix/docker-run-as-root
fix: run Docker as root for volume compatibility
2026-07-23 22:35:20 +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
github-actions[bot] 24bf6e1a81 chore(master): release 2.5.3 (#499)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-23 14:23:38 +00:00
Lan 0ee2f046dd Merge pull request #498 from vastsa/fix/security-hardening-gaps
fix: magic-byte file checks, admin login rate limit, non-root Docker
2026-07-23 22:23:11 +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
github-actions[bot] c11059b851 chore(master): release 2.5.2 (#497)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-23 11:42:06 +00: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
Orion 1bba4f59aa 🔀 合并测试环境性能优化到生产分支
Build and push Docker image / buildx (push) Has been cancelled
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
从已验证并已推送的 test/custom-admin-ui 分支合并静态资源压缩和统一主题资源路由改动。

- 保留生产 Dockerfile 使用前端 main 分支
- 不带入测试环境专用构建配置
- 测试环境已通过 48 组响应式与明暗模式回归
2026-07-21 17:33:31 +08:00
Orion 6bed5fb76d Revert "⚡ 启用压缩并兼容统一主题资源路径"
This reverts commit f093a8ac6d.
2026-07-21 17:33:11 +08:00
orion f093a8ac6d ⚡ 启用压缩并兼容统一主题资源路径
Deploy VitePress site to Pages / build (push) Has been cancelled
Deploy VitePress site to Pages / Deploy (push) Has been cancelled
Build and push Docker image / buildx (push) Has been cancelled
为 FastAPI 应用启用 Gzip,并兼容 Vite 在 /theme-assets/ 基址下生成的 assets 子路径。

- 压缩超过 1KB 的静态资源和 API 响应,保留不可变缓存策略
- 同时兼容 /theme-assets/<file> 与 /theme-assets/assets/<file>
- 保留 /assets 旧入口,避免影响历史主题
- 已通过 Python 编译检查
2026-07-21 17:29:21 +08:00
orion 5e4c3ed5e3 ⚡ 启用压缩并兼容统一主题资源路径
为 FastAPI 应用启用 Gzip,并兼容 Vite 在 /theme-assets/ 基址下生成的 assets 子路径。

- 压缩超过 1KB 的静态资源和 API 响应,保留不可变缓存策略
- 同时兼容 /theme-assets/<file> 与 /theme-assets/assets/<file>
- 保留 /assets 旧入口,避免影响历史主题
- 已通过 Python 编译检查
2026-07-21 17:08:02 +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
github-actions[bot] cf6d364c2b chore(master): release 2.5.1 (#492)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-21 06:49:57 +00: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
Lan c676458370 docs: recommend BokeBox in project readme 2026-07-17 19:26:42 +08:00
monlor f2277e1649 support text direct downloads 2026-07-15 15:12:24 +08:00
Lan f20a7a5704 docs: improve documentation experience 2026-07-12 00:08:34 +08:00
Lan fe1a7727f7 docs: simplify project readme 2026-07-11 23:00:24 +08:00