From e4911e93919e733e1a3a0c1db4c6a32b87fef04a Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Fri, 22 Jun 2012 21:50:43 -0700 Subject: Add meta plugin for XEP-0302 for the 2012 compliance suite. There are still a few remaining items in the RFCs to add support for, but the current plugin support matches the advanced client profile. --- sleekxmpp/plugins/__init__.py | 1 + sleekxmpp/plugins/xep_0302.py | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 sleekxmpp/plugins/xep_0302.py diff --git a/sleekxmpp/plugins/__init__.py b/sleekxmpp/plugins/__init__.py index 5aa48a47..1466a274 100644 --- a/sleekxmpp/plugins/__init__.py +++ b/sleekxmpp/plugins/__init__.py @@ -59,4 +59,5 @@ __all__ = [ 'xep_0256', # Last Activity in Presence 'xep_0258', # Security Labels in XMPP 'xep_0270', # XMPP Compliance Suites 2010 + 'xep_0302', # XMPP Compliance Suites 2012 ] diff --git a/sleekxmpp/plugins/xep_0302.py b/sleekxmpp/plugins/xep_0302.py new file mode 100644 index 00000000..83ab9a35 --- /dev/null +++ b/sleekxmpp/plugins/xep_0302.py @@ -0,0 +1,18 @@ +""" + SleekXMPP: The Sleek XMPP Library + Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout + This file is part of SleekXMPP. + + See the file LICENSE for copying permission. +""" + +from sleekxmpp.plugins import BasePlugin + + +class XEP_0302(BasePlugin): + + name = 'xep_0302' + description = 'XEP-0302: XMPP Compliance Suites 2012' + dependencies = set(['xep_0030', 'xep_0115', 'xep_0054', + 'xep_0163', 'xep_0045', 'xep_0085', + 'xep_0184', 'xep_0198']) -- cgit v1.2.3