Commit Graph
98 Commits
Author SHA1 Message Date
axibayuit 7ef6fd48ac feat: add HuggingFace storage channel support
- Add HuggingFace API wrapper class (huggingfaceAPI.js)
- Support upload, download, delete operations via HuggingFace Hub API
- Support public repos (unlimited storage) and private repos (100GB limit)
- Private repos: server proxies requests with Authorization header
- Auto-create repo if not exists (with write token)
- Add HuggingFace to auto-retry channel list
- Environment variables: HF_TOKEN, HF_REPO, HF_PRIVATE
- Support load balancing for multiple HuggingFace channels
2025-12-30 17:46:11 +08:00
axibayuit 5393e04631 feat(discord): add delete message support for Discord channel 2025-12-30 15:57:17 +08:00
axibayuit 1eec7f66b4 fix: Discord 渠道配置添加 isNitro 字段持久化支持 2025-12-30 15:44:30 +08:00
axibayuit 24d88fd9a1 feat: 添加 Discord 渠道支持
- 新增 Discord API 封装类 (discordAPI.js)
- 支持 Discord 文件上传(10MB 限制,超过自动切换其他渠道)
- 支持 Discord 文件读取和代理 URL(国内访问)
- 前端添加 Discord 渠道配置 UI(负载均衡、表单验证)
- 支持环境变量配置:DISCORD_BOT_TOKEN, DISCORD_CHANNEL_ID, DISCORD_PROXY_URL
- 修复 sysConfig.js 中 Discord 渠道过滤
2025-12-30 15:08:19 +08:00
axibayuit 155aacab63 perf: 优化容量统计,从索引元数据读取,减少 KV 写入操作 2025-12-29 23:20:04 +08:00
axibayuit 368178d094 fix: 修复容量统计重复计算问题,使用 readIndex 统一获取文件列表并去重 2025-12-29 21:36:38 +08:00
axibayuit f5f65b29fd fix: preserve quota config for env-based channels 2025-12-29 20:37:34 +08:00
axibayuit 3d77585ec5 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 17645df56e Feat:取消粘贴上传文件类型限制;美化上传界面展示效果 2025-12-27 23:59:09 +08:00
MarSeventh 4ddfd58bc5 Feat:后端接口跨域请求处理逻辑优化 2025-12-25 19:51:36 +08:00
MarSeventh dee7d9555c Feat:移除官方图像审查渠道 2025-12-18 19:08:55 +08:00
MarSeventh a66b431fd4 Bug:修复移动文件时的路径错误 2025-11-27 00:42:11 +08:00
MarSeventh 23fab7cbe3 Feat:优化标签管理使用体验 2025-11-19 08:54:21 +08:00
MarSeventh 0e4a9b5edf Feat:支持标签管理;支持深色模式跟随系统 2025-11-18 12:45:23 +08:00
MarSeventh 8f89140b7e Feat:支持标签管理;支持深色模式跟随系统 2025-11-18 12:26:54 +08:00
Se@n c7c7b5054f Fix: Tag deletion timeout issue
- Change cache purging from synchronous to asynchronous
- Prevents "Delete Failed" false positives when Cloudflare API is slow
- Tags are now deleted immediately while cache purges in background
- Uses waitUntil() for non-blocking cache operations
2025-10-11 13:10:55 +08:00
sean908 a86e8b522d Feat: Add tag management system
- Add tag CRUD APIs (single file and batch operations)
  - Add tag autocomplete endpoint
  - Add tag search support in file listing
  - Update database schema with tags column
  - Add tag validation and normalization utilities
  - Initialize Tags:[] for all new uploads
2025-10-10 14:43:11 +08:00
MarSeventh af285ef23e Bug:修复APITokens保存失效问题 2025-09-15 22:58:08 +08:00
MarSeventh e330d44780 Feat:支持IOS端播放telegram渠道大体积视频,支持进度调整 2025-08-29 15:33:08 +08:00
MarSeventh e12dd3f8e6 Feat:支持WebDAV功能 2025-08-28 16:56:14 +08:00
MarSeventh 81740fa2c2 Feat:适配D1数据库 2025-08-22 18:20:10 +08:00
初衷 b569036079 feat:同步代码 2025-08-20 08:53:33 +08:00
MarSeventh cb5ba4a978 Opt:优化索引更新策略 2025-08-15 18:12:15 +08:00
初衷 a7c9923ac3 fix:修复语法错误 2025-08-14 15:17:24 +08:00
初衷 6b48c7fd0d fix:优化备份和恢复功能 2025-08-14 14:36:39 +08:00
初衷 9d95c861d6 debug:添加测试方法 2025-08-14 11:39:52 +08:00
初衷 63321e9d32 fix:添加debug查询。优化查询D1逻辑 2025-08-14 11:34:10 +08:00
初衷 7da839c9e1 debug:添加测试数据库 2025-08-14 11:04:01 +08:00
初衷 320264afdf bug:databaseAdapter路径修复 2025-08-14 09:45:15 +08:00
初衷 2f90c7b5a2 fix:批量修复env.img_url转为getDatabase 2025-08-14 09:23:03 +08:00
初衷 c13f7a1dfb debug:添加调试信息 2025-08-13 23:22:33 +08:00
初衷 5c4765fe2d debug:暂时禁用根级中间件来测试 2025-08-13 23:04:34 +08:00
初衷 4d186b85f6 debug:添加调试信息 2025-08-13 22:49:35 +08:00
初衷 5d4b1edb94 debug:调试恢复功能和登录功能 2025-08-13 21:33:06 +08:00
初衷 bf4596acf2 debug:添加调试代码 2025-08-13 21:03:45 +08:00
初衷 9d9de6760a fix:所有模块导入/导出的兼容性问题 2025-08-13 19:09:01 +08:00
初衷 3d7594c64c fix:语法兼容性修复 2025-08-13 18:12:11 +08:00
初衷 d6899847e0 fix:修复更多兼容方法 2025-08-13 17:56:34 +08:00
MarSeventh 6822d69a59 Opt:优化中间件架构 2025-08-13 17:00:03 +08:00
MarSeventh 42a5c7e669 Opt:优化中间件架构 2025-08-13 16:33:32 +08:00
初衷 2589927def feat:现有的 KV 存储数据迁移到 D1 数据库 2025-08-13 16:26:04 +08:00
MarSeventh 6bd5811928 Feat:支持上传失败自动重试;list接口在索引构建不成功时支持使用传统方式返回文件列表 2025-08-11 21:50:24 +08:00
MarSeventh d1985a31c4 Feat:list接口支持递归返回所有文件 2025-08-01 11:40:25 +08:00
MarSeventh 403da0f967 Feat:优化random和cusConfig操作的响应速度,优化大文件上传成功率 2025-08-01 11:06:12 +08:00
MarSeventh ec0e256964 Feat:支持备份和恢复;支持APIToken鉴权;支持指定部分默认上传设置 2025-07-31 18:11:49 +08:00
MarSeventh 0b2320fc3c Feat:支持备份和恢复;支持APIToken鉴权;支持指定部分默认上传设置 2025-07-31 16:22:25 +08:00
MarSeventh bfc647b604 Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-29 22:01:35 +08:00
MarSeventh 741c4514e6 Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-29 16:17:37 +08:00
MarSeventh 4e53b70023 Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-28 23:13:44 +08:00
MarSeventh 63d1d1edca Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-28 22:28:12 +08:00