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
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
11deb3b933
[thorstenp] remove useless pass
2008-12-02 14:03:32 +00:00
Yann Leboulanger
20ff72c523
[thorstenp] fix statements
2008-12-02 14:02:45 +00:00
Yann Leboulanger
3e88fdf41e
check session support instead of Esession support, and announce we support it. Fixes #4429
2008-11-30 18:53:02 +00:00
Yann Leboulanger
91cc491173
[Simo Sorce] fix GSSAPI to use FQDN. See #2465
2008-11-28 07:27:42 +00:00
Yann Leboulanger
4cf9d0d622
if a SASL mechanism fails, try the others before abording authentification
2008-11-26 12:45:05 +00:00
Yann Leboulanger
c69b4e90b6
detect and handle incorrect stream start. Fixes #4499
2008-11-21 10:02:16 +00:00
Yann Leboulanger
2521ea6080
[thorstenp] enable buffering of expat. see #4457
2008-11-05 20:03:27 +00:00
Yann Leboulanger
4a06659912
try to connect to next type when connection is refused (server not listening on 5223)
2008-10-22 19:59:14 +00:00
Yann Leboulanger
7ca670a303
assign variable soon enough.
2008-10-22 18:13:43 +00:00
Yann Leboulanger
6fc5ffe276
fix non blocking connect. don't block when connect fails. Fixes #4366 , #4107
2008-10-21 15:50:20 +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
c9f3c94bb3
[thorstenp] remove useless pass
2008-10-20 15:21:26 +00:00
Yann Leboulanger
464f62d580
[thorstenp] remove statements without effect
2008-10-20 15:20:51 +00:00
Yann Leboulanger
7055eec326
fix typo
2008-10-16 18:40:00 +00:00
Yann Leboulanger
44277d6c40
prevent traceback. Fixes #4319
2008-10-16 17:19:22 +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
fd54e68e6d
[thorstenp] some fixes with type() -> isinstance()
2008-10-11 10:06:49 +00:00
Yann Leboulanger
992e90208e
[thorstenp] use != instead of <>
2008-10-11 10:02:49 +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
00543277e4
[thorstenp] replace ` with repr
2008-10-11 09:51:27 +00:00
Yann Leboulanger
73aee40542
[thorstenp] replace none equality test with identity test
2008-10-11 09:44:12 +00:00
Yann Leboulanger
ed748fdda3
[thorstenp] replace list with tuple in for and if
2008-10-11 09:42:59 +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
Yann Leboulanger
32b583986f
[Jelmer Vernooij] Kerberos (GSSAPI) SASL authentication mechanism added
2008-09-27 14:59:12 +00:00
Yann Leboulanger
3d46bf0b6e
[dwd] fix reconnection when we get wrong XML with undeclared namespaces. Fixes #3083
2008-09-27 14:26:50 +00:00
Yann Leboulanger
e236382f3d
handle XEP-0203 (Delayed Delivery) and use it when forwarding unread messages via adhoc commands. Fixes #4347
2008-09-26 11:11:38 +00:00
Yann Leboulanger
3e2f9fcbec
prevent affiliatio spoofing by checking namespace. Fixes #4323
2008-09-16 08:30:27 +00:00
tomk
a7c36048b9
- renamed src/common/nslookup.py to resolver.py
...
- refactored resolver code and added asynchronous resolver based on patch by Damien Thebault[1]
* Uses libasyncns-python[2]. If it's not available, old nslookup resolver is used)
* works for SRV requests only at the moment
[1] https://www.lagaule.org/pipermail/gajim-devel/2008-July/000460.html
[2] https://code.launchpad.net/libasyncns-python
2008-08-31 23:40:06 +00:00
tomk
acdf4ff143
improved disconnect handling, added comments, fixed minor bugs
2008-08-17 22:57:48 +00:00
tomk
a76c173816
- improved SSL connections with BOSH - SSL over HTTP proxy is possible now,
...
Gajim will do HTTP CONNECT on proxy to reach the BOSH Conn manager and try
to estabilish TLS (same as what firefox do when approaching HTTPS server via
proxy)
- moved proxy-connecting code to xmpp/proxy_connectors.py
- debugged SOCKS5 proxy code
- tested with Tigase server
2008-08-14 21:48:43 +00:00
tomk
4504861084
fixed handling of SSL errors
2008-08-09 12:16:42 +00:00