mirror of https://github.com/perkeep/perkeep.git
877eafa49b
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 |
||
---|---|---|
.. | ||
camtypes.go | ||
discovery.go | ||
errors.go | ||
search.go | ||
search_test.go | ||
sign.go | ||
statustype.go |