summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-17Merge branch 'roster' of github.com:fritzy/SleekXMPP into rosterLance Stout
Conflicts: sleekxmpp/basexmpp.py sleekxmpp/roster.py sleekxmpp/test/sleektest.py tests/test_stream_presence.py tests/test_stream_roster.py
2010-11-17More cleanup.Lance Stout
2010-11-17More docs!Lance Stout
2010-11-17Added more docs.Lance Stout
2010-11-17Added docs for main Roster class.Lance Stout
2010-11-17Cleaned up names.Lance Stout
2010-11-17First pass at integrating the new roster manager.Lance Stout
2010-11-16scheduler no longer waits for the next event before exitingsleek-1.0-Beta41.0-Beta4Nathan Fritz
2010-11-16xep_0199 ping now uses scheduler instead of dedicated threadsleek-1.0-Beta31.0-Beta3Nathan Fritz
2010-11-10Add a groupchat_subject eventFlorent Le Coz
Use this event to get notified of the subject changes (or to get the subject of the room when joining one)
2010-11-09Doesn't fail if host has NO SRV recordFlorent Le Coz
Just catch an other exception type coming from the dns resolver that could be raised with hosts like "anon.example.com" which just don't have any SRV record.
2010-11-06Logging no longer uses root logger.Lance Stout
Each module should now log into its own logger.
2010-11-05Simplified SleekTest.Lance Stout
* check_stanza does not require stanza_class parameter. Introspection! * check_message, check_iq, and check_presence removed -- use check instead. * stream_send_stanza, stream_send_message, stream_send_iq, and stream_send_presence removed -- use send instead. * Use recv instead of recv_message, recv_presence, etc. * check_jid instead of check_JID * stream_start may accept multi=True to return a new SleekTest instance for testing multiple streams at once.
2010-11-04Fix bug introduced while fixing another bug.Lance Stout
Threaded event handlers now handle exceptions again.
2010-11-04fixed indent errorsNathan Fritz
2010-11-03Fixes for XEP-0199 plugin.Lance Stout
Quick fixes to get the XEP-0199 plugin working until a proper cleanup is done.
2010-11-03Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2010-11-03Catch exceptions for direct events.Lance Stout
Events triggered with direct=True will have exceptions caught. Note that all event handlers in a direct event will currently run in the same thread.
2010-11-03Updated namespaced used in the XEP-0199 plugin.Lance Stout
2010-10-31Fix bug in XEP-0030 plugin.Lance Stout
xep_0030 still referenced event_handlers. Added the method event_handled which will return the number of registered handlers for an event to resolve the issue.
2010-10-28Added try/except for setting signal handlers.Lance Stout
Setting signal handlers from inside a thread is not supported in Python, but some applications need to run Sleek from a child thread. SleekXMPP applications that run inside a child thread will NOT be able to detect SIGHUP or SIGTERM events. Those must be caught and managed by the main program.
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-27More cleanup.Lance Stout
2010-10-27More docs!Lance Stout
2010-10-27Added more docs.Lance Stout
2010-10-27Added docs for main Roster class.Lance Stout
2010-10-27Cleaned up names.Lance Stout
2010-10-26First pass at integrating the new roster manager.Lance Stout
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-25Added more presence stream tests.Lance Stout
Tests auto_authorize=False, and got_online.
2010-10-25Fixed bug in presence subscription handling.Lance Stout
Subscription requests and responses were not setting the correct 'to' attribute.
2010-10-24Added stream tests for presence events.Lance Stout
First batch of tests, currently focuses on the got_offline event.
2010-10-24Added test for error stanzas.Lance Stout
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-24Added stream tests for rosters.Lance Stout
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