Commit graph

5472 commits

Author SHA1 Message Date
Joey Hess
1ab3ce352b add a PairDone message 2012-09-08 20:44:54 -04:00
Joey Hess
7c70c89ee7 render webapp staitc file url using yesod 2012-09-08 20:04:44 -04:00
Joey Hess
e59b0a1c88 first pass at alert buttons
They work fine. But I had to go to a lot of trouble to get Yesod to render
routes in a pure function. It may instead make more sense to have each
alert have an assocated IO action, and a single route that runs the IO
action of a given alert id. I just wish I'd realized that before the past
several hours of struggling with something Yesod really doesn't want to
allow.
2012-09-08 19:57:15 -04:00
Joey Hess
e6e0877378 blog for the day 2012-09-08 15:42:12 -04:00
Joey Hess
317ab14da2 add remote directory to pair request 2012-09-08 15:40:47 -04:00
Joey Hess
5401b9f249 filter out our own pairing requests
Due to being multicast, requests sent by one thread are received by the
listener in another thread.
2012-09-08 15:30:04 -04:00
Joey Hess
61ee1e1660 fix build without pairing support 2012-09-08 15:21:34 -04:00
Joey Hess
0f0c7f8d70 added pair listener thread 2012-09-08 15:07:44 -04:00
Joey Hess
aa0227958e Merge branch 'master' of ssh://git-annex.branchable.com 2012-09-08 14:25:06 -04:00
Joey Hess
3e070b947a don't pass .local hostname over the wire
The remote computer may not support mDNS. Instead, pass over the uname -a
hostname, and the IP address, and leave best hostname calculation to the
remote side.
2012-09-08 14:23:35 -04:00
Joey Hess
92b1f42730 fix fd leak
also, tested on ipv6.. doesn't work
2012-09-08 13:34:50 -04:00
http://www.dbruhn.de/
8af35df0c1 2012-09-08 17:10:20 +00:00
Joey Hess
2d1b215328 Merge branch 'master' of ssh://git-annex.branchable.com 2012-09-08 13:07:49 -04:00
http://www.dbruhn.de/
ea641a27bd 2012-09-08 17:05:14 +00:00
Joey Hess
3dd4b4058f implement pair request broadcasts
Pair requests are sent on all network interfaces, and contain the best
available hostname to use to contact the host on that interface.

Added a pairing in progress page.

Revert "reduce some boilerplate using ghc extensions", because it caused
overlapping instances for Text.
2012-09-08 13:04:19 -04:00
http://www.dbruhn.de/
61748c98b0 2012-09-08 16:58:23 +00:00
http://www.dbruhn.de/
33b3836261 2012-09-08 16:57:41 +00:00
http://www.dbruhn.de/
5df0b86a57 2012-09-08 16:56:50 +00:00
Joey Hess
0c01348b65 pairing passphrase entry form, validation, etc
Actually 3 forms in one, this handles the initial passphrase entry, and the
confirmation, and also varys wording if the same user or a different user
is confirming.
2012-09-08 02:02:39 -04:00
Joey Hess
3bee6b3c74 yesod skelton and routes for pairing
yet more changes to pairing message data types
2012-09-08 00:27:27 -04:00
Joey Hess
92df8250fa broke out Verifiable to a utility library, and added a quickcheck test 2012-09-07 23:23:52 -04:00
Joey Hess
c12caf0a4e massively simplified the pairing protocol
Only 2 messages are needed to do pairing.

And added a nice Verifiable data type.
2012-09-07 22:58:14 -04:00
Joey Hess
24bfabe263 add build dep on network-info 2012-09-07 19:44:20 -04:00
Joey Hess
01b908aea8 Merge branch 'master' of ssh://git-annex.branchable.com 2012-09-07 18:05:19 -04:00
Joey Hess
38c679d0c8 blog for the day 2012-09-07 18:04:41 -04:00
Joey Hess
c28b54c469 high-level pairing implementation
Roughed out a data type that models the whole pairing conversation,
and can be serialized to implement it. And a state machine to run
that conversation. Not yet hooked up to any transport such as multicast
UDP.
2012-09-07 18:04:06 -04:00
https://www.google.com/accounts/o8/id?id=AItOawkurjhi0CRJvgm7QNaZDWS9hitBtavqIpc
1e1804d49c Added OP about OSX's finder and preview.app + git-annex 2012-09-07 19:46:58 +00:00
Joey Hess
a8e05c8da1 add network-multicast to bulld depends 2012-09-07 14:54:00 -04:00
Joey Hess
980e93ae0e Merge branch 'master' of ssh://git-annex.branchable.com 2012-09-06 15:08:28 -04:00
Joey Hess
d9d16622b9 test: Set a lot of git environment variables so testing works in strange environments that normally need git config to set names, etc. Closes: #682351 Thanks, gregor herrmann 2012-09-06 15:06:48 -04:00
Joey Hess
566c6f22bc blog for the day 2012-09-06 15:05:56 -04:00
Joey Hess
a00f1d26bc display errors when any named thread crashes 2012-09-06 14:56:04 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmLB39PC89rfGaA8SwrsnB6tbumezj-aC0
cd5d38b065 Added a comment 2012-09-06 18:41:47 +00:00
Joey Hess
d11ded822c display alert for inotify/kqueue errors 2012-09-06 13:56:23 -04:00
Joey Hess
ec23eeb9eb typos 2012-09-06 13:51:44 -04:00
Joey Hess
682ae30a08 install a .command file on OSX in the Desktop 2012-09-06 13:24:47 -04:00
Joey Hess
46ef078b93 include libkqueue in C-Sources for !linux 2012-09-06 13:19:41 -04:00
Joey Hess
b3df6b1736 make directory 2012-09-06 13:06:44 -04:00
Joey Hess
426d536705 honor destdir for osx too 2012-09-06 13:04:26 -04:00
Joey Hess
ae00577a45 Merge branch 'master' of ssh://git-annex.branchable.com 2012-09-06 12:59:15 -04:00
Joey Hess
5d5cd9f957 write a OSX autostart file
Not tested.
2012-09-06 12:58:46 -04:00
Joey Hess
835b766301 honor DESTDIR 2012-09-06 12:43:46 -04:00
http://joeyh.name/
f63abcc75f Added a comment 2012-09-06 16:20:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl0
ff10899652 Added a comment 2012-09-06 16:04:42 +00:00
http://joeyh.name/
3e6a32aacc Added a comment 2012-09-06 14:55:58 +00:00
http://joeyh.name/
a9a8102477 Added a comment 2012-09-06 14:50:43 +00:00
https://www.google.com/accounts/o8/id?id=AItOawkurjhi0CRJvgm7QNaZDWS9hitBtavqIpc
1ec1c4037b Added a comment: Sparkleshare 2012-09-06 08:09:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl0
ae54ece7ff Added a comment 2012-09-06 02:28:00 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl0
669c11d1f1 removed 2012-09-06 02:20:57 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlup4hyZo4eCjF8T85vfRXMKBxGj9bMdl0
b2cf8a1f47 Added a comment 2012-09-06 02:20:15 +00:00