git-annex/Assistant/XMPP
Joey Hess df88c51334 add uuid to all xmpp messages
(Except for the actual streaming of receive-pack through XMPP, which
can only run once we've gotten an appropriate uuid in a push initiation
message.)

Pushes are now only initiated when the initiation message comes from a
known uuid. This allows multiple distinct repositories to use the same xmpp
address.

Note: This probably breaks initial push after xmpp pairing, because at that
point we may not know about the paired uuid, and so reject the push from
it. It won't break in simple cases, because the annex-uuid of the remote
is checked. However, when there are multiple clients behind a single xmpp
address, only uuid of the first is recorded in annex-uuid, and so any
pushes from the others will be rejected (unless the first remote pushes their
uuids to us beforehand.
2013-04-30 13:22:55 -04:00
..
Buddies.hs upper-case first char of buddy name 2012-11-12 13:27:30 -04:00
Client.hs factor out Creds 2012-11-14 19:32:27 -04:00
Git.hs add uuid to all xmpp messages 2013-04-30 13:22:55 -04:00