Commit Graph

162 Commits

Author SHA1 Message Date
MarSeventh
77e04fa2a7 Feat:新增discord/huggingface渠道支持;优化telegram大文件上传体验 2025-12-31 09:23:38 +08:00
axibayuit
4e37f4daad style: keep full channel names in admin settings, abbreviations only for user upload 2025-12-30 23:04:45 +08:00
axibayuit
fe35b5021c style: shorten channel labels (TG/R2/S3/DC/HF) 2025-12-30 23:00:33 +08:00
axibayuit
021b9f0b63 feat: optimize TG chunk size to 16MB (safety margin from 20MB getFile limit) 2025-12-30 22:46:30 +08:00
axibayuit
a23ac6ce8f fix(discord): lower chunk threshold to 9MB for Discord (10MB limit) 2025-12-30 22:16:14 +08:00
axibayuit
2e798f3e54 feat(discord): implement chunked upload for large files (>20MB)
- Add uploadSingleChunkToDiscord function with rate limit handling
- Add uploadChunkToDiscordWithRetry with 429 retry support
- Add mergeDiscordChunksInfo for chunk metadata assembly
- Add handleDiscordChunkedFile for streaming download
- Add fetchDiscordChunkWithRetry for reliable chunk fetching
- Discord uses 9MB chunks (vs 10MB for others) for safety margin
- Support Range requests for video seeking
- Support proxy URL for Discord CDN
2025-12-30 22:01:19 +08:00
axibayuit
85862f004c build: update frontend with response format fix for HuggingFace direct upload 2025-12-30 21:28:41 +08:00
axibayuit
d0947e8770 fix: improve HuggingFace large file upload
- Fix commitUpload missing url parameter for endUpload
- Implement incremental SHA256 hash algorithm for large files
- Use 4MB chunks for SHA256 calculation to reduce memory pressure
- Support files of any size without memory overflow
2025-12-30 21:00:18 +08:00
axibayuit
e973c65e9c feat(huggingface): implement direct upload for large files (>20MB)
- Add frontend direct upload to HuggingFace S3, bypassing CF Workers limits
- Add /api/huggingface/getUploadUrl endpoint to get LFS upload URLs
- Add /api/huggingface/commitUpload endpoint to commit file references
- Support multipart upload for very large files
- SHA256 computed in frontend to avoid CF Workers CPU timeout
- Small files (<20MB) still use proxy upload through CF Workers
2025-12-30 20:42:38 +08:00
axibayuit
fd92a024fd feat: optimize HuggingFace upload - compute SHA256 on frontend to avoid CF Workers CPU timeout 2025-12-30 20:31:33 +08:00
axibayuit
20d1fc0cb7 build: update frontend with HuggingFace channel UI 2025-12-30 17:52:37 +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
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
8d139ca78d fix: 前端页面加载时使用GET读取容量统计,避免每次打开都重建索引 2025-12-30 00:28:48 +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
7a1392cb93 build: update frontend with quota limit UI 2025-12-29 20:27:54 +08:00
MarSeventh
2c83f9062d Feat:美化滚动条样式 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
6f3daa5c96 Feat:取消粘贴上传文件类型限制 2025-12-27 23:49:20 +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:美化管理端部分页面显示效果 2025-12-25 12:15:54 +08:00
MarSeventh
a8d85d0bf1 Feat:美化管理端部分页面显示效果 2025-12-24 23:53:30 +08:00
MarSeventh
9bdddd8142 Feat:优化管理端视觉效果和使用体验 2025-12-20 19:50:42 +08:00
MarSeventh
dee7d9555c Feat:移除官方图像审查渠道 2025-12-18 19:08:55 +08:00
MarSeventh
49a5ce2d57 Feat:美化登录页面显示效果 2025-12-09 23:54:53 +08:00
MarSeventh
1add7afa70 Feat:美化登录页面显示效果 2025-12-09 23:33:14 +08:00
MarSeventh
934a9d0cfa Feat:默认关闭内容审查功能;更新依赖 2025-12-08 19:17:04 +08:00
MarSeventh
c295e38ec8 Feat:优化大文件上传 2025-11-24 11:54:33 +08:00
MarSeventh
93c2b620ad 优化移动端上传页面展示效果 2025-11-23 13:42:01 +08:00
MarSeventh
eef1070fb7 Feat:增加上传历史记录 2025-11-23 11:32:59 +08:00
MarSeventh
23fab7cbe3 Feat:优化标签管理使用体验 2025-11-19 08:54:21 +08:00
MarSeventh
8f89140b7e Feat:支持标签管理;支持深色模式跟随系统 2025-11-18 12:26:54 +08:00
Se@n
c40e7d4019 Update: Frontend asset build refresh
- Rebuild hashed CSS/JS bundles for production
- Update index.html with new asset references
- Remove old compiled assets
- Refresh frontend build files
2025-10-11 13:40:40 +08:00
MarSeventh
e12dd3f8e6 Feat:支持WebDAV功能 2025-08-28 16:56:14 +08:00
MarSeventh
3f8ab7d6b0 Opt:优化大文件上传稳定性 2025-08-24 12:01:33 +08:00
MarSeventh
6bd5811928 Feat:支持上传失败自动重试;list接口在索引构建不成功时支持使用传统方式返回文件列表 2025-08-11 21:50:24 +08:00
MarSeventh
1996c4c3ff Bug:修复用户管理界面预览图失效的问题 2025-08-05 22:10:02 +08:00
MarSeventh
ecad882870 部分页面显示效果美化 2025-08-01 21:04:54 +08:00
MarSeventh
67eecb29e9 部分页面显示效果美化 2025-08-01 19:45:22 +08:00
MarSeventh
403da0f967 Feat:优化random和cusConfig操作的响应速度,优化大文件上传成功率 2025-08-01 11:06:12 +08:00
MarSeventh
7af3f85c22 Feat:支持备份和恢复;支持API-Token鉴权;支持指定部分默认上传设置 2025-07-31 19:53:08 +08:00
MarSeventh
59f3337238 Feat:支持备份和恢复;支持API-Token鉴权;支持指定部分默认上传设置 2025-07-31 19:07:22 +08:00