browser integration #52
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#52
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
reimplement Tahoe in JavaScript
?
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:
http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
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).
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!
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?
see also #432 (writing down filecaps: revise URI scheme)
Tagging issues relevant to new cap protocol design.
The default webapi port number was changed to 3456 by #536. Note Zooko's comment there, however:
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/ )
zooko wrote:
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:60198 :
The ticket keywords for JavaScript-based UI are [jsui]query:status!=closed&keywords~=jsui (for Toby Murray's prototype, see #1000) and [webdrive]query:status!=closed&keywords~=webdrive (for the allmydata.com JS client, see #669). "Reimplementing Tahoe in JavaScript," OTOH, doesn't seem practical at this point.
Including a grid identifier in URIs is #403. A browser plugin or protocol handler for Tahoe URIs is #1132.