Page MenuHomePhorge

Add fallback endpoint for download
Needs ReviewPublic

Authored by nannanko on May 26 2025, 10:14 PM.
Tags
None
Referenced Files
F5850740: D217.1755108436.diff
Tue, Aug 12, 11:07 AM
F5796277: D217.1755073168.diff
Tue, Aug 12, 1:19 AM
F5796269: D217.1755073164.diff
Tue, Aug 12, 1:19 AM
F5796265: D217.1755073158.diff
Tue, Aug 12, 1:19 AM
F5796254: D217.1755073146.diff
Tue, Aug 12, 1:19 AM
F5796226: D217.1755073136.diff
Tue, Aug 12, 1:18 AM
F5796217: D217.1755073131.diff
Tue, Aug 12, 1:18 AM
F5796196: D217.1755073122.diff
Tue, Aug 12, 1:18 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 406
Build 795: GitLab CI for kazv
Build 794: 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.