comparison src/common/constants.py @ 828:0c824ebe9d87

server (blog): implemented tag/category filtering: - the tag=[quoted tag] query is used to use the filtering - MAM data use request.mam_extra instead of request.extra_dict to avoid using it with item_ids - getDefaultQueryData function is used to keep query data (link MAM category filtering) between links - filtering is help when displaying a blog post, this way it's easy to navigate between thematic posts - filtering can be removed by clicking on user avatar/nick (with default theme)
author Goffi <goffi@goffi.org>
date Fri, 08 Jan 2016 19:58:08 +0100
parents 027139763511
children 5cefc6ab302f
comparison
equal deleted inserted replaced
827:f1fc7245b910 828:0c824ebe9d87
51 # avatars 51 # avatars
52 DEFAULT_AVATAR_FILE = "default_avatar.png" 52 DEFAULT_AVATAR_FILE = "default_avatar.png"
53 DEFAULT_AVATAR_URL = os.path.join(MEDIA_DIR, "misc", DEFAULT_AVATAR_FILE) 53 DEFAULT_AVATAR_URL = os.path.join(MEDIA_DIR, "misc", DEFAULT_AVATAR_FILE)
54 EMPTY_AVATAR_FILE = "empty_avatar" 54 EMPTY_AVATAR_FILE = "empty_avatar"
55 EMPTY_AVATAR_URL = os.path.join(MEDIA_DIR, "misc", EMPTY_AVATAR_FILE) 55 EMPTY_AVATAR_URL = os.path.join(MEDIA_DIR, "misc", EMPTY_AVATAR_FILE)
56
57 # blog
58 MAM_FILTER_CATEGORY = 'http://salut-a-toi.org/protocols/mam_filter_category'