Commit graph

67 commits

Author SHA1 Message Date
Yann Leboulanger
320157ec82 ability to do jingle with zeroconf 2010-03-14 22:12:10 +01:00
Yann Leboulanger
52442fcf13 fix bad class name in zeroconf 2010-02-23 19:10:51 +01:00
Yann Leboulanger
72f10672e5 split XEP-0096 (FT negociation) and XEP-0066 (Socks5 bytestream) into 2 clases 2010-02-22 16:29:01 +01:00
Éric Araujo
fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Stephan Erb
24f44d8bdd Remove zeroconf dummy methods. 2009-12-10 23:54:51 +01:00
Stephan Erb
d48202d221 Move ConnectionBytestream to common/protocols. 2009-12-10 21:52:32 +01:00
Alexander Cherniuk
99472b1702 Yet more doc-string refactoring 2009-11-26 14:27:47 +02:00
Yann Leboulanger
3aa07f485e refactor connection_handlers_zeroconf.py 2009-11-25 16:29:33 +01:00
Yann Leboulanger
d664daad1a we can now send pep thing to a zeroconf connection objec, it will just send nothing. so GUI doesn't have to know it's a zeroconf connection or not. fixes #5432 2009-11-19 20:36:40 +01:00
Yann Leboulanger
88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Yann Leboulanger
da799bcb59 add ad hoc commands for zeroconf. Fixes #2819 2009-08-30 00:57:49 +02:00
Yann Leboulanger
0830a5fe73 [thorstenp] use sorted() and list comprehension 2008-12-03 22:07:44 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
31dc32eeb9 [thorstenp] fix redefined builtins 2008-12-03 17:16:04 +00:00
Yann Leboulanger
c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger
e2118de64c [thorstenp] remove useless import 2008-12-02 14:44:26 +00:00
Yann Leboulanger
06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger
f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger
c2c681e05c [thorstenp] remove useless import 2008-10-20 17:54:02 +00:00
Yann Leboulanger
196dd7e30a [thorstenp] use isinstance rather than type(x) == y. use sorted() 2008-10-11 09:59:52 +00:00
Yann Leboulanger
73aee40542 [thorstenp] replace none equality test with identity test 2008-10-11 09:44:12 +00:00
Yann Leboulanger
567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger
84e717c8df [thorstenp] use startswith and endswith instead of array indices on strings 2008-10-11 09:32:59 +00:00
Yann Leboulanger
9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
js
8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Yann Leboulanger
1ebe587886 fix number of parameters to session.receives in zeroconf. Fixes #4015 2008-06-13 15:59:04 +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
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
Brendan Taylor
0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +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
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
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
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
8a0c47e4a0 [Michal Vaner] add ability to send several ip when we do file transfers, and send all local IPs. fixes #2953 2007-01-28 19:11:39 +00:00
Stefan Bethge
cc09dae0fe call missing init for zeroconf vcard dummy 2006-11-29 22:57:37 +00:00
Stefan Bethge
1e6bbfe48f fix #2699 (readd vcard dummies) 2006-11-23 15:17:24 +00:00
Stefan Bethge
720b190db8 fix some small things. Thanks, pyflakes. Fix #2684 2006-11-20 21:02:15 +00:00