Commit graph

29198 commits

Author SHA1 Message Date
Joey Hess
2d42690394
devblog 2016-11-29 17:36:03 -04:00
Joey Hess
f86a7f673c
comments 2016-11-29 17:33:49 -04:00
Joey Hess
a173f85578
update docs for git-annex p2p command
It is not yet implemented.
2016-11-29 17:31:10 -04:00
Joey Hess
38425fdc39
finish git-annex enable-tor
Make it stash the address away for git-annex p2p to use later, rather
than outputting it. And, look up the UUID itself.
2016-11-29 17:30:27 -04:00
Joey Hess
398345cb26
Merge branch 'master' into tor 2016-11-29 15:45:29 -04:00
Joey Hess
2ad3420c19
fix 2016-11-29 15:43:34 -04:00
Joey Hess
87b325de71
enable remotedaemon when assistant is not enabled
Needed to serve tor hidden services.
2016-11-29 15:41:28 -04:00
Joey Hess
53b6d9057c
move tor hidden service socket to /etc, temporarily violating the FHS
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.
2016-11-29 15:29:47 -04:00
Joey Hess
84358624c6
tighten added language
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.
2016-11-29 13:37:16 -04:00
Joey Hess
87bd25fd51
Revert "Added link to Windows installation instructions. The page was not easy to find."
This reverts commit c68d4305eb.

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.
2016-11-29 13:32:20 -04:00
Joey Hess
bccf7638a3
Merge branch 'master' of ssh://git-annex.branchable.com 2016-11-29 13:32:10 -04:00
Joey Hess
c8d2595758
Windows autobuilder is going to be hosted at Dartmouth now 2016-11-29 12:05:37 -04:00
senatorzergling@c1d78877a6120a80f0f4005210eda262c1586555
fe310d1c35 Added more explanations of my experience with the Windows install process. 2016-11-29 15:13:16 +00:00
senatorzergling@c1d78877a6120a80f0f4005210eda262c1586555
c68d4305eb Added link to Windows installation instructions. The page was not easy to find. 2016-11-29 15:02:47 +00:00
db48x
91e33d6c95 2016-11-29 12:24:43 +00:00
palday@91f366b5178879146d2b6e1e53bfa21389ee89a8
5b9615d361 Added a comment: Temporary workaround until the brew formula is updated 2016-11-29 02:17:52 +00:00
https://launchpad.net/~felixonmars
7982826f89 Added a comment 2016-11-28 04:17:13 +00:00
https://launchpad.net/~felixonmars
02dd09a25d removed 2016-11-28 04:16:22 +00:00
https://launchpad.net/~felixonmars
f4d6c34f65 Added a comment 2016-11-28 04:12:18 +00:00
annexuser
36409ab5cf 2016-11-27 20:39:26 +00:00
boh
07504166ed Added a comment 2016-11-27 12:23:20 +00:00
CandyAngel
52ce3939b7 Added a comment 2016-11-25 20:27:07 +00:00
edaneault@c9ac084da568ceb4d4566371a2da53f847258e7e
afbc832eb8 2016-11-25 18:12:39 +00:00
edaneault@c9ac084da568ceb4d4566371a2da53f847258e7e
1b4bce0b0c 2016-11-25 18:10:54 +00:00
Joey Hess
3ed8895a09
fix build 2016-11-24 16:36:16 -04:00
davidriod@e75b369a4b1cced29c14354bce7493c61f00b1c7
d1ad4f1c00 Added a comment: Sharing rsync special remote between repository 2016-11-24 19:23:43 +00:00
Markus Hauru
9e2073f331
Fixed typo in Schedule.hs. 2016-11-24 07:37:33 -04:00
StephaneGourichon
27585f7569 Added a comment: Walkthrough of a prudent retroactive annex. 2016-11-24 11:27:59 +00:00
scottgorlin@a32946b2aad278883c1690a0753241583a9855b9
5c848b7225 Added a comment: IgnoreUnknown Include considered harmful? 2016-11-23 20:07:46 +00:00
https://launchpad.net/~stephane-gourichon-lpad
ff4b93906d Added a comment: Known bug, fixed. 2016-11-23 18:04:27 +00:00
binx
18c4674550 2016-11-23 18:01:06 +00:00
whlabratz@d10941ab2681deb87122fd8f6da51f3dcdb8dbe5
be2f708039 2016-11-23 03:26:37 +00:00
neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd
4d436d8ea0 2016-11-22 21:12:51 +00:00
Joey Hess
bfd19e0952
docs for stuff not fully implemented yet 2016-11-22 15:29:30 -04:00
Joey Hess
158ef45d76
add P2P.Auth 2016-11-22 14:37:50 -04:00
Joey Hess
b08799893f
reorg 2016-11-22 14:37:09 -04:00
Joey Hess
af4d919793
unified AuthToken type between webapp and tor 2016-11-22 14:18:34 -04:00
Joey Hess
9f179ae8b9
fix regression
The file matcher needs to be run on the destination file not the tmp
file, in order for filename matches to work properly. However, it also
needs to be able to probe the file for size and mime type.

This is a quick fix to a regression. The double rename is not pretty.
It would be good to either have a way to run the largeFileMatcher
such that it is matching on the final filename but looks at the temp
file, or to make addAnnexedFile not need the temp file in a different
location.
2016-11-22 11:18:41 -04:00
Joey Hess
48d8c175f8
avoid backtrace when rekey cntent verification fails 2016-11-22 01:16:18 -04:00
Joey Hess
6f11c75d39
cleanup 2016-11-22 01:04:17 -04:00
Joey Hess
ae9f99f342
Relicense 5 source files that are not part of the webapp from AGPL to GPL.
Building w/o the webapp is not supposed to pull in any AGPLed files.

I appear to have written all the code in these files;
the only commit by anyone else is 64e844e1fe
and is a spelling fix that is not copyrightable.
2016-11-21 23:46:59 -04:00
Joey Hess
72659f3762
devblog 2016-11-21 22:36:34 -04:00
Joey Hess
57a9484fbc
remove debug 2016-11-21 22:11:53 -04:00
Joey Hess
e053f31816
avoid serving more than 10 tor connections at a time
Another 10 clients can be accepted and waiting their turn. After that,
start dropping connections.

This is to avoid DOS attacks..
2016-11-21 22:03:29 -04:00
Joey Hess
2da338bb8d
detect EOF on socket and cleanly shutdown the service process 2016-11-21 21:45:56 -04:00
Joey Hess
483dbcdbef
stop cleanly when there's a IO error accessing the Handle
All other exceptions are let through, but IO errors accessing the handle
are to be expected, so quietly ignore.
2016-11-21 21:32:51 -04:00
Joey Hess
ae69ebfc7c
try to gather scattered writes
git upload-pack makes some uncessary writes in sequence, this tries to
gather them together to avoid needing to send multiple DATA packets when
just one will do.

In a small pull, this reduces the average number of DATA packets from
4.5 to 2.5.
2016-11-21 20:56:58 -04:00
Joey Hess
9c311fb564
fix parse of CONNECTDONE 2016-11-21 19:33:57 -04:00
Joey Hess
6b992f672c
pull/push over tor working now
Still a couple bugs:

* Closing the connection to the server leaves git upload-pack /
  receive-pack running, which could be used to DOS.

* Sometimes the data is transferred, but it fails at the end, sometimes
  with:

  git-remote-tor-annex: <socket: 10>: commitBuffer: resource vanished (Broken pipe)

  Must be a race condition around shutdown.
2016-11-21 19:24:55 -04:00
neocryptek@659edac901ffbc8e541a974f8f18987eeafc63bd
8ffda5f39f Added a comment 2016-11-21 22:26:52 +00:00