Commit graph

509 commits

Author SHA1 Message Date
Yann Leboulanger
cd9c041585 don't fail when stream version < 1.0. Fixes #4600 2009-01-20 09:07:41 +00:00
Yann Leboulanger
48d4199237 [dwd] re-enable TLS. Fixes #4674 2009-01-17 12:43:13 +00:00
Yann Leboulanger
77b5c85f18 load certificates from /etc/ssl/certs too. Fixes #4633 2009-01-15 17:54:28 +00:00
Yann Leboulanger
9b2382cd0e [dwd] better way to encode using base64. Fixes #4568 2009-01-14 08:51:07 +00:00
Stephan Erb
541167aa3e Move IdleCommand from resolver.py to idlequeue.py 2009-01-11 17:54:41 +00:00
Stephan Erb
0f61260578 Use logic which idlequeue shall be used to idlequeue module. 2009-01-11 17:11:17 +00:00
Stephan Erb
f8e6635edf Remove some (now) useless returns that where added because of a broken commit of mine... 2009-01-11 17:10:41 +00:00
tomk
2b0ef67c55 fixes #4657 - traceback on terminating stanza after BOSH init request 2009-01-11 15:12:28 +00:00
Stephan Erb
8a19e11bee Add some FIXME statements due to open questions. Improve a two default parameters. 2009-01-11 13:42:39 +00:00
js
6ede969f5f Fix missing returns, so we don't run into that assert. 2009-01-10 22:46:26 +00:00
Stephan Erb
c8dc8cd758 Fix a potential traceback in onreceive() of NonBlockingTransport. A few more codingstandards 2009-01-10 16:44:11 +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
Stephan Erb
e00f871b26 Use hashlib module in favor of sha and md5. 2009-01-08 16:51:26 +00:00
Stephan Erb
cca10e6d29 A few more coding standards and readability improvements in client_nb.py. 2009-01-08 16:30:27 +00:00
Stephan Erb
10449444dd Switch to SSL version 3 as the channel encryption protocol. As of http://docs.python.org/dev/library/ssl.html this is the maximally compatible SSL variant. 2009-01-08 16:14:26 +00:00
Stephan Erb
ed3de38ce5 Revert r10931. Fixes #4632. See #2634 2009-01-03 16:34:58 +00:00
Stephan Erb
28112d6681 Fix indentation error. 2008-12-31 14:04:42 +00:00
Stephan Erb
8a76efb703 Proposed Fix. Make sure we read all data from our SSL socket wrappers and don't just rely on gobject.io_add_watch, select or poll.
This isn't really a clean solution, but the less intrusives fix that I can think of. Fixes #2634.
2008-12-31 14:01:53 +00:00
Stephan Erb
b2a5b1046c Remove print. 2008-12-28 14:55:23 +00:00
Stephan Erb
d8a2d8f447 Backport a few XMPPPY upstream changes.
* Use namespace instead of attrs={} for addChild
 * Unplug SASL module on auth failure (we currently disconnect so don't really need it)
2008-12-28 14:53:20 +00:00
Stephan Erb
f83eb5ae95 Remove two more "from protocol import *". 2008-12-28 01:52:21 +00:00
Brendan Taylor
e98a648908 added licence notice to common/xmpp/c14n.py 2008-12-28 01:39:39 +00:00
Stephan Erb
7c0b1e4ed0 Module documentation for c14n.py. 2008-12-28 01:32:34 +00:00
Stephan Erb
8b3833b443 Coding standards and documentation improvements in features_nb.py. Remove unused methods. 2008-12-28 01:29:33 +00:00
Stephan Erb
d7091c74a4 Remove method that was implemented for old, blocking dispatcher but is now unused. 2008-12-28 00:01:48 +00:00
Stephan Erb
aa9a85767f Move module documentation ontop, so that it will show up in epydoc correctly. 2008-12-27 12:36:28 +00:00
Stephan Erb
233848aec0 Random bits in xmpp. Cosmetic only. 2008-12-27 11:45:58 +00:00
Stephan Erb
b7400724b7 Coding standards and documentation improvements in dispatcher_nb.py. Many open questions remain at my side. Please check FIXMEs. 2008-12-27 11:39:52 +00:00
Stephan Erb
de73b76771 Coding standards and documentation improvements in auth_nb.py 2008-12-26 15:39:18 +00:00
Stephan Erb
7427399a2a More coding standards and documentation improvements in client_nb.py 2008-12-26 15:25:57 +00:00
Stephan Erb
afbac3d3e6 Coding standards and documentation improvements in idlequeue.py.
Fix a potential bug of missing an alarm_callback. Separate public from internal API.
2008-12-26 13:24:37 +00:00
Stephan Erb
40d802284e Coding standards and documentation improvements in client_nb.py 2008-12-24 14:41:26 +00:00
Stephan Erb
5139e7c8d0 Add credits and remove outdated documentation from __init__.py 2008-12-24 14:28:17 +00:00
Stephan Erb
6999e1bbb6 Make three docstrings epydoc enabled. See http://epydoc.sourceforge.net/manual-docstring.html 2008-12-24 13:56:02 +00:00
Stephan Erb
59b0216898 Remove Jacob Lundqvist's xmpp/debug.py module. We have switched to builtin python logging. 2008-12-24 13:51:15 +00:00
Stephan Erb
a8cfd83c3e Move GObjectIdleQueue from gajim.py to idlequeue.py 2008-12-24 13:44:23 +00:00
Stephan Erb
6b5e9ea7ce Documentation improvements in client.py 2008-12-24 13:25:57 +00:00
Stephan Erb
9ec00eda74 Document consturctor in proxy_connector.py 2008-12-24 11:41:09 +00:00
Stephan Erb
1e00674505 Coding standards and documentation improvements in tls_nb.py 2008-12-24 11:10:58 +00:00
Stephan Erb
5c02a907b4 Coding standards and documentation improvements in transports_nb.py 2008-12-24 11:10:38 +00:00
Yann Leboulanger
45f9366d58 do'nt try starttls if stream version < 1.0. Fixes #4600 2008-12-22 09:59:35 +00:00
Yann Leboulanger
08bb703640 fix GSSAPI authentication 2008-12-18 18:16:04 +00:00
Yann Leboulanger
b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger
24bb239fdb prevent traceback when server doen't include a query in jabber:iq:roster reply. Fixes #4579 2008-12-15 15:32:59 +00:00
Yann Leboulanger
e389e0b16b [thorstenp] remove whitespace at eol 2008-12-03 21:56:12 +00:00
Yann Leboulanger
c271d1f15a fix bad indentation 2008-12-03 21:37:54 +00:00
Yann Leboulanger
3392c54dd0 [thorstenp] fix empty exception clauses 2008-12-03 21:37:05 +00:00
Yann Leboulanger
f0dce41ab6 fix string exceptions 2008-12-03 21:35:07 +00:00
Yann Leboulanger
5eb402ba4b [thorsten] pfix exceptions not inheriting from exception 2008-12-03 21:26:34 +00:00
Yann Leboulanger
60ba33eb31 [thorstenp] fix possible undefined loop variables 2008-12-03 17:38:16 +00:00