Commit Graph
1666 Commits
Author SHA1 Message Date
orion bba6720799 ⚡ 优化生命周期高刷展开动画 2026-08-07 17:57:14 +08:00
orion 738d864756 🎨 统一生命周期折叠圆角 2026-08-07 17:24:24 +08:00
orion 149ed4ca6f ✨ 增加取件记录二级折叠 2026-08-07 17:15:23 +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 ac3f0f94e6 🎨 调整回收站配置说明位置 2026-08-07 15:43:43 +08:00
orion c1be1f275a 🐛 修复回收站配置中文文案 2026-08-07 15:30:29 +08:00
orion 37e0a068b3 ✨ 完善后台列表与生命周期交互 2026-08-07 15:14:03 +08:00
orion d21f39af9d 🐛 补齐生命周期悬浮边框 2026-08-07 15:13:53 +08:00
orion d7e8acfe46 ✨ 增加回收站保留期设置 2026-08-07 15:02:36 +08:00
orion 07e362d341 ✨ 配置回收站默认保留期 2026-08-07 15:02:23 +08:00
orion 53bcaeae8a 🐛 修复移动端批量删除点击 2026-08-07 12:01:15 +08:00
orion ff768ea152 🐛 移除后台重复会话跳转 2026-08-07 11:45:57 +08:00
orion bb8b1449e1 🐛 保留已验证的后台会话 2026-08-07 11:39:55 +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 2bf610ac22 ✨ 新增回收站与操作记录页面 2026-08-07 10:27:34 +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 8698a224dd 🔀 合并手机导航与日期布局修复到生产分支
从已验证的 test/custom-admin-ui 分支合并导航对比度和趋势日期单行布局修复。\n\n- 测试环境已通过 48 组响应式与明暗模式回归\n- 320/390px 日期单行且无溢出\n- 浅色与深色导航对比度均通过专项验证
2026-07-21 17:58:05 +08:00
orion d47d0edbce 🐛 修复手机导航对比度与趋势日期布局
针对 iPhone Safari 中侧栏半透明合成导致导航文字和图标发灰的问题,提高移动导航可读性,并恢复趋势日期的手机单行布局。

- 导航抽屉改为不透明实色背景,遮罩只作用于右侧内容
- 提高品牌、菜单、关闭按钮和退出登录的文字图标对比度
- 强化当前菜单选中态,兼顾浅色与深色模式
- 手机端开始和结束日期恢复同一行并保持 44px 控件高度
- 已通过架构检查、类型检查、ESLint 和生产构建
2026-07-21 17:49:03 +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 0f075aaeed Merge remote-tracking branch 'refs/remotes/localgitea/main' 2026-07-21 17:28:45 +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
orion 2fe835d8d2 ⚡ 补充分割低频组件与响应式渲染优化
根据全站性能审计继续降低低频组件请求、重复 DOM 与重复缓存 URL 成本。

- 二维码组件改为详情弹窗实际渲染时异步加载
- 文件管理仅挂载当前断点对应的移动列表或桌面表格
- Vite 静态与动态资源统一使用 /theme-assets/ 前缀
- 已通过架构检查、类型检查、ESLint 和生产构建
2026-07-21 17:07:44 +08:00
orion aa3743b42d ⚡ 全面优化 2026 前端响应式体验与加载性能
完成 FileCodeBox 2026 全站桌面端、平板和移动端的视觉交互复核,补齐文件选择后的批量操作闭环,并降低公共首屏的字体与低频依赖成本。

- 为移动文件列表增加全选、已选数量、批量编辑、策略与删除固定栏,并补充详情删除和空筛选重置
- 优化设置保存栏、分区导航、发送过期控件、仪表盘日期与图表操作、分页和记录抽屉
- 为后台侧栏增加遮罩、滚动锁定、Escape 关闭和焦点返回,完善登录密码可见性与国际化
- 移除全站强制 DingTalk 字体,按需加载 JSZip、Marked 和 DOMPurify,并停止空闲提示定时器
- 已通过架构检查、Vue 类型检查、ESLint、生产构建、48 组多视口明暗模式矩阵及核心流程回归
2026-07-21 16:44:45 +08:00
orion ae0425aff3 Merge pull request 'Test/custom admin ui' (#3) from test/custom-admin-ui into main
Reviewed-on: orion/FileCodeBoxFronted2026#3
2026-07-21 15:14:22 +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
orion fa6b484d17 ♿ 完善文件历史表格键盘滚动可访问性
为文件管理页的历史文件表格补充可聚焦的滚动区域语义,避免窄视口下横向滚动内容无法通过键盘访问。

- 为历史文件表格滚动容器增加 region 角色和可访问名称
- 保持现有表格、分页和文件操作逻辑不变
- 已通过架构检查、Vue 类型检查、Vite 生产构建和 diff 检查
2026-07-21 11:46:50 +08:00