axibayuit
cfbfb3eb8c
fix: use NDJSON format for HuggingFace commit API
2025-12-30 19:57:50 +08:00
axibayuit
2f1e9df5a0
fix: use string fields instead of JSON blob for HuggingFace commit API
2025-12-30 19:52:36 +08:00
axibayuit
f768f1cb3b
fix: correct HuggingFace commit API format - header as JSON blob
2025-12-30 19:46:36 +08:00
axibayuit
2943f99e54
fix: use POST commit API with multipart form data for HuggingFace upload
2025-12-30 19:42:10 +08:00
axibayuit
78256d1816
fix: simplify HuggingFace upload - direct PUT without encoding
2025-12-30 18:58:06 +08:00
axibayuit
e7d504cff1
fix: use multipart form upload for HuggingFace to avoid CPU timeout
2025-12-30 18:48:25 +08:00
axibayuit
72c24547c0
fix: use direct binary upload instead of base64 to avoid CPU timeout
2025-12-30 18:44:42 +08:00
axibayuit
9d88863671
fix: use correct HuggingFace commit API format with base64 encoding
2025-12-30 18:22:17 +08:00
axibayuit
ff9a2faad1
debug: add detailed logging for HuggingFace upload
2025-12-30 18:09:09 +08:00
axibayuit
7596424135
fix: use simple upload API for HuggingFace
2025-12-30 18:06:09 +08:00
axibayuit
13877de84c
fix: update HuggingFace API to use LFS upload method
2025-12-30 18:05:05 +08:00
axibayuit
20d1fc0cb7
build: update frontend with HuggingFace channel UI
2025-12-30 17:52:37 +08:00
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
07f2683120
feat: Discord 渠道添加 Nitro 会员开关,支持 25MB 上传
2025-12-30 15:39:39 +08:00
axibayuit
f291ce3a15
fix: Discord 渠道显示为 DC 而非未知
2025-12-30 15:31:51 +08:00
axibayuit
3deb3b0534
feat: 添加 Discord 渠道到上传设置界面
2025-12-30 15:24:25 +08:00
axibayuit
2c2df3b1ce
fix: 移除 docs 子目录的 submodule 引用
2025-12-30 15:11:02 +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
MarSeventh
2db84cb355
Feat:支持R2/S3渠道容量限制
v2.3.5
2025-12-30 12:38:28 +08:00
MarSeventh
4d0c2c9484
Feat:支持R2/S3渠道容量限制
2025-12-30 12:31:11 +08:00
叁月柒
ee114d922e
Merge pull request #402 from lintonxue00/main
...
feat: 添加 R2/S3 渠道容量限制功能
2025-12-30 11:47:00 +08:00
axibayuit
8d139ca78d
fix: 前端页面加载时使用GET读取容量统计,避免每次打开都重建索引
2025-12-30 00:28:48 +08:00
axibayuit
a899e4925e
perf: 优化容量检查,未启用时跳过KV读取
2025-12-30 00:14:56 +08:00
axibayuit
5b8ec793e6
fix: 移除 submodule 引用,将前端源码目录加入 gitignore
2025-12-29 23:28:08 +08:00
axibayuit
0f7e4e19e0
refactor: 移除不再使用的 updateQuotaCounter 函数
2025-12-29 23:23:21 +08:00
axibayuit
155aacab63
perf: 优化容量统计,从索引元数据读取,减少 KV 写入操作
2025-12-29 23:20:04 +08:00
axibayuit
13fb3ead77
fix: 刷新按钮改为 POST 请求重新统计容量,而不是只获取旧数据
2025-12-29 21:52:38 +08:00
axibayuit
368178d094
fix: 修复容量统计重复计算问题,使用 readIndex 统一获取文件列表并去重
2025-12-29 21:36:38 +08:00
axibayuit
6d1275fec6
fix: use actual R2 file size instead of client-side size
2025-12-29 21:16:42 +08:00
axibayuit
f5f65b29fd
fix: preserve quota config for env-based channels
2025-12-29 20:37:34 +08:00
axibayuit
7a1392cb93
build: update frontend with quota limit UI
2025-12-29 20:27:54 +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
2c83f9062d
Feat:美化滚动条样式
v2.3.4
2025-12-29 11:54:58 +08:00
MarSeventh
20636caf53
Feat:美化滚动条样式
2025-12-29 11:47:36 +08:00
MarSeventh
bef07fd18a
Feat:取消粘贴上传文件类型限制;美化上传界面展示效果
2025-12-28 20:30:21 +08:00
MarSeventh
75e0e0ddea
Feat:取消粘贴上传文件类型限制;美化上传界面展示效果
2025-12-28 20:29:49 +08:00
MarSeventh
def2bc3bcd
Feat:取消粘贴上传文件类型限制;美化上传界面展示效果
2025-12-28 12:26:59 +08:00
MarSeventh
17645df56e
Feat:取消粘贴上传文件类型限制;美化上传界面展示效果
v2.3.3
2025-12-27 23:59:09 +08:00
MarSeventh
6f3daa5c96
Feat:取消粘贴上传文件类型限制
2025-12-27 23:49:20 +08:00
MarSeventh
4ddfd58bc5
Feat:后端接口跨域请求处理逻辑优化
2025-12-25 19:51:36 +08:00
MarSeventh
21d780b39e
Feat:美化部分页面显示效果
2025-12-25 17:05:16 +08:00
MarSeventh
30935d1895
Feat:美化部分页面显示效果
2025-12-25 16:48:46 +08:00
MarSeventh
63366b51c2
Feat:美化部分页面显示效果
2025-12-25 14:27:39 +08:00
MarSeventh
156b1b0647
Feat:美化管理端部分页面显示效果
v2.3.2
2025-12-25 12:15:54 +08:00
MarSeventh
a8d85d0bf1
Feat:美化管理端部分页面显示效果
v2.3.1
2025-12-24 23:53:30 +08:00
MarSeventh
5d5d91772a
update readme
2025-12-23 10:27:07 +08:00
MarSeventh
9bdddd8142
Feat:优化管理端视觉效果和使用体验
v2.3.0
2025-12-20 19:50:42 +08:00
MarSeventh
dee7d9555c
Feat:移除官方图像审查渠道
v2.2.7
2025-12-18 19:08:55 +08:00