perkeep/pkg/types/camtypes
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
..
camtypes.go all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
discovery.go perkeepd/ui: add dialog to import shared items 2018-06-19 02:05:23 +02:00
errors.go cmd: rename camput to pk-put, and make "pk put" call it 2018-04-21 10:26:55 -07:00
search.go pkg/index: do not return error if dir is empty 2018-05-08 19:51:00 +02:00
search_test.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
sign.go Rename import paths from camlistore.org to perkeep.org. 2018-01-01 16:03:34 -08:00
statustype.go perkeepd/ui: add dialog to import shared items 2018-06-19 02:05:23 +02:00