slixmpp/sleekxmpp/plugins
Lance Stout 1d22a04721 Added support for custom OOB transfer handlers.
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-05 09:22:17 -07:00
..
xep_0009 Replace the print statement by a log.debug call 2011-02-09 10:02:14 +08:00
xep_0030 Updated XEP-0128 plugin to work with the new XEP-0030 plugin. 2011-03-22 20:42:43 -04:00
xep_0050 Fix XEP-0050 issue with Unicode string type checking. 2011-06-08 10:00:28 -07:00
xep_0059 Need to run post_init properly. 2011-01-09 10:03:32 -05:00
xep_0066 Added support for custom OOB transfer handlers. 2011-07-05 09:22:17 -07:00
xep_0085 Add tests for XEP-0085, fix some bugs. 2011-02-24 14:15:02 -05:00
xep_0086 Added new implementation for XEP-0086. 2011-03-24 13:14:26 -04:00
xep_0092 Update version number to beta6. 2011-07-03 15:47:12 -07:00
xep_0128 Updated XEP-0128 plugin to work with the new XEP-0030 plugin. 2011-03-22 20:42:43 -04:00
xep_0199 fixes to ping: auto-ping off by default, fixed ping-time of zero bug, fixed class name mismatch 2011-02-15 15:24:58 -08:00
xep_0202 Let XEP-0202 specify the local timezone offset in the config. 2011-07-03 15:41:22 -07:00
xep_0203 Added XEP-0203 Delayed Delivery plugin. 2011-07-03 12:43:34 -07:00
xep_0224 Added XEP-0224 Attention plugin. 2011-07-03 20:37:21 -07:00
xep_0249 Fix typo. 2011-03-23 19:00:20 -04:00
__init__.py Added XEP-0224 Attention plugin. 2011-07-03 20:37:21 -07:00
base.py Added session_end event and some docs. 2011-06-08 10:24:25 -07:00
gmail_notify.py Use boundjid in plugins instead of the deprecated accessors. 2010-12-16 15:38:00 -05:00
jobs.py Some Python 3.1+ compatibility fixes. 2010-12-16 15:29:17 -05:00
old_0004.py Fix setup.py and old_0004.py typo bugs. 2011-01-12 12:22:48 -05:00
old_0009.py Introduced new XEP-0009 into develop. 2011-01-13 08:40:53 +01:00
old_0050.py old xep_0050 plugin is now loadable 2011-06-10 04:14:01 +00:00
stanza_pubsub.py Pubsub/Unsubscribe was not getting registered 2011-04-14 17:35:20 -07:00
xep_0004.py This fixes the configuration stuff, because type is form not submit with setNodeConfiguration. 2011-02-07 23:55:46 +08:00
xep_0012.py Logging no longer uses root logger. 2010-11-06 01:28:59 -04:00
xep_0033.py Fixed typo in XEP-0033 plugin. 2010-10-01 21:25:27 -04:00
xep_0045.py xep_0045: fix the 'to' value when configuring room 2011-01-27 09:34:32 +08:00
xep_0060.py Use boundjid in plugins instead of the deprecated accessors. 2010-12-16 15:38:00 -05:00
xep_0078.py My hunch is that these should also be updated. 2011-01-23 02:08:29 +08:00
xep_0082.py Fix some bugs in time handling. 2011-07-03 13:41:15 -07:00