Page MenuHomePhorge

Add fallback endpoint for download
Changes PlannedPublic

Authored by nannanko on May 26 2025, 10:14 PM.
Tags
None
Referenced Files
F3130662: D217.1753254260.diff
Tue, Jul 22, 12:04 AM
F3128156: D217.1753246214.diff
Mon, Jul 21, 9:50 PM
F3127860: D217.1753244752.diff
Mon, Jul 21, 9:25 PM
F3120717: D217.1753220856.diff
Mon, Jul 21, 2:47 PM
F3115478: D217.1753197357.diff
Mon, Jul 21, 8:15 AM
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 393
Build 769: GitLab CI for kazv
Build 768: 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.