Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-13 | Ensure that the XEP-0086 plugin is loaded. | Lance Stout | |
Since the XEP-0086 plugin auto adds error code values, it must be reliably loaded or unloaded when certain tests are run so that stanzas may be matched. In this case, we ensure that the plugin is used. | |||
2011-04-26 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-04-26 | Merge branch 'develop' into roster | Lance Stout | |
2011-04-26 | Add support for testing that no stanzas are sent in tests. | Lance Stout | |
Use: self.send(None) | |||
2011-04-15 | added has_jid to roster | Nathan Fritz | |
2011-04-14 | Pubsub/Unsubscribe was not getting registered | Nathan Fritz | |
2011-04-14 | Pubsub/Unsubscribe was not getting registered | Nathan Fritz | |
2011-04-14 | remove roster item state responsibility from clients | Nathan Fritz | |
2011-04-11 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-04-11 | Merge branch 'develop' into roster | Lance Stout | |
2011-04-11 | Mark scheduler thread as a daemon. | Lance Stout | |
2011-04-08 | Merge branch 'develop' into roster | Lance Stout | |
2011-04-08 | Update tests to reflect XEP-0086 correcting error codes. | Lance Stout | |
2011-04-08 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-04-08 | Merge branch 'develop' into roster | Lance Stout | |
2011-04-08 | Make setup.py use sleekxmpp.__version__ | Lance Stout | |
2011-04-08 | Add version info. | Lance Stout | |
May now use sleekxmpp.__version__ and sleekxmpp.__version_info__. | |||
2011-04-08 | Use underscore method name. | Lance Stout | |
Since camelcase names are aliased to the underscored name at startup, if the underscored version is replaced later, the camelCase name does not reflect the change. | |||
2011-03-24 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-03-24 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-24 | Added new implementation for XEP-0086. | Lance Stout | |
2011-03-24 | Allow a stanza plugin to override a parent's interfaces. | Lance Stout | |
Each interface, say foo, may be overridden in three ways: set_foo get_foo del_foo To declare an override in a plugin, add the class field overrides as so: overrides = ['set_foo', 'del_foo'] Each override must have a matching set_foo(), etc method for implementing the new behaviour. To enable the overrides for a particular parent stanza, pass the option overrides=True to register_stanza_plugin. register_stanza_plugin(Stanza, Plugin, overrides=True) Example code: class Test(ElementBase): name = 'test' namespace = 'testing' interfaces = set(('foo', 'bar')) sub_interfaces = set(('bar',)) class TestOverride(ElementBase): name = 'test-override' namespace = 'testing' plugin_attrib = 'override' interfaces = set(('foo',)) overrides = ['set_foo'] def setup(self, xml): # Don't include an XML element in the parent stanza # since we're adding just an attribute. # If adding a regular subelement, no need to do this. self.xml = ET.Element('') def set_foo(self, value): print("overrides!") self.parent()._set_attr('foo', 'override-%s' % value) register_stanza_plugin(Test, TestOverride, overrides=True) Example usage: >>> t = TestStanza() >>> t['foo'] = 'bar' >>> t['foo'] 'override-bar' | |||
2011-03-24 | Left too much unlrelated code in example. | Lance Stout | |
2011-03-24 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-03-24 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-24 | Added 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-23 | Tidy up the examples. | Lance Stout | |
2011-03-23 | Allow SleekTest to wait longer when checking for sent stanzas. | Lance Stout | |
Now timeouts at 0.5sec instead of 0.1sec, which should prevent test failures from stanzas being delayed longer than usual. | |||
2011-03-23 | Fix typo. | Lance Stout | |
2011-03-23 | Updated todo file again. | Lance Stout | |
Only 11 plugins left to tidy before 1.0! | |||
2011-03-23 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-03-23 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-23 | Updated todo file. | Lance Stout | |
2011-03-23 | Cleaned XEP-0249 plugin, added tests. | Lance Stout | |
2011-03-22 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-03-22 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-22 | Updated 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-22 | Merge branch 'develop' into stream_features | Lance Stout | |
Conflicts: sleekxmpp/clientxmpp.py | |||
2011-03-22 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-22 | Updated doc for connect() | Lance Stout | |
2011-03-22 | May pass use_tls=False to connect(). | Lance Stout | |
Will disable the use of TLS for the session. | |||
2011-03-18 | Fix error with session feature. | Lance Stout | |
2011-03-18 | Merge branch 'develop' into stream_features | Lance Stout | |
Conflicts: sleekxmpp/xmlstream/stanzabase.py | |||
2011-03-18 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-18 | Change namespace inclusion in strings. | Lance Stout | |
ElementBase instances will display the top-most namespace by default. StanzaBase instances will NOT display the top-most namespace by default. May pass True or False to __str__ to override. | |||
2011-03-18 | Fix error in stanza handler registration in XEP-0092. | Lance Stout | |
2011-03-18 | Merge branch 'stream_features' of github.com:fritzy/SleekXMPP into ↵ | Lance Stout | |
stream_features | |||
2011-03-18 | Merge branch 'develop' into stream_features | Lance Stout | |
2011-03-18 | Merge branch 'develop' into roster | Lance Stout | |
2011-03-18 | Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop | Lance Stout | |