Commit 23b68036 authored by Robin Sonnabend's avatar Robin Sonnabend

Remove static example config, it can be generated

parent 5e7aefd2
# [Database]
# Settings for SQLAlchemy
# Database connection string. See
# http://docs.sqlalchemy.org/en/latest/core/engines.html for details. SQLite
# does not work with Alembic migrations.
SQLALCHEMY_DATABASE_URI = 'engine://user:password@host/database'
# [Security]
# Secret keys and random strings
# Secret random key used for session security.
SECRET_KEY = b'\x86\xb1;\xfd\x8a\x05f\xf5/\xb22"\x07_\xc3\x021\x0f\xa2\xf6\xd56<i\xc8\xd4\xe0\xa4R\xf9D.\xa3B`\x8b#\xddYk\xfc\xcc\xe3\xe4\xce\xa1 \x81([\xc5e\xe7\xb0#\\x\x87\xa6-~\x15\x8c>\x19\xcc\xf1\x8f\xb0d\xc7\xdc\x0f\xcf\xe9\xc6\x03D\xfc~!7\xa8\xa9\x15\xe7\xa2\xde9\x18\x93N`\x0f\xdb\xb1\x0b\x08\xd6\xaa\xbb\x7f\x8f\xc5\x91\xf77\x07\x01\xce,\xcd\xfb\xfd\x1c\xd7N\xd3\x13\xbdR\xb8\x05\xd3\x98\xe8\xdcQ'
# Secret random key used for user sessions.
SECURITY_KEY = b"\xad\xf5\xfav\xbc\xb3u\xfc\xc0\xd3\xf4\xa1\x8bu\x81\x85\t%P\xba\xe5\xb8\xacv\x92\xa8\x16U]\xc5d\xdb\xf9\t\x95\xcc\x91\x88T\xedK]%\xd1\xe6gis\xf3N\xc1\xac\x98\x10q\xd1*\xcd\xce.\xec\xe4\x0f\x9b\xdd\xd1c\xa1\x01\xba\xdf\x0f%\x88\xdd\x03H\xd8\xc84F\xe6\xeb\xb1\x8a\x08\xd3<S?\xff\x9c\x19\xf4\xa5J\x84\xf4jy\xf1[\xf9\xe5\xce:>\xa9DS\xe9\xe3\x8f\x8d!\x8f\xa3\xf6p+\\\x86\xc9,:~E'"
# [URL Root]
# Where is the website hosted
# Domain on which this website is hosted
SERVER_NAME = 'protokolle.example.com'
# Protocol used by this website. Either 'http' or 'https'.
# PREFERRED_URL_SCHEME = 'https'
# [Debug]
# Debug mode. Do not set in production.
# Activate debug mode
# DEBUG = False
# [Celery]
# Settings for the task scheduler.
# Connection to the celery broker. See
# http://docs.celeryproject.org/en/latest/userguide/configuration.html
CELERY_BROKER_URL = 'redis://localhost:6379/0'
# [Sentry]
# Connection information for sentry exception reporting.
# Connection string for sentry. See
# https://docs.sentry.io/quickstart/#configure-the-dsn
# SENTRY_DSN = None
from common import auth
# [Authentication]
# User Authentication backend settings.
# Time in seconds for which non-permanent sessions remain valid
# AUTH_MAX_DURATION = 300
# Active Authentication backends
AUTH_BACKENDS = [StaticUserManager([('user', 'password', ('group',))])]
# [Error Report Context]
# Compiling error context settings
# Number of lines before and after an error to include in the error
# description
# ERROR_CONTEXT_LINES = 3
# [Pagination]
# Pagination settings, used for list pages
# Default number of entries per page
# PAGE_LENGTH = 20
# Number of pages before and after the current one with a direct link.
# PAGE_DIFF = 3
# [Index Page]
# Settings for what to show on the index page
# Next days to list upcoming meetings on
# MAX_INDEX_DAYS = 14
# Past days to list unfinished meetings on
# MAX_PAST_INDEX_DAYS = 2
# If a meeting is unfinished this many days after its date, a reminder is
# sent by mail
# MAX_PAST_INDEX_DAYS_BEFORE_REMINDER = 14
# [Admin data]
# Settings for who is an admin and how to contact them
# Mail address to tell users to contact in case of errors
ADMIN_MAIL = 'admin@example.com'
# Users with this group are admins and are allowed to do and see everything.
ADMIN_GROUP = 'admin'
# [Parser]
# Settings for the protocol syntax parser
# Do not enforce some parser policies.
# PARSER_LAZY = False
# Todos with at least this equality score are considered equal whe importing
# old protocols.
# FUZZY_MIN_SCORE = 90
# Keywords indicating private protocol parts
# PRIVATE_KEYWORDS = ['private', 'internal', 'privat', 'intern']
# [Rendering]
# Settings for rendering protocols to pdf, html, etc.
# fonts for xelatex
FONTS = {'main': {'extension': '.otf', 'path': '/usr/share/fonts/gsfonts/', 'regular': 'NimbusSans-Regular', 'bold': 'NimbusSans-Bold', 'italic': 'NimbusSans-Italic', 'bolditalic': 'NimbusSans-BoldItalic'}, 'roman': {'extension': '.otf', 'path': '/usr/share/fonts/gsfonts/', 'regular': 'NimbusRoman-Regular', 'bold': 'NimbusRoman-Bold', 'italic': 'NimbusRoman-Italic', 'bolditalic': 'NimbusRoman-BoldItalic'}, 'sans': {'extension': '.otf', 'path': '/usr/share/fonts/gsfonts/', 'regular': 'NimbusSans-Regular', 'bold': 'NimbusSans-Bold', 'italic': 'NimbusSans-Italic', 'bolditalic': 'NimbusSans-BoldItalic'}, 'mono': {'extension': '.otf', 'path': '/usr/share/fonts/gsfonts/', 'regular': 'NimbusMonoPS-Regular', 'bold': 'NimbusMonoPS-Bold', 'italic': 'NimbusMonoPS-Italic', 'bolditalic': 'NimbusMonoPS-BoldItalic'}}
# Path to the directory to save protocols in. Write access is necessary.
# DOCUMENTS_PATH = 'documents'
# list of bulletpoints to use in latex
# LATEX_BULLETPOINTS = ['\\textbullet', '\\normalfont \\bfseries \\textendash', '\\textasteriskcentered', '\\textperiodcentered']
# Header level at which to start with HTML headlines
# HTML_LEVEL_OFFSET = 3
# path to additional jinja2 templates
# LATEX_LOCAL_TEMPLATES = None
# template to include at the top of protocols
# LATEX_LOGO_TEMPLATE = None
# custom latex page geometry
# LATEX_GEOMETRY = None
# custom latex pagestyle, e.g. 'fancy'
# LATEX_PAGESTYLE = None
# Include a header and footer in protocols
# LATEX_HEADER_FOOTER = False
# define multiple LaTeX-templates to use with a each protocol type
# individually overiding the general LATEX options the LATEX_LOCAL_TEMPLATES
# parameter is need to provide the path for the templates each template must
# be placed in an individual folder named by its ID in LATEX_TEMPLATES and
# must contain the provided template files: e.g. the files for the template
# 'yourtemplate' need to be in the folder named 'yourtemplate', and the
# templates provides the files: 'protokoll2.cls' (class), 'protocol.tex'
# (protocol), 'decision.tex' (decision) and 'asta-logo.tex'
# LATEX_TEMPLATES = None
# [MAIL] (optional)
# Mail server connection
# deactivate with
# MAIL_ACTIVE = False
# Mail sender address
MAIL_FROM = 'protokolle@example.com'
# SMTP Mail server address with port
MAIL_HOST = 'mail.example.com:465'
# Mail server login user. Empty for no authentication.
# MAIL_USER = ''
# Mail server login password. Empty for no authentication.
# MAIL_PASSWORD = ''
# Use SMPTS (not STARTTLS). Should match port.
# MAIL_USE_TLS = True
# Use SMTP with STARTTLS. Should match port.
# MAIL_USE_STARTTLS = False
# [PRINTING] (optional)
# CUPS printing settings
# deactivate with
# PRINTING_ACTIVE = False
# CUPS printserver connection
PRINTING_SERVER = 'printsrv.example.com:631'
# CUPS user for print jobs
# PRINTING_USER = 'protocols'
# printers with corresponding options
PRINTING_PRINTERS = {'example_printer': ['Duplex=DuplexNoTumble', 'option2=value'], 'other_printer': ['list', 'of', 'options']}
# [ETHERPAD] (optional)
# Etherpad settings
# deactivate with
# ETHERPAD_ACTIVE = False
# URL of the etherpad installation. Do not include the '/p'!
ETHERPAD_URL = 'https://example.com/etherpad'
# The content a new etherpad contains.
# EMPTY_ETHERPAD = 'Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http://etherpad.org\n\n'
# [WIKI] (optional)
# Mediawiki or Dokuwiki settings
# deactivate with
# WIKI_ACTIVE = False
# 'MEDIAWIKI' or 'DOKUWIKI'
WIKI_TYPE = 'MEDIAWIKI'
# API Endpoint for Mediawiki,
# 'https://user:password@wiki.example.com/lib/exe/xmlrpc.php' for Dokuwiki
WIKI_API_URL = 'https://wiki.example.com/wiki/api.php'
# Skip login (only for Mediawiki)
# WIKI_ANONYMOUS = False
# Login user (only for Mediawiki)
# WIKI_USER = None
# Login password (only for Mediawiki)
# WIKI_PASSWORD = None
# Login domain (only for Mediawiki)
# WIKI_DOMAIN = None
# [CALENDAR] (optional)
# CalDAV settings
# deactivate with
# CALENDAR_ACTIVE = False
# CalDAV server URL
CALENDAR_URL = 'https://user:password@calendar.example.com/dav/'
# Default meeting length in hours
# CALENDAR_DEFAULT_DURATION = 3
# Number of retries before giving a connection attempt up. Some CalDAV
# servers like to randomly reply with errors.
# CALENDAR_MAX_REQUESTS = 10
# Timezone abbreviation map. Add as needed.
# CALENDAR_TIMEZONE_MAP = {'CET': 'Europe/Berlin', 'CEST': 'Europe/Berline'}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment