summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
2012-03-16Expand support for XEP-0184.Lance Stout
New stanza interfaces: Adding a message receipt request: msg['request_receipt'] = True Adding a message receipt: msg['receipt'] = '123-24234' Retrieving the acked message ID: ack_id = msg['receipt'] print(ack_id) '123-24234' New configuration options: auto_ack: If True, auto reply to messages that request receipts. Defaults to True auto_request: If True, auto add receipt requests to appropriate outgoing messages. Defaults to False
2012-03-12Move XEP-0172 to new system.Lance Stout
2012-03-12Move XEP-0118 to the new system.Lance Stout
2012-03-12Move XEP-0108 to new system.Lance Stout
2012-03-12Move XEP-0107 to new system.Lance Stout
2012-03-12Move XEP-0080 to the new system.Lance Stout
2012-03-12Move XEP-0163 to new system.Lance Stout
Also includes new register_pep() method for doing the necessary stanza and disco registration, plus pubsub node event mapping.
2012-03-12Cleanup plugin import logic.Lance Stout
Checking for a 'xep' or 'rfc' attribute is more reliable for detecting an old style plugin than 'name'.
2012-03-12Enable using post_init() to resolve circular dependencies.Lance Stout
We really shouldn't have any. However, we may later introduce one with XEP-0030 and XEP-0059.
2012-03-12Move XEP-0115 to the new system.Lance Stout
2012-03-12Remove extra logging statement, add backward compatible references.Lance Stout
2012-03-12Handle loading plugins on demand.Lance Stout
Plugins that are referenced as dependencies, but have not been registered now will be imported. Newer plugins should register themselves automatically, but older style plugins will be explicitly registered after import.
2012-03-12Ensure the adhoc command items node exists.Lance Stout
If the plugin is loaded and no commands are defined, we can at least return a proper empty response instead of an item-not-found error.
2012-03-12Move XEP-0249 to the new system.Lance Stout
2012-03-12Move XEP-0224 to new system.Lance Stout
2012-03-12Move XEP-0203 to new system.Lance Stout
2012-03-12Move XEP-0202 to new system.Lance Stout
2012-03-12Move XEP-0199 to new system.Lance Stout
2012-03-12Move XEP-0184 to new system.Lance Stout
2012-03-12Move XEP-0128 to new system.Lance Stout
2012-03-12Move XEP-0092 to new system.Lance Stout
2012-03-12Move XEP-0086 to new system.Lance Stout
2012-03-12Move XEP-0085 to the new system.Lance Stout
Optimized handlers so that only one is needed.
2012-03-12Move XEP-0082 to new system.Lance Stout
2012-03-12Move XEP-0078 to new system.Lance Stout
2012-03-12Move XEP-0045 to new system.Lance Stout
Still needs updating to the new format.
2012-03-12Move XEP-0033 to new system.Lance Stout
Still needs updating to the new format.
2012-03-12Move XEP-0012 to new system.Lance Stout
Still needs to update to the current plugin format though.
2012-03-12Move XEP-0009 to new system.Lance Stout
2012-03-12Move XEP-0077 to the new system.Lance Stout
2012-03-12Move XEP-0066 to new system.Lance Stout
2012-03-12Move XEP-0060 to new system.Lance Stout
2012-03-12Move XEP-0050 to new system.Lance Stout
2012-03-12Move XEP-0047 to new system.Lance Stout
2012-03-12Move XEP-0004 to new system.Lance Stout
2012-03-12Tidy up disco plugin.Lance Stout
2012-03-12Moving backwards compatibility shims to __init__ files.Lance Stout
2012-03-12Update XEP-0030 and XEP-0059 to new system.Lance Stout
2012-03-12Introduce new plugin system.Lance Stout
The new system is backward compatible and will load older style plugins. The new plugin framework allows plugins to track their dependencies, and will auto-enable plugins as needed. Dependencies are tracked via a class-level set named `dependencies` in each plugin. Plugin names are no longer tightly coupled with the plugin class name, Pso EP8 style class names may be used. Disabling plugins is now allowed, but ensuring proper cleanup is left to the plugin implementation. The use of a `post_init()` method is no longer needed for new style plugins, but plugins following the old style will still require a `post_init()` method.
2012-03-11Update plugin list and use correct names.Lance Stout
2012-03-11Ensure that result stanzas are returned, as expected.Lance Stout
2012-03-11Add support for XEP-0108: User Activity.Lance Stout
2012-03-11Expand support of XEP-0172 (user nickname) to include PEP.Lance Stout
2012-03-10Add support for XEP-0107, User Mood.Lance Stout
2012-03-10Fix plugin loading logs for XEP-0118 and XEP-0163.Lance Stout
2012-03-10Add support for XEP-0080.Lance Stout
2012-03-10Resolve plugin dependency chains with XEP-0115.Lance Stout
The post_init() system can only reliably handle a single layer of dependencies between plugins, but PEP plugins with XEP-0115 exceed that limit and plugins can be post_init'ed out of order. To resolve this, we will special case XEP-0115 to be post_init'ed first until the new plugin system with dependency tracking is stable.
2012-03-10Add user tune feature to disco, not just notifications.Lance Stout
2012-03-10Ensure post init works for XEP-0118.Lance Stout
2012-03-10Add support for XEP-0118.Lance Stout
See examples/user_tune.py for a demonstration using the currently playing song in iTunes.