Commit Graph
91 Commits
Author SHA1 Message Date
orion 8af45a70f6 ✨ feat: 默认关闭自动检测并支持全量文件枚举
* 默认仅手动检测下载状态,减少非主动的网盘读取请求
* 提供管理员全量文件 ID 快照,排除回收文件且不读取存储
* 验证枚举鉴权、跨分页范围及检测不产生取件副作用
* 明确先验证测试分支,再合并正式分支构建生产版本
2026-09-19 01:24:17 +08:00
orion 69cfa436de ✨ feat: 完善下载检测与查件生命周期
* 提供有鉴权和并发限制的轻量下载检测,不消耗次数或生成取件事件
* 支持保存检测间隔,并校验关闭选项和有效范围
* 将成功查件记录按时间并入生命周期,与实际发起取件事件区分
* 统一签名下载入口,文本与直链分享仅在下载时计数并保留直链传输
* 处理检测取消时的连接释放,补充鉴权、存储和生命周期集成验证
* 记录文件恢复和测试验收,明确先推送代码再部署测试环境
2026-09-19 00:35:56 +08:00
orion c2d743ba51 ✨ feat(config): 统一分片大小配置与续传校验 2026-09-18 17:51:42 +08:00
orion 07e362d341 ✨ 配置回收站默认保留期 2026-08-07 15:02:23 +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 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 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 1b6d8e7277 fix: harden share rate limit and code generation (#479) 2026-06-09 00:53:11 +08:00
orion f613d9f69e Merge remote-tracking branch 'origin/master' into test/custom-admin-ui
# Conflicts:
#	.gitignore
#	Dockerfile
#	apps/admin/services.py
#	apps/admin/views.py
#	apps/base/models.py
#	apps/base/views.py
#	core/settings.py
2026-06-05 17:01:32 +08:00
Orion a8615aca0b Add 2026 theme build and retrieval timeline 2026-06-05 12:18:04 +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 1cc901d2b9 feat: add migration for filecodes table and update size field to BigInt 2026-02-27 23:38:27 +08:00
Lan 68464b3a9a feat: add migration for filecodes table and update size field to BigInt 2026-02-27 23:38:27 +08:00
Lan f1a16a115a revert: 重新使用0.0.0.0 后续新增后台配置,延长后台时间 2025-12-19 10:17:37 +08:00
Lan 69cb9ba2e4 revert: 重新使用0.0.0.0 后续新增后台配置,延长后台时间 2025-12-19 10:17:37 +08:00
Lan 900541baa5 feat(config): Add configurable workers and host settings
- Add "workers" configuration option to DEFAULT_CONFIG with default value of 1
- Add "host" configuration option to DEFAULT_CONFIG with default value of "::"
- Update uvicorn.run() to use settings.host and settings.workers instead of hardcoded values
- Reorganize imports in main.py for better readability and consistency
- Add blank line after time import in core/utils.py for PEP 8 compliance
- Allow dynamic configuration of server workers and binding host address
2025-12-18 23:08:40 +08:00
Lan 53183138b4 feat(config): Add configurable workers and host settings
- Add "workers" configuration option to DEFAULT_CONFIG with default value of 1
- Add "host" configuration option to DEFAULT_CONFIG with default value of "::"
- Update uvicorn.run() to use settings.host and settings.workers instead of hardcoded values
- Reorganize imports in main.py for better readability and consistency
- Add blank line after time import in core/utils.py for PEP 8 compliance
- Allow dynamic configuration of server workers and binding host address
2025-12-18 23:08:40 +08:00
Lan a20a0beb79 feat: 利用AI更新文档 2025-12-01 14:10:06 +08:00
Lan a3f1fd6a4c feat: 利用AI更新文档 2025-12-01 14:10:06 +08:00
Lan fdada809d9 wip: 切片上传、文件秒传、断点续传陆续适配中当前进度(本地存储已适配) 2025-02-23 20:49:51 +08:00
Lan b53b9f5891 wip: 切片上传、文件秒传、断点续传陆续适配中当前进度(本地存储已适配) 2025-02-23 20:49:51 +08:00
Lan 1ff1d6c695 style: code format 2025-02-15 22:00:53 +08:00
Lan 10d136b0c5 style: code format 2025-02-15 22:00:53 +08:00
Lan 802d2551ff fix: 密码修改失败问题 2025-02-10 19:12:04 +08:00
Lan 7b0ea804cf fix: 密码修改失败问题 2025-02-10 19:12:04 +08:00
Lan 78c612c660 feat: 2023主题适配新登录模式 2025-02-09 23:33:43 +08:00
Lan 98721b7587 feat: 2023主题适配新登录模式 2025-02-09 23:33:43 +08:00
Lan ede0e62f32 feat: 更新管理员登录为简易版jwt 2025-02-09 22:57:21 +08:00
Lan 8d04385593 feat: 更新管理员登录为简易版jwt 2025-02-09 22:57:21 +08:00
Lan 037949b715 feat: 新增webdav存储 2025-02-09 20:25:23 +08:00
Lan 1cbe8d5f2a feat: 新增webdav存储 2025-02-09 20:25:23 +08:00
Lan 964d091d0b feat: 新增存储路径自定义,修复s3存储未删除文件#246 2025-02-08 22:41:32 +08:00
Lan 1c7e010dbb feat: 新增存储路径自定义,修复s3存储未删除文件#246 2025-02-08 22:41:32 +08:00
Lan 651e9c5936 feat: 新增主题选择 2024-11-28 20:13:02 +08:00
Lan f54dadfcba feat: 新增主题选择 2024-11-28 20:13:02 +08:00
Jialin0502 f430243b27 优化了部分文案 2024-07-28 22:19:45 +08:00
Jialin0502 1d84766ef3 优化了部分文案 2024-07-28 22:19:45 +08:00
lan 3edc8c959d feat: 新增后台控制前台是否显示admin、新增robots.txt 2024-07-07 15:54:01 +08:00
lan 4b55d9a595 feat: 新增后台控制前台是否显示admin、新增robots.txt 2024-07-07 15:54:01 +08:00
lan c13602d634 feat:新增网站通知,右上角显示,只显示一次同一个内容 2024-06-15 20:52:01 +08:00
lan a7616d1ae9 feat:新增网站通知,右上角显示,只显示一次同一个内容 2024-06-15 20:52:01 +08:00
lan 11696d17e8 feat:后台新增最长保存时间单位秒,默认为0则最长7天 2024-06-15 20:19:05 +08:00
lan 7323e8562f feat:后台新增最长保存时间单位秒,默认为0则最长7天 2024-06-15 20:19:05 +08:00
lan 2a3d0a95cc feat: 重写settings,放弃env存储,改到数据库 2024-06-15 20:05:06 +08:00
lan f28377622e feat: 重写settings,放弃env存储,改到数据库 2024-06-15 20:05:06 +08:00
lan c6fe556e76 feat: 上传前判断大小、新文件插入第一位 2024-06-15 17:27:28 +08:00