Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2011-08-03 | Integrate a modified version of Dave Cridland's Suelta SASL library. | Lance Stout | |
2011-07-27 | Merge branch 'develop' into exceptions | Lance Stout | |
2011-07-27 | Merge branch 'develop' into roster | Lance Stout | |
2011-07-27 | Add support for HTTP Proxy connections. | Lance Stout | |
2011-07-27 | Fix error with DNS selection. | Lance Stout | |
Missed a renaming of 'priority' to 'item' | |||
2011-07-16 | Do a weighted choice among the highest prioritized items based on weight ↵ | Kim Alvefur | |
instead of a weighted choice based on priorities. | |||
2011-07-05 | Added support for custom OOB transfer handlers. | Lance Stout | |
Accepting download requests can be done using: self['xep_0066'].register_url_handler(handler=self.oob_download) # Add jid=... to specify a handler for a particular JID for a # componenent. def oob_download(self, iq): if iq['from'] not in self.custom_oob_whitelist: raise XMPPError('not-authorized') try: data = urllib2.urlopen(iq['oob_transfer']['url']) file = open('oob_download', 'w+') file.write(data.read()) file.close() data.close() except: raise XMPPError('item-not-found') | |||
2011-07-04 | Added wait parameter to disconnect. | Lance Stout | |
If wait=True, then the disconnect call will block until the send queue has emptied. WARNING: Using wait=True when more stanzas are being added to the queue than can be processed such that the queue is never empty will cause the disconnect call to block indefinitely without actually disconnecting. | |||
2011-07-03 | Add logging to XEP-0066. | Lance Stout | |
2011-07-03 | Added XEP-0224 Attention plugin. | Lance Stout | |
2011-07-03 | Update version number to beta6. | Lance Stout | |
XEP-0092 now uses sleekxmpp.__version__ as a default version number. |