Skip to content

Conversation

@Y-ASLant
Copy link
Contributor

@Y-ASLant Y-ASLant commented Oct 27, 2025

Description / 描述

未实现接口:storage.(driver.DirectUploader) 类型断言失败 → 不支持
返回 NotImplement:接口已实现但功能未启用(如 OneDrive 的 EnableDirectUpload=false)→ 不支持

Motivation and Context / 背景

Closes #XXXX

Relates to #XXXX

How Has This Been Tested? / 测试

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 添加了适当的标签(如无权限或需要的标签不存在,请在描述中说明,管理员将后续处理)。OpenList pull-1532

  • 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).
    我已相应更新了相关仓库(若适用)。

- 上传路径Bug修复
- 减少API请求次数
- 将“获取前端上传信息“函数设计为一个驱动实现的接口驱动未实现接口或调用返回errs.NotImplement表示驱动不支持(未启用)前端上传,支持以下两种情况:
> 未实现接口:storage.(driver.DirectUploader) 类型断言失败 → 不支持
> 返回 NotImplement:接口已实现但功能未启用(如 OneDrive 的 EnableDirectUpload=false)→ 不支持
@Y-ASLant Y-ASLant changed the title OneDrive添加直连上传 feat(component): 新增功能OneDrive添加直连上传 Oct 27, 2025
@KirCute KirCute changed the title feat(component): 新增功能OneDrive添加直连上传 feat(onedrive): support frontend direct upload Nov 3, 2025
@KirCute KirCute merged commit e845903 into OpenListTeam:main Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants