Commit graph

902 commits

Author SHA1 Message Date
http://phil.0x539.de/
a59e257422 Added a comment 2012-11-12 12:50:27 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmqVi9eQjkZt8EC-byTXJ8TnY7VyOHzW2s
556b0e808e Added a comment: @Philipp Kern 2012-11-12 12:13:34 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmqVi9eQjkZt8EC-byTXJ8TnY7VyOHzW2s
c7cee8c27c Added a comment: Jingle 2012-11-12 12:00:50 +00:00
http://phil.0x539.de/
8cd8c20846 Added a comment 2012-11-12 11:50:42 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmqVi9eQjkZt8EC-byTXJ8TnY7VyOHzW2s
e2258d5cbc Added a comment: Pairing on the local network 2012-11-12 11:39:17 +00:00
http://joeyh.name/
b1c4d12434 Added a comment 2012-11-12 02:39:19 +00:00
https://www.google.com/accounts/o8/id?id=AItOawm5vDem1yeIu6uith5pxfb4mdKdIWVJpCs
220a4fac70 Added a comment: Base64 vs. yEnc 2012-11-12 02:02:17 +00:00
Joey Hess
9f5b23d49f blog for the day 2012-11-11 18:16:49 -04:00
Joey Hess
8644d72ffb Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-11 17:44:09 -04:00
Joey Hess
217eeede43 allow both one push and one receive-pack to run at the same time
Noticed that when pairing, sometimes both sides start to push, and the other
side sends a PushRequest, and the two deadlock, neither doing anything.
(Timeout eventually breaks this.) So, let both run at the same time.
2012-11-11 15:42:03 -04:00
http://meep.pl/
25e626e1eb Added a comment: xmlns 2012-11-11 09:00:01 +00:00
Joey Hess
f642bdc4b2 Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-10 20:46:12 -04:00
Joey Hess
af5317318c blog for the day 2012-11-10 20:45:41 -04:00
http://phil.0x539.de/
ff7810eb83 poll vote (Amazon Glacier) 2012-11-10 20:19:34 +00:00
Joey Hess
3e8fb862db update todo 2012-11-10 15:52:30 -04:00
http://joeyh.name/
a6edd94e3e Added a comment 2012-11-10 19:48:01 +00:00
Joey Hess
2aa4a3e7cb Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-10 15:44:26 -04:00
Joey Hess
41085cdc8c set negative XMPP presence priority
This should help prevent git-annex clients receiving messages that
were intended for normal clients they're sharing the account with.

Changed XMPP protocol use to always send chat messages directed at the
specific client, as the negative priority blocks less directed messages.
2012-11-10 15:33:12 -04:00
http://phil.0x539.de/
ee0bf529ad Added a comment 2012-11-10 18:50:47 +00:00
174.127.226.162
7fb9ee055c poll vote (Box.com) 2012-11-10 07:59:40 +00:00
Joey Hess
cb1999479e Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-09 18:23:40 -04:00
Joey Hess
ef34aa2be1 blog for the day 2012-11-09 18:23:00 -04:00
http://joeyh.name/
ded7d63266 Added a comment 2012-11-09 21:55:42 +00:00
Joey Hess
42594ffb4e Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-09 14:58:03 -04:00
Joey Hess
13547aa659 add canpush xmpp command 2012-11-09 14:34:06 -04:00
http://joeyh.name/
cb098d73a6 Added a comment 2012-11-09 17:41:08 +00:00
http://phil.0x539.de/
1e578b5771 Added a comment: How to deal with offline messages being eaten? 2012-11-09 14:05:30 +00:00
http://meep.pl/
47cebd2e70 Added a comment: git-remote-helpers 2012-11-09 08:54:12 +00:00
Joey Hess
6eee4bd5f1 Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-08 20:39:45 -04:00
Joey Hess
29b72205bd blog for the day 2012-11-08 19:41:36 -04:00
Joey Hess
fb3b9412e4 xmpp push control flow
It might even work, although nothing yet triggers XMPP pushes.

Also added a set of deferred push messages. Only one push can run at a
time, and unrelated push messages get deferred. The set will never grow
very large, because it only puts two types of messages in there, that
can only vary in the client doing the push.
2012-11-08 16:46:29 -04:00
2a01:e35:8a3c:8320:f005:407:fc81:23cd
ed1021ee77 poll vote (Google Drive) 2012-11-08 19:38:54 +00:00
Joey Hess
0238e4ba07 hooked up XMPP git push send/receive (but not yet control flow) 2012-11-08 14:04:41 -04:00
67.137.69.59
9db9d6e0d7 poll vote (Amazon Glacier) 2012-11-07 23:32:10 +00:00
Joey Hess
950c62e6fc data types and xml generation/parsing for xmpp push 2012-11-07 16:59:18 -04:00
120.151.135.68
b07e58bdd1 poll vote (My phone (or MP3 player)) 2012-11-07 03:31:17 +00:00
Joey Hess
ce2b5e8c0c blog for the day 2012-11-06 16:40:43 -04:00
Joey Hess
cb7523b9e8 add xmppgit command; roughed out xmpp push protocol and design 2012-11-06 00:59:20 -04:00
http://joeyh.name/
4f1b3b4da4 Added a comment 2012-11-05 23:40:50 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlJEI45rGczFAnuM7gRSj4C6s9AS9yPZDc
12dd893b3d Added a comment: unlock not behaving as you describe 2012-11-05 22:35:35 +00:00
Joey Hess
02893cdc44 blog for the day 2012-11-05 17:47:25 -04:00
Joey Hess
85c52c4029 clean up protocol docs 2012-11-05 15:52:03 -04:00
Joey Hess
db36b11e28 switch to silent chat messages for XMPP pairing
Along the way, significantly cleaned up Assistant.XMPP, and made XMPP
message decoding more efficient.
2012-11-05 15:40:56 -04:00
Joey Hess
a6cecfcf33 workaround for Google Talk's insane handling of self-directed presence
Maybe the spec allows it, but broadcasting self-directed presence info to
all buddies is just insane.

I had to bring back the IQ messages for self-pairing, while still using
directed presence for other pairing. Ugly.
2012-11-03 22:52:41 -04:00
Joey Hess
17e84a8096 switch to directed presence for pair requests
Testing between Google Talk and prosody, the directed IQ messages
were not received. Google Talk probably only relays them between
clients using the same account.

I first tried even more directed presence, with each client JID being sent
a separate presence, but that didn't work on Google Talk, particularly
it was ignored when one client sent it to another client using the same
account.

So, presence directed at the user@host of the client to pair with. Tested
working between Google Talk and prosody (in both directions), as well
as between two clients with the same account on Google Talk, and
two clients with the same account on prosody.

Only problem with this form of directed presence is that if I also use it
for git pushes, more clients than are interested in a push's data will
receive it. So I may need some better approach, or a hybrid between
directed IQ and directed presence.
2012-11-03 21:19:59 -04:00
Joey Hess
5108d4b364 update xmpp protocol
Amusingly, I am not really using xmpp ping for pairing. I forgot to put in
the ping tag! And when I did, it stopped working, on Google Talk. Seems
it handles client to client pings, at least using the same JID, without
actually sending them to the end client. My mistake avoided this,
and seems to work, so I've left it as-is for now, with just the git-annex
tag in an IQ message. Also tested on prosody.
2012-11-03 19:18:26 -04:00
Joey Hess
4331cf4e09 Merge branch 'master' of ssh://git-annex.branchable.com 2012-11-03 18:12:11 -04:00
Joey Hess
607fed5800 blog for the day 2012-11-03 18:11:46 -04:00
2a01:e35:1382:f950:21d9:7aaa:461b:48ee
967d23d08a poll vote (Google Drive) 2012-11-03 21:17:42 +00:00
Joey Hess
6f1521e046 blog for the day 2012-11-02 21:13:31 -04:00
Joey Hess
85f558aa58 bloglet for the day 2012-10-31 18:53:02 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnjrMQEhzd8xI81V9BL2jsKlNgVJLD7PKs
bf631bcb96 Added a comment: Google Music as remote? 2012-10-31 06:07:32 +00:00
180.149.53.194
cdeb76fbdc poll vote (My phone (or MP3 player)) 2012-10-31 05:57:17 +00:00
Joey Hess
b8009a68e4 blog for the day 2012-10-30 19:47:18 -04:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
6f63bf730f Added a comment 2012-10-30 09:07:37 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
24e339ab93 Added a comment 2012-10-30 08:51:17 +00:00
https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U
f515aac8ab Added a comment 2012-10-30 08:44:32 +00:00
Joey Hess
d5945eeb4c blog for the day 2012-10-29 17:56:29 -04:00
Joey Hess
64e1d7b579 send git-annex tag in initial presence
Will be used for finding other git-annex clients for pairing
2012-10-28 17:07:29 -04:00
Joey Hess
e7df22916d typoskis 2012-10-28 16:56:43 -04:00
Joey Hess
ebb63e8038 blog for the day 2012-10-28 16:53:38 -04:00
178.26.87.189
eb466fdca3 poll vote (My phone (or MP3 player)) 2012-10-28 12:12:43 +00:00
Joey Hess
9144710a34 blog for the day 2012-10-27 19:59:17 -04:00
Joey Hess
ab15e567f9 Merge branch 'master' of ssh://git-annex.branchable.com 2012-10-27 11:32:37 -04:00
http://joeyh.name/
22c6e392d5 Added a comment 2012-10-27 06:08:44 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmaM3-vbAh5B8tY_IL3yh31ik6cAVsgoPw
61bc8ba78c Added a comment: Haskell XMPP 2012-10-27 05:54:53 +00:00
Joey Hess
6633a5158d update 2012-10-27 00:57:53 -04:00
Joey Hess
fc06ccf355 Merge branch 'xmpp' 2012-10-27 00:55:13 -04:00
Joey Hess
67f4fe496f XEP-0126 is not compatable with my use of presence, remove it from TODO 2012-10-27 00:54:10 -04:00
Joey Hess
cb765608ca update 2012-10-27 00:50:45 -04:00
128.151.150.17
50ad657cf2 poll vote (My phone (or MP3 player)) 2012-10-27 04:34:19 +00:00
Joey Hess
9fc8257392 xmpp reconnection
If it managed to run for 5 minutes, reconnect immediately. Otherwise,
wait 5 minutes before reconnecting.
2012-10-27 00:06:17 -04:00
Joey Hess
d1e5f2d596 Merge branch 'master' into xmpp
Conflicts:
	Assistant/Threads/NetWatcher.hs
2012-10-26 19:42:24 -04:00
Joey Hess
26b96ff20c blog for the day 2012-10-26 14:27:21 -04:00
Joey Hess
0b1cf3a766 Merge branch 'master' into xmpp
Conflicts:
	Assistant/Threads/MountWatcher.hs
	Assistant/Threads/NetWatcher.hs
2012-10-26 00:10:41 -04:00
Joey Hess
2018de53a3 correction 2012-10-25 17:16:58 -04:00
Joey Hess
d98101b41f blog for the day 2012-10-25 17:12:07 -04:00
Joey Hess
52a48d1a78 Merge branch 'master' into xmpp 2012-10-25 14:43:55 -04:00
Joey Hess
ed48c49cf9 todo 2012-10-25 14:04:18 -04:00
Joey Hess
8c9c8e3110 only use one push attribute
When pushing to multiple UUIDs, combine them all into a single push
attribute.
2012-10-25 13:31:45 -04:00
137.132.250.13
6239b24270 poll vote (Google Drive) 2012-10-25 05:47:30 +00:00
Joey Hess
1d955d1332 Merge branch 'master' of ssh://git-annex.branchable.com 2012-10-24 20:06:27 -04:00
Joey Hess
75ad5b062a add xmpp page 2012-10-24 20:05:45 -04:00
http://joeyh.name/
6768238da5 Added a comment 2012-10-24 22:44:41 +00:00
Joey Hess
9aa9cb5bcf blog for the day 2012-10-24 15:56:33 -04:00
93.220.117.141
981aefaa06 poll vote (Google Drive) 2012-10-24 16:11:38 +00:00
Joey Hess
70c8324a72 simplify 2012-10-24 11:48:10 -04:00
Joey Hess
031bdf77b6 think I had the tagged right the 1st time 2012-10-24 11:46:31 -04:00
Joey Hess
034dace252 ahah 2012-10-24 11:45:00 -04:00
Joey Hess
78c7025781 erm, I forget how this pagespec works 2012-10-24 11:44:14 -04:00
Joey Hess
8eae88af4a fix tag matching 2012-10-24 11:43:21 -04:00
Joey Hess
25271545c2 add page with todo items tagged design/assistant 2012-10-24 11:42:01 -04:00
https://www.google.com/accounts/o8/id?id=AItOawmQ4Oe5-qOANRuZel9kDvtBfQG1zlEcIzw
80276313fb Added a comment: Remote control clients 2012-10-24 05:18:02 +00:00
https://www.google.com/accounts/o8/id?id=AItOawmQ4Oe5-qOANRuZel9kDvtBfQG1zlEcIzw
ab517a1ffb Added a comment: PEP is ok 2012-10-24 05:15:38 +00:00
Joey Hess
e66bcec263 xmpp 2012-10-23 15:47:36 -04:00
Joey Hess
e5a08bef51 link 2012-10-23 12:43:37 -04:00
Joey Hess
b04cf6ab71 blog for the day 2012-10-20 16:54:32 -04:00
Joey Hess
c7c2015435 add ConfigMonitor thread
Monitors git-annex branch for changes, which are noticed by the Merger
thread whenever the branch ref is changed (either due to an incoming push,
or a local change), and refreshes cached config values for modified config
files.

Rate limited to run no more often than once per minute. This is important
because frequent git-annex branch changes happen when files are being
added, or transferred, etc.

A primary use case is that, when preferred content changes are made,
and get pushed to remotes, the remotes start honoring those settings.
Other use cases include propigating repository description and trust
changes to remotes, and learning when a remote has added a new special
remote, so the webapp can present the GUI to enable that special remote
locally.

Also added a uuid.log cache. All other config files already had caches.
2012-10-20 16:43:35 -04:00
Joey Hess
ef030e770a blog for the day 2012-10-19 17:02:37 -04:00
Joey Hess
f4c3a45da0 check preferred content when a file is moved or created
This can result in the file being dropped, or being downloaded, or even
being dropped from some other repo.

It's even possible to create a file in a directory where content is not
wanted, which will make the assistant immediately send it elsewhere, and
then drop it.
2012-10-19 14:22:13 -04:00