#52 closed enhancement (fixed)

browser integration

Reported by: zooko Owned by: nobody
Priority: minor Milestone: 0.6.0
Component: code-frontend-web Version: unknown
Keywords: newcaps newurls usability Cc:
Launchpad Bug:


I want to load an HTML file from a grid and view it in my browser, and I want hyperlinks in that HTML file to cause other files to be loaded from the grid when I click on them.

Possible techniques:

  • proxy (the original technique used by Mojo Nation circa 1999)
  • Firefox plugin
  • ?

Change History (16)

comment:1 Changed at 2007-07-14T07:00:04Z by warner

  • Milestone set to undecided

comment:2 Changed at 2007-08-14T18:59:02Z by warner

  • Component changed from code to code-frontend-web
  • Owner somebody deleted

comment:3 Changed at 2007-08-20T18:07:26Z by zooko

This already works if your hyperlinks are of the form "http://localhost:${PORTNUM}" and have the right port number in them. Should we standardize on using a certain port number? If so, I suggest 8081 because it sounds webbish but isn't registered on the authoritative, canonical list of port numbers, wikipedia:


comment:4 Changed at 2007-08-20T18:40:24Z by warner

unfortunately, standardizing the URLs like that (at least for the vdrive space) is in direct opposition to the XSRF issues from ticket #98. Outside attackers (who have vague control over the user's browser, in the form of serving them pages with IMG tags and deceptive hrefs and such) should not be able to control the local node.

On the other hand, having common URLs for reading URI-based resources shouldn't be a problem. (this also holds true for resources housed in the global vdrive, but the global vdrive is really a demonstration app rather than a long-term service).

comment:5 Changed at 2007-08-23T19:57:12Z by zooko

  • Owner set to zooko
  • Status changed from new to assigned

Now that we've solved #98, I think that the way we did it makes having a standard web-port number okay!

Having a standard port number would make it so that one person can cut-and-paste their URL and send it to their friend, their friend can paste it into the URL-editing-widget of their browser, and thus load up the same resource. Yay!

comment:6 Changed at 2007-10-20T21:07:31Z by zooko

  • Version set to 0.6.1

As of v0.6.0, the default HTTP URLs start with "http://localhost:8123". This makes those URLs shareable among users who have Tahoe running locally.

It would be nice if someone who was using tahoe on a remote node, e.g. "http://mygateway.mydomain.org:8123" could click on a link given to them by someone running their locally, e.g. "http://localhost:8123"...

Any ideas on further improvements to this usability feature?

comment:7 Changed at 2008-06-01T20:53:36Z by warner

  • Milestone changed from eventually to undecided

comment:8 Changed at 2008-11-17T00:46:40Z by zooko

see also #432 (writing down filecaps: revise URI scheme)

comment:9 Changed at 2009-10-28T03:38:37Z by davidsarah

  • Keywords newcaps added

Tagging issues relevant to new cap protocol design.

comment:10 Changed at 2009-10-28T07:27:44Z by davidsarah

  • Keywords newurls added

comment:11 Changed at 2010-01-01T03:43:16Z by davidsarah

The default webapi port number was changed to 3456 by #536. Note Zooko's comment there, however:

the bigger issue is that each tahoe grid should use a different port number, so people should try not to rely on the default port number.

comment:12 Changed at 2010-01-01T03:43:50Z by davidsarah

  • Keywords usability added

comment:13 Changed at 2010-02-23T03:11:56Z by zooko

  • Milestone changed from undecided to 2.0.0

comment:14 Changed at 2010-03-29T04:32:07Z by zooko

  • Owner changed from zooko to nobody
  • Status changed from assigned to new

Unassigning this from myself. We should probably make a new ticket specifically for the Firefox plugin idea. (Brian's new job is on Jetpack: https://jetpack.mozillalabs.com/ )

comment:15 Changed at 2010-03-29T23:49:45Z by davidsarah

  • Milestone changed from 2.0.0 to 0.6.0
  • Version changed from 0.6.1 to unknown

zooko wrote:

We should probably make a new ticket specifically for the Firefox plugin idea.

Yes, the summary of this ticket ("browser integration") is way too vague and unfocussed. The enhancement mentioned in the description, of being able to use a relative path from a directory cap to view a file in the WUI, was implemented many moons ago, leaving only the following issue from comment:6 :

It would be nice if someone who was using tahoe on a remote node, e.g. http://mygateway.mydomain.org:8123 could click on a link given to them by someone running their [gateway] locally, e.g. http://localhost:8123...

The ticket keywords for JavaScript-based UI are jsui (for Toby Murray's prototype, see #1000) and webdrive (for the allmydata.com JS client, see #669). "Reimplementing Tahoe in JavaScript," OTOH, doesn't seem practical at this point.

comment:16 Changed at 2010-07-20T04:47:25Z by davidsarah

  • Resolution set to fixed
  • Status changed from new to closed

Including a grid identifier in URIs is #403. A browser plugin or protocol handler for Tahoe URIs is #1132.

Note: See TracTickets for help on using tickets.