Commit Graph

158 Commits

Author SHA1 Message Date
Yann Leboulanger 1ebe587886 fix number of parameters to session.receives in zeroconf. Fixes #4015 2008-06-13 15:59:04 +00:00
Brendan Taylor fad6d2ef7e pass session when dispatching MSGNOTSENT 2008-05-19 00:17:39 +00:00
Brendan Taylor 517d962221 fixed link-local messaging (broken by session-centric) and removed a ton of duplicated/unused code 2008-05-17 02:23:46 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
js 573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
Brendan Taylor d15b9dea6e reuse existing chat sessions and controls 2008-05-03 16:52:27 +00:00
Stephan Erb fb12c17fb9 In obvious cased, don't compare boolean values to True or False. 2008-04-21 20:52:35 +00:00
Stephan Erb 92b596a698 Use startswith() instead of string slicing to check for prefixes or suffixes.
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Yann Leboulanger 0568a4b32b typo 2008-04-15 15:59:13 +00:00
Yann Leboulanger 1a2f60186a Don't fail on windows if bonjour is not installed. fixes #3861
socket module doesn't have AI_ADDRCONFIG attribute under windows
2008-04-15 15:58:07 +00:00
Yann Leboulanger da966efaa7 use getaddrinfo to know if we should use ipv4 or v6 for zeroconf 2008-04-06 21:33:40 +00:00
Yann Leboulanger 067d9dbf2b make zeroconf work correctly on both ipv4 and ipv6. Bind on an ipv6 socket if possible. 2008-04-06 16:51:31 +00:00
Yann Leboulanger 45211c43f5 coding standards 2008-03-21 17:17:12 +00:00
Yann Leboulanger 92690da36b fix zeroconf to be ablt to use IPv6. Fixes #3683 2008-03-21 16:55:39 +00:00
Yann Leboulanger 7c49600135 use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734, #3736 2008-02-14 19:18:07 +00:00
Jean-Marie Traissard 894e752292 Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
Reverting [9324]. Reopen #3734.
2008-02-13 18:03:29 +00:00
Yann Leboulanger ad3935d9e9 [Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734 2008-02-13 07:14:06 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger 17e7c02374 remove useless spaces and tabs 2008-01-30 11:01:08 +00:00
Stephan Erb 30ad68a26c Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
Be more verbose when there is a key missmatch.

Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Stephan Erb fef742c863 Refactor the way we decide whether GPG is usable or not: Ability to change keys when no valid passphrase could be entered.
See #1210. Workaround for unavailable keys.

Remove useless except block: import of GnuPGInterface is the same on Debian and non Debian systems.
2007-12-28 18:49:28 +00:00
Yann Leboulanger 19761f081f [js & I] show pep info in account tooltip, fix a bug in create_contact() 2007-12-13 20:26:13 +00:00
Yann Leboulanger 75ee2169d7 fix the ability to choose GPG key before we connect
remove useless config option usegpg
2007-11-30 15:18:26 +00:00
James Newton aa3932f147 do a better split that accounts for escaped .'s. 2007-11-19 15:47:17 +00:00
Stefan Bethge 50fbbe9b7d fix link-local collision detection 2007-11-19 03:34:40 +00:00
Stefan Bethge 1f818a04e9 fix link-local problems when reconnecting vie network-manager 2007-11-19 03:29:10 +00:00
Yann Leboulanger 63d0bc54ec cache incoming zeroconf connections. fixes #3561 2007-11-16 08:41:24 +00:00
Yann Leboulanger 8a021e597f [anonymous] fix dbus type when calling message.EntryGroup.AddService. fixes #3521 2007-11-13 19:05:59 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger 34f04c69b7 stoped -> stopped 2007-10-10 16:19:22 +00:00
Brendan Taylor 3c936682dc fixed ZeroConf and gave it E2E support 2007-10-09 03:46:51 +00:00
Yann Leboulanger 0b6e432134 fix file transfer in zeroconf 2007-10-08 17:25:53 +00:00
Stephan Erb a3613e1493 Fix filetransfer in zeroconf 2007-10-07 20:58:55 +00:00
Yann Leboulanger 53d6eb93dd fix number of argument in MSG event in zeroconf part 2007-10-07 20:46:03 +00:00
Stephan Erb bfe489867f Correct spelling error 2007-10-07 19:12:54 +00:00
Yann Leboulanger c9a407ca52 [Brendan Taylor] Gsoc 2007 work : end to end encryptions. Fixes #544 2007-08-25 22:42:35 +00:00
Yann Leboulanger fe0a1b9b1b redraw actions menu when zeroconf account connects. 2007-08-22 12:19:30 +00:00
Yann Leboulanger 722988f5d4 zeroconf don't support private storage 2007-08-22 11:33:37 +00:00
Yann Leboulanger 4c5bef7a2d remove svn:executable to zeroconf files 2007-08-06 22:21:22 +00:00
Yann Leboulanger 5350afa8e2 integrate pybonjour support to Gajim. see #2883. need a fix when sending messages 2007-08-06 21:46:51 +00:00
Yann Leboulanger 28cb6c6bb4 don't fail when there is a name conflict 2007-08-06 19:13:22 +00:00
Stefan Bethge bb7283de02 new drop in replacement for zeroconf.py, uses pybonjour
(needs integration and some fixing, but works)
see #2883
2007-07-28 11:01:21 +00:00
Stefan Bethge 7dd8a27b39 fix #3186 (thanks dkirov) 2007-07-27 18:19:09 +00:00
Stefan Bethge 68f5401213 set zeroconf hostname on every connection. fix: #3117 2007-07-27 16:00:29 +00:00
Travis Shirk 270c956db3 Handle malformed timestamps (which would cause an unhandled exception and hork the connection)
and XEP-82 (dashes in timestamps).
2007-06-29 21:21:08 +00:00
Julien Pivotto c92145c3b9 [misc] repare sending composing chatstates using xep instead of xep.
Fix #3241.
2007-06-16 21:31:19 +00:00
Yann Leboulanger 3bb2eabadb add thread to zeroconf connections too 2007-05-30 16:57:37 +00:00
Yann Leboulanger d01c4983ad fix traceback with zeroconf 2007-05-13 07:10:12 +00:00