-
Notifications
You must be signed in to change notification settings - Fork 7
/
config_defaults.py
79 lines (64 loc) · 1.61 KB
/
config_defaults.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
SQL_POOLING = True
SQL_POOL_SIZE = 100
SQL_POOL_MAX_OVERFLOW = 10
SQL_ADMIN_TABLE = 'admin'
SQL_PROXY_TABLE = 'proxy'
SQL_REPORT_TABLE = 'reports'
SQL_BACKUP_TABLE = '__waka_backup'
SQL_ACCOUNT_TABLE = 'staff_accounts'
SQL_STAFFLOG_TABLE = 'staff_activity'
SQL_COMMON_SITE_TABLE = 'board_index'
SQL_PASSPROMPT_TABLE = 'passprompt'
SQL_PASSFAIL_TABLE = 'passfail'
USE_TEMPFILES = 1
DATE_STYLE = 'futaba'
ERRORLOG = ''
HOME = '/'
TIME_OFFSET = 0
JS_FILE = 'wakaba3.js'
CONVERT_COMMAND = ''
USE_TEMPFILES = 1
USE_SECURE_ADMIN = 0
USE_XHTML = 0
CHARSET = 'utf-8'
CONVERT_CHARSETS = 1
PAGE_EXT = '.html'
HTACCESS_PATH = './'
WAKABA_VERSION = ''
WAKARIMASEN_VERSION = '' # we should put something here
ALTERNATE_REDIRECT = 0
SPAM_FILES = ['spam.txt']
MAX_FCGI_LOOPS = 250
REPORT_COMMENT_MAX_LENGTH = 250
REPORT_RENZOKU = 60
REPORT_RETENTION = 60*24*3600
STAFF_LOG_RETENTION = 60*24*3600
PROXY_WHITE_AGE = 14*24*3600
PROXY_BLACK_AGE = 14*24*3600
POST_BACKUP = 1
POST_BACKUP_EXPIRE = 3600*24*14
PASSPROMPT_EXPIRE_TO_FAILURE = 300
PASSFAIL_THRESHOLD = 5
PASSFAIL_ROLLBACK = 1*24*3600
REPLIES_PER_STICKY = 1
ENABLE_ABBREVIATED_THREAD_PAGES = 0
POSTS_IN_ABBREVIATED_THREAD_PAGES = 50
ENABLE_RSS = 1
RSS_LENGTH = 10
RSS_WEBMASTER = ''
BOARD_DIR = ''
DEBUG = False
SERVER_NAME = 'localhost'
IDENTIFY_COMMAND = 'identify'
FG_ANIM_COLOR = 'white'
BG_ANIM_COLOR = '#660066'
ICONS = {}
HCAPTCHA = False
HCAPTCHA_QUESTION = 'desu'
HCAPTCHA_ANSWER = 'desu'
HCAPTCHA_COOKIE_BYPASS = True
HCAPTCHA_NOKOSAGE_BYPASS = True
NUKE_TIME_THRESHOLD = 30*24*3600
# add default values to config.py
import util as _util
_util.module_default('config', locals())