Commit graph

14227 commits

Author SHA1 Message Date
Joey Hess
995e1e3c5d fix transferring to gcrypt repo from direct mode repo
recvkey was told it was receiving a HMAC key from a direct mode repo,
and that confused it into rejecting the transfer, since it has no way to
verify a key using that backend, since there is no HMAC backend.

I considered making recvkey skip verification in the case of an unknown
backend. However, that could lead to bad results; a key can legitimately be
in the annex with a backend that the remote git-annex-shell doesn't know
about. Better to keep it rejecting if it cannot verify.

Instead, made the gcrypt special remote not set the direct mode flag when
sending (and receiving) files.

Also, added some recvkey messages when its checks fail, since otherwise
all that is shown is a confusing error message from rsync when the remote
git-annex-shell exits nonzero.
2013-10-01 14:19:24 -04:00
Joey Hess
61e06c972f webapp can now set up gcrypt repos on ssh servers 2013-10-01 13:43:35 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmKKg3Vmzk7KwRGRKjHVdtyoj1JfxLX6NM
baf5069d49 Added a comment 2013-10-01 17:38:04 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkeJKC5Sy0stmcTWyePOLEVv0G-x1yaT_w
213377e17c Added a comment: Additional Comments 2013-09-30 21:33:31 +00:00
Joey Hess
6b37fcffd8 assistant: More robust inotify handling; avoid crashing if a directory cannot be read. 2013-09-30 13:11:26 -04:00
Joey Hess
87c7f5dd62 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-30 12:49:06 -04:00
Joey Hess
7f7dcd315b fix direct mode switch permissions problem
Similar to how a similar problem with indirect was earlier fixed.
2013-09-30 12:48:40 -04:00
http://joeyh.name/
0a83779df5 Added a comment 2013-09-30 16:47:43 +00:00
http://joeyh.name/
f84073d6fd Added a comment 2013-09-30 16:23:38 +00:00
http://joeyh.name/
2ba975bf3d Added a comment 2013-09-30 16:13:20 +00:00
http://joeyh.name/
7ab03f4589 Added a comment 2013-09-30 16:08:40 +00:00
http://cstork.org/
8fd2717462 Added a comment: News page stopped listing latest releases? 2013-09-30 16:08:18 +00:00
Remy
f010b89f82 Added a comment: Thank you very much 2013-09-30 08:49:33 +00:00
http://olivier.mehani.name/
738b0cd466 Added a comment 2013-09-30 01:31:26 +00:00
http://olivier.mehani.name/
2534af1488 Added a comment 2013-09-30 01:29:50 +00:00
http://olivier.mehani.name/
2a539a9bfc removed 2013-09-30 01:13:32 +00:00
http://olivier.mehani.name/
c6ee93d83d Added a comment 2013-09-30 01:12:43 +00:00
Joey Hess
e363c8be5c devblog 2013-09-29 16:35:34 -04:00
Joey Hess
3f0ea53fc8 finally sorted out the OSX gpg mess 2013-09-29 16:30:49 -04:00
Joey Hess
c7ed2a24d5 dup 2013-09-29 15:16:13 -04:00
Joey Hess
bf50cf1d53 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-29 15:15:03 -04:00
Joey Hess
d83a244986 UI for making encrypted ssh remotes with gcrypt
Improved probing the remote server, so it gathers a list of the
capabilities it has. From that list, we can determine which types
of remotes are supported, and display an appropriate UI.

The new buttons for making gcrypt repos don't work yet, but the old buttons
for unencrypted git repo and encrypted rsync repo have been adapted to the
new data types and are working.

This commit was sponsored by David Schmitt.
2013-09-29 15:14:09 -04:00
http://joeyh.name/
4a806492f3 Added a comment 2013-09-29 19:14:00 +00:00
Joey Hess
44e1524be5 webapp: Fixed a bug where when a new remote is added, one file may fail to sync to or from it
This happened because the transferrer process did not know about the new
remote. remoteFromUUID crashed, which crashed the transferrer. When it was
restarted, the new one knew about the new remote so all further files would
transfer, but the one file would temporarily not be, until transfers retried.

Fixed by making remoteFromUUID not crash, and try reloading the remote list
if it does not know about a remote.

Note that this means that remoteFromUUID does not only return Nothing anymore
when the UUID is the UUID of the local repository. So had to change some code
that dependend on that assumption.
2013-09-29 14:51:49 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmTlfbCC37CAjhQrS107ZWRVA_sF4s3gLU
b5287ef707 2013-09-29 08:27:17 +00:00
Joey Hess
2f75512188 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-28 16:20:40 -04:00
Joey Hess
cc085cbe1c add link to knife-annex 2013-09-28 16:19:57 -04:00
http://joeyh.name/
2d092b9169 Added a comment 2013-09-28 19:34:42 +00:00
Joey Hess
4d1a55fe2d Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-28 14:38:30 -04:00
Joey Hess
12f6b9693a Send a git-annex user-agent when downloading urls.
Overridable with --user-agent option.

Not yet done for S3 or WebDAV due to limitations of libraries used --
nether allows a user-agent header to be specified.

This commit sponsored by Michael Zehrer.
2013-09-28 14:35:21 -04:00
Rasmus
a7f8a3e3a7 2013-09-28 16:16:11 +00:00
Joey Hess
55362462ae close 2013-09-28 11:30:01 -04:00
Joey Hess
4eef13f68a Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-28 11:28:46 -04:00
Joey Hess
bd431408b5 analysis 2013-09-28 11:27:52 -04:00
Joey Hess
1ba3165135 fixed upstream 2013-09-28 10:57:15 -04:00
http://cstork.org/
7d3b13487d 2013-09-28 12:59:57 +00:00
Joey Hess
7df8d7c5cd Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-27 20:01:08 -04:00
Joey Hess
57d49a6d04 remove *>=> and >=*> ; use <$$> instead
I forgot I had <$$> hidden away in Utility.Applicative.
It allows doing the same kind of currying as does >=*>
and I found using it made the code more readable for me.

(*>=> was not used)
2013-09-27 19:58:48 -04:00
Joey Hess
c6032b0dab clean up some ugly code 2013-09-27 19:52:36 -04:00
Remy
ebc1ff27c7 2013-09-27 22:38:21 +00:00
Remy
135b6e70e5 2013-09-27 22:35:45 +00:00
Joey Hess
d6883dcd7f forwarded 2013-09-27 17:18:28 -04:00
Joey Hess
64f5ef03fc wording 2013-09-27 16:56:44 -04:00
Joey Hess
65dce89298 devblog 2013-09-27 16:36:58 -04:00
Joey Hess
c1c8da55b9 Merge branch 'master' of ssh://git-annex.branchable.com 2013-09-27 16:30:18 -04:00
Joey Hess
e864c8d033 blind enabling gcrypt repos on rsync.net
This pulls off quite a nice trick: When given a path on rsync.net, it
determines if it is an encrypted git repository that the user has
the key to decrypt, and merges with it. This is works even when
the local repository had no idea that the gcrypt remote exists!

(As previously done with local drives.)

This commit sponsored by Pedro Côrte-Real
2013-09-27 16:21:56 -04:00
volfyd
55a790635d 2013-09-27 19:18:57 +00:00
Joey Hess
8888e825fc correction to sponsor name 2013-09-27 12:02:18 -04:00
Joey Hess
b58bb4c8c1 refactor 2013-09-27 01:19:56 -04:00
Joey Hess
5bd5e604ad remove another sum type that was only needed to work around a bug in old yesod
And the bug is only a warning message at compile time..
2013-09-27 00:35:37 -04:00