summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
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-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-03Added XEP-0066: Out-of-Band DataLance Stout
2011-06-10old xep_0050 plugin is now loadableNathan Fritz
2011-06-08Added session_end event and some docs.Lance Stout
For now, session_end is the same as disconnected, but once support is added later for stream management, the two events will become distinct. Plugins should add handlers for session_end for cleaning any session state.
2011-06-08Fix XEP-0050 issue with Unicode string type checking.Lance Stout
2011-04-14Pubsub/Unsubscribe was not getting registeredNathan Fritz
2011-03-24Added new implementation for XEP-0086.Lance Stout
2011-03-24Added new XEP-0050 implementation.Lance Stout
Backward incompatibility alert! Please see examples/adhoc_provider.py for how to use the new plugin implementation, or the test examples in the files tests/test_stream_xep_0050.py and tests/test_stanza_xep_0050.py. Major changes: - May now have zero-step commands. Useful if a command is intended to be a dynamic status report that doesn't require any user input. - May use payloads other than data forms, such as a completely custom stanza type. - May include multiple payload items, such as multiple data forms, or a form and a custom stanza type. - Includes a command user API for calling adhoc commands on remote agents and managing the workflow. - Added support for note elements. Todo: - Add prev action support. You may use register_plugin('old_0050') to continue using the previous XEP-0050 implementation.
2011-03-23Fix typo.Lance Stout
2011-03-23Cleaned XEP-0249 plugin, added tests.Lance Stout
2011-03-22Updated XEP-0128 plugin to work with the new XEP-0030 plugin.Lance Stout
Required fixing a few bugs in StanzaBase related to iterable substanzas.
2011-03-18Fix error in stanza handler registration in XEP-0092.Lance Stout
2011-03-16Avoid infinite loop on version resultFlorent Le Coz
We need to check if type="get". otherwise we will send our version when we will receive the version of the remote entity, and thus going in an infinite loop.
2011-02-24Remove the occasional warning about XEP-0059 not loaded.Lance Stout
2011-02-24Add tests for XEP-0085, fix some bugs.Lance Stout
2011-02-24Updated the XEP-0085 plugin.Lance Stout
Can now be used as so: >>> msg['chat_state'] '' >>> msg <message /> >>> msg['chat_state'] = 'paused' >>> msg <message> <paused xmlns="http://jabber.org/protocol/chatstates" /> </message> >>> msg['chat_state'] 'paused' >>> del msg['chat_state'] >>> msg <message />
2011-02-15fixes to ping: auto-ping off by default, fixed ping-time of zero bug, fixed ↵Nathan Fritz
class name mismatch
2011-02-14Remap old method names in a better way.Lance Stout
This should prevent some reference cycles that will cause garbage collection issues.
2011-02-11Updated XEP-0199 plugin.Lance Stout
Now has docs and uses the new plugin format.
2011-02-10added option to return false on ping error, added ping exampleNathan Fritz
2011-02-09Fix same error for get_info default behaviour.Lance Stout
2011-02-09Fix get_items default behaviour.Lance Stout
2011-02-09Replace the print statement by a log.debug callFlorent Le Coz
This print syntax is deprecated in python3, so the plugin was working only with python2
2011-02-09Fix the xep_0009 import (no more relatives)Florent Le Coz
Also, remove trailing spaces in all files of this plugin
2011-02-07This fixes the configuration stuff, because type is form not submit with ↵Stefan de Konink
setNodeConfiguration.
2011-02-07Fixed failing tests from new XEP-0009 pluginLance Stout
2011-02-05fixed mergeNathan Fritz
2011-01-31Fixes for XEP-0202Lance Stout
2011-01-27xep_0045: fix the 'to' value when configuring roomFlorent Le Coz
2011-01-26Cleanup for stanzabase.Lance Stout
Use stanza.values instead of _get/set_stanza_values where used. ElementBase stanzas can now use .tag May use class method tag_name() for stanza classes. ElementBase now has .clear() method.
2011-01-23My hunch is that these should also be updated.Stefan de Konink
2011-01-19Fix disco add_item.Lance Stout
If no JID is specified for the item, use xmpp.boundjid.full.
2011-01-19Fix error in disco add_item.Lance Stout
None values were not being treated properly.
2011-01-15Fix how disco plugin looks up info and items for clients.Lance Stout
2011-01-13Fixed 'nil' bug in unmarshalling.Dann Martens
2011-01-13Removed binding XML namespace experiments.Dann Martens
2011-01-13Introduced new XEP-0009 into develop.Dann Martens
2011-01-12Fix setup.py and old_0004.py typo bugs.Lance Stout
2011-01-11added plugin for xep-0249Te-je Rodgers
2011-01-09Need to run post_init properly.Lance Stout
2011-01-08Update the XEP-0092 plugin to the new style.Lance Stout
2011-01-09Allow XEP 0092 to send os informationFlorent Le Coz
Doesn't send these information by default, only if provided in the config dict (as the 'os' key)