Page MenuHomePhabricator

[web][native] Download invite link blob and use it as an override
ClosedPublic

Authored by tomek on Dec 14 2023, 6:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 6 2024, 9:13 AM
Unknown Object (File)
Mar 6 2024, 9:13 AM
Unknown Object (File)
Mar 6 2024, 9:13 AM
Unknown Object (File)
Mar 6 2024, 9:13 AM
Unknown Object (File)
Mar 6 2024, 9:13 AM
Unknown Object (File)
Feb 28 2024, 10:34 AM
Unknown Object (File)
Feb 17 2024, 4:56 PM
Unknown Object (File)
Feb 13 2024, 12:05 PM
Subscribers

Details

Summary

Download a blob, parse it and use its content as a keyserver override.

Depends on D10311

Test Plan

Open a link on web for which a blob is downloaded and check if a blob is downloaded and its content is used correctly.

Diff Detail

Repository
rCOMM Comm
Branch
linki (branched from palys-swm/linki)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

tomek requested review of this revision.Dec 14 2023, 7:45 AM
lib/shared/invite-links.js
32–34 ↗(On Diff #34640)

The Content-Type header is redundant for the GET method because it doesn't have a request body.

39–40 ↗(On Diff #34640)

Can we use KeyserverOverride in useVerifyInviteLink?

I'll leave this to the other reviewers as it seems like they have some more context/feedback here

tomek marked 2 inline comments as done.

Rebase and address comments

This revision is now accepted and ready to land.Feb 7 2024, 1:14 AM