]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/__init__.py
Fixes OSQA 455. Multiple cross site scripting(XSS) vulnerabilities.
[osqa.git] / forum / settings / __init__.py
1 import os.path
2 from base import Setting, SettingSet
3
4 from django.forms.widgets import Textarea
5 from django.utils.translation import ugettext_lazy as _
6 from django.conf import settings as djsettings
7 from django.utils.version import get_svn_revision
8
9 OSQA_VERSION = "Development Build"
10 SVN_REVISION = get_svn_revision(djsettings.SITE_SRC_ROOT)
11
12 MAINTAINANCE_MODE = Setting('MAINTAINANCE_MODE', None)
13
14 SETTINGS_PACK = Setting('SETTINGS_PACK', "default")
15 DJSTYLE_ADMIN_INTERFACE = Setting('DJSTYLE_ADMIN_INTERFACE', True)
16 NODE_MAN_FILTERS = Setting('NODE_MAN_FILTERS', [])
17
18 APP_URL = djsettings.APP_URL
19 FORUM_SCRIPT_ALIAS = djsettings.FORUM_SCRIPT_ALIAS
20 OSQA_SKIN = djsettings.OSQA_DEFAULT_SKIN
21 LANGUAGE_CODE = djsettings.LANGUAGE_CODE
22 ADMIN_MEDIA_PREFIX = djsettings.ADMIN_MEDIA_PREFIX
23 ONLINE_USERS = Setting('ONLINE_USERS', {})
24
25
26 from basic import *
27 from sidebar import *
28 from email import *
29 from extkeys import *
30 from minrep import *
31 from repgain import *
32 from voting import *
33 from upload import *
34 from about import *
35 from faq import *
36 from form import *
37 from view import *
38 from moderation import *
39 from users import *
40 from static import *
41 from urls import *
42 from accept import *
43
44 BADGES_SET = SettingSet('badges', _('Badges config'), _("Configure badges on your OSQA site."), 500)
45
46 #__all__ = locals().keys()
47