Commit graph

29301 commits

Author SHA1 Message Date
Joey Hess
8484c0c197
Always use filesystem encoding for all file and handle reads and writes.
This is a big scary change. I have convinced myself it should be safe. I
hope!
2016-12-24 14:46:31 -04:00
Joey Hess
c89a9e6ca5
really fix su command 2016-12-24 13:23:52 -04:00
Joey Hess
d6b401c458
todo 2016-12-24 13:10:51 -04:00
Joey Hess
0e04b22491
fix su params 2016-12-24 13:08:07 -04:00
Joey Hess
f7e81245c4
comment 2016-12-24 12:58:45 -04:00
Joey Hess
3110cedb5b
Merge branch 'master' of ssh://git-annex.branchable.com 2016-12-24 12:55:58 -04:00
Joey Hess
993f30ac92
update 2016-12-24 12:53:57 -04:00
Joey Hess
e08691b393
enable-tor: When run as a regular user, test a connection back to the hidden service over tor.
This way we know that after enable-tor, the tor hidden service is fully
published and working, and so there should be no problems with it at
pairing time.

It has to start up its own temporary listener on the hidden service. It
would be nice to have it start the remotedaemon running, so that extra
step is not needed afterwards. But, there may already be a remotedaemon
running, in communication with the assistant and we don't want to start
another one. I thought about trying to HUP any running remotedaemon, but
Windows does not make it easy to do that. In any case, having the user
start the remotedaemon themselves lets them know it needs to be running
to serve the hidden service.

This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
2016-12-24 12:50:23 -04:00
Joey Hess
f3a4b9191c
refactor 2016-12-24 12:14:14 -04:00
Joey Hess
fd0b9aaa57
close 2016-12-24 12:07:50 -04:00
Joey Hess
22252e8e4c
Revert "close"
This reverts commit 3aaabc906b.

Commit contained incomplete work.
2016-12-24 12:07:15 -04:00
Joey Hess
3aaabc906b
close 2016-12-22 13:59:21 -04:00
http://svario.it/gioele
458a786c4d Added a comment: compiled with GHC 8, but LOCPATH is still set 2016-12-21 21:51:09 +00:00
Joey Hess
942ea305a2
todo 2016-12-21 15:11:10 -04:00
Joey Hess
405fbd25e1
include tor-annex in hidden service directory names
To make it easier to manage/delete them etc.

Backwards compatablity is preserved for existing tor configs.
2016-12-21 14:39:32 -04:00
Joey Hess
872064e4a6
comment 2016-12-21 14:21:05 -04:00
marekj
6eeb07a9c1 Added a comment: git annex info 2016-12-21 12:58:37 +00:00
marekj
2830739133 2016-12-21 12:12:42 +00:00
tom@6463e5ce4c0e478cb7583fb37288d6954e17bfc6
babfe5acbb 2016-12-21 04:18:13 +00:00
t.z.mates
a221b3fb1b Added a comment 2016-12-20 23:08:44 +00:00
Joey Hess
f48b9775d8
cleanup 2016-12-20 17:46:30 -04:00
Joey Hess
86401f84e2
fail before suing when not in a git-annex repo 2016-12-20 17:46:14 -04:00
Joey Hess
f7ca2b92fb
enable-tor: No longer needs to be run as root.
When run by not root, su's to root automatically.

This commit was sponsored by Brock Spratlen on Patreon.
2016-12-20 17:40:36 -04:00
Joey Hess
944a6503b9
relocate tor socket out of /etc
weasel explained that apparmor limits on what files tor can read do not
apply to sockets (because they're not files). And apparently the
problems I was seeing with hidden services not being accessible had to
do with onion address propigation and not the location of the socket
file.

remotedaemon looks up the HiddenServicePort in torrc, so if it was
previously configured with the socket in /etc, that will still work.

This commit was sponsored by Denis Dzyubenko on Patreon.
2016-12-20 16:24:46 -04:00
Joey Hess
477aa44209
anwser 2016-12-20 15:38:18 -04:00
Joey Hess
8f3b2c206c
Debian: Suggest tor and magic-wormhole.
Suggests, not recommends, because tor is not for everyone.
2016-12-20 15:26:14 -04:00
Joey Hess
e312ec3750
Fix build with directory-1.3.
See https://github.com/haskell/directory/issues/66
2016-12-20 15:23:59 -04:00
Joey Hess
6cced34fbb
Merge branch 'master' of ssh://git-annex.branchable.com 2016-12-20 15:15:22 -04:00
Joey Hess
f3972999ae
update 2016-12-20 15:15:01 -04:00
Joey Hess
9bdb617484
add some links to new workflow page 2016-12-20 15:13:44 -04:00
Joey Hess
116e601989
firm up some language and remove a bit 2016-12-20 15:03:28 -04:00
Joey Hess
c3d94abd0a
reflow 2016-12-20 15:01:05 -04:00
ilovezfs
31347df435 2016-12-20 18:28:25 +00:00
veron_veron@8e19f168a8da3dabcdbf28ccd3f27edfb40941ed
00179782ab Added a comment: easy 2016-12-20 09:19:31 +00:00
m8r-achx62@7323980ed426b7f78c85dfefe7358672bce44e98
a58c74b502 Added a comment 2016-12-19 22:33:14 +00:00
Joey Hess
a171e576b2
rekey --force: Incorrectly marked the new key's content as being present in the local repo even when it was not. 2016-12-19 18:18:57 -04:00
Joey Hess
8136c72fa1
further analysis 2016-12-19 18:08:27 -04:00
Joey Hess
95c8b37544
Linux standalone: Improve generation of locale definition files, supporting locales such as, en_GB.UTF-8. 2016-12-19 17:03:52 -04:00
Joey Hess
df5a0059ca
analysis 2016-12-19 16:28:12 -04:00
Joey Hess
a13b789d04
followup 2016-12-19 15:54:47 -04:00
Joey Hess
dc7fda2ec5
section on safe pairing code exchange 2016-12-19 12:27:16 -04:00
m8r-achx62@7323980ed426b7f78c85dfefe7358672bce44e98
2808d11d95 2016-12-19 01:43:53 +00:00
ddenis
3ae91fbddc 2016-12-18 23:38:30 +00:00
Joey Hess
dc659c87b4
devbog 2016-12-18 17:44:37 -04:00
Joey Hess
50e2d97847
shorten note 2016-12-18 17:31:02 -04:00
Joey Hess
a1d6f4f9a2
improve note display 2016-12-18 17:23:20 -04:00
Joey Hess
0b4213d371
Merge branch 'master' of ssh://git-annex.branchable.com 2016-12-18 17:18:05 -04:00
Joey Hess
249ddb5953
typo 2016-12-18 17:16:53 -04:00
Joey Hess
7f2e7fa271
check if wormhole is installed 2016-12-18 17:11:13 -04:00
Joey Hess
ccde0932a5
p2p --pair with magic wormhole (untested)
It builds. I have not tried to run it yet. :)

This commit was sponsored by Jake Vosloo on Patreon.
2016-12-18 16:51:41 -04:00