Skip to content

Conversation

@xrgzs
Copy link
Member

@xrgzs xrgzs commented Nov 13, 2025

Description / 描述

增加「创建分享链接」选项,开启后支持创建分享链接作为永久下载直链

开启此功能前,请做好下载的文件都可被公开访问的准备

Motivation and Context / 背景

  1. 使用传统模式获取到的链接存在过期问题,在网速慢+下载大文件时可能会中途失败

  2. OneDrive 网页版获取分享链接的直链步骤复杂且卡慢,通过这个 PR 新增的功能可快速获取

// For personal
// https://1drv.ms/t/c/{user}/{share} ->
// https://my.microsoftpersonalcontent.com/personal/{user}/_layouts/15/download.aspx?share={share}

// https://{tenant}-my.sharepoint.com/:u:/g/personal/{user_email}/{share}
// https://{tenant}-my.sharepoint.com/personal/{user_email}/_layouts/15/download.aspx?share={share}

How Has This Been Tested? / 测试

使用国际个人版、E3测试没问题

Checklist / 检查清单

  • I have read the CONTRIBUTING document.
    我已阅读 CONTRIBUTING 文档。
  • I have formatted my code with go fmt or prettier.
    我已使用 go fmtprettier 格式化提交的代码。
  • I have added appropriate labels to this PR (or mentioned needed labels in the description if lacking permissions).
    我已为此 PR 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。
  • I have requested review from relevant code authors using the "Request review" feature when applicable.
    我已在适当情况下使用"Request review"功能请求相关代码作者进行审查。
  • I have updated the repository accordingly (If it’s needed).
    我已相应更新了相关仓库(若适用)。

@xrgzs xrgzs added enhancement Module: Driver Driver-Related Issue/PR labels Nov 13, 2025
@xrgzs xrgzs marked this pull request as ready for review November 14, 2025 09:29
@xrgzs xrgzs marked this pull request as draft November 19, 2025 16:06
@xrgzs

This comment was marked as resolved.

@xrgzs xrgzs force-pushed the feat/onedrive-link branch 2 times, most recently from 85b9ca1 to 9ed34cd Compare November 20, 2025 04:25
xrgzs added 4 commits December 6, 2025 16:23
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
@xrgzs xrgzs force-pushed the feat/onedrive-link branch from 9ed34cd to 3f8d8bf Compare December 6, 2025 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Module: Driver Driver-Related Issue/PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant