Commit Graph
58 Commits
Author SHA1 Message Date
RedSTAR.Cheng 5991e41c5d Merge branch 'NeteaseCloudMusicApiEnhanced:main' into main 2026-03-04 10:21:38 +08:00
RedSTARO 89a70b14d4 refactor: simplify /song/url/v1/302 call chain 2026-03-01 13:48:28 +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
MoeFurina 31d2ec9225 chore: clean up empty code change sections in the changes log 2026-02-23 23:12:01 +08:00
LaoShui b1729f19aa style(code): 格式化代码
- 将长参数列表拆分为多行以提高可读性
- 标准化函数调用中的逗号使用
- 统一对象和数组的换行格式
- 更新 ESLint 配置中的 ECMA 版本至 2020,以支持 ES2020 语法(包括 Optional Chaining)
- 优化代码缩进和对齐方式
- 确保所有文件中的代码风格一致性
2026-02-19 11:52:19 +08:00
LaoShui 8951e32a0e refactor(server): 优化文件上传配置和MD5计算逻辑
- 移除cloud.js中的异步Promise包装,直接同步计算MD5哈希值
- 在server.js中提取上传大小限制为常量配置
- 统一使用字节单位常量管理文件上传大小限制
- 简化代码结构,提高可读性和维护性
2026-02-18 17:02:15 +08:00
LaoShui ba7d1a8574 feat(cloud): 支持临时文件上传功能
- 使用 crypto 模块替换 md5 模块进行文件哈希计算
- 添加对临时文件上传的支持,当存在 tempFilePath 时使用文件流处理
- 实现临时文件的 MD5 计算和元数据解析功能
- 在上传完成后自动清理临时文件
- 配置服务器端文件上传中间件启用临时文件支持
- 修改上传插件以支持临时文件读取流上传方式
- 增加文件大小获取和验证的兼容性处理
2026-02-18 16:44:19 +08:00
LaoShui 4489f10f63 feat(server): 增加文件上传大小限制并优化配置
- 将请求体大小限制从 50MB 增加到 500MB
- 配置文件上传中间件支持 500MB 大小限制
- 设置临时文件目录为 /tmp/
- 启用 useTempFiles 选项以提高性能
- 配置达到限制时自动中止上传
2026-02-18 16:08:40 +08:00
MoeFurina bc9d7b949f fix: 修复注入随机ip不生效 2026-02-15 00:06:42 +08:00
拜瑞andgemini-code-assist[bot] 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
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] <[email protected]>

* Squashed commit of the following:

commit f73cbbeec3
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] <[email protected]>

* Squashed commit of the following:

commit 4da2d5f360
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] <[email protected]>

* Squashed commit of the following:

commit 9e65b17625
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] <[email protected]>

* Squashed commit of the following:

commit a060f3c4cc
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] <[email protected]>

* 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] <[email protected]>
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
ElyPrismandgemini-code-assist[bot] 598dd8bd34 refactor(unblock): Refactor song URL matching to use new utils package (#73)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-26 19:51:13 +08:00
MoeFurina 9d18639464 fix(eslint): fix files which have eslint problems 2025-11-15 13:25:09 +08:00
MoeFurina 4e00b94ee6 chore: 删除过时的issue模板和更新bug报告及功能请求模板 2025-11-09 10:51:14 +08:00
MoeFurina 597ac1498f fix(eslint): fix files which have eslint problems 2025-11-01 13:11:38 +08:00
ImFurina d78a20ea11 feat(randomCNIP): 添加随机中国IP选项 2025-10-08 11:40:40 +08:00
ImFurina 2cbd17a6d7 fix(typeerror): 尝试修复vercel调用 500错误 2025-10-07 15:08:05 +08:00
ImFurina 0e0777d175 feat: 支持全局cookie代理 2025-10-06 14:07:33 +08:00
ImFurina ea3acc0b14 feat(unblock): 新增bodian source 2025-09-23 20:19:47 +08:00
ImFurinaandbinaryify abd0c9ca91 refactor: 重构模块加载
Refactored main.js to optimize module and server loading, improving code clarity and lazy loading. Updated several dependencies in package.json to their latest versions for better security and compatibility. Updated documentation cover page and home page to reflect project branding changes.

Co-Authored-By: binaryify <[email protected]>
2025-09-07 13:08:26 +08:00
ImFurina ceb2044500 feat(logger}: 支持更好的日志输出, 完善了文档 2025-08-24 23:10:24 +08:00
MoeFurina b598978628 perf: 优化反向代理配置 2025-08-24 23:10:07 +08:00
IamFurina 0ee7b55f99 feat: 支持解灰手动选择音源 2025-08-24 23:09:56 +08:00
IamFurina 0c99618380 feat(proxyUrl): 支持代理酷我资源, 需自己部署反向代理 2025-08-24 23:09:52 +08:00
IamFurina cecc04e60e fix(cors): 修复无法携带cookie请求的cors问题 2025-08-24 23:09:50 +08:00
IamFurina 2d4250931d feat: 支持启用全局解灰 2025-08-24 23:09:44 +08:00
IamFurina a051864303 feat. 分离解灰至单独的模块, 更新文档 2025-08-24 23:09:29 +08:00
IamFurina 0ff650cd50 perf. 加快访问速度 2025-08-24 23:08:27 +08:00
IamFurina 614e733fd1 Update server.js 2025-08-24 23:08:27 +08:00
IamFurina f35c198c4e Update server.js 2025-08-24 23:08:27 +08:00
IamFurina 6ae1964685 Fix: 修复API不正常工作 2025-08-24 23:08:27 +08:00
IamFurina b6a135e8b9 reapply. 重新加入解灰功能 2025-08-24 23:08:27 +08:00
IamFurina f4ac52756e temp. 暂时移除解灰功能 2025-08-24 23:08:27 +08:00
IamFurina 9758f53058 revert. 回退操作 2025-08-24 23:08:27 +08:00
IamFurina 5435ed70f3 fix. 添加选择条件以防止多次调用接口 2025-08-24 23:08:27 +08:00
IamFurina 950f9a2365 feat. 接口支持无损音质 2025-08-24 23:08:27 +08:00
IamFurina ffd5c095a9 Patch: 更新API 2025-08-24 23:08:27 +08:00
IamFurina 007890be90 Patch: 更新API 2025-08-24 23:08:24 +08:00
IamFurina 0e7ce27b3c Patch: 更新API 2025-08-24 23:08:24 +08:00
binaryify dea65db2b3 fix: 中间件问题修复 2024-05-08 15:34:54 +08:00
binaryify 5b30e1b222 fix:参数接收问题修复 2024-05-07 22:46:50 +08:00
binaryify 780f30f0b1 feat: 游客登录机制完善 2024-04-30 15:14:32 +08:00
binaryify a42d2e491e update: 版本更新提示不展示问题修复 2024-01-26 17:38:43 +08:00
binaryify b8f9110f69 update:文档结构调整 2024-01-23 15:20:25 +08:00
binaryify 3e5c052f98 fix: 支持headers不携带cookie信息 #1744 #1748 2023-05-29 16:30:36 +08:00
Shirtiny b7aa9f934c read Access-Control-Allow-Origin from env 2023-02-11 14:48:50 +00:00
binaryify e174de0448 客户端ip传入完善 2022-06-07 11:03:18 +08:00
binaryify 4c643c7d36 修复云盘上传无法获取文件的问题 2022-02-09 15:03:58 +08:00
pan93412 b02d4d5e04 refactor: allow using server statically
將原本 "NeteaseCloudMusicApi/server"
掃描 modules 目錄的部分抽出 server.js,
改移到 main.js。這樣使用者就有辦法只載入
靜態的伺服器部分(不動態載入模組)。

這個 patch 的 breaking changes 不易發生。
可作為 patch version 發佈。
2022-01-28 12:52:21 +08:00