summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
2010-10-27SSL and signal fixes.Lance Stout
Made setting the SIG* handlers conditional on if the signal defined for the OS. Added the attribute ssl_version to XMLStream to set the version of SSL used during connection. It defaults to ssl.PROTOCOL_TLSv1, but OpenFire tends to require ssl.PROTOCOL_SSLv23.
2010-10-25Added XEP-202 Entity Time plugin.Lance Stout
Contributed by Cesar Alcalde.
2010-10-25Added XEP-0012 Last Activity plugin.Lance Stout
Contributed by Cesar Alcalde.
2010-10-25Made exceptions work.sleek-1.0-Beta21.0-Beta2Lance Stout
Raising an XMPPError exception from an event handler now works, even if from a threaded handler. Added stream tests to verify. We should start using XMPPError, it really makes things simple!
2010-10-25Fixed bug in presence subscription handling.Lance Stout
Subscription requests and responses were not setting the correct 'to' attribute.
2010-10-24More JID unit tests.Lance Stout
sleekxmpp.xmlstream.jid now has 100% coverage!
2010-10-24Fixed got_offline triggering bug.Lance Stout
2010-10-24Fixed resource bug in JIDs.Lance Stout
JIDs without resources will return '' instead of the bare JID. Cleaned up JID tests, and added check_JID to SleekTest.
2010-10-24Make SleekTest streams register all plugins.Lance Stout
Makes test coverage nicer.
2010-10-24ComponentXMPP saves all of its config data now.Lance Stout
ComponentXMPP was ignoring plugin_config and plugin_whitelist parameters, making register_plugins() fail.
2010-10-24Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2010-10-24Fixed error in client roster handling.Lance Stout
The roster result iq was not being passed to the roster update handler.
2010-10-21presence no longer replies when exception is caught and tweaks to presence ↵Nathan Fritz
events
2010-10-21Fixed mixed text and elements bug in tostring.Lance Stout
XML of the form <a>foo <b>bar</b> baz</a> was outputted as <a>foo <b>bar</b> baz baz</a>. Includes unit test.
2010-10-20misc small tweakssleek-1.0-Beta11.0-Beta1Nathan Fritz
2010-10-20pep8 fixes on core libraryNathan Fritz
2010-10-20when disconnected, reset the rosterNathan Fritz
2010-10-20reconnect if session isn't established within 15 secondsNathan Fritz
2010-10-20capture SIGHUP and SIGTERM (windows) and disconnect; also testall no longer ↵Nathan Fritz
loads string26 with python3
2010-10-20fixed logic error in state machineNathan Fritz
2010-10-20fixed disconnectNathan Fritz
2010-10-18Continue converting to underscored names.Lance Stout
2010-10-17Underscore names by default.Lance Stout
Stanza objects now accept the use of underscored names. The CamelCase versions are still available for backwards compatibility, but are discouraged. The property stanza.values now maps to the old getStanzaValues and setStanzaValues, in addition to _set_stanza_values and _get_stanza_values.
2010-10-17Import plugins from string referenced modules.Lance Stout
2010-10-16Cleanup, restore PEP8.Lance Stout
2010-10-17Fix the error on non-number priorityFlorent Le Coz
The priority is not a number: we consider it 0 as a default
2010-10-17Default history is 0Florent Le Coz
2010-10-17MUC leave message and MUC history requestFlorent Le Coz
It is now possible to ask for "any number of history stanzas" when joining a muc (with history=None). Also we use "maxchars" when asking NO history ("0") since it's a MUST in the XEP. And you can specify a message when leaving a MUC.
2010-10-17Remove deprecation warningsFlorent Le Coz
Remove all the deprecation warnings by using only boundjid. And also fix a indentation error.
2010-10-17Anonymous authenticationFlorent Le Coz
Implemented ANONYMOUS authentication on the ClientXMPP class. To use it, you just need to provide a domain (e.g 'anon.example.com') with an optional resource (e.g 'anon.example.com/resource') as the JID, with no password. The JID class has been improved to accept domains as fulljid. You can test this with echo_client.py python echo_client.py -j anon.louiz.org/ # anonymous with a resource # defined by the server python echo_client.py -j anon.louiz.org/resource # anonymous with given # resource The "normal" authentication method still works exactly like before.
2010-10-14fixed JID to accept server/domain/host as the sameNathan Fritz
2010-10-14fixed stream test not disconnecting cleanlyNathan Fritz
2010-10-14don't import statemachineNathan Fritz
2010-10-14fixed stream testsNathan Fritz
2010-10-14deprecated jid, fulljid, server, user, resource properties and added ↵Nathan Fritz
boundjid JID
2010-10-14fixed socket name collision in xmlstream.py and fixed python 3.x compatibilityNathan Fritz
2010-10-13disconnect cleanlyNathan Fritz
2010-10-13new state machine in placeNathan Fritz
2010-10-07SleekTest may now run against a live stream.Lance Stout
Moved SleekTest to sleekxmpp.test package. Corrected error in XML compare method. Added TestLiveSocket to run stream tests against live streams. Modified XMLStream to work with TestLiveSocket.
2010-10-07Corrected test errors.Lance Stout
There was a bug in the XML compare method.
2010-10-07Removed debug log statement.Lance Stout
2010-10-07Unit test reorganization.Lance Stout
Moved SleekTest to sleekxmpp.test. Organized test suites by their focus. - Suites focused on testing stanza objects are named test_stanza_X.py - Suites focused on testing stream behavior are name test_stream_X.py
2010-10-07Moved the pubsub tester to conn_tests.Lance Stout
2010-10-07Fixed dealing with deleting handlers.Lance Stout
The call to .index() may raise a ValueError if the item is not in the list. So both the .index() and .pop() calls should be in the try block.
2010-10-06Updated method names.Lance Stout
Using underscored names where possible.
2010-10-06More PEP8 compliance cleanups.Lance Stout
Cleaned up the atom entry stanza.
2010-10-06Cleaned up the Scheduler.Lance Stout
2010-10-06Fixed whitespace issue.Lance Stout
2010-10-06Moved ClientXMPP to clientxmpp.py.Lance Stout
Cleaned up the __init__.py files.
2010-10-06Missed a few docstrings.Lance Stout