You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes to qri to get frontend read-only functionality to work:
get requests on profile picture and profile poster should be allowed through
lib.Info function should add the online field to the profilePod before returning. (The /peers list endpoint calls to the lib.Peers, which calls action.ListPeers. action.ListPeers adds the online fields, which is why we get the correct online-ness when we are not in read-only mode: the frontend usually gets all its profile info from this /peers endpoint)
perhaps allow GET requests to the /peers endpoint, this depends on what our read-only frontend landing page is going to be
The text was updated successfully, but these errors were encountered:
When getting Info for a peer, set the Online flag appropriately, to match
the behavior of lib.List (peers.go). Do this by checking the other connected
peers that are known to be online, and also checking if you yourself are online.
Fixes part 2 of #577.
get requests on profile picture and profile poster should be allowed through
These already work, but need to be accessed through the paths "/profile/photo?peername=<peer>" and "/profile/poster?peername=<peer>". Currently, the frontend is using "/ipfs/<ipfs path>", which is disabled in read-only mode.
Changes to qri to get frontend read-only functionality to work:
lib.Info
function should add theonline
field to the profilePod before returning. (The/peers
list endpoint calls to thelib.Peers
, which callsaction.ListPeers
.action.ListPeers
adds theonline
fields, which is why we get the correct online-ness when we are not in read-only mode: the frontend usually gets all its profile info from this/peers
endpoint)/peers
endpoint, this depends on what ourread-only
frontend landing page is going to beThe text was updated successfully, but these errors were encountered: