Yann Leboulanger
d37d1e973f
remove latest \n in bosh received messages (one is added when we send)
2009-04-07 17:12:35 +00:00
Yann Leboulanger
a6f62ac7c6
ignore port in bosh URL, it's entered separetly. Take into account proxy username when using bosh
2009-04-06 14:05:07 +00:00
Yann Leboulanger
5e44243758
fix traceback with kerberos GSSError handling.
2009-03-20 20:02:05 +00:00
Yann Leboulanger
9d307570df
missing )
2009-03-18 11:03:16 +00:00
Yann Leboulanger
346dbc04b2
handle GSSError exceptions. Fixes #4913
2009-03-18 09:14:10 +00:00
Yann Leboulanger
9900698dc5
typo. Fixes #4912
2009-03-18 07:10:18 +00:00
Yann Leboulanger
cfd0b4835a
prevent traceback when password is not entered. Fixes #4912
2009-03-17 19:35:52 +00:00
Yann Leboulanger
9b5c8db2ce
prevent Traceback when server replies badly to resource binding request. Fixes #4880
2009-03-16 09:54:57 +00:00
Yann Leboulanger
16fa30a1e7
handle stream error and show message to user. Fixes #4660 , #4823
2009-02-19 13:18:23 +00:00
Yann Leboulanger
a2b534c040
really fix dispatcher to support several waiting stanza at the same time. Fix #4299
2009-02-15 14:13:21 +00:00
Yann Leboulanger
f443673bfd
allow to wait for more than one answer at the same time with SendAndCallForResponse. Fixes #4299
2009-02-15 13:17:33 +00:00
Yann Leboulanger
531ab92651
don't log as error, but as info, connection lost. Fixes #4800
2009-02-13 22:37:51 +00:00
Yann Leboulanger
cba0ae51cf
fix traceback when connecting with PLAIN. Fixes #4815
2009-02-13 22:20:13 +00:00
Yann Leboulanger
849108b11f
request connection password only when neede. No need to request it for GSSAPI or ANONYMOUS login. see #2465
2009-02-13 20:24:23 +00:00
Yann Leboulanger
baa208d0b6
remove duplicate code. Fixes #4790
2009-02-08 10:21:50 +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
Yann Leboulanger
8b61a2050f
don't fail when there is an unreadable certificate file.
2009-01-24 12:45:57 +00:00
Yann Leboulanger
26ed4433b4
prevent in GUI when login / password is wrong, even if there is an unknown mechnism. see #4672
2009-01-23 17:27:21 +00:00
Yann Leboulanger
ea881946f4
don't fail when we fail to open a certificate file. Fixes #4722
2009-01-23 09:24:17 +00:00
Yann Leboulanger
674924889f
some server require SSLv2. Fixes #4672
2009-01-22 20:39:31 +00:00
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