Commit Graph
1398 Commits
Author SHA1 Message Date
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 56a86c59cf 🐛 固定前端构建缓存版本 2026-08-07 10:43:52 +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 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 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
Lan a30e52ba9d docs: redesign project readme 2026-07-11 22:48:52 +08:00
Lan ab5178a73a docs: clarify frontend release permissions 2026-07-11 21:59:07 +08:00
github-actions[bot] 9219b74333 chore(master): release 2.5.0 (#487)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-11 13:55:08 +00:00
Lan 46883c90ff fix: harden automated release workflow 2026-07-11 21:53:57 +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 2c51384c80 fix: build frontend on native Docker platform 2026-07-10 17:48:54 +08:00
Lan 8d7d856c62 fix: harden share retrieval and admin visibility (#482, #480) 2026-07-10 17:39:53 +08:00
orion bcc26e4bc2 🧪 测试环境构建测试前端分支 2026-07-10 16:09:36 +08:00
orion 6d5ac36f5c ♻️ 改用 2026 主题原生生命周期组件 2026-07-10 10:12:45 +08:00
orion 49d2dc9c2c ⚡ 优化生命周期折叠与缓存更新 2026-07-10 09:15:36 +08:00
orion ed98cbe826 🐛 优化生命周期记录展开收起 2026-07-09 17:41:48 +08:00
orion a144ed67f2 🐛 提升生命周期展开收起响应 2026-07-09 17:30:02 +08:00
orion 656188a486 🐛 修复生命周期收起按钮点击响应 2026-07-09 17:09:36 +08:00
orion b8c9796fd6 🐛 仅对 2026 主题应用详情修复 2026-07-09 17:00:00 +08:00
orion 95b8c6ab36 🐛 修复实际主题生命周期默认收起 2026-07-09 17:00:00 +08:00
orion 27cb3aa430 🐛 修复详情取件记录和复制链接回退 2026-07-09 17:00:00 +08:00
Lan 36300ef54e fix: resolve docs dependency audit warnings 2026-06-20 02:41:21 +08:00
Lan 5c72562af7 chore: rebuild docker image 2026-06-16 01:35:42 +08:00
Lan cdaf3638b8 feat: add first-run setup security flow 2026-06-16 00:49:43 +08:00
Lan 1b6d8e7277 fix: harden share rate limit and code generation (#479) 2026-06-09 00:53:11 +08:00
Lan eb6fc627ae feat: update me 2026-06-05 21:14:37 +08:00
orion 7bba4313bd 🐛 避免主题资源命中旧缓存
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
2026-06-05 17:47:56 +08:00