cbed8029baUpdated, cleaned, and documented Iq stanza class. Also added unit tests.
Lance Stout
2010-07-29 23:58:25 -04:00
1da3e5b35eAdded unit tests for error stanzas. Corrected error in deleting conditions.
Lance Stout
2010-07-29 23:55:13 -04:00
a96a046e27Remove extra debugging lines and speed up stream testing in SleekTest.
Lance Stout
2010-07-29 23:15:49 -04:00
60a183b011Added useful imports to the xmlstream, xmlstream.handler, and xmlstream.matcher __init__.py files to make it simpler to import common classes.
Lance Stout
2010-07-29 20:18:04 -04:00
a49f511a2fAdded RESPONSE_TIMEOUT constant to sleekxmpp.xmlstream to serve as a single place to specify a default timeout value when waiting for a stanza response.
Lance Stout
2010-07-29 20:16:57 -04:00
25f43bd219Updated error stanza to be PEP8 compliant and include documentation.
Lance Stout
2010-07-29 11:06:10 -04:00
d148f633f3Modified ElementBase _getSubText, _setSubText, and _delSubText to use the namespace in a tag name if one is given and to use self.namespace otherwise.
Lance Stout
2010-07-29 11:04:21 -04:00
e8e934fa95Fixed some PEP8 errors in RootStanza (trailing whitespace and line length)
Lance Stout
2010-07-29 11:02:42 -04:00
bd92ef6acfUpdated RootStanza to use registerStanzaPlugin, and be PEP8 compliant.
Lance Stout
2010-07-28 13:14:41 -04:00
aa02ecd154Added notes/ideas/comments on things that can be cleaned/simplified or needs to be expanded before the 1.0 release.
Lance Stout
2010-07-27 02:07:22 -04:00
aad185fe29Update test to reflect change in reply() method that removes the from attribute.
Lance Stout
2010-07-26 21:38:23 -04:00
2b6454786aMerge branch 'experimental' of git@github.com:fritzy/SleekXMPP into experimental
Nathan Fritz
2010-07-26 18:13:54 -07:00
a349a2a317removed jid from stanzabase to external file
Nathan Fritz
2010-07-26 18:13:34 -07:00
2cb82afc2cupdated and moved jid class -- jids now have setters
Nathan Fritz
2010-07-26 18:13:09 -07:00
c8989c04f3Replaced traceback calls to use logging.exception where applicable.
Lance Stout
2010-07-26 21:02:25 -04:00
241aba8c76Merge branch 'experimental' of github.com:fritzy/SleekXMPP into experimental
Lance Stout
2010-07-26 19:46:13 -04:00
ec860bf9e2Add StateManager as replacement for StateMachine.
Lance Stout
2010-07-26 19:44:42 -04:00
73a3d07ad9Fix shebang line for testall.py
Lance Stout
2010-07-23 19:51:41 -04:00
07208a3eafFix shebang line for testall.py
Lance Stout
2010-07-23 19:51:41 -04:00
d0a5c539d8Fix shebang lines to use #!/usr/bin/env python instead of hard coding a python version.
Lance Stout
2010-07-23 19:41:11 -04:00
d70a6e6f32Issue 26. Only set from address in reply() for components
Joe Hildebrand
2010-07-20 13:55:48 -07:00
66e92c6c9fModified example to take JID and password on command line
Joe Hildebrand
2010-07-20 11:33:43 -07:00
ca2c421e6cfixed resource binding element to conform to spec
Nathan Fritz
2010-07-20 11:20:47 -07:00
9fcd2e93a3don't send resource in bind request if you don't have one
Nathan Fritz
2010-07-20 11:15:59 -07:00
75afefb5c6Upated xep_0045 to use old_0004 for now.
Lance Stout
2010-07-20 13:23:35 -04:00
b67b930596Updated xep_0050 to use old_0004 for now.
Lance Stout
2010-07-20 12:27:22 -04:00
5c9b47afbdUpdate test_events to use SleekTest to make everything consistent.
Lance Stout
2010-07-20 12:22:25 -04:00
7ad0143687Updated pubsub stanzas to use xep_0004 stanza objects, and updated tests to match.
Lance Stout
2010-07-20 12:18:38 -04:00
de24e9ed45Lots of XEP-0004 bug fixes.
Lance Stout
2010-07-20 12:16:57 -04:00
690eaf8d3cUpdated license notices to use the correct MIT format. Also corrected references to nonexistant license.txt to LICENSE.
Lance Stout
2010-07-20 11:19:49 -04:00
35212c7991Updated SleekTest to be able to simulate and test interactions with an XML stream.
Lance Stout
2010-07-14 15:24:37 -04:00
48f0843aceAdded initial stanza object version of the xep_0004 plugin. Items/reported elements still need to be unit tested
Lance Stout
2010-07-14 11:59:58 -04:00
be5688007bmoved parsing logic into TimeElement to aid reuse
Thom Nichols
2010-07-14 11:05:29 -04:00
ad7c1b06f4XEP-0202 Entity Time plugin and fix for unused 'sid' parameter in StanzaBase.
Tom Nichols
2010-07-13 17:14:38 -04:00
083ac3faafwoops, broke resource binding request
Tom Nichols
2010-07-12 13:07:24 -04:00
a909731b03removed digest_auth_started (it was never set to 'True') and did a little error handling cleanup
Tom Nichols
2010-07-12 12:55:53 -04:00
4864197d46fixed indent
Tom Nichols
2010-07-12 12:54:58 -04:00
92a5ac2ba9removed unused imports and fixed log msg
Tom Nichols
2010-07-12 12:25:55 -04:00
02ca5f0e42fixed logging error (logging module was not imported)
Tom Nichols
2010-07-12 12:17:57 -04:00
1e009513eeremoved some unused imports
Tom Nichols
2010-07-12 12:16:58 -04:00
55f83e8ab0fixed variable name
Tom Nichols
2010-07-12 12:09:34 -04:00
d43fba3c8fadding pylint rcfile
Tom Nichols
2010-07-12 12:01:13 -04:00
b1c997be1dReworked the Gmail notification plugin to use stanza objects and expose more information.
Lance Stout
2010-07-11 22:01:51 -04:00
9c5285987dremoved ClientXMPP.server in favor of ClientXMPP.domain
Tom Nichols
2010-07-09 17:25:11 -04:00
d09cbef9a7catch other DNS errors that might occur and fallback to JID domain.
Tom Nichols
2010-07-09 17:23:02 -04:00
9c850f080dremoved useless 'use_tls' variable
Tom Nichols
2010-07-09 16:12:32 -04:00
879dd11daareduced max quiesce delay to 6 minutes. We want to be fairly agressive here.
Tom Nichols
2010-07-09 16:16:07 -04:00
969c4652a4wait, shouldn't 'port' default to 5222?? Would seem logical to me.
Tom Nichols
2010-07-09 16:15:18 -04:00
9506970042removed useless 'use_tls' variable
Tom Nichols
2010-07-09 16:12:32 -04:00
3c6b07353dadded keepalive to send thread
Tom Nichols
2010-07-09 16:06:53 -04:00
66c6c21ad8kill the running threads before disconnecting
Brian Beggs
2010-07-06 08:24:23 -04:00
c5b5cc4af1fix for md5 sasl authentication
Brian Beggs
2010-07-09 13:36:23 -04:00
e835843aabfixes to digest-md5 for ejabberd
Brian Beggs
2010-07-02 13:31:55 -04:00
d6681f16d2fixed indentation error
Tom Nichols
2010-07-07 15:19:31 -04:00
fc952efae9removed unused and redundant 'makeIq...' methods from basexmpp; cleaned up the (few\!) plugins that actually used them.
Tom Nichols
2010-07-07 15:18:59 -04:00
f7273affc5notes on the usefulness of some of the 'makeIq' methods. In particular, they seem to duplicate behavior or be largely unused for their intended purpose.
Tom Nichols
2010-07-07 15:06:39 -04:00
34eb88f199Merge branch 'hacks' of git@github.com:tomstrummer/SleekXMPP into hacks
Tom Nichols
2010-07-07 13:19:21 -04:00
85d8b9270fclient must validate the server's SSL certificate against the CA list if it is provided.
Thom Nichols
2010-07-06 17:37:57 -04:00
259dffeb6esend now has a priority and an 'init' parameter to denote stanzas that may be sent prior to session establishment.
Tom Nichols
2010-07-06 14:16:46 -04:00
0a30e6c017cleaned up disconnect/reconnect logic just a little
Thom Nichols
2010-07-02 18:05:50 -04:00
d381ab320amerged changes from origin/hacks
Tom Nichols
2010-07-02 17:14:37 -04:00
6e93982fdftrying to get xmlstream to reconnect on stream failure
Tom Nichols
2010-07-02 16:46:34 -04:00
33602f232callow 'ensure' to block if a transition is occurring
Tom Nichols
2010-07-02 16:45:55 -04:00
7968ca2892added optional 'block_on_transition' param for 'ensure' function that's called while a transition is in-process
Tom Nichols
2010-07-02 14:34:59 -04:00
661cdd2018'wait' could delay longer than desired if waiting threads were notified but did not achieve their lock condition afterwards.
Tom Nichols
2010-07-02 12:57:27 -04:00
4b00baab1ereconnection fix: xmlstream now catches XMLParserError and restarts the stream
Brian Beggs
2010-07-02 21:34:43 +08:00
fe1d3004ccxep_0047 initial module checkin
Brian Beggs
2010-07-02 02:17:48 +08:00
62da57a6c2Merge branch 'master' of git://github.com/macdiesel/SleekXMPP into hacks
Thom Nichols
2010-07-01 17:50:45 -04:00
ba9633f8f7Merge branch 'hacks' of github.com:tomstrummer/SleekXMPP into hacks
Thom Nichols
2010-07-01 17:06:50 -04:00
065a164223proper logging.
Tom Nichols
2010-07-01 16:47:08 -04:00
cd2017b8b0catch XML parse errors & don't attempt to reconnect. Also removed 'connecting' state from setStream method
Tom Nichols
2010-07-01 16:46:37 -04:00
dd9f33b7d9removed some superfluous debug logging
Tom Nichols
2010-07-01 15:11:02 -04:00
0a23f84ec3fix for statemachine where operations would unintentionally block if the lock was acquired in a long-running transition
Tom Nichols
2010-07-01 15:10:22 -04:00
f477ccf533Merge remote branch 'tom/hacks'
Brian Beggs
2010-07-01 10:01:52 -04:00
d62a30b0f8digest-md5 authentication now works with unicode-literals import. Re-added the __future__ imports that were removed.
Brian Beggs
2010-07-01 09:46:12 -04:00
d763795b2cMerge remote branch 'fritzy/master'
Brian Beggs
2010-07-01 09:17:45 -04:00
fff54eaf2ftemporary removed future support for sleek to support digest-md5 auth
Brian Beggs
2010-07-01 08:44:39 -04:00
488d5b29d4fixed typo
Brian Beggs
2010-06-30 14:48:45 -04:00