##// END OF EJS Templates
Added 'primary' parameter for the key to indicate this key would be used in...
Added 'primary' parameter for the key to indicate this key would be used in ID. Other keys will be used for signing only and can be shared.

File last commit:

r793:8a6f4ef5 decentral
r796:6e2f495a decentral
Show More
settings.py
23 lines | 710 B | text/x-python | PythonLexer
neko259
Moved imageboard settings to the boards settings module. Added setting to disable archive
r716 VERSION = '1.8.1 Kara'
neko259
Added KeyPair model for signing and verifying data, that will be user for...
r793 SITE_NAME = 'n3b0a2d'
neko259
Moved imageboard settings to the boards settings module. Added setting to disable archive
r716
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
# This password is used to add admin permissions to the user
neko259
Added KeyPair model for signing and verifying data, that will be user for...
r793 MASTER_PASSWORD = u'password'