perkeep/server
mpl 877eafa49b perkeepd/ui: add dialog to import shared items
This change adds an 'Import share' entry in the main menu bar. This
entry creates a dialog that allows the user to enter the URL of a share
claim (the "shareURL" in the following).

That shareURL is sent to the server, which takes care of importing all
the blobs transitively reachable (directory children, and files
contents) through the share claim.

The web UI also keeps on polling the server to update the dialog on the
state of the importing process.

To handle the posted shareURL, and the polling, the server now has a new
HTTP handler: the shareImporter, installed at /ui/importshare.

In a future CL, another approach would be to integrate this handler as
yet another importer. But it would probably be better to do so once we have
a way for importers to report on their progress at any time. For now this
importer has its own dialog to do so, similar to the one for uploads.

Change-Id: I94cd03f834d7d1e9f4ec5c016ffdf16d911856c5
2018-06-19 02:05:23 +02:00
..
camnetdns camnetdns: use Lets Encrypt http-01 challenge 2018-02-21 00:12:15 +01:00
perkeepd perkeepd/ui: add dialog to import shared items 2018-06-19 02:05:23 +02:00
.gitignore Update from r60 to [almost] Go 1. 2012-02-18 21:53:06 -08:00