Page MenuHomePhorge

Add fallback endpoint for download
Needs ReviewPublic

Authored by nannanko on May 26 2025, 10:14 PM.
Tags
None
Referenced Files
F5705118: D217.1755011415.diff
Mon, Aug 11, 8:10 AM
F5705117: D217.1755011414.diff
Mon, Aug 11, 8:10 AM
F5705116: D217.1755011413.diff
Mon, Aug 11, 8:10 AM
F5705115: D217.1755011412.diff
Mon, Aug 11, 8:10 AM
F5705114: D217.1755011411.diff
Mon, Aug 11, 8:10 AM
F5705113: D217.1755011409.diff
Mon, Aug 11, 8:10 AM
F5705112: D217.1755011408.diff
Mon, Aug 11, 8:10 AM
F5694869: D217.1755005778.diff
Mon, Aug 11, 6:36 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 374
Build 731: GitLab CI for kazv
Build 730: 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.