Repository navigation
feat(foxel): add Foxel storage backend - #3188
Draft
DrizzleTime wants to merge 3 commits into
Draft
DrizzleTime wants to merge 3 commits into
DrizzleTime wants to merge 3 commits into
Conversation
- Register the Foxel driver with Bearer authentication and automatic reauthentication. - Support paged and cursor listings, original downloads, streaming uploads, and file operations. - Wait for asynchronous Foxel transfers and propagate errors and cancellation. - Add HTTP regression tests, driver CI, and setup documentation. Co-authored-by: Codex <267193182+codex@users.noreply.github.com>
feat(foxel): add Foxel storage backend
- Remove the Foxel-specific GitHub Actions workflow. - Remove the README and test file from the Foxel driver directory. Co-authored-by: Codex <267193182+codex@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary / 摘要
新增 Foxel 存储驱动,让 OpenList 可以通过 Foxel HTTP API 挂载其虚拟文件系统。
url、root_folder_path、username、password、token、page_size(默认 200)和link_expire(默认 3600 秒)。兼容性说明:Foxel 实例需要提供
/api/fs/download-public/{token}/{filename}原始文件下载接口。仅使用 Token 时,令牌过期需要手动更新。取消 OpenList 请求会停止本地请求和轮询,但不会取消 Foxel 已接受的后台传输任务。This PR has breaking changes.
/ 此 PR 包含破坏性变更。
This PR changes public API, config, storage format, or migration behavior.
/ 此 PR 修改了公开 API、配置、存储格式或迁移行为。
This PR requires corresponding changes in related repositories.
/ 此 PR 需要关联仓库同步修改。
Related repository PRs / 关联仓库 PR:
Testing / 测试
检查环境:Linux x86_64。
git diff --check通过。已检查最终五个文件的改动和驱动注册入口。
go test ./...Manual test / 手动测试: 暂未执行。
Checklist / 检查清单
/ 我已阅读 CONTRIBUTING。
/ 我确认此贡献符合仓库许可证、贡献规范和行为准则。
gofmt,go fmt, orprettierwhere applicable./ 我已按适用情况使用
gofmt、go fmt或prettier格式化变更代码。/ 我已在适用情况下请求相关维护者或代码所有者审查。
AI Disclosure / AI 使用声明
/ 此 PR 包含 AI 辅助内容。
Tools used / 使用工具:
Usage scope / 使用范围:
Codex 参与了 Foxel 驱动实现、代码检查及 PR 准备。功能提交和清理提交均包含:
Co-authored-by: Codex <267193182+codex@users.noreply.github.com>以下未勾选的验证项目尚未确认完成。
/ 我已审核并验证此 PR 中的所有 AI 辅助内容。
Co-Authored-Byattribution./ 我已确保所有 AI 辅助提交都包含
Co-Authored-By归属信息。/ 我可以在没有任何 AI 工具的情况下重现此 PR 中包含的所有 AI 辅助内容。