Commit graph

225 commits

Author SHA1 Message Date
mariolenz
05a86e8357 harmonize indentation. Fixes #5518 2009-12-28 23:04:23 +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
1c137dd6c4 remove debug print 2009-11-25 16:49:13 +01: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
4671f62d2f fix ConnectionZeroconf initialization 2009-11-18 11:16:15 +01:00
Yann Leboulanger
88f3104c4e refactor normal and zeroconf Connection objects with a CommonConnection class 2009-11-18 11:06:09 +01:00
Stephan Erb
a3ea00f4ea Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +01:00
Yann Leboulanger
ae9f7ca410 prevent a traceback when we disconnect a zeroconf socket wil a message attribute. Fixes #5049 2009-11-12 21:42:20 +01:00
Yann Leboulanger
7ae146e0e8 don't try to add an id to all outgoing messages. It's useless. Fixes #5355 2009-10-28 13:54:58 +01:00
Stephan Erb
3665c99800 Wrap global gajim.handlers with a dispatch method. 2009-10-18 20:53:15 +02:00
Benjamin Richter
7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00
Yann Leboulanger
da799bcb59 add ad hoc commands for zeroconf. Fixes #2819 2009-08-30 00:57:49 +02:00
Yann Leboulanger
e273fa4ab8 remove old FIXME, don't crash when we receive badly encoded char via zeroconf. Fixes #5178 2009-07-29 12:09:02 +02:00
Yann Leboulanger
7966126c3b correct log for zeroconf_avahi.py 2009-07-22 09:49:56 +02:00
Yann Leboulanger
61bdb67859 coding standards 2009-07-22 09:30:24 +02:00
Yann Leboulanger
a478cf863b prevent sending several times the same message in zeroconf. 2009-07-16 17:25:47 +02:00
Yann Leboulanger
d51102112d fix sending message to zeroconf from XML console. Fixes #5050 2009-07-16 17:23:05 +02:00
Yann Leboulanger
ba697a583f fix missing var in zeroconf 2009-07-16 17:22:34 +02:00
Yann Leboulanger
7bfcf169e4 fix zeroconf 2009-07-10 16:15:09 +02:00
Yann Leboulanger
5a72c9b3ac fix disconnection of client_zeroconf. Fixes #5049 2009-05-29 08:59:08 +02:00
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