q
422d5b845b
fix: recognize 123pan uid.share links and trim paste input
...
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 <cursoragent@cursor.com >
2026-08-18 01:22:47 +08:00
q
054e9cc1ec
fix: harden gzip decode and release 0.4.5
...
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 <cursoragent@cursor.com >
2026-08-18 01:00:32 +08:00
q
d1fa787bef
fix(uc/qk): improve directory download with cookie, transfer fallback and URL-safe param encoding
...
- 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 <cursoragent@cursor.com >
2026-07-26 16:16:51 +08:00
dependabot[bot]
8d419d3265
build(deps): bump axios
...
Bumps the npm_and_yarn group with 1 update in the /web-front directory: [axios](https://github.com/axios/axios ).
Updates `axios` from 1.16.1 to 1.18.0
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.16.1...v1.18.0 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.18.0
dependency-type: direct:production
dependency-group: npm_and_yarn
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-07-21 07:29:38 +00:00
q
b70e30796f
ci: package fuller jre for native builds
2026-07-19 09:57:31 +08:00
q
d3ef521773
fix: support donated auth for 123 directory downloads
2026-07-19 09:39:55 +08:00
q
2fde421169
chore: bump version to 0.3.9
2026-07-19 01:11:57 +08:00
q
3494271150
chore: bump version to 0.3.8
2026-07-19 00:55:54 +08:00
q
675d930f86
fix: 123网盘捐赠账号无需临时auth参数即可自动生效,修复token前缀与脏数据问题
...
- 前端: getCurrentPanType() 补全123网盘域名匹配正则(share.123pan.cn等子域名)
- 前端: 临时认证弹窗补充123云盘(YE)选项及提示文案
- 前端: submitDonateAccount() 按当前authType只提交相关字段,避免切换认证方式后
残留的用户名/密码脏数据被一并提交
- 后端: URLParamUtil.addParam() 不再无条件用静态yml配置覆盖已生效的临时认证/
自动捐赠账号回退(增加 __TEMP_AUTH_ADDED 判断)
- 后端: CacheServiceImpl 新增 applyDonatedAccountFallback(),请求未带auth参数
且无静态配置时自动从捐赠账号池随机取一个可用账号使用,并在解析失败时记录/
自动禁用失败账号
- 后端: DbServiceImpl.getRandomDonatedAccount() 对非password类型账号强制丢弃
历史遗留的username/password字段,避免被误当账号密码登录
- 解析器: Ye2Tool 清理token/authorization前缀中的"Bearer ",避免拼接成
'Bearer Bearer xxx' 导致123接口返回 tokenstring should not contain bearer
已通过本地实测验证: 捐赠123账号后,不带auth参数直接请求
/json/parser?url=https://1815268665.share.123pan.cn/123pan/iaKtVv-r4aCd
可正常返回200及直链
2026-07-18 23:21:56 +08:00
q
5e20ed5050
fix: 123网盘(YE)支持authorization别名配置并修复auth临时参数登录被覆盖问题, 更新README认证说明, bump version to 0.3.7
...
引用 #201 #198 #116
说明: 123解析仅限于本地部署(可Windows一键运行 run.bat),公共/云端服务因风控限制不保证可用
2026-07-18 12:28:00 +08:00
yukaidi
6ae5d998e6
fix(frontend): improve directory and timestamp display
2026-06-10 21:22:29 +08:00
q
1a5fc8d1ef
feat: truncate long error msg, fix lanzou folder regex, bump version to 0.3.4
2026-05-30 01:16:17 +08:00
yukaidi
7b5900aae4
refactor: 代码质量清理与日志规范化
...
- 替换 System.out.println/printStackTrace 为 Logger: MkgsTool, PodTool, WsTool, IpExtractor, ReqIpUtil, LogStatistics
- JsPlaygroundLogger 日志列表限制最大 1000 条防止内存泄漏
- JsScriptLoader JarFile 改用 try-with-resources 防止文件句柄泄漏
- DbServiceImpl Thread.sleep 改为 vertx.setTimer 避免阻塞 event loop
- 删除未使用的 api.js,删除空的 ParserApiClientLinkTest
- 移除前端未使用的导入和死代码 (downloaderService, monacoTypes)
- 提取 previewBaseUrl 到 constants.js 常量文件
2026-05-29 14:23:26 +08:00
yukaidi
af723aed3a
fix: NPE 修复、资源泄漏修复及其他 Bug 修复
...
- 修复 12 处 NPE 风险: FjTool/FsTool/IzTool/LzTool/MkwTool/P115Tool/PdbTool/QQTool/ParserCreate/CommonUtils/ShareLinkInfo/URLParamUtil
- 修复 4 处 Vert.x 资源泄漏: 测试类中 Vertx 实例未关闭
- 修复 CacheManager 防重入和 registerPeriodicCleanup 就绪检查
- 修复 ParserApi 中 redirectUrl()/viewUrl() Promise 未 complete
- 修复 CacheManager.updateTotalByField Promise 永不完成
- 修复 AppMain ShutdownHook 注册,确保 Vert.x 先于 JDBCPoolInit 关闭
- 修复 RouterHandlerFactory failureHandler 恢复返回 failure message
- 修复 ParserCreate/LzTool 收窄 catch 异常类型
- 修复 IzTool/FjTool/IzToolWithAuth 并发安全 (volatile + header 副本)
- 修复 P115Tool UA 为 null 时的 NPE,添加默认 User-Agent
- Font Awesome CDN 换源为 s4.zstatic.net,避免 bootcdn 投毒风险
- DirectoryTree selectAll 补 parserUrl 检查,Home 组件名 App→Home
2026-05-29 14:22:40 +08:00
yukaidi
0978186679
feat: 新功能与配置优化
...
- QQscTool: 支持多文件和目录解析,通过 GetFileList API 实现递归目录导航
- Home: 从粘贴文本中自动提取分享链接
- DirectoryTree: 目录浏览添加复制直链按钮
- domainName 改为可选,未配置时自动从请求地址推断
- 统一版本号管理,GitHub URL 构建时自动从 git remote origin 识别
- vue.config.js 添加前端构建配置,sync-version.js 构建时同步版本号
2026-05-29 14:21:32 +08:00
yukaidi
17460ff271
fix(security): 安全漏洞修复与依赖升级
...
- 升级 Vert.x 4.5.24 → 4.5.27, postgresql 42.7.3 → 42.7.11, logback 1.5.18 → 1.5.32, axios 1.13.5 → 1.16.1
- 修复 JWT 签名验证和密码比较的时序攻击漏洞 (MessageDigest.isEqual)
- 修复 AESUtils 使用不安全 Random 改为 SecureRandom
- 修复登录用户枚举和异常信息泄露,统一错误提示
- 修复 RateLimiter count++ 非原子操作 (AtomicInteger)
- 修复 JsParserExecutor DCL 模式缺少 volatile
- 修复 Token 日志泄露,仅打印前8字符
- 修复 Playground 密码时序攻击和堆栈泄露
- 所有 window.open 添加 noopener,noreferrer
- LocalConstant 改用 ConcurrentHashMap 保证线程安全
- Dockerfile 添加非 root 用户运行,secret.yml 加入 .gitignore
2026-05-29 14:20:54 +08:00
q
3245a27156
release v3.0.2
2026-04-29 22:37:07 +08:00
copilot-swe-agent[bot]
2f55294b58
fix: 修复演练场输入密码后提示未授权访问的问题
...
根本原因:框架 RouterHandlerFactory 未注册 SessionHandler,
导致 ctx.session() 始终返回 null。登录时密码校验通过但认证
状态被静默丢弃,后续所有请求均返回"未授权访问"。
修复方案:将 Session 鉴权改为 Token(Bearer)鉴权:
- PlaygroundConfig: 新增 generateToken()/validateToken(),
使用 SecureRandom 生成密码学安全 Token,并在生成时
清理过期 Token 防止内存泄漏
- PlaygroundApi: login() 返回 Token;checkAuth() 从
Authorization 请求头中读取并校验 Token
- playgroundApi.js: 添加请求拦截器自动携带 Token;
login() 从响应中提取并保存 Token 到 localStorage
- Playground.vue: 后端报告未认证时同步清除 playground_token
Agent-Logs-Url: https://github.com/qaiu/netdisk-fast-download/sessions/52144d13-cd49-4a3d-b279-9b8d6cbad757
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2026-04-23 01:22:09 +00:00
copilot-swe-agent[bot]
8582290db3
fix: restore copy of nfd-front to webroot/nfd-front in vue.config.js
...
Agent-Logs-Url: https://github.com/qaiu/netdisk-fast-download/sessions/e4e9323a-d8f5-48b1-9476-7efab611f978
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2026-04-22 04:40:03 +00:00
q
0cfb69a240
fix frontend shortcut parsing and proxy static serving
2026-04-22 04:24:22 +08:00
q
519dbe1f77
docs: update fs support and dev proxy port
2026-04-19 08:47:01 +08:00
q
c64855d4ad
feat: improve downloader integration for parsed files
2026-04-19 08:43:27 +08:00
copilot-swe-agent[bot]
0b49c55cf3
feat: recognize new Fangcloud /share/ URL format in addition to /sharing/ and /s/
...
Agent-Logs-Url: https://github.com/qaiu/netdisk-fast-download/sessions/dc483348-3899-4448-80ce-c2352e6bc23e
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2026-04-05 08:20:46 +00:00
q
742dda8677
更新前端版本号 v0.2.1b3,前端接口调整: randomAuth直接使用后端加密的encryptedAuth
2026-02-23 10:39:13 +08:00
q
fdf067c25e
更新 夸克解析、小飞机解析,前端版本号
2026-02-22 19:15:15 +08:00
rensumo
b150641e3b
fix: stabilize auth/decrypt flow and refresh donate account counts
2026-02-22 16:06:22 +08:00
rensumo
81ffbbd6b1
feat: harden donated-account failure token and document key usage
2026-02-22 12:24:47 +08:00
rensumo
04443bcb5e
feat: 添加捐赠账号功能,支持数据库存储和随机选择账号解析
2026-02-19 12:59:47 +08:00
dependabot[bot]
4a79542a46
Bump axios from 1.12.0 to 1.13.5 in /web-front
...
Bumps [axios](https://github.com/axios/axios ) from 1.12.0 to 1.13.5.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.12.0...v1.13.5 )
---
updated-dependencies:
- dependency-name: axios
dependency-version: 1.13.5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-02-11 17:55:01 +00:00
q
3a25e5f2ae
feat(v0.2.1): 添加认证参数支持和客户端下载命令生成
...
主要更新:
- 新增 auth 参数加密传递支持 (QK/UC Cookie认证)
- 实现下载命令自动生成 (curl/aria2c/迅雷)
- aria2c 命令支持 8 线程 8 片段下载
- 修复 cookie 字段映射问题
- 优化前端 clientLinks 页面
- 添加认证参数文档和测试用例
- 更新 .gitignore 忽略编译目录
2026-02-05 20:35:47 +08:00
qaiu
b51add45f1
LeTool乐云目录解析
2026-01-23 03:26:35 +08:00
q
b58b3658b5
更新Playground和JsHttpClient相关功能,整理文档结构
2026-01-06 00:00:37 +08:00
q
9f25aca242
Merge branch 'main' of github.com:qaiu/netdisk-fast-download
2026-01-04 09:30:54 +08:00
q
343c017c79
fixed. 演练场静态打包问题
2026-01-04 09:29:20 +08:00
qaiu
83af09cf58
升级前端版本
2026-01-04 01:14:26 +08:00
q
047a8eab89
更新代码和文档
2026-01-03 21:11:04 +08:00
q
ce1c4ee669
Fix playground bugs and remove TypeScript compiler
...
- 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
2026-01-02 19:24:47 +08:00
copilot-swe-agent[bot]
3775cd0259
Address code review feedback: protect types.js endpoint and improve code readability
...
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2025-12-07 05:27:07 +00:00
copilot-swe-agent[bot]
6305d805dd
Add playground loading animation, password auth, and mobile layout support
...
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2025-12-07 05:20:06 +00:00
copilot-swe-agent[bot]
66ba8b7ee8
Address code review feedback - improve code quality
...
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2025-12-07 04:52:22 +00:00
copilot-swe-agent[bot]
2edf235941
Complete TypeScript compiler integration with examples and documentation
...
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2025-12-07 04:48:38 +00:00
copilot-swe-agent[bot]
57ef723368
Add TypeScript compiler integration - core implementation
...
Co-authored-by: qaiu <29825328+qaiu@users.noreply.github.com >
2025-12-07 04:43:36 +00:00
q
f82267f8a7
js演练场漏洞修复
2025-11-30 02:07:56 +08:00
q
e74d5ea97e
js演练场
2025-11-29 03:41:51 +08:00
q
1dfdff7024
js演练场
2025-11-29 02:56:25 +08:00
q
804b8853d9
front ver 0.1.9.b12
2025-11-28 19:50:29 +08:00
q
3b63f48dfa
ce盘优化
2025-11-13 19:32:44 +08:00
q
c71d4cfa87
feat: 新增客户端协议生成系统,支持8种主流下载工具
...
🚀 核心功能
- 新增完整的客户端下载链接生成器系统
- 支持ARIA2、Motrix、比特彗星、迅雷、wget、cURL、IDM、FDM、PowerShell等8种客户端
- 自动处理防盗链参数(User-Agent、Referer、Cookie等)
- 提供可扩展的生成器架构,支持自定义客户端
🔧 技术实现
- ClientLinkGeneratorFactory: 工厂模式管理生成器
- DownloadLinkMeta: 元数据存储下载信息
- ClientLinkUtils: 便捷工具类
- 线程安全的ConcurrentHashMap设计
🌐 前端集成
- 新增ClientLinks.vue界面,支持客户端链接展示
- Element Plus图标系统,混合图标显示
- 客户端检测逻辑优化,避免自动打开外部应用
- 移动端和PC端环境判断
📚 文档完善
- 完整的CLIENT_LINK_GENERATOR_GUIDE.md使用指南
- API文档和测试用例
- 输出示例和最佳实践
从单纯的网盘解析工具升级为完整的下载解决方案生态
2025-10-24 09:29:05 +08:00
q
97c2fe6784
feat: 添加 WPS 云文档/WPS 云盘解析支持 ( closes #133 )
...
- 新增 PwpsTool 解析器,支持 WPS 云文档直链获取
- 调用 WPS API: https://www.kdocs.cn/api/office/file/{shareKey}/download
- 前端添加 kdocs.cn 链接识别规则
- 前端预览功能优化:WPS 云文档直接使用原分享链接预览
- 后端预览接口特殊处理:判断 shareKey 以 pwps: 开头自动重定向
- 支持提取文件名和有效期信息
- 更新 README 文档,添加 WPS 云文档支持说明
Parser 模块设计:
- 遵循开放封闭原则,易于扩展新网盘
- 只需实现 IPanTool 接口和注册枚举即可
- 支持自定义域名解析和责任链模式
技术特性:
- 免登录获取下载直链
- 支持在线预览(利用 WPS 原生功能)
- 文件大小限制:10M(免费版)/2G(会员版)
- 初始空间:5G(免费版)
2025-10-20 13:33:53 +08:00
q
3107281cdc
web展示内部版本号
2025-10-17 17:19:27 +08:00