Commit Graph
560 Commits
Author SHA1 Message Date
axibayuit cbe352cac8 fix: simplify HuggingFace upload - direct PUT without encoding 2025-12-30 18:58:06 +08:00
axibayuit 82d03cf0b9 fix: use multipart form upload for HuggingFace to avoid CPU timeout 2025-12-30 18:48:25 +08:00
axibayuit a5251f898c fix: use direct binary upload instead of base64 to avoid CPU timeout 2025-12-30 18:44:42 +08:00
axibayuit ad8c5ac9cd fix: use correct HuggingFace commit API format with base64 encoding 2025-12-30 18:22:17 +08:00
axibayuit 9f3636e4fd debug: add detailed logging for HuggingFace upload 2025-12-30 18:09:09 +08:00
axibayuit ffd0b0d3da fix: use simple upload API for HuggingFace 2025-12-30 18:06:09 +08:00
axibayuit 2a95a975bc fix: update HuggingFace API to use LFS upload method 2025-12-30 18:05:05 +08:00
axibayuit 21a441d965 build: update frontend with HuggingFace channel UI 2025-12-30 17:52:37 +08:00
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 8a4e9f5fcb feat: Discord 渠道添加 Nitro 会员开关,支持 25MB 上传 2025-12-30 15:39:39 +08:00
axibayuit ab4fa9ee2f fix: Discord 渠道显示为 DC 而非未知 2025-12-30 15:31:51 +08:00
axibayuit 1a8a285303 feat: 添加 Discord 渠道到上传设置界面 2025-12-30 15:24:25 +08:00
axibayuit 0d31d77ea9 fix: 移除 docs 子目录的 submodule 引用 2025-12-30 15:11:02 +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 02b8804ed8 fix: 前端页面加载时使用GET读取容量统计,避免每次打开都重建索引 2025-12-30 00:28:48 +08:00
axibayuit 562f9d3b5b perf: 优化容量检查,未启用时跳过KV读取 2025-12-30 00:14:56 +08:00
axibayuit ab9e3102ab fix: 移除 submodule 引用,将前端源码目录加入 gitignore 2025-12-29 23:28:08 +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 8f80ae10d0 fix: 刷新按钮改为 POST 请求重新统计容量,而不是只获取旧数据 2025-12-29 21:52:38 +08:00
axibayuit 7e3c0e1670 fix: 修复容量统计重复计算问题,使用 readIndex 统一获取文件列表并去重 2025-12-29 21:36:38 +08:00
axibayuit fb2caf54ed fix: use actual R2 file size instead of client-side size 2025-12-29 21:16:42 +08:00
axibayuit b20c32ab68 fix: preserve quota config for env-based channels 2025-12-29 20:37:34 +08:00
axibayuit bfccbedff5 build: update frontend with quota limit UI 2025-12-29 20:27:54 +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 d36cb56d91 Feat:美化滚动条样式 2025-12-29 11:54:58 +08:00
MarSeventh c969e838fb Feat:美化滚动条样式 2025-12-29 11:47:36 +08:00
MarSeventh e302f474d3 Feat:取消粘贴上传文件类型限制;美化上传界面展示效果 2025-12-28 20:30:21 +08:00
MarSeventh c86b114b4a Feat:取消粘贴上传文件类型限制;美化上传界面展示效果 2025-12-28 20:29:49 +08:00
MarSeventh b7bc906442 Feat:取消粘贴上传文件类型限制;美化上传界面展示效果 2025-12-28 12:26:59 +08:00
MarSeventh 951373dbf9 Feat:取消粘贴上传文件类型限制;美化上传界面展示效果 2025-12-27 23:59:09 +08:00
MarSeventh 6305232bc9 Feat:取消粘贴上传文件类型限制 2025-12-27 23:49:20 +08:00
MarSeventh ebf50f2edf Feat:后端接口跨域请求处理逻辑优化 2025-12-25 19:51:36 +08:00
MarSeventh 89f9ad02ff Feat:美化部分页面显示效果 2025-12-25 17:05:16 +08:00
MarSeventh 51803edf17 Feat:美化部分页面显示效果 2025-12-25 16:48:46 +08:00
MarSeventh e4a91153a5 Feat:美化部分页面显示效果 2025-12-25 14:27:39 +08:00
MarSeventh 7cc48d9b66 Feat:美化管理端部分页面显示效果 2025-12-25 12:15:54 +08:00
MarSeventh f95f701e50 Feat:美化管理端部分页面显示效果 2025-12-24 23:53:30 +08:00
MarSeventh cd41aa2cfa update readme 2025-12-23 10:27:07 +08:00
MarSeventh ced657475c Feat:优化管理端视觉效果和使用体验 2025-12-20 19:50:42 +08:00
MarSeventh 0d722b97bd Feat:移除官方图像审查渠道 2025-12-18 19:08:55 +08:00
MarSeventh caa72def42 Feat:美化登录页面显示效果 2025-12-09 23:54:53 +08:00
MarSeventh 165bc6e020 Feat:美化登录页面显示效果 2025-12-09 23:33:14 +08:00
MarSeventh f1ec668743 代码优化 2025-12-09 15:15:20 +08:00
MarSeventh 1da0386309 Feat:默认关闭内容审查功能;更新依赖 2025-12-08 19:17:04 +08:00
叁月柒andGitHub ed88c7fdb4 Merge pull request #376 from jenken827/support_upload_svg_ico
feat: 支持svg和ico文件的上传
2025-12-06 15:37:37 +08:00
叁月柒andGitHub 0bc3bc241f Refine GIF handling and update comments
Update comments for clarity and adjust GIF handling logic.
2025-12-06 15:36:40 +08:00
jenken827 bf6906e54e feat: 支持svg和ico文件的上传 2025-12-06 15:15:13 +08:00