Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-08-19 | Make 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-18 | Route all unhandled exceptions through XMLStream.exception. | Lance Stout | |
Or through an equivalent override. | |||
2011-08-18 | PEP8 edits | Lance Stout | |
2011-08-18 | Remove extra, unhelpful presence debug log. | Lance Stout | |
2011-08-18 | Up the timeout to 30sec instead of 10sec. | Lance Stout | |
2011-08-18 | added inline documentation for new dns methods | Nathan Fritz | |
2011-08-18 | fixed manual address definition | Nathan Fritz | |
2011-08-18 | Fix exceptions for Python3 | Lance Stout | |
2011-08-18 | Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop | Nathan Fritz | |
2011-08-18 | DNS is now properly checked and different answers are tried for each ↵ | Nathan Fritz | |
reconnect until exhausted | |||
2011-08-18 | Add 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-17 | Update plugins that use Iq stanzas to work with new exceptions. | Lance Stout | |
2011-08-17 | Return '' instead of None from form fields with no values. | Lance Stout | |
2011-08-13 | I'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-13 | Add form.field back in for backwards compatibility. | Lance Stout | |
2011-08-13 | Add 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-13 | Update 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-12 | Reduce the maximum delay between connection retries to 10min. | Lance Stout | |
2011-08-12 | Merge branch 'develop' into roster | Lance Stout | |
Conflicts: setup.py sleekxmpp/clientxmpp.py | |||
2011-08-12 | Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop | Nathan Fritz | |
2011-08-12 | fixed indenting and merged in exceptions branch | Nathan Fritz | |
2011-08-12 | Merge branch 'exceptions' into develop | Nathan Fritz | |
2011-08-12 | updated pubsub plugin to use stanzas | Nathan Fritz | |
2011-08-11 | Reorganize 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-10 | Don't include ping stanza in the ping result. | Lance Stout | |
2011-08-09 | Enable forcing a specififc SASL mech: | Lance Stout | |
xmpp = ClientXMPP(jid, password, { 'feature_mechanisms': {'use_mech':'PLAIN'}}) | |||
2011-08-06 | Fix 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-06 | Save the stream ID when the stream starts. | Lance Stout | |
2011-08-06 | If 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-05 | Merge branch 'master' into develop | Lance Stout | |
Adds hotfix for ANONYMOUS mech support. Conflicts: sleekxmpp/__init__.py | |||
2011-08-05 | Hotfix for ANONYMOUS mech support.sleek-1.0-Beta6.11.0-Beta6.1 | Lance Stout | |
Updates version to 1.0-Beta6.1 | |||
2011-08-05 | The next release will be 1.0 RC1 | Lance Stout | |
2011-08-04 | Cosmetic PEP8 fixes. | Lance Stout | |
2011-08-04 | Fix Python3 issue with dict.has_key() | Lance Stout | |
2011-08-04 | Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop | Lance Stout | |
2011-08-04 | added block as process option and updated documentation. added typical use ↵ | Nathan Fritz | |
example to ClientXMPP. | |||
2011-08-04 | Fix imports using __all__. | Lance Stout | |
2011-08-04 | Fix Python3 bug. | Lance Stout | |
Use int() instead of long() | |||
2011-08-04 | Actually, we can work around needing dateutil. | Lance Stout | |
If dateutil is present, we'll use that. If not, we'll use some regexes from the fixed_datetime module. | |||
2011-08-04 | Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop | Lance Stout | |
2011-08-04 | Merge branch 'develop' into roster | Lance Stout | |
Conflicts: setup.py | |||
2011-08-04 | Clean up and unify tostring once and for all. | Lance Stout | |
Packaging for Python3 just got easier. | |||
2011-08-04 | Fix imports for xep_0060 | Lance Stout | |
2011-08-04 | Sadly, dateutil is not actually part of the standard lib. | Lance Stout | |
Thus, using the XEP-0082 and XEP-0202 introduces a dependency on the dateutil package (installable using pip install python-dateutil). Maybe we'll be able to rework how these plugins work to avoid needing dateutil, but for now this will have to do. | |||
2011-08-03 | the great xep_0060 re-organization in preperation for rewrite | Nathan Fritz | |
2011-08-03 | Merge branch 'stream_features' into develop | Lance Stout | |
2011-08-03 | started transition to xep_0060 rewrite | Nathan Fritz | |
2011-08-03 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-08-03 | Make sure to keep David Cridland's license and copyright. | Lance Stout | |
2011-08-03 | Merge branch 'develop' into stream_features | Lance Stout | |