Mercurial > libervia-pubsub
comparison sat_pubsub/const.py @ 301:05c875a13a62
categories are now stored in a dedicated table if item contain an atom entry:
- database creation/update files include the new table
- item data are now stored in a ItemData namedtuple
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 25 Nov 2015 18:33:38 +0100 |
parents | df1edebb0466 |
children | 890b24b37b56 |
comparison
equal
deleted
inserted
replaced
300:c5acb4995fde | 301:05c875a13a62 |
---|---|
53 """ | 53 """ |
54 | 54 |
55 | 55 |
56 NS_GROUPBLOG_PREFIX = 'urn:xmpp:groupblog:' | 56 NS_GROUPBLOG_PREFIX = 'urn:xmpp:groupblog:' |
57 NS_ITEM_CONFIG = "http://jabber.org/protocol/pubsub#item-config" | 57 NS_ITEM_CONFIG = "http://jabber.org/protocol/pubsub#item-config" |
58 NS_ATOM = "http://www.w3.org/2005/Atom" | |
58 OPT_ACCESS_MODEL = 'pubsub#access_model' | 59 OPT_ACCESS_MODEL = 'pubsub#access_model' |
59 OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed' | 60 OPT_ROSTER_GROUPS_ALLOWED = 'pubsub#roster_groups_allowed' |
60 OPT_PERSIST_ITEMS = "pubsub#persist_items" | 61 OPT_PERSIST_ITEMS = "pubsub#persist_items" |
61 OPT_DELIVER_PAYLOADS = "pubsub#deliver_payloads" | 62 OPT_DELIVER_PAYLOADS = "pubsub#deliver_payloads" |
62 OPT_SEND_LAST_PUBLISHED_ITEM = "pubsub#send_last_published_item" | 63 OPT_SEND_LAST_PUBLISHED_ITEM = "pubsub#send_last_published_item" |