Commit Graph
5 Commits
Author SHA1 Message Date
Claude OpusandClaude Opus 4.5 d39dd46f0c refactor: 优化代码重复和依赖导入
- ♻️ buildS3Config 复用 OssStorageClient.buildConfig (DRY 原则)
- ♻️ 删除重复的 crypto 导入(3处)
-  提高代码可维护性:配置逻辑只需在一处维护

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 18:27:43 +08:00
Claude OpusandClaude Opus 4.5 29e53bbcc7 refactor: 清理所有调试日志和死代码
- 🗑️ 删除未使用的依赖: net, dns 模块
- 🧹 将 console.log("[DEBUG]") 替换为 SystemLogDB.log()
- 🧹 清理分享验证相关的调试日志
- 🧹 清理数据库查询的调试日志
- 🧹 删除下载功能的调试日志
-  代码更专业,日志统一使用 SystemLogDB

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 18:09:18 +08:00
Claude OpusandClaude Opus 4.5 074a5bb98c fix: 清理 install.sh 中的所有 FTP/SFTP 残留代码
- 🐛 修复数据库路径检查(ftp-manager.db → data/database.db)
- 🐛 修复数据库迁移函数中的旧数据库路径
- 🐛 修复上传限制检查中的数据库路径
- 🐛 删除对不存在字段的引用
-  优化数据库迁移逻辑

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 17:44:45 +08:00
Claude OpusandClaude Opus 4.5 adcc1121a6 fix: 修复管理员OSS配置缺失和数据库迁移问题
- 🐛 修复管理员无法配置OSS的问题(添加管理员OSS配置界面)
- 🐛 修复 database.js 迁移代码引用不存在的 has_ftp_config 字段
-  管理员设置页面新增OSS配置、空间统计、存储切换功能
- 📝 完善管理员OSS配置体验

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 17:36:34 +08:00
Claude OpusandClaude Opus 4.5 358a3cac1c feat: v3.1.0 OSS直连优化与代码质量提升
- 🚀 OSS 直连上传下载(用户直连OSS,不经过后端)
-  新增 Presigned URL 签名接口
-  支持自定义 OSS endpoint 配置
- 🐛 修复 buildS3Config 不支持自定义 endpoint 的问题
- 🐛 清理残留的 basic-ftp 依赖
- ♻️ 更新 package.json 项目描述和版本号
- 📝 完善 README.md 更新日志和 CORS 配置说明
- 🔒 安全性增强:签名 URL 15分钟/1小时有效期

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 17:14:16 +08:00