Mercurial > libervia-backend
comparison src/plugins/plugin_misc_groupblog.py @ 2145:33c8c4973743
core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Feb 2017 18:59:10 +0100 |
parents | 1d3f73e065e1 |
children | a543eda2c923 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
39 NS_PUBSUB_GROUPBLOG = NS_PUBSUB_EXP + "#groupblog" | 39 NS_PUBSUB_GROUPBLOG = NS_PUBSUB_EXP + "#groupblog" |
40 NS_PUBSUB_ITEM_CONFIG = NS_PUBSUB_EXP + "#item-config" | 40 NS_PUBSUB_ITEM_CONFIG = NS_PUBSUB_EXP + "#item-config" |
41 | 41 |
42 | 42 |
43 PLUGIN_INFO = { | 43 PLUGIN_INFO = { |
44 "name": "Group blogging through collections", | 44 C.PI_NAME: "Group blogging through collections", |
45 "import_name": "GROUPBLOG", | 45 C.PI_IMPORT_NAME: "GROUPBLOG", |
46 "type": "MISC", | 46 C.PI_TYPE: "MISC", |
47 "protocols": [], | 47 C.PI_PROTOCOLS: [], |
48 "dependencies": ["XEP-0277"], | 48 C.PI_DEPENDENCIES: ["XEP-0277"], |
49 "main": "GroupBlog", | 49 C.PI_MAIN: "GroupBlog", |
50 "handler": "yes", | 50 C.PI_HANDLER: "yes", |
51 "description": _("""Implementation of microblogging fine permissions""") | 51 C.PI_DESCRIPTION: _("""Implementation of microblogging fine permissions""") |
52 } | 52 } |
53 | 53 |
54 | 54 |
55 class GroupBlog(object): | 55 class GroupBlog(object): |
56 """This class use a SàT PubSub Service to manage access on microblog""" | 56 """This class use a SàT PubSub Service to manage access on microblog""" |