Page MenuHomePhorge

Add fallback endpoint for download
Needs ReviewPublic

Authored by nannanko on May 26 2025, 10:14 PM.
Tags
None
Referenced Files
F5605614: D217.1754957178.diff
Sun, Aug 10, 5:06 PM
F5589862: D217.1754947978.diff
Sun, Aug 10, 2:32 PM
F5586788: D217.1754946640.diff
Sun, Aug 10, 2:10 PM
F5586786: D217.1754946637.diff
Sun, Aug 10, 2:10 PM
F5586777: D217.1754946628.diff
Sun, Aug 10, 2:10 PM
F5586751: D217.1754946607.diff
Sun, Aug 10, 2:10 PM
F5586746: D217.1754946602.diff
Sun, Aug 10, 2:10 PM
F5586301: D217.1754946196.diff
Sun, Aug 10, 2:03 PM
Subscribers
None

Details

Summary

When the old Endpoint cannot be downloaded, fall back to the new endpoint.

Requires D216

Type: add

Test Plan

Log in to a matrix.org account (or other homeservers that do not support old endpoints), check the download function work fine.

Verify unit tests pass.

Diff Detail

Repository
rK kazv
Branch
nannanko/mxc-v1
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 387
Build 757: GitLab CI for kazv
Build 756: arc lint + arc unit

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 26 2025, 10:21 PM
Harbormaster failed remote builds in B373: Diff 608!
nannanko edited the test plan for this revision. (Show Details)
Harbormaster returned this revision to the author for changes because remote builds failed.May 26 2025, 10:57 PM
Harbormaster failed remote builds in B374: Diff 609!
Harbormaster returned this revision to the author for changes because remote builds failed.Jun 7 2025, 6:07 PM
Harbormaster failed remote builds in B382: Diff 620!

Automatically select the download endpoint according to the server version

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 14 2025, 6:54 PM
Harbormaster failed remote builds in B387: Diff 627!
nannanko planned changes to this revision.