1905 Commits

Author SHA1 Message Date
2e3cf4d451
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-08 12:00:17 +08:00
288459cddb
fix: 修复部分拼写错误
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-08 11:59:15 +08:00
c1b8a381f3
fix: module/voicelist_search.js 拼写错误
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-03-08 11:53:03 +08:00
2dd12b88ae
feat: 新增评论相关接口并更新部分接口 2026-03-08 11:42:32 +08:00
b6a1f9ce0a
Merge branch 'main' into main 2026-03-08 09:24:54 +08:00
RedSTAR.Cheng
5991e41c5d
Merge branch 'NeteaseCloudMusicApiEnhanced:main' into main 2026-03-04 10:21:38 +08:00
RedSTARO
266cd8d059 chore: doc update for 302 endpoint 2026-03-01 14:03:54 +08:00
RedSTARO
89a70b14d4 refactor: simplify /song/url/v1/302 call chain 2026-03-01 13:48:28 +08:00
a9332af453
Merge branch 'main' into main
build(version): bump to 4.30.2
2026-02-28 15:52:06 +08:00
cffe68d9ff
upd changelog 2026-02-28 15:51:47 +08:00
75ec2de66f
feat: update doc icon 2026-02-28 15:37:02 +08:00
0bd023c188
Merge branch 'main' into chore/bump-4.30.2 2026-02-28 15:33:16 +08:00
2c82c9b7be
Merge branch 'add-comment-info' into 'main' 2026-02-28 15:29:10 +08:00
imsyy
1320e5780b
feat: 更新文档 2026-02-28 14:52:13 +08:00
imsyy
bde1f0864b
feat: 更新文档 2026-02-28 14:50:04 +08:00
imsyy
e891287f1a
feat: 添加评论统计数据 2026-02-28 14:42:25 +08:00
RedSTARO
59241631db feat: add song download url api end point for 302
* This will redirect access from http://localhost:3000/song/url/v1?id=2756058128&level=exhigh to actual resource url
2026-02-26 20:12:43 +08:00
29ef4f68c2
docs: update readme 2026-02-26 18:43:17 +08:00
ee25eb17a6
docs: update readme 2026-02-23 23:30:55 +08:00
31d2ec9225
chore: clean up empty code change sections in the changes log 2026-02-23 23:12:01 +08:00
b45bdd411f
Update README.MD
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-22 22:20:15 +08:00
c14b06f6c3
build: update deps 2026-02-22 22:16:39 +08:00
b027aca40a
Merge branch 'feat/cloud-upload-modes' into 'main'
feat(cloud): 添加云盘上传模式选择功能并优化上传配置
2026-02-19 12:04:19 +08:00
LaoShui
b1729f19aa style(code): 格式化代码
- 将长参数列表拆分为多行以提高可读性
- 标准化函数调用中的逗号使用
- 统一对象和数组的换行格式
- 更新 ESLint 配置中的 ECMA 版本至 2020,以支持 ES2020 语法(包括 Optional Chaining)
- 优化代码缩进和对齐方式
- 确保所有文件中的代码风格一致性
2026-02-19 11:52:19 +08:00
LaoShui
755489546b refactor(util): 简化文件帮助工具函数
- 移除未使用的 path 模块引入
- 将 getFileExtension 函数从异步改为同步
- 优化 sanitizeFilename 函数逻辑,移除冗余扩展名处理
2026-02-18 20:24:43 +08:00
LaoShui
92df6e13a0 refactor(cloud): 重构文件处理逻辑并提取辅助函数
- 将文件大小、MD5计算等逻辑提取到 fileHelper 工具模块
- 使用统一的文件扩展名和文件名处理函数
- 简化临时文件处理和清理逻辑
- 统一文件上传数据获取方式
- 移除重复的文件操作代码并提高可维护性
2026-02-18 20:19:46 +08:00
LaoShui
1ad8ab088f fix(cloud): 修改上传接口Cookie参数传递方式
- 将Cookie参数从URL查询字符串改为请求体传递
- 更新token接口调用以将cookie作为data参数发送
- 更新complete接口调用以将cookie作为data参数发送
- 修改API文档说明Cookie参数传递方式变更
- 确保Cookie值通过POST请求体安全传输
2026-02-18 19:37:32 +08:00
LaoShui
a09f126ab2 fix(upload): 修复文件上传功能中的路径替换和临时文件支持
- 将单个斜杠替换改为全局正则替换以正确处理所有路径分隔符
- 移除未使用的 crypto 模块引入
- 添加对临时文件上传的支持,使用 fs 模块读取临时文件
- 动态设置 Content-Type 头部,优先使用文件的 mimetype 属性
- 重构多处文件上传逻辑以支持流式读取大文件
- 优化分片上传时的文件大小获取方式
2026-02-18 19:09:15 +08:00
LaoShui
872bae1b43 feat(cloud): 添加音频元数据解析功能
- 集成 jsmediatags 库用于解析音频文件的 ID3 标签
- 实现 parseMediaTags 函数提取歌曲标题、艺术家和专辑信息
- 在上传前添加音频元数据解析步骤
- 将解析的元数据传递给 completeUpload 函数
- 使用元数据中的标题作为歌曲名称,提高准确性
- 添加默认值处理以防止解析失败
- 更新 completeUpload 函数接收文件对象和媒体标签参数
- 移除模块中不再使用的文件扩展名提取逻辑
2026-02-18 18:49:05 +08:00
LaoShui
83c527af01 feat(cloud): 添加云盘上传模式选择和进度显示功能
- 添加客户端直传和后端代理两种上传模式选项
- 实现上传进度条和状态显示界面
- 添加文件MD5计算和上传凭证获取功能
- 支持大文件上传和断点续传机制
- 新增cloud/upload/token和cloud/upload/complete接口
- 更新文档说明上传模式和接口使用方法
- 优化上传按钮禁用状态和提示信息显示
2026-02-18 18:42:28 +08:00
LaoShui
84efe5d758 chore(deps): 更新依赖包版本并移除冗余依赖
- 移除了 express-fileupload 中的 md5 依赖
- 将多个开发依赖包从固定版本改为范围版本(^)
- 更新了 typescript、eslint 等核心依赖的版本声明
- 移除了 charenc、crypt、is-buffer 等冗余依赖包
- 更新了 @typescript-eslint 相关包的版本引用
- 清理了依赖树中的重复和无用条目
2026-02-18 17:24:45 +08:00
LaoShui
cfa475bf94 chore(deps): 更新依赖包版本并移除不需要的依赖
- 移除了 md5 依赖包
- 移除了 @neteasecloudmusicapienhanced/unblockmusic-utils 重复依赖
- 移除了 axios 重复依赖
- 移除了 dotenv 重复依赖
- 移除了 music-metadata 重复依赖
- 将开发依赖包版本从固定版本号更新为 ^ 版本范围
- 统一了依赖包版本管理格式
2026-02-18 17:13:50 +08:00
LaoShui
4087bafd7d fix(cloud): 解决临时文件清理和上传流程中的错误处理问题
- 修复了临时文件清理失败时的日志消息本地化
- 移除了重复的临时文件清理调用,统一在 finally 块中处理
- 优化了错误处理逻辑,确保在各种异常情况下正确返回错误响应
- 更新了日志消息为中文描述,提高可读性
- 修复了上传插件中的日志消息本地化问题
- 统一了错误处理流程,避免重复的清理操作
2026-02-18 17:09:02 +08:00
LaoShui
8951e32a0e refactor(server): 优化文件上传配置和MD5计算逻辑
- 移除cloud.js中的异步Promise包装,直接同步计算MD5哈希值
- 在server.js中提取上传大小限制为常量配置
- 统一使用字节单位常量管理文件上传大小限制
- 简化代码结构,提高可读性和维护性
2026-02-18 17:02:15 +08:00
LaoShui
33ccc83615 fix(cloud): 解决临时文件清理和异步操作问题
- 添加异步临时文件清理函数避免资源泄露
- 将同步文件操作改为异步操作提高性能
- 在令牌分配失败时执行临时文件清理
- 在上传失败时确保临时文件被清理
- 使用 Promise 包装 MD5 计算操作
- 统一临时文件清理逻辑到 finally 块
2026-02-18 16:57:20 +08:00
LaoShui
2d6173b2aa fix(cloud): 移除了重复的条件判断 2026-02-18 16:50:20 +08:00
LaoShui
ba7d1a8574 feat(cloud): 支持临时文件上传功能
- 使用 crypto 模块替换 md5 模块进行文件哈希计算
- 添加对临时文件上传的支持,当存在 tempFilePath 时使用文件流处理
- 实现临时文件的 MD5 计算和元数据解析功能
- 在上传完成后自动清理临时文件
- 配置服务器端文件上传中间件启用临时文件支持
- 修改上传插件以支持临时文件读取流上传方式
- 增加文件大小获取和验证的兼容性处理
2026-02-18 16:44:19 +08:00
LaoShui
26d55255e0 fix(cloud): 解决云上传功能中的错误处理和代码清理
- 移除注释掉的废弃代码和调试信息
- 添加详细的错误处理和日志记录
- 验证token分配结果并处理失败情况
- 在上传过程中添加异常捕获和错误抛出
- 验证LBS响应的有效性并处理网络请求超时
- 改进上传流程的错误处理机制
2026-02-18 16:17:07 +08:00
LaoShui
4489f10f63 feat(server): 增加文件上传大小限制并优化配置
- 将请求体大小限制从 50MB 增加到 500MB
- 配置文件上传中间件支持 500MB 大小限制
- 设置临时文件目录为 /tmp/
- 启用 useTempFiles 选项以提高性能
- 配置达到限制时自动中止上传
2026-02-18 16:08:40 +08:00
2047bdfa65
Merge branch 'main' into 'main'
refactor: Refactor random Chinese IP generator
2026-02-15 00:20:25 +08:00
bc9d7b949f
fix: 修复注入随机ip不生效 2026-02-15 00:06:42 +08:00
f08f192328
refactor: 重构随机中国ip 2026-02-14 23:50:59 +08:00
b04b9d51fb
Merge branch 'main' of 'main'
更加优雅的显示URL和调试按钮
2026-02-14 12:09:45 +08:00
BakaCookie520
c91f5f3714 更加优雅的显示URL和调试按钮 2026-02-14 00:01:19 +08:00
7fceec12e4
Merge branch "Burial0268/main" into "main" 2026-02-12 19:28:43 +08:00
拜瑞
1df147edab
fix(server): prevent obj[2]=undefined if there is no options passed
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-12 19:21:02 +08:00
Burial0268
6d1f75f229 fix(server): Correctly inject client IP into request parameters 2026-02-12 18:59:32 +08:00
2a0b54e442
feat: Add user playlist endpoints & domain overrides (bump 4.30.1) (#105)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-11 16:49:11 +08:00
github-actions[bot]
a19418bbb6
Auto-build: Add compiled binaries for win, linux, macos (#104)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-10 11:38:47 +08:00
ce51da9150
build(version): bump 4.30.0 (#102)
* chore(deps): bump actions/checkout from 4 to 6

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Squashed commit of the following:

commit f73cbbeec37d40383e2b7d411e34048146776345
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Feb 1 12:47:57 2026 +0000

    chore(deps): bump actions/download-artifact from 4 to 7

    Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 7.
    - [Release notes](https://github.com/actions/download-artifact/releases)
    - [Commits](https://github.com/actions/download-artifact/compare/v4...v7)

    ---
    updated-dependencies:
    - dependency-name: actions/download-artifact
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

* Squashed commit of the following:

commit 4da2d5f3600f52c7087ea350e3ec87a3c7cac535
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Feb 1 12:48:00 2026 +0000

    chore(deps): bump actions/github-script from 7 to 8

    Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
    - [Release notes](https://github.com/actions/github-script/releases)
    - [Commits](https://github.com/actions/github-script/compare/v7...v8)

    ---
    updated-dependencies:
    - dependency-name: actions/github-script
      dependency-version: '8'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

* Squashed commit of the following:

commit 9e65b176252a554decf5574ca6a3463838a7a32f
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Feb 1 12:47:49 2026 +0000

    chore(deps): bump actions/setup-node from 4 to 6

    Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](https://github.com/actions/setup-node/compare/v4...v6)

    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

* Squashed commit of the following:

commit a060f3c4cc5c3a4baf9c4827163acde1589ef26d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date:   Sun Feb 1 12:47:53 2026 +0000

    chore(deps): bump actions/upload-artifact from 4 to 6

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 6.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](https://github.com/actions/upload-artifact/compare/v4...v6)

    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-version: '6'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...

    Signed-off-by: dependabot[bot] <support@github.com>

* build(version): bump 4.30.0

* refactor: QR login and voice upload pages with improved UI and error handling

- Enhanced styling for better user experience on qrlogin-nocookie.html and qrlogin.html
- Added loading indicators and improved status messages during QR code login process
- Updated error handling for login status retrieval
- Refactored unblock_test.html for better layout and user interaction
- Improved voice upload page with a more intuitive design and better feedback for file uploads
- Added loading state management for voice list retrieval
- Enhanced accessibility and usability across all modified pages

* fix: Potential fix for code scanning alert no. 6: DOM text reinterpreted as HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* Potential fix for code scanning alert no. 15: DOM text reinterpreted as HTML

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

* build: update utils

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-02-09 23:33:26 +08:00