274 Commits

Author SHA1 Message Date
axibayuit
043e3851bd fix: 修复手机端图片预览不显示问题 2025-12-31 20:24:57 +08:00
axibayuit
ed24baea40 feat: 手机端左右滑动切换图片,丝滑翻书效果 2025-12-31 20:17:03 +08:00
axibayuit
db3e137643 feat: 手机端横屏图片预览自动旋转90度 2025-12-31 20:03:38 +08:00
axibayuit
6c18dd1a0f feat: 公开浏览页面优化 - 读取站点名称、响应式布局、toast提示、按钮透明度 2025-12-31 19:42:44 +08:00
axibayuit
0f84618376 fix: 修复公开浏览页面复制/下载按钮被骨架屏遮挡的问题 2025-12-31 19:31:00 +08:00
axibayuit
781f406a28 feat: 公开浏览添加骨架屏加载效果 2025-12-31 19:20:24 +08:00
axibayuit
a3fbf7ef6c fix: 修复上传回调中fileItem未定义的错误 2025-12-31 19:06:54 +08:00
axibayuit
49466f123f feat: 公开浏览改为瀑布流布局 2025-12-31 18:56:12 +08:00
axibayuit
6f0acdd0aa feat: 优化公开浏览页面 - 4列布局、滚动懒加载、更大相框 2025-12-31 18:44:50 +08:00
axibayuit
4cb352804b feat: 更新前端构建 - 公开浏览功能 2025-12-31 18:32:47 +08:00
axibayuit
1dccaa5e5b feat: 添加公开浏览功能前端页面
- 新增 /browse 公开浏览页面
- 系统设置添加公开浏览配置项
- 深色主题网格布局,支持图片预览
2025-12-31 18:15:42 +08:00
MarSeventh
03a9c8080e Feat:优化上传错误处理;优化上传时清除文件的逻辑;优化Telegram渠道上传体验 2025-12-31 15:02:42 +08:00
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