diff options
author | Lance Stout <lancestout@gmail.com> | 2011-03-23 23:00:41 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-03-24 09:35:36 -0400 |
commit | a3d111be12144d9dea80165d84cd8168714d3d54 (patch) | |
tree | c7627d3d8f15837a2b0ada6fb0a3cb8a66f70a28 /sleekxmpp/plugins/xep_0050/__init__.py | |
parent | 4916a12b6f2515b22b504c650bd97dd4c30c4471 (diff) | |
download | slixmpp-a3d111be12144d9dea80165d84cd8168714d3d54.tar.gz slixmpp-a3d111be12144d9dea80165d84cd8168714d3d54.tar.bz2 slixmpp-a3d111be12144d9dea80165d84cd8168714d3d54.tar.xz slixmpp-a3d111be12144d9dea80165d84cd8168714d3d54.zip |
Added new XEP-0050 implementation.
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.
Diffstat (limited to 'sleekxmpp/plugins/xep_0050/__init__.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0050/__init__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0050/__init__.py b/sleekxmpp/plugins/xep_0050/__init__.py new file mode 100644 index 00000000..99f44f2a --- /dev/null +++ b/sleekxmpp/plugins/xep_0050/__init__.py @@ -0,0 +1,10 @@ +""" + SleekXMPP: The Sleek XMPP Library + Copyright (C) 2011 Nathanael C. Fritz, Lance J.T. Stout + This file is part of SleekXMPP. + + See the file LICENSE for copying permission. +""" + +from sleekxmpp.plugins.xep_0050.stanza import Command +from sleekxmpp.plugins.xep_0050.adhoc import xep_0050 |