Commit graph

202 commits

Author SHA1 Message Date
Yann Leboulanger
665016ccc0 don't overwrite stanza ID in zeroconf so that we reply with correct ID to requests. Thanks Mattj 2009-04-25 16:29:49 +00:00
Yann Leboulanger
9bc7c4aa95 add missing var to connection_zeroconf.py 2009-03-25 06:56:39 +00:00
Yann Leboulanger
e0123f0c24 encrypt and decrypt GPG messages in a thread, and call a callback when it's finished (sending a message is now asyncronous). Fixes #4445 2009-02-06 19:01:36 +00:00
Stephan Erb
bc3445881f Rename client.py to plugin.py, as all client logic has already been moved to client_nb.py
Introduce a get_instance factory method for all plugins and other xmpp related classes. This will help us to decouple plugs in order to make them testable.
2009-01-09 00:49:58 +00:00
Yann Leboulanger
9bf0632b43 fix missing variable in zeroconf 2008-12-16 20:41:13 +00:00
Yann Leboulanger
b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger
0830a5fe73 [thorstenp] use sorted() and list comprehension 2008-12-03 22:07:44 +00:00
Yann Leboulanger
aa507f43e6 [thorstenp] remove uselexx space 2008-12-03 21:57:14 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
0d33683944 [thorstenp] remove some utf8 byteorder mark 2008-12-03 21:39:21 +00:00
Yann Leboulanger
fe33410b43 [thorstenp] fix unequal operator 2008-12-03 21:38:31 +00:00
Yann Leboulanger
3392c54dd0 [thorstenp] fix empty exception clauses 2008-12-03 21:37:05 +00:00
Yann Leboulanger
22f2cb37a7 [thorstenp] don't use deprecated string module 2008-12-03 21:13:40 +00:00
Yann Leboulanger
70abf6a955 [thorstenp] self as first argument of method 2008-12-03 21:12:32 +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
7701f29beb [thorstenp] fix undefined variables 2008-12-02 15:10:31 +00:00
Yann Leboulanger
e2118de64c [thorstenp] remove useless import 2008-12-02 14:44:26 +00:00
Yann Leboulanger
983301d589 [thorstenp] convert some strings to comment 2008-12-02 14:09:18 +00:00
Yann Leboulanger
630c15e2d0 [thorstenp] remove redefined fnuction 2008-12-02 14:07:11 +00:00
Yann Leboulanger
eed5dc4e72 [thorstenp] remove useless semicolons 2008-12-02 13:58:54 +00:00
Yann Leboulanger
df1e5ee990 better handling of sessions in zeroconf. Fixes #4529 2008-11-28 15:34:56 +00:00
Yann Leboulanger
73e4e000b9 fix typo. Fixes #4525 2008-11-26 08:50:33 +00:00
Stephan Erb
239d041b08 Fix IndentationError. 2008-11-25 14:02:24 +00:00
Yann Leboulanger
d155b90c3c fix zeroconf to handle parameters of send_message (xhtml, forward_from, delayed). Fixes #4514 2008-11-25 12:51:31 +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
dc5d7bcf7c [thorstenp] fix undefined variables 2008-10-20 18:05:33 +00:00
Yann Leboulanger
c2c681e05c [thorstenp] remove useless import 2008-10-20 17:54:02 +00:00
Yann Leboulanger
86271b6e3c [thorstenp] string to comment 2008-10-20 15:30:52 +00:00
Yann Leboulanger
010be12d8c [thorstenp] remove duplicate function 2008-10-20 15:25:53 +00:00
Yann Leboulanger
98255a0671 [thorstenp] remove useless ; 2008-10-20 15:16:01 +00:00
Yann Leboulanger
158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +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
6cc8204319 [thorstenp] replace if statement with dict.get() 2008-10-11 09:31:48 +00:00
Yann Leboulanger
9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
tomk
ed7dd84cfe fixed zeroconf to work with refactored dispatcher 2008-08-18 14:34:09 +00:00
tomk
2712786383 Corrected return values of zeroconf client in order to return true-evaluable values. related to #4051 2008-08-18 14:20:03 +00:00
Yann Leboulanger
e22c6e9697 fix printing of sent zeroconf messages. fixes #4051 2008-08-04 10:54:56 +00:00
Yann Leboulanger
fa2d983354 better transltion strings. see #4166 2008-08-01 09:30:36 +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
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