orion
07e362d341
✨ 配置回收站默认保留期
2026-08-07 15:02:23 +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
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
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
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
orion
27cb3aa430
🐛 修复详情取件记录和复制链接回退
2026-07-09 17:00:00 +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
85af153b38
🐛 修复下载历史重复计数
2026-06-05 16:34:07 +08:00
orion
87d8f522a6
🐛 补充历史文件过期状态
2026-06-05 16:18:17 +08:00
orion
5025228ad5
🐛 修复历史文件当前信息同步
2026-06-05 16:04:05 +08:00
Orion
a8615aca0b
Add 2026 theme build and retrieval timeline
2026-06-05 12:18:04 +08:00
Lan
c1fb802223
fix : #473 normalize retrieve codes before lookup
2026-06-05 11:40:11 +08:00
Orion
37462d2ec1
Backfill analytics from legacy file records
2026-06-05 11:38:47 +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
Orion
9d978ca68e
Use forked frontend builds for test admin UI
2026-06-05 11:14:13 +08:00
Lan
b859ec211e
refactor: remove settings diagnostics recommendations
2026-06-03 10:37:17 +08:00
Lan
6a2006085c
refactor: remove settings diagnostics recommendations
2026-06-03 10:37:17 +08:00
Lan
8ac367d0b8
refactor: remove admin recommendation summaries
2026-06-03 10:24:07 +08:00
Lan
63754e806a
refactor: remove admin recommendation summaries
2026-06-03 10:24:07 +08:00
Lan
63cf725802
feat: add admin file view summary
2026-06-03 10:00:58 +08:00
Lan
32af822e3b
feat: add admin file view summary
2026-06-03 10:00:58 +08:00
Lan
ccbc710d74
feat: add admin maintenance queue
2026-06-03 08:18:41 +08:00
Lan
750265d8a5
feat: add admin maintenance queue
2026-06-03 08:18:41 +08:00
Lan
2d18b02005
feat: add admin config diagnostics
2026-06-03 08:01:55 +08:00
Lan
3ead1252f4
feat: add admin config diagnostics
2026-06-03 08:01:55 +08:00
Lan
e75fe596d0
feat: add admin operational insights
2026-06-03 07:47:33 +08:00
Lan
e81e937143
feat: add admin operational insights
2026-06-03 07:47:33 +08:00
Lan
be7ce2b30e
feat: add admin activity timeline filters
2026-06-03 07:36:48 +08:00
Lan
b58f114918
feat: add admin activity timeline filters
2026-06-03 07:36:48 +08:00
Lan
0dbb594f4a
feat: add admin activity stream
2026-06-03 07:19:56 +08:00
Lan
680dd2e5a5
feat: add admin activity stream
2026-06-03 07:19:56 +08:00
Lan
b6aa28c345
feat: add admin file view presets
2026-06-03 07:01:38 +08:00
Lan
e32f5aadbb
feat: add admin file view presets
2026-06-03 07:01:38 +08:00
Lan
fc6046a663
feat: add admin file metadata
2026-06-03 06:37:56 +08:00
Lan
b4865bff4b
feat: add admin file metadata
2026-06-03 06:37:56 +08:00
Lan
3467e973ac
feat: add batch file policy actions
2026-06-03 06:22:56 +08:00
Lan
753c46b5f9
feat: add batch file policy actions
2026-06-03 06:22:56 +08:00
Lan
a1de598277
feat: add dashboard health actions
2026-06-03 06:15:15 +08:00