Éric Araujo
357d7db07d
fixed some whitespace thanks to 2to3 -f ws_comma
2010-02-10 19:24:11 +01:00
Éric Araujo
fedd7dc8e2
convert tabs to spaces in source code thanks to reindent.py
...
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger
4b07509d5e
[Dave Cridland] try to encode username, realm and password in iso-8859-1 when doing DIGEST-MD5 before computing the hash. Fixes #5512
2009-12-14 17:47:14 +01:00
Yann Leboulanger
9072ff18c1
[Dave Cridland] implement EXTERNAL auth method. See #5512
2009-12-14 17:39:32 +01:00
Alexander Cherniuk
6d0f28c47d
More doc-string (and not only) refactoring
2009-11-26 16:32:56 +02:00
Yann Leboulanger
b8e80c2245
fix error with bosh
2009-07-13 22:23:14 +02:00
Yann Leboulanger
53c31a53b6
session packet are not mendatory during login. Send it only when requested by server. Fixes #5088
2009-07-13 18:32:16 +02:00
Jonathan Schleifer
086d031374
Remove spaces at EOL.
2009-06-15 21:00:14 +02: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
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
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
9b2382cd0e
[dwd] better way to encode using base64. Fixes #4568
2009-01-14 08:51:07 +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
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
de73b76771
Coding standards and documentation improvements in auth_nb.py
2008-12-26 15:39:18 +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
e389e0b16b
[thorstenp] remove whitespace at eol
2008-12-03 21:56:12 +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
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
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
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
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
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
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
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
tomk
a58618c843
persistent HTTP connections in BOSH roughly implemented, added hack for openfire incapability of after-SASL-stream-restart-response in BOSH, changed doubles quotes to single
2008-07-18 00:34:49 +00:00
tomk
e1899f34dc
new BOSHDispatcher (in dispatcher_nb), improved BOSHClient class, minor changes in other xmpp modules
2008-07-07 23:04:10 +00:00
tomk
952e4a1569
moved bosh code from client_nb.py to bosh.py, replaced debug logging with debug.py by logging in whole xmpppy (debug.py is now unused)
2008-07-02 23:29:10 +00:00
tomk
f3820706fb
- Refactored non-blocking transport and client classes - getaddrinfo is called
...
in Client now
- Added NonBlockingHttpBOSH transport (to tranports_nb) and BOSHClient
(to client_nb)
- Extended possible proxy types in configuration by "BOSH" proxy
- Rewrote NonBlockingTLS to invoke success callback only after successful TLS handshake is over (formerly, the TLS Plugin returned right after sending <starttls>)
2008-06-30 00:02:32 +00:00
tomk
6a15c9b9c9
initial cleanup of xmpppy perfomed, see #3260
2008-06-09 00:32:02 +00:00
Yann Leboulanger
0ec4aa3676
[smoku] fix SASL auth. fixes #1911
2007-02-06 08:57:59 +00:00