summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
2011-08-31Fix requesting pubsub node configuration, and add tests.Lance Stout
- <default /> doesn't have a type attribute in the XEP - <configure /> isn't used anymore for requesting default configuration
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-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 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-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-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-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-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 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-13I've seen people complain about Sleek taking so long to disconnect.Lance Stout
Added logging to say that we're waiting for the server to end the stream from its end.
2011-08-13Add form.field back in for backwards compatibility.Lance Stout
2011-08-13Add tests for setting a form's type to 'submit' or 'cancel'.Lance Stout
Form fields now remember their current type if the type is deleted. This allows for fields to properly format their values if set after the form has been changed to the 'submit' type.
2011-08-13Update XEP-0050 to use new IQ exceptions.Lance Stout
IqError is now caught and forwarded to the command error handler referenced in the session. Errors are now caught and processed by the session's error handler whether or not the results Iq stanza includes the <command> substanza. Added the option for blocking command calls. The blocking option is set during start_command with block=True. Subsequent command flow methods use session['block'] to determine their blocking behaviour. If you use blocking commands, then you will need to wrap your command calls in a try/except block for IqTimeout exceptions.
2011-08-12Reduce the maximum delay between connection retries to 10min.Lance Stout
2011-08-12Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py sleekxmpp/clientxmpp.py
2011-08-12Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-12fixed indenting and merged in exceptions branchNathan Fritz
2011-08-12Merge branch 'exceptions' into developNathan Fritz