2 # HTML title of the pages
3 html_title = string(default="GNU MediaGoblin")
5 # link to source for this MediaGoblin site
6 source_link = string(default="https://gitorious.org/mediagoblin/mediagoblin")
9 media_types = string_list(default=list("mediagoblin.media_types.image"))
12 sql_engine = string(default="sqlite:///%(here)s/mediagoblin.db")
14 # Where temporary files used in processing and etc are kept
15 workbench_path = string(default="%(here)s/user_dev/media/workbench")
17 # Where to store cryptographic sensible data
18 crypto_path = string(default="%(here)s/user_dev/crypto")
20 # Where mediagoblin-builtin static assets are kept
21 direct_remote_path = string(default="/mgoblin_static/")
23 # set to false to enable sending notices
24 email_debug_mode = boolean(default=True)
25 email_sender_address = string(default="notice@mediagoblin.example.org")
26 email_smtp_host = string(default='')
27 email_smtp_port = integer(default=25)
28 email_smtp_user = string(default=None)
29 email_smtp_pass = string(default=None)
31 # Set to false to disable registrations
32 allow_registration = boolean(default=True)
35 tags_max_length = integer(default=50)
37 # Whether comments are ascending or descending
38 comments_ascending = boolean(default=True)
40 # By default not set, but you might want something like:
41 # "%(here)s/user_dev/templates/"
42 local_templates = string()
44 # Whether or not celery is set up via an environment variable or
45 # something else (and thus mediagoblin should not attempt to set it up
47 celery_setup_elsewhere = boolean(default=False)
49 # Whether or not users are able to upload files of any filetype with
50 # their media entries -- This is useful if you want to provide the
51 # source files for a media file but can also be a HUGE security risk.
52 allow_attachments = boolean(default=False)
55 csrf_cookie_name = string(default='mediagoblin_csrftoken')
58 push_urls = string_list(default=list())
60 exif_visible = boolean(default=False)
63 theme_install_dir = string(default="%(here)s/user_dev/themes/")
64 theme_web_path = string(default="/theme_static/")
65 theme_linked_assets_dir = string(default="%(here)s/user_dev/theme_static/")
70 storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
71 base_dir = string(default="%(here)s/user_dev/media/public")
72 base_url = string(default="/mgoblin_media/")
75 storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
76 base_dir = string(default="%(here)s/user_dev/media/queue")
79 # Dimensions used when creating media display images.
80 max_width = integer(default=640)
81 max_height = integer(default=640)
84 # Dimensions used when creating media thumbnails
85 # This is unfortunately not implemented in the media
86 # types yet. You can help!
87 # TODO: Make plugins follow the media size settings
88 max_width = integer(default=180)
89 max_height = integer(default=180)
91 [media_type:mediagoblin.media_types.image]
92 # One of BICUBIC, BILINEAR, NEAREST, ANTIALIAS
93 resize_filter = string(default="ANTIALIAS")
94 #level of compression used when resizing images
95 quality = integer(default=90)
97 [media_type:mediagoblin.media_types.video]
98 # Should we keep the original file?
99 keep_original = boolean(default=False)
101 # 0 means autodetect, autodetect means number_of_CPUs - 1
102 vp8_threads = integer(default=0)
104 vp8_quality = integer(default=8)
106 vorbis_quality = float(default=0.3)
108 # Autoplay the video when page is loaded?
109 auto_play = boolean(default=True)
112 mime_types = string_list(default=list("video/webm"))
113 container_formats = string_list(default=list("Matroska"))
114 video_codecs = string_list(default=list("VP8 video"))
115 audio_codecs = string_list(default=list("Vorbis"))
116 dimensions_match = boolean(default=True)
118 [media_type:mediagoblin.media_types.audio]
119 keep_original = boolean(default=True)
121 quality = float(default=0.3)
122 create_spectrogram = boolean(default=True)
123 spectrogram_fft_size = integer(default=4096)
125 [media_type:mediagoblin.media_types.ascii]
126 thumbnail_font = string(default=None)
128 [media_type:mediagoblin.media_types.pdf]
129 pdf_js = boolean(default=False)
133 # default result stuff
134 CELERY_RESULT_BACKEND = string(default="database")
135 CELERY_RESULT_DBURI = string(default="sqlite:///%(here)s/celery.db")
137 # default kombu stuff
138 BROKER_TRANSPORT = string(default="sqlalchemy")
139 BROKER_HOST = string(default="sqlite:///%(here)s/kombu.db")
142 CELERY_RESULT_PERSISTENT = boolean()
143 CELERY_CREATE_MISSING_QUEUES = boolean()
144 BROKER_USE_SSL = boolean()
145 BROKER_CONNECTION_RETRY = boolean()
146 CELERY_ALWAYS_EAGER = boolean()
147 CELERY_EAGER_PROPAGATES_EXCEPTIONS = boolean()
148 CELERY_IGNORE_RESULT = boolean()
149 CELERY_TRACK_STARTED = boolean()
150 CELERY_DISABLE_RATE_LIMITS = boolean()
151 CELERY_ACKS_LATE = boolean()
152 CELERY_STORE_ERRORS_EVEN_IF_IGNORED = boolean()
153 CELERY_SEND_TASK_ERROR_EMAILS = boolean()
154 CELERY_SEND_EVENTS = boolean()
155 CELERY_SEND_TASK_SENT_EVENT = boolean()
156 CELERYD_LOG_COLOR = boolean()
157 CELERY_REDIRECT_STDOUTS = boolean()
160 CELERYD_CONCURRENCY = integer()
161 CELERYD_PREFETCH_MULTIPLIER = integer()
162 CELERY_AMQP_TASK_RESULT_EXPIRES = integer()
163 CELERY_AMQP_TASK_RESULT_CONNECTION_MAX = integer()
164 REDIS_PORT = integer()
166 BROKER_PORT = integer()
167 BROKER_CONNECTION_TIMEOUT = integer()
168 CELERY_BROKER_CONNECTION_MAX_RETRIES = integer()
169 CELERY_TASK_RESULT_EXPIRES = integer()
170 CELERY_MAX_CACHED_RESULTS = integer()
171 CELERY_DEFAULT_RATE_LIMIT = integer()
172 CELERYD_MAX_TASKS_PER_CHILD = integer()
173 CELERYD_TASK_TIME_LIMIT = integer()
174 CELERYD_TASK_SOFT_TIME_LIMIT = integer()
175 MAIL_PORT = integer()
176 CELERYBEAT_MAX_LOOP_INTERVAL = integer()
179 CELERYD_ETA_SCHEDULER_PRECISION = float()
182 CELERY_ROUTES = string_list()
183 CELERY_IMPORTS = string_list()