Commit Graph
98 Commits
Author SHA1 Message Date
axibayuit 2df7e1ebea 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 9ef46f45ce feat(discord): add delete message support for Discord channel 2025-12-30 15:57:17 +08:00
axibayuit e0a95c439e fix: Discord 渠道配置添加 isNitro 字段持久化支持 2025-12-30 15:44:30 +08:00
axibayuit 9a0ab93790 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 5c11f477af perf: 优化容量统计,从索引元数据读取,减少 KV 写入操作 2025-12-29 23:20:04 +08:00
axibayuit 7e3c0e1670 fix: 修复容量统计重复计算问题,使用 readIndex 统一获取文件列表并去重 2025-12-29 21:36:38 +08:00
axibayuit b20c32ab68 fix: preserve quota config for env-based channels 2025-12-29 20:37:34 +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 951373dbf9 Feat:取消粘贴上传文件类型限制;美化上传界面展示效果 2025-12-27 23:59:09 +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 60ce831698 Bug:修复移动文件时的路径错误 2025-11-27 00:42:11 +08:00
MarSeventh 0e61585bb3 Feat:优化标签管理使用体验 2025-11-19 08:54:21 +08:00
MarSeventh 195c5225a8 Feat:支持标签管理;支持深色模式跟随系统 2025-11-18 12:45:23 +08:00
MarSeventh 36eecf3782 Feat:支持标签管理;支持深色模式跟随系统 2025-11-18 12:26:54 +08:00
Se@n 309111747b 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 797f63b00a 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 19856a0e87 Bug:修复APITokens保存失效问题 2025-09-15 22:58:08 +08:00
MarSeventh a332504422 Feat:支持IOS端播放telegram渠道大体积视频,支持进度调整 2025-08-29 15:33:08 +08:00
MarSeventh f54f0ea3e1 Feat:支持WebDAV功能 2025-08-28 16:56:14 +08:00
MarSeventh 567cda2312 Feat:适配D1数据库 2025-08-22 18:20:10 +08:00
初衷 50c87b1601 feat:同步代码 2025-08-20 08:53:33 +08:00
MarSeventh f1f14675fa Opt:优化索引更新策略 2025-08-15 18:12:15 +08:00
初衷 0aec298de4 fix:修复语法错误 2025-08-14 15:17:24 +08:00
初衷 45f89f871c fix:优化备份和恢复功能 2025-08-14 14:36:39 +08:00
初衷 d9f2fc513d debug:添加测试方法 2025-08-14 11:39:52 +08:00
初衷 e119d5eedb fix:添加debug查询。优化查询D1逻辑 2025-08-14 11:34:10 +08:00
初衷 b7556272c0 debug:添加测试数据库 2025-08-14 11:04:01 +08:00
初衷 2f9d20bec1 bug:databaseAdapter路径修复 2025-08-14 09:45:15 +08:00
初衷 d2c05adf1b fix:批量修复env.img_url转为getDatabase 2025-08-14 09:23:03 +08:00
初衷 f3fda327da debug:添加调试信息 2025-08-13 23:22:33 +08:00
初衷 227fafd53f debug:暂时禁用根级中间件来测试 2025-08-13 23:04:34 +08:00
初衷 148b97092b debug:添加调试信息 2025-08-13 22:49:35 +08:00
初衷 55315b778e debug:调试恢复功能和登录功能 2025-08-13 21:33:06 +08:00
初衷 8f916d94e3 debug:添加调试代码 2025-08-13 21:03:45 +08:00
初衷 dbea752676 fix:所有模块导入/导出的兼容性问题 2025-08-13 19:09:01 +08:00
初衷 a49c1b75a3 fix:语法兼容性修复 2025-08-13 18:12:11 +08:00
初衷 d3291b82f8 fix:修复更多兼容方法 2025-08-13 17:56:34 +08:00
MarSeventh db21671f9d Opt:优化中间件架构 2025-08-13 17:00:03 +08:00
MarSeventh 25446b295c Opt:优化中间件架构 2025-08-13 16:33:32 +08:00
初衷 e901a08af9 feat:现有的 KV 存储数据迁移到 D1 数据库 2025-08-13 16:26:04 +08:00
MarSeventh 243a1064e7 Feat:支持上传失败自动重试;list接口在索引构建不成功时支持使用传统方式返回文件列表 2025-08-11 21:50:24 +08:00
MarSeventh c30ea45440 Feat:list接口支持递归返回所有文件 2025-08-01 11:40:25 +08:00
MarSeventh 70e02fd1b9 Feat:优化random和cusConfig操作的响应速度,优化大文件上传成功率 2025-08-01 11:06:12 +08:00
MarSeventh 06d9dac77e Feat:支持备份和恢复;支持APIToken鉴权;支持指定部分默认上传设置 2025-07-31 18:11:49 +08:00
MarSeventh bab8dd35a6 Feat:支持备份和恢复;支持APIToken鉴权;支持指定部分默认上传设置 2025-07-31 16:22:25 +08:00
MarSeventh 6d9cc6f88d Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-29 22:01:35 +08:00
MarSeventh 40e2d9be83 Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-29 16:17:37 +08:00
MarSeventh 4f515378aa Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-28 23:13:44 +08:00
MarSeventh 088c0e6c06 Feat:支持文件数据库索引,优化访问速度;后台增加系统状态页面 2025-07-28 22:28:12 +08:00