summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* more p2p progress metersGravatar Joey Hess2016-12-07
| | | | | | | | | Display progress meter on send and receive from remote. Added a new hGetMetered that can read an exact number of bytes (or less), updating a meter as it goes. This commit was sponsored by Andreas on Patreon.
* add section on securityGravatar Joey Hess2016-12-07
|
* update progress meter when sending to p2p remoteGravatar Joey Hess2016-12-07
| | | | This commit was sponsored by Thom May on Patreon.
* updateGravatar Joey Hess2016-12-07
|
* validate peer uuid each time we talk to itGravatar Joey Hess2016-12-07
| | | | | | | | | | In case the repo on the peer changes uuid (eg by a new repo being moved into place). Also, added some warning messages when unable to communicate with a peer. This commit was sponsored by Anthony DeRobertis on Patreon.
* remote uuid discovery in p2p --linkGravatar Joey Hess2016-12-07
| | | | | | This also tests that we can connect to the peer. This commit was sponsored by Jeff Goeke-Smith on Patreon.
* add todo list for remaining tor stuffGravatar Joey Hess2016-12-07
|
* fix up some commandsGravatar Joey Hess2016-12-07
|
* PAKEGravatar Joey Hess2016-12-06
|
* need to auth with the peerGravatar Joey Hess2016-12-06
|
* refactorGravatar Joey Hess2016-12-06
|
* finish implementation of Remote.P2P (untested)Gravatar Joey Hess2016-12-06
| | | | | | | | Not tested at all, but it just might work. Only known problem is that progress is not updated when storing to a P2P remote. This commit was sponsored by Nick Daly on Patreon.
* added StoreContentToGravatar Joey Hess2016-12-06
| | | | | | | | This is needed in addition to StoreContent, because retrieveKeyFile can be used to retrieve to different destination files, not only the tmp file for a key. This commit was sponsored by Ole-Morten Duesund on Patreon.
* stub Remote.P2PGravatar Joey Hess2016-12-06
| | | | | | | Similar to GCrypt remotes, P2P remotes have an url, so Remote.Git has to separate them out and handle them, passing off to Remote.P2P. This commit was sponsored by Ignacio on Patreon.
* plumb assicated files through P2P protocol for updating transfer logsGravatar Joey Hess2016-12-02
| | | | | | | | | | ReadContent can't update the log, since it reads lazily. This part of the P2P monad will need to be rethought. Associated files are heavily sanitized when received from a peer; they could be an exploit vector. This commit was sponsored by Jochen Bartl on Patreon.
* plumb peer uuid through to runLocalGravatar Joey Hess2016-12-02
| | | | This will allow updating transfer logs with the uuid.
* initial implementation of P2P.Annex runnerGravatar Joey Hess2016-12-02
| | | | | | | | | | | | | | | Untested, and it does not yet update transfer logs. Verifying transferred content is modeled on git-annex-shell recvkey. In a direct mode or annex.thin repository, content can change while it's being transferred. So, verification is always done, even if annex.verify would normally prevent it. Note that a WORM or URL key could change in a way the verification doesn't catch. That can happen in git-annex-shell recvkey too. We don't worry about it, because those key backends don't guarantee preservation of data. (Which is to say, I worried about it, and then convinced myself again it was ok.)
* catch non-IO exceptions tooGravatar Joey Hess2016-12-02
|
* make remote-daemon able to send and receive objects over torGravatar Joey Hess2016-12-02
| | | | | | | | Each worker thread needs to run in the Annex monad, but the remote-daemon's liftAnnex can only run 1 action at a time. Used Annex.Concurrent to deal with that. P2P.Annex is incomplete as of yet.
* improve Local monadGravatar Joey Hess2016-12-02
|
* make sure that the specified number of bytes of DATA are always sentGravatar Joey Hess2016-12-02
| | | | | | | It's possible, in direct or thin mode, that an object file gets truncated or appended to as it's being sent. This would break the protocol badly, so make sure never to send too many bytes, and to close the protocol connection if too few bytes are available.
* cleanupsGravatar Joey Hess2016-12-01
|
* more flexible types for Proto runnersGravatar Joey Hess2016-12-01
| | | | This will allow a runner in the Annex monad.
* better commentsGravatar Joey Hess2016-11-30
|
* actually check p2p authtokens for tor connectionsGravatar Joey Hess2016-11-30
| | | | This commit was sponsored by Ethan Aubin.
* use P2P auth for git-remote-tor-annexGravatar Joey Hess2016-11-30
| | | | | | | This changes the environment variable name to the more generic GIT_ANNEX_P2P_AUTHTOKEN. This commit was sponsored by andrea rota.
* implement p2p --linkGravatar Joey Hess2016-11-30
| | | | This commit was sponsored by Riku Voipio.
* implement p2p commandGravatar Joey Hess2016-11-30
|
* max authtoken length is 128Gravatar Joey Hess2016-11-30
| | | | | It was stopping at 128, so the 512 was only incorrect, it didn't change behavior.
* avoid too-long command synopsisGravatar Joey Hess2016-11-30
| | | | It was making git-annex usage output columns far too wide
* Merge branch 'master' into torGravatar Joey Hess2016-11-30
|\
| * prefer xdot over dotGravatar Joey Hess2016-11-30
| | | | | | | | | | | | | | * map: Run xdot if it's available in PATH. On OSX, the dot command does not support graphical display, while xdot does. * Debian: xdot is a better interactive viewer than dot, so Suggest xdot, rather than graphviz.
* | Merge branch 'master' into torGravatar Joey Hess2016-11-29
|\|
* | cleanupGravatar Joey Hess2016-11-29
| |
| * devblogGravatar Joey Hess2016-11-29
| |
* | commentsGravatar Joey Hess2016-11-29
| |
* | update docs for git-annex p2p commandGravatar Joey Hess2016-11-29
| | | | | | | | It is not yet implemented.
* | finish git-annex enable-torGravatar Joey Hess2016-11-29
| | | | | | | | | | Make it stash the address away for git-annex p2p to use later, rather than outputting it. And, look up the UUID itself.
* | Merge branch 'master' into torGravatar Joey Hess2016-11-29
|\|
* | fixGravatar Joey Hess2016-11-29
| |
* | enable remotedaemon when assistant is not enabledGravatar Joey Hess2016-11-29
| | | | | | | | Needed to serve tor hidden services.
* | move tor hidden service socket to /etc, temporarily violating the FHSGravatar Joey Hess2016-11-29
| | | | | | | | | | | | | | On Debian, apparmor prevents tor from reading from most locations. And, it silently fails if it is prevented from reading the hidden service socket. I filed #846275 about this; violating the FHS is the least bad of a bad set of choices until that bug is fixed.
| * tighten added languageGravatar Joey Hess2016-11-29
| | | | | | | | | | | | | | Removed part about neeing to install git-annex and git in the same location. The installer checks if the location given exists, and if not, tells the user that git is not installed there. And the default should work if the user just picks it in both installers.
| * Revert "Added link to Windows installation instructions. The page was not ↵Gravatar Joey Hess2016-11-29
| | | | | | | | | | | | | | | | | | | | easy to find." This reverts commit 85108e0f14a17b5eb67063ac8a35dec8309e1c69. With all due respect, the link to the instructions for each OS is in the "detailed instructions" column. Adding a second link to the same thing is unlikely to help.
| * Merge branch 'master' of ssh://git-annex.branchable.comGravatar Joey Hess2016-11-29
| |\
| * | Windows autobuilder is going to be hosted at Dartmouth nowGravatar Joey Hess2016-11-29
| | |
| | * Added more explanations of my experience with the Windows install process.Gravatar senatorzergling@c1d78877a6120a80f0f4005210eda262c15865552016-11-29
| | |
| | * Added link to Windows installation instructions. The page was not easy to find.Gravatar senatorzergling@c1d78877a6120a80f0f4005210eda262c15865552016-11-29
| | |
| | * (no commit message)Gravatar db48x2016-11-29
| | |
| | * Added a comment: Temporary workaround until the brew formula is updatedGravatar palday@91f366b5178879146d2b6e1e53bfa21389ee89a82016-11-29
| | |