summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-08-31Added pubsub error stanza.Lance Stout
iq['error']['pubsub']['condition'] iq['error']['pubsub']['unsupported']
2011-08-31Create a tox config for automating tests for different Python versions.Lance Stout
To use: sudo pip install tox tox
2011-08-30Add tests for pubsub unsubscribe.Lance Stout
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30fixed form accessors in pubsub stanzasNathan Fritz
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30fixed test further... but now I have an out of order problemNathan Fritz
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-30added publish-options elementNathan Fritz
2011-08-30Get/set pubsub subscription options.Lance Stout
2011-08-30Test pubsub subscribe.Lance Stout
2011-08-30Test and fix XEP-0060 delete_node()Lance Stout
2011-08-30Fix typoLance Stout
2011-08-29Finish up all major actions in the current XEP-0060.Lance Stout
Still need tests and docs.
2011-08-29Stub out missing functionality for pubsubLance Stout
2011-08-26The ifrom parameter doesn't need special treatment.Lance Stout
2011-08-26Add docs + extended Iq send arguments to pubsub methods.Lance Stout
2011-08-26Fix typos in XEP-0060, start of docs and tests.Lance Stout
2011-08-25Simplify the main process loop.Lance Stout
2011-08-25Make the timeout for event queue checks configurable.Lance Stout
Now defaults xmlstream.WAIT_TIMEOUT, and settable with self.wait_timeout. The new default timeout is 1sec instead of 5sec.
2011-08-25Added XMLStream.configure_dns.Lance Stout
This can be overridden to do custom configuration for the DNS resolver, or any other DNS related tasks such as calling the system's res_init().
2011-08-25Session timeout now defaults to 45sec, but can be adjusted.Lance Stout
e.g. self.session_timeout = 15 It is also managed by XMLStream instead of ClientXMPP now.
2011-08-25Handle sending stanzas in chunks if the socket has poor performance.Lance Stout
2011-08-25Shutdown socket before closing.Lance Stout
2011-08-25Update scheduler with locks and ability to remove tasks.Lance Stout
Scheduled tasks must have a unique name.
2011-08-25Add overridable method self.configure_socket().Lance Stout
Allows for setting app specific socket timeouts and other socket options.
2011-08-25Fix tests in Python3.Lance Stout
2011-08-24Fix handling of DNS exceptions.Lance Stout
2011-08-24Clean and get setup.py working once and for all.Lance Stout
Fixes: README.rst now included Double line spacing removed from long_description Source package now includes tests, examples, etc using Manifest.in README.rst typos fixed Added README.rst section on installing dnspython for Python3 Version bumped to RC2 Version is now taken from sleekxmpp.version.__version__ without having to pull in the entire library Added 'test' command for setup.py Simplified testall.py Docs build cleanly from source package after installation
2011-08-23Remove extra debugging code that made it into a commit.sleek-1.0-RC11.0-RC1Lance Stout
2011-08-19Make Iq exceptions more discoverable and simpler to use.Lance Stout
IqError and IqTimeout now extend XMPPError, so if you don't care about the difference, you can use: try: self.do_something_with_iqs() except XMPPError: # Error? Timeout? I don't care! pass If you do need to distinguish between timeouts and error replies, you can still continue to use: try: self.do_somethin_with_iqs() except IqError as err: pass except IqTimeout: pass If you don't catch any Iq errors and you're processing a stanza then an error response will be sent, just like normal if you raise XMPPError or any other exception, except that the error messages will be generic to prevent leaking too much information.
2011-08-18Update the READMELance Stout
Now includes how to generate the docs, run tests, and the basic boilerplate for Sleek based projects.
2011-08-18Route all unhandled exceptions through XMLStream.exception.Lance Stout
Or through an equivalent override.
2011-08-18PEP8 editsLance Stout
2011-08-18Remove extra, unhelpful presence debug log.Lance Stout
2011-08-18Up the timeout to 30sec instead of 10sec.Lance Stout
2011-08-18Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-18Update examples to work with Python3 (raw_input vs input)Lance Stout
2011-08-18Update README (renamed to README.rst so Github will render it)Lance Stout
2011-08-18added inline documentation for new dns methodsNathan Fritz
2011-08-18fixed manual address definitionNathan Fritz
2011-08-18Fix exceptions for Python3Lance Stout
2011-08-18Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-18DNS is now properly checked and different answers are tried for each ↵Nathan Fritz
reconnect until exhausted
2011-08-18Add an example for dumping the roster to the command line.Lance Stout
2011-08-18Add some convenience methods to rosters.Lance Stout
Can now use len(self.client_roster) to get the number of JIDs in the roster, and self.client_roster.groups() to get a dict of groups and the JIDs in those groups.
2011-08-17Update plugins that use Iq stanzas to work with new exceptions.Lance Stout
2011-08-17Return '' instead of None from form fields with no values.Lance Stout
2011-08-17Add guide for sending a message and then disconnecting.Lance Stout