getFileList without page is unchanged. getFileListPage returns
{list, paged, page, hasMore, nextPage, nextCursor, total, totalPage};
non-paging providers return the full list on page 1 and an empty
page afterwards. page/pageCursor are not appended to share URLs.
Co-authored-by: qaiu <[email protected]>
* Parse Ctfile shares with the new url API and ALTCHA v2
The legacy getfile.php and getdir.php endpoints now answer every share
with Cloudflare Turnstile. Password-free files and folders use ALTCHA
PBKDF2 instead: solve it off the event loop, reuse access_pass for the
same owner, and fetch the direct link from POST /url/download. Password
shares stay on Turnstile and are reported separately from missing links
and wrong or missing passwords.
Co-authored-by: qaiu <[email protected]>
* Add Ctfile v4 login parsing for password-protected shares
Password shares are blocked by Turnstile on the anonymous web API. When a
refresh token or access token is configured, convert the share to an xtc
link and use the official client list and fetch-url calls. Password-free
shares still use ALTCHA. Tests use short synthetic fixtures only.
Co-authored-by: qaiu <[email protected]>
* Parse password-protected Ctfile shares with anonymous ALTCHA
A password share's first response is often labeled Turnstile, but a fresh
ALTCHA token plus the passcode returns the file. Try that before any login.
Keep the v4 client only as a fallback when Turnstile remains and a token is
configured. Live checks download the sample PDF and a directory zip.
Co-authored-by: qaiu <[email protected]>
---------
Co-authored-by: Cursor Agent <[email protected]>
The home page now shows the filename, size, and disk name after a successful parse, and the supported-disk copy includes Quark and UC. Bump the app version to 0.4.10.
Co-authored-by: Cursor Agent <[email protected]>
* Route large Quark and UC files through a checked SVIP/VIP link or a probed H5 file URL.
Files at or below 10MiB keep the existing share download. Larger files use the account direct link only after the member API reports an unexpired SVIP/VIP, and otherwise return a dl-c file URL with the real filename. HTML, playlists, and account cookies are not treated as a public download.
Co-authored-by: qaiu <[email protected]>
* Open Quark and UC browser downloads without a Referer.
The parse result, file list, dialog, and show-file download actions now use a link with referrerpolicy=no-referrer so a click does not send the site Referer that makes the public CDN return 403 HTML.
Co-authored-by: qaiu <[email protected]>
---------
Co-authored-by: Cursor Agent <[email protected]>
Quark parse stopped when the share root was only a folder and reported
that nothing could be downloaded. Enter subfolders, skip 0-byte
placeholders, and for visitors try a smaller file when Quark returns
23018 instead of transferring without a Cookie.
123 download failures now tell users to configure a local
auths.ye.authorization. Share listings can be read without login, and
hash fragments on 123 URLs are ignored. New URL fixtures use a ref=example
query, not a password-shaped parameter.
Co-authored-by: Cursor Agent <[email protected]>
Clipboard auto-detect now matches {userId}.share.123pan.cn/123pan/{key}, and the share URL field is trimmed on paste and blur. Split web-service compiler args so IDE rebuilds no longer wipe classes.
Co-authored-by: Cursor <[email protected]>
Avoid ZipException when Vert.x already decompressed gzip bodies, keep jackson-databind on the IDE classpath, and show a real build version instead of unknown.
Co-authored-by: Cursor <[email protected]>
- Preserve download cookie for UC/Quark needDownloader flows and disable browser/copy when required
- Quark: share-link first, transfer only on size limit (23018), reuse savedFileCache/search_exit
- Propagate auth to subdirectory parser URLs; switch path params to URL-safe Base64 (no double encode)
- Bump version to 0.4.2
Fixes#205
Co-authored-by: Cursor <[email protected]>
When the frontend requests subdirectory contents for UC drive shares, the
stoken query parameter is mishandled in two places, breaking directory browsing:
1. URLParamUtil.handleTruncatedUrl() does not exclude stoken from the URL
construction loop. As a result, the stoken value gets appended to the share
URL (e.g. https://drive.uc.cn/s/xxx?stoken=yyy). The extra query string
breaks the UC URL regex match in PanDomainTemplate, causing the parser to
fall back to the default IPanTool.parseFileList() which returns
"Not implemented yet".
2. ParserApi.getFileList() does not accept stoken as a method parameter and
does not forward it to ShareLinkInfo.otherParam. Even when the stoken is
present in the request URL, UcTool.parseFileList() cannot find it and must
re-authenticate against the UC API — which fails without proper auth cookies.
The fix:
- URLParamUtil: add stoken to the param exclusion list
- ParserApi: add String stoken parameter and put it into otherParam
Both first-level and nested directory listing work correctly after this fix.
- Remove TypeScript API endpoints from PlaygroundApi
- Remove TypeScript methods from DbService interface and implementation
- Delete PlaygroundTypeScriptCode model class
- Delete TypeScript documentation files
- Clean up unused imports
- Fix BUG1: JavaScript timeout with proper thread interruption using ScheduledExecutorService
- Fix BUG2: Add URL regex validation before execution in playground test API
- Fix BUG3: Register published parsers to CustomParserRegistry on save/update/delete
- Remove TypeScript compiler functionality (tsCompiler.js, dependencies, UI)
- Add password authentication for playground access
- Add mobile responsive layout support
- Load playground parsers on application startup