Commit Graph
19 Commits
Author SHA1 Message Date
MarSeventh 9b6461a272 feat: support custom upload IP query API 2026-06-14 14:45:00 +08:00
MarSeventh 2c1ff7241b 目录树设置和体验优化 2026-03-01 11:25:39 +08:00
MarSeventh 3dcf08e8b2 目录树设置和体验优化 2026-03-01 11:13:43 +08:00
MarSeventh a18342354f 后端文件后缀处理逻辑优化 2026-02-23 15:27:47 +08:00
MarSeventh b3b560bf8c 路径穿越检测增强 2026-02-23 15:05:32 +08:00
MarSeventh 8a7326eb95 v2.5.12:增加路径穿越防护 2026-02-23 13:20:42 +08:00
MarSeventh e92a8e0ef1 update v2.5.7 2026-01-30 16:14:19 +08:00
MarSeventh 4e67af3c26 update v2.5.3 2026-01-17 15:50:58 +08:00
MarSeventh 04e142e671 Fix:HuggingFace渠道文件命名和读取问题 2026-01-08 19:51:34 +08:00
axibayuit fdb876673f refactor: 移除不再使用的 updateQuotaCounter 函数 2025-12-29 23:23:21 +08:00
axibayuit 5c11f477af perf: 优化容量统计,从索引元数据读取,减少 KV 写入操作 2025-12-29 23:20:04 +08:00
axibayuit 1da5ea0dbf feat: add storage quota limit for S3/R2 channels
- Add quota counter tracking (usedMB, fileCount) per channel
- Filter channels by quota threshold in fetchUploadConfig()
- Update quota on upload (endUpload) and delete
- Add /api/manage/quota API for stats and recalculation
- Fix null check in delete when file record not found
- Fix R2 channel name from hardcoded to actual channel.name
2025-12-29 19:55:20 +08:00
MarSeventh ebf50f2edf Feat:后端接口跨域请求处理逻辑优化 2025-12-25 19:51:36 +08:00
MarSeventh 0d722b97bd Feat:移除官方图像审查渠道 2025-12-18 19:08:55 +08:00
MarSeventh 567cda2312 Feat:适配D1数据库 2025-08-22 18:20:10 +08:00
初衷 7237bcac28 fix:修复问题
修复了所有直接访问`env.img_url.get`的地方
 添加了数据库未配置时的降级处理
 2. upload/index.js
- 修复了3处直接使用`env.img_url.put`的地方
- 现在都使用`getDatabase(env)`和数据库适配器

 3. 错误处理改进
- 数据库未配置时提供合理的默认行为
- 避免了undefined访问导致的500错误
2025-08-14 08:47:02 +08:00
MarSeventh 088c0e6c06 Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-28 22:28:12 +08:00
MarSeventh f1689767e3 Opt:代码整合优化 2025-07-21 13:39:14 +08:00
MarSeventh ece3685546 Opt:优化大文件上传 2025-07-17 20:13:18 +08:00