summaryrefslogtreecommitdiff
path: root/sleekxmpp
AgeCommit message (Collapse)Author
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-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
2011-08-04Cosmetic PEP8 fixes.Lance Stout
2011-08-04Fix Python3 issue with dict.has_key()Lance Stout
2011-08-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-04added block as process option and updated documentation. added typical use ↵Nathan Fritz
example to ClientXMPP.
2011-08-04Fix imports using __all__.Lance Stout
2011-08-04Fix Python3 bug.Lance Stout
Use int() instead of long()
2011-08-04Actually, 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-04Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-04Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py
2011-08-04Clean up and unify tostring once and for all.Lance Stout
Packaging for Python3 just got easier.
2011-08-04Fix imports for xep_0060Lance Stout
2011-08-04Sadly, 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-03the great xep_0060 re-organization in preperation for rewriteNathan Fritz
2011-08-03Merge branch 'stream_features' into developLance Stout
2011-08-03started transition to xep_0060 rewriteNathan Fritz
2011-08-03Merge branch 'develop' into stream_featuresLance Stout
2011-08-03Make sure to keep David Cridland's license and copyright.Lance Stout
2011-08-03Merge branch 'develop' into stream_featuresLance Stout
2011-08-03Integrate a modified version of Dave Cridland's Suelta SASL library.Lance Stout
2011-07-27Merge branch 'develop' into exceptionsLance Stout
2011-07-27Merge branch 'develop' into rosterLance Stout
2011-07-27Add support for HTTP Proxy connections.Lance Stout
2011-07-27Fix error with DNS selection.Lance Stout
Missed a renaming of 'priority' to 'item'
2011-07-16Do a weighted choice among the highest prioritized items based on weight ↵Kim Alvefur
instead of a weighted choice based on priorities.
2011-07-05Added 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-04Added 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-03Add logging to XEP-0066.Lance Stout
2011-07-03Added XEP-0224 Attention plugin.Lance Stout
2011-07-03Update version number to beta6.Lance Stout
XEP-0092 now uses sleekxmpp.__version__ as a default version number.
2011-07-03Let XEP-0202 specify the local timezone offset in the config.Lance Stout
2011-07-03Updated XEP-0202 plugin to new format and use XEP-0082.Lance Stout
2011-07-03Fix some bugs in time handling.Lance Stout
Namely, minutes and seconds were reversed.
2011-07-03Added XEP-0203 Delayed Delivery plugin.Lance Stout
2011-07-03Added XEP-0082 plugin.Lance Stout
This should make things much easier for any stanza that uses timestamps.
2011-07-03Merge branch 'develop' into exceptionsLance Stout
2011-07-03Merge branch 'develop' into rosterLance Stout
2011-07-03Merge branch 'develop' into stream_featuresLance Stout
2011-07-03Added XEP-0066: Out-of-Band DataLance Stout
2011-07-02SASL failure event now includes the failure stanza.Lance Stout
Broke SASL stanzas into separate files. Fixed typo in feature_bind.
2011-07-02Fix ordering bug when retrieving an error condition.Lance Stout