summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
AgeCommit message (Collapse)Author
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.
2012-03-10Fix XEP-0163's updating of caps.Lance Stout
2012-03-10Only auto-broadcast caps changes after a session has started.Lance Stout
2012-03-10Add XEP-0163 plugin.Lance Stout
This is just a very simple wrapper for XEP-0030, XEP-0115, and XEP-0060 for adding interests to caps information, and publishing.
2012-03-10Add support for pubsub notification events.Lance Stout
Publishes, retractions, purges, and deletions now raise the events: - pubsub_publish - pubsub_retract - pubsub_purge - pubsub_delete In addition, custom events may be raised based on the node that generated the notification. For example: xmpp['xep_0060'].map_node_event('http://jabber.org/protocol/tune', 'user_tune') will allow for using the events: - user_tune_publish - user_tune_retract - user_tune_purge - user_tune_delete
2012-03-10Correct missing pubsub#event stanzas and interfaces.Lance Stout
2012-02-19Update XEP-0085 plugin to work with both ElementTree and cElementTreeLance Stout
Each state element must have its own stanza class now. A stanza class with an empty name field causes errors in ElementTree, even though it works fine with cElementTree.
2012-02-19Centralize references to ET to make switching implementations easier.Lance Stout
2012-02-18Fix instances of using undefined variables.Lance Stout
2012-02-17Fix pyflakes complaints for XEP-0115 plugin.Lance Stout
2012-02-17Updated XEP-0009 to handle unicode stringsCorrel Roush
2012-02-03Add more XEP-0047 tests.Lance Stout
2012-02-03Fix XEP-0184 importsLance Stout
2012-02-03Fix infinite callback loop.Lance Stout
2012-02-03Merge remote-tracking branch 'whooo/master' into developLance Stout
2012-02-03Added fritzy to the copyright for xep_0184Erik Larsson
2012-02-02Fix data stanza based on test results.Lance Stout
2012-02-02Initial, mostly working XEP-0047 plugin.Lance Stout
This is inspired by the version from macdiesel and tomstrummer, but their version was heavily linked with XEP-0096 and focused solely on file transfer. This version is a more generic implementation.
2012-02-02Added plugin for XEP-0184Erik Larsson
2012-01-19Add basic start for a client side XEP-0077 plugin.Lance Stout
2012-01-18Fix detecting end of result set paging.Lance Stout
2012-01-15Tidy up and update the plugin __init__ file.Lance Stout
2012-01-14Fix xep_0030 reference warning.Lance Stout
2012-01-11update_caps() can now do presence broadcasting.Lance Stout
As part of adding this feature: - fixed bug in update_caps() not assigning verstrings - fixed xep_0004 typo - can now use None as a roster key which will map to boundjid.bare - fixed using JID objects in disco node handlers - fixed failing test related to get_roster Several of these bugs I've fixed before, so I either didn't push them earlier, or I clobbered something when merging. *shrug*
2012-01-05Merge branch 'develop-1.1' into developLance Stout
2012-01-02Merge pull request #132 from rhcarvalho/masterLance Stout
Fix a typo in several files.
2012-01-02Fix a typo in several files.Rodolfo Carvalho
This fixes several instances of "intial" for "initial".
2011-12-31Fix handing caps in Python3, allow update_caps() call before process()Lance Stout
2011-12-31Fix a few holes in caps.Lance Stout
Protip: Don't test using a custom disco handler that always returns the same feature set :p
2011-12-30Enable caps stream feature.Lance Stout
2011-12-30Add XEP-0115 plugin.Lance Stout
Finally
2011-12-30Add option to disable condensing and converting form values.Lance Stout
XEP-0115 needs to use the raw XML character data.
2011-12-30Add option for disabling identity and feature deduplication.Lance Stout
XEP-0115 requires detecting duplicates, so we can't always silently ignore them.
2011-12-30Add 'supports' and 'has_identity' node handlers.Lance Stout
2011-12-30Automatically use local disco based on the JID.Lance Stout
2011-12-30Be more lenient on required arguments to disco node handlers.Lance Stout
2011-12-30Make the disco logs nicer.Lance Stout
2011-12-28Add set_info disco handler.Lance Stout
2011-12-28Fix caching for clients.Lance Stout