717 Commits

Author SHA1 Message Date
axibayuit
3d24b2b934 feat: interactive rotation with preview, shrink effect, snap to 90deg 2025-12-31 22:53:47 +08:00
axibayuit
960e6e640a feat: rubberBand damping for swipe and pan gestures 2025-12-31 22:41:32 +08:00
axibayuit
d6aaa1669e fix: rotation now cycles 0-90-180-270-0 properly 2025-12-31 22:37:12 +08:00
axibayuit
335f5d2843 feat: add gesture mode lock - separate pinch and rotate with dead zone 2025-12-31 22:25:18 +08:00
axibayuit
58bb6d4900 fix: add null checks in uploadFile method 2025-12-31 21:47:50 +08:00
axibayuit
579d835255 fix: remove duplicate url variable declaration in commitUpload.js 2025-12-31 21:46:40 +08:00
axibayuit
807c37c463 fix: mobile carousel layout - set track width 300% and slide width 33.333% 2025-12-31 21:41:18 +08:00
axibayuit
123ddd3459 feat: mobile preview with TransformMedia - swipe/pinch-zoom/rotate/double-tap 2025-12-31 21:29:09 +08:00
axibayuit
4e0aa16be7 simplify: mobile preview use single image with swipe 2025-12-31 21:18:44 +08:00
axibayuit
35de48e4b7 fix: mobile carousel offset - use 100vw per slide 2025-12-31 21:12:27 +08:00
axibayuit
f25eec6ad8 fix: desktop=single image+buttons+rotate btn, mobile=carousel swipe+two-finger rotate 2025-12-31 21:02:21 +08:00
axibayuit
d6ad4a9a11 fix: separate desktop (simple) and mobile (carousel) preview modes 2025-12-31 20:53:47 +08:00
axibayuit
bfeae078c9 feat: add two-finger rotate gesture and rotate button for image preview 2025-12-31 20:47:26 +08:00
axibayuit
e79ba22d2e feat: improve mobile swipe - carousel style with prev/next images 2025-12-31 20:43:32 +08:00
axibayuit
eaf99a7ae9 fix: 简化滑动预览,更自然的翻页体验 2025-12-31 20:39:44 +08:00
axibayuit
df50f227fd fix: 手机端顶部改为一行布局 2025-12-31 20:35:50 +08:00
axibayuit
180066149b refactor: 移除横屏旋转逻辑,简化预览代码 2025-12-31 20:30:06 +08:00
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
axibayuit
2292a4eda6 feat: 添加公开浏览功能后端API
- 新增 /api/public/list 公开列表API
- others.js 添加 publicBrowse 配置支持
- 支持配置允许公开访问的目录
- 后端强制权限校验,隐藏敏感元数据
2025-12-31 18:12:29 +08:00
MarSeventh
03a9c8080e Feat:优化上传错误处理;优化上传时清除文件的逻辑;优化Telegram渠道上传体验 v2.4.1 2025-12-31 15:02:42 +08:00
叁月柒
f7a847e19d Update sync-release workflow for release events v2.4.0 2025-12-31 10:42:20 +08:00
叁月柒
ab10e9843d Add conditional check for specific repository 2025-12-31 09:34:53 +08:00
叁月柒
4af758a497 Add GitHub Actions workflow for syncing releases 2025-12-31 09:33:13 +08:00
MarSeventh
77e04fa2a7 Feat:新增discord/huggingface渠道支持;优化telegram大文件上传体验 2025-12-31 09:23:38 +08:00
叁月柒
0c7958955f Merge pull request #403 from lintonxue00/main
添加 Discord/HuggingFace 渠道支持,优化 TG 分块
2025-12-31 08:43:00 +08:00
axibayuit
a220453351 chore: remove HuggingFace SDK reference files (used for research only) 2025-12-30 23:57:35 +08:00
axibayuit
d9067e5aec Merge upstream/main 2025-12-30 23:43:51 +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
364e7c8643 fix: pass oid to uploadMultipart for multipart complete request 2025-12-30 21:17:28 +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
9898364227 fix: use fetchUploadConfig instead of getUploadConfig 2025-12-30 20:45:58 +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
6840484c2f feat: implement native LFS upload protocol for HuggingFace (no external SDK) 2025-12-30 20:08:28 +08:00
axibayuit
fc01dfe53f fix: update HuggingFace SDK to v0.23.0 and disable Xet/WebWorkers for CF Workers compatibility 2025-12-30 20:04:25 +08:00