summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2011-08-13More documentation!Lance Stout
Finished the echo bot quickstart. Added placeholders for other guides we need.
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-13The todo1.0 list isn't needed any longer :)Lance Stout
The last few plugins that were in the list will be cleaned up in 1.1 or 1.2 - XEP-0012, XEP-0009, XEP-0033, XEP-0045, and gmail_notify.
2011-08-13Fix typo.Lance Stout
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-12Include new XEP-0004 directories in setup.pyLance Stout
2011-08-12Start of docs for 1.0Lance Stout
2011-08-12Update .gitignoreLance Stout
2011-08-12Reduce the maximum delay between connection retries to 10min.Lance Stout
2011-08-12Missing commas in setup.pyLance 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
2011-08-12updated pubsub plugin to use stanzasNathan Fritz
2011-08-11Reorganize XEP-0004.Lance Stout
Changes: May now use underscored method names form.field is replaced by form['fields'] form.get_fields no longer accepts use_dict parameter, it always returns an OrderedDict now form.set_fields will accept either an OrderedDict, or a list of (var, dict) tuples as before. Setting the form type to 'submit' will remove extra meta data from the form fields, leaving just the 'var' and 'value' Setting the form type to 'cancel' will remove all fields.
2011-08-10Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-10added send_client exampleNathan Fritz
2011-08-10Don't include ping stanza in the ping result.Lance Stout
2011-08-09Enable forcing a specififc SASL mech:Lance Stout
xmpp = ClientXMPP(jid, password, { 'feature_mechanisms': {'use_mech':'PLAIN'}})
2011-08-06Fix XEP-0078 using the new stream feature workflow.Lance Stout
Honestly, this is mainly just a demo/proof of concept that we can handle dependencies and ordering issues with stream features. DON'T use XEP-0078 if you are able to use the normal SASL method, which should be the case unless you are dealing with a very old XMPP server implementation.
2011-08-06Save the stream ID when the stream starts.Lance Stout
2011-08-06If no config for a plugin is given, try using self.plugin_config.Lance Stout
Sleek loads a few plugins by default, which made it difficult to configure or even disable them. Now, if a plugin is registered without any configuration, then sleek will try finding a configuration in self.plugin_config.
2011-08-05Merge branch 'master' into developLance Stout
Adds hotfix for ANONYMOUS mech support. Conflicts: sleekxmpp/__init__.py
2011-08-05Hotfix for ANONYMOUS mech support.sleek-1.0-Beta6.11.0-Beta6.1Lance Stout
Updates version to 1.0-Beta6.1
2011-08-05The next release will be 1.0 RC1Lance Stout