Commit Graph
951 Commits
Author SHA1 Message Date
MarSeventh ba18820b37 style: align dashboard breadcrumb controls 2026-06-29 22:48:28 +08:00
MarSeventh 72a27ee7f3 style: unify upload toolbar hover state 2026-06-29 22:34:44 +08:00
MarSeventh 1ad7cdd304 style: optimize upload quick toolbar 2026-06-29 22:22:07 +08:00
MarSeventh cac0bec6f3 optimize: a lot of user experience optimizations for the upload page and dashboard page 2026-06-29 21:38:18 +08:00
叁月柒andGitHub b1142133e9 Merge pull request #594 from clown145/main
fix(webdav): 修复 WebDAV 兼容性问题并支持标准的 MOVE 方法
2026-06-18 16:16:08 +08:00
clown145 4e60f4fcca fix(webdav): return 404 in handlePropfind for non-existent paths to prevent FileAlreadyExistsException in clients 2026-06-18 15:59:37 +08:00
clown145 23f0323ff2 fix(webdav): set uploadNameType to origin to preserve filenames on PUT 2026-06-18 15:43:32 +08:00
clown145 bacca1a6ba fix(webdav): return 200 instead of 204 for OPTIONS to support strict HTTP clients 2026-06-18 15:25:24 +08:00
clown145 739ea839a0 fix(webdav): redirect /dav to /dav/ with 301 to fix strict client connections 2026-06-18 15:23:58 +08:00
clown145 ada193fc0a fix(webdav): refactor webdav implementation to conform with standards and support MOVE 2026-06-18 15:09:38 +08:00
MarSeventh efe5ba3c82 fix: enable global_fetch_strictly_public to fix WebDAV 522 (Worker deploy) 2026-06-15 15:14:20 +08:00
叁月柒andGitHub 2696b0de52 Merge pull request #589 from yulei666/chore/webdav-522-global-fetch-flag
Enable global_fetch_strictly_public to fix WebDAV 522 (Worker deploy)
2026-06-15 15:11:24 +08:00
yulei666andGitHub d4487d6a82 Merge branch 'MarSeventh:main' into chore/webdav-522-global-fetch-flag 2026-06-15 15:06:01 +08:00
Yu LeiandClaude Opus 4.8 1f68c6caa3 Enable global_fetch_strictly_public to fix WebDAV 522 (Worker deploy)
On a Cloudflare Worker, fetch() to the Worker's own zone bypasses the
public edge and routes directly to origin, skipping the Worker itself.
This deployment has no separate origin, so every WebDAV self-call
(/api/manage/list, /file, /upload, /api/manage/delete) instantly returns
HTTP 522. The global_fetch_strictly_public compatibility flag routes
same-zone subrequests through Cloudflare's front door so they re-enter
the Worker normally.

Set the flag in both the committed wrangler.toml (manual deploy) and the
generate-toml.js template (GitHub Actions regenerates the toml on CI).

This is an alternative to the in-process dispatch fix on
fix/webdav-522-inprocess-dispatch; pick one.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-06-15 15:03:36 +08:00
MarSeventh e257a40fb9 docs(api): add endpoint file headers 2026-06-15 14:40:11 +08:00
MarSeventh 6ef954f877 docs(metadata): add utility comments 2026-06-15 14:36:52 +08:00
MarSeventh 0f27feffd4 docs(worker): comment cache adapter 2026-06-15 14:21:38 +08:00
MarSeventh 1ee3eb6a40 feat(worker): cache responses by cache-control 2026-06-15 11:34:49 +08:00
MarSeventh 214c9eed1a chore: rebuild frontend dist for ip query label 2026-06-14 17:22:21 +08:00
MarSeventh be8e845484 Refine upstream sync failure message 2026-06-14 17:08:45 +08:00
MarSeventh a179cdd5c4 Dispatch worker deploy in current repository 2026-06-14 17:03:18 +08:00
MarSeventh 65b37eee97 Trigger worker deploy after upstream sync 2026-06-14 16:56:09 +08:00
MarSeventh 62c4567368 chore: rebuild frontend dist for auth label 2026-06-14 15:56:21 +08:00
MarSeventh eb4d250987 chore: rebuild frontend dist for ip placeholder fix 2026-06-14 15:02:18 +08:00
MarSeventh 9b6461a272 feat: support custom upload IP query API 2026-06-14 14:45:00 +08:00
MarSeventh e1349b2d1a feat: add publicUrl to hf direct upload response 2026-06-12 19:16:41 +08:00
MarSeventh e643138d91 chore: bump version to v2.7.4 2026-06-12 18:59:14 +08:00
叁月柒andGitHub fad3dd6f57 Merge pull request #587 from fengyukigo/main
feat: 上传 API 返回值新增 publicUrl 字段
2026-06-12 18:42:38 +08:00
fengyuki 908eaacce4 fix: add publicUrl to chunked upload and merge responses
Chunked upload (uploadLargeFileToTelegram) and chunk merge responses
now also include publicUrl field when urlPrefix is configured, matching
the behavior of regular uploads.
2026-06-12 03:56:08 +08:00
fengyuki cff5ebea99 feat: upload API response includes publicUrl based on urlPrefix config
When urlPrefix is configured in page settings, the upload API now
returns a `publicUrl` field in addition to the existing `src` field,
allowing clients to directly access files via the configured public
domain (e.g. R2 custom domain) without needing to reconstruct the URL.
2026-06-12 03:23:40 +08:00
MarSeventh 9fb3cf723a fix: fail closed when security config is unavailable 2026-06-09 19:22:31 +08:00
MarSeventh 6e90b6bf3a fix: clamp session max age before KV write 2026-06-09 18:56:44 +08:00
MarSeventh 41fb51a631 fix: add fallback MIME type for chunk uploads 2026-06-08 15:02:35 +08:00
MarSeventh d69f3263b3 build: update frontend assets 2026-06-05 17:47:48 +08:00
MarSeventh 594b238f3f build: update frontend assets 2026-06-05 17:34:49 +08:00
MarSeventh b8628f8ffb build: update frontend assets 2026-06-05 17:29:12 +08:00
MarSeventh 88684b9c27 build: update frontend assets 2026-06-05 16:25:50 +08:00
MarSeventh ac115e9dc9 build: update frontend assets 2026-06-05 11:34:16 +08:00
MarSeventh 7e1b3f72f3 fix: match renamed channels from persisted metadata 2026-06-05 11:16:49 +08:00
MarSeventh 82f3b700ab refactor: remove dead metadata url fallbacks 2026-06-03 12:40:30 +08:00
MarSeventh eb84f209ce refactor: simplify metadata helpers 2026-06-03 12:04:58 +08:00
MarSeventh 6caf75f524 refactor: share metadata channel config lookup 2026-06-03 11:59:22 +08:00
MarSeventh 1e7a46a3b4 fix: keep large dashboard file lists in memory 2026-06-03 11:30:50 +08:00
MarSeventh e9cb8cbdff refactor: simplify webdav channel config fields 2026-06-03 11:17:22 +08:00
MarSeventh d061353ddd refactor: rely on config for channel metadata 2026-06-03 10:57:51 +08:00
MarSeventh fed53e807d fix: keep backup metadata persisted only 2026-06-02 23:17:57 +08:00
MarSeventh fb11c6d148 fix: prefer config derived channel urls 2026-06-02 22:37:24 +08:00
MarSeventh 3a9c201c54 fix: refresh derived metadata from config 2026-06-02 22:26:13 +08:00
MarSeventh 4ac7f0ca53 refactor: group metadata utilities 2026-06-02 22:09:45 +08:00
MarSeventh 9b5a3520e1 refactor: trim stored channel metadata 2026-06-02 22:04:47 +08:00