##// END OF EJS Templates
Delete thread when the OP is deleted. Removed old post deleter
Delete thread when the OP is deleted. Removed old post deleter

File last commit:

r872:752c0b44 default
r880:c808c815 default
Show More
settings.py
22 lines | 660 B | text/x-python | PythonLexer
neko259
Updates to support django 1.7
r872 VERSION = '2.2.2 Miyu'
neko259
Moved imageboard settings to the boards settings module. Added setting to disable archive
r716 SITE_NAME = 'Neboard'
neko259
Moved some settings to boards.settings
r333 CACHE_TIMEOUT = 600 # Timeout for caching, if cache is used
LOGIN_TIMEOUT = 3600 # Timeout between login tries
MAX_TEXT_LENGTH = 30000 # Max post length in characters
MAX_IMAGE_SIZE = 8 * 1024 * 1024 # Max image size
neko259
Moved imageboard settings to the boards settings module. Added setting to disable archive
r716
# Thread bumplimit
MAX_POSTS_PER_THREAD = 10
# Old posts will be archived or deleted if this value is reached
MAX_THREAD_COUNT = 5
THREADS_PER_PAGE = 3
DEFAULT_THEME = 'md'
LAST_REPLIES_COUNT = 3
# Enable archiving threads instead of deletion when the thread limit is reached
neko259
Added settings to limit posting speed. Added message when the form data is sent and response not yet received
r725 ARCHIVE_THREADS = True
# Limit posting speed
neko259
Added login and logout for moderators
r729 LIMIT_POSTING_SPEED = False
neko259
Added centrifuge (websocket) support for thread autoupdate. Only websocket version is supported for now
r853 # Thread update
neko259
Bumped version to 2.2
r860 WEBSOCKETS_ENABLED = True