Commit Graph

2654 Commits

Author SHA1 Message Date
Stephan Erb c8dc8cd758 Fix a potential traceback in onreceive() of NonBlockingTransport. A few more codingstandards 2009-01-10 16:44:11 +00:00
Yann Leboulanger 6080bea672 abilty to do some exceptions to invisible rule (to send custom status). Fixes #4631 2009-01-10 16:37:57 +00:00
Brendan Taylor d9277816c7 log latex output instead of dumping it straight to stdout 2009-01-09 21:27:01 +00:00
Brendan Taylor 898bc7c347 gave latex processing its own file, merged duplicate processing and
detection code
2009-01-09 19:55:26 +00:00
Brendan Taylor 9298312369 detect latex support at startup 2009-01-09 18:40:17 +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
Yann Leboulanger a4132ee58b ability to use adtadir environment variable to set data directory 2009-01-05 15:12:19 +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
Yann Leboulanger 08cd4773b0 don't try to send some XML if we are disconnected/disconnecting/ Fixes #4605 2008-12-28 22:51:39 +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 c373f044db Append vim config to resolver.py 2008-12-27 12:28:39 +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
Yann Leboulanger 507bd7b8c6 cache os information so it's requested to system only once 2008-12-24 15:00:38 +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
Yann Leboulanger ad7c64998a better handling of error when receiving a filetransfer without bytestream feature. Fixes #4607 2008-12-24 12:11:02 +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 549511d2e5 import updated files for 0.12 from 0.12 branch 2008-12-17 09:30:11 +00:00
Yann Leboulanger 9bf0632b43 fix missing variable in zeroconf 2008-12-16 20:41:13 +00:00
Yann Leboulanger a09cbaddf1 remove useless print 2008-12-16 07:14:45 +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 5c8cd8839a revert [10848] That's not the way to solve the problem you're trying to fix: first keepalive packet is sent too early. 2008-12-15 14:39:12 +00:00
js 23c99ac920 Use more sane timeout values. 2 min should be ok. 2008-12-15 13:41:08 +00:00
Brendan Taylor aeff9046ab a fix for autonegotiation after esessions were disabled 2008-12-13 18:10:37 +00:00
Yann Leboulanger d0c3b6fd44 prevent sending messages to invalid JIDs. Fixes #4577 2008-12-13 14:43:46 +00:00