Skip to content

chore(upstream): sync OpenList after v4.2.2 - #26

Merged
power721 merged 12 commits into
mainfrom
sync/openlist-post-4.2.2
Jul 20, 2026
Merged

power721 merged 12 commits into
mainfrom
sync/openlist-post-4.2.2

Conversation

@power721

Copy link
Copy Markdown
Owner

Summary / 摘要

  • Sync OpenList changes after v4.2.2 through upstream commit eb486712.

  • Add upstream drivers including DingTalk Docs, Cloudflare Image Bed, and Emby, plus MCP and S3 redirect support.

  • Merge upstream security, compatibility, dependency, and storage-driver fixes while preserving PowerList-specific 189PC CAS, Index115, and 123Pan behavior.

  • Keep GitHub Actions unchanged. Keep the explicitly required frontend version webVersion=4.2.3 in build.sh.

  • Include the synchronization design and implementation plan used for conflict resolution and verification.

  • 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:

  • OpenList-Frontend: Not required
  • OpenList-Docs: Not required

Testing / 测试

Passed:

  • go test ./drivers/189pc ./drivers/115_open ./drivers/123 ./server/mcp ./server/s3
  • go test ./drivers/local ./drivers/teldrive ./drivers/thunder ./drivers/thunder_browser ./drivers/thunderx ./drivers/webdav ./internal/archive/zip ./internal/fs ./internal/op ./pkg/generic_sync ./pkg/singleflight ./pkg/task ./server/mcp ./server/s3
  • go test ./internal/net
  • go mod tidy
  • git diff --cached --check
  • Verified that .github/workflows/** has no changes.

Full suite:

  • go test ./... — not fully passing because of pre-existing repository/environment failures: missing fuse.h, existing non-constant format-string vet errors, existing Index115 test/schema mismatches, and aria2 tests requiring a service on 127.0.0.1:6800.
  • Manual test / 手动测试: Not performed.

Checklist / 检查清单

  • I have read CONTRIBUTING.
    / 我已阅读 CONTRIBUTING。
  • I confirm this contribution follows the repository license, contribution policy, and code of conduct.
    / 我确认此贡献符合仓库许可证、贡献规范和行为准则。
  • I have formatted the changed code with gofmt, go fmt, or prettier where applicable.
    / 我已按适用情况使用 gofmt、go fmt 或 prettier 格式化变更代码。
  • I have requested review from relevant maintainers or code owners where applicable.
    / 我已在适用情况下请求相关维护者或代码所有者审查。

AI Disclosure / AI 使用声明

  • This PR includes AI-assisted content.
    / 此 PR 包含 AI 辅助内容。

Tools used / 使用工具:

  • ChatGPT
  • Codex
  • GitHub Copilot
  • Claude
  • Gemini
  • Other (please specify) / 其他(请注明):

Usage scope / 使用范围:

  • Code generation / 代码生成

  • Refactoring / 重构

  • Documentation / 文档

  • Tests / 测试

  • Translation / 翻译

  • Review assistance / 审查辅助

  • I have reviewed and validated all AI-assisted content included in this PR.
    / 我已审核并验证此 PR 中的所有 AI 辅助内容。

  • I have ensured that all AI-assisted commits include Co-Authored-By attribution.
    / 我已确保所有 AI 辅助提交都包含 Co-Authored-By 归属信息。

  • I can reproduce all AI-assisted content included in this PR without any AI tools.
    / 我可以在没有任何 AI 工具的情况下重现此 PR 中包含的 AI 辅助内容。

power721 added 12 commits July 11, 2026 17:30
- Merge upstream changes through eb48671 while preserving PowerList customizations.
- Keep build scripts and GitHub Actions unchanged.
- Add upstream drivers, MCP/S3 features, security fixes, tests, and dependency updates.
- Record the repeatable backend synchronization and conflict-resolution process.
- Require the latest stable OpenList-Frontend release tag for build.sh webVersion.
- Document protected paths, verification commands, PR requirements, and a sync record template.
- Use the current OpenList stable tag as the web version source.
- Remove the separate OpenList-Frontend release lookup.
- Document stripping the leading v before updating build.sh webVersion.
- Define the ThunderShare-to-189CloudPC CAS playback flow.
- Specify cache, cleanup, error handling, and test requirements.
- Parse CAS metadata directly from readers.
- Reject metadata larger than one MiB.
- Restore parsed CAS metadata through the existing temp flow.
- Schedule playback cleanup with a cancellation-independent context.
- Open saved Thunder share links as streams.
- Parse shared CAS metadata with the bounded reader.
- Prefer the configured 189CloudPC account.
- Try distinct fallback accounts and preserve all failures.
- Bypass ordinary share-link caching for CAS files.
- Read Thunder metadata and return the first restored 189CloudPC link.
- Return a clear missing Thunder account error.
- Avoid opening a CAS stream when link resolution returns nil.
@power721
power721 merged commit 197df4b into main Jul 20, 2026
2 checks passed
@power721
power721 deleted the sync/openlist-post-4.2.2 branch July 20, 2026 13:31
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.

1 participant