X-Git-Url: https://vcs.fsf.org/?p=fai-configs.git;a=blobdiff_plain;f=files%2Fetc%2Fmediagoblin-templates%2Fmediagoblin.ini%2FDEFAULT;fp=files%2Fetc%2Fmediagoblin-templates%2Fmediagoblin.ini%2FDEFAULT;h=42bab35ec2d5ca6a72401079915174e0720580cd;hp=0000000000000000000000000000000000000000;hb=67c1e5ae3bffc4b381a6ed855410911f02889392;hpb=53f83239a671a52d4cd2bc24f0db871b745db027 diff --git a/files/etc/mediagoblin-templates/mediagoblin.ini/DEFAULT b/files/etc/mediagoblin-templates/mediagoblin.ini/DEFAULT new file mode 100644 index 0000000..42bab35 --- /dev/null +++ b/files/etc/mediagoblin-templates/mediagoblin.ini/DEFAULT @@ -0,0 +1,74 @@ +# If you want to make changes to this file, first copy it to +# mediagoblin_local.ini, then make the changes there. +# +# If you don't see what you need here, have a look at mediagoblin/config_spec.ini +# It defines types and defaults so it's a good place to look for documentation +# or to find hidden options that we didn't tell you about. :) + +# To change the directory you should make sure you change the +# directory in paste.ini and/or your webserver configuration. +# +# [DEFAULT] +data_basedir = "GMG_PATH_TOKEN" + +[mediagoblin] +direct_remote_path = /mgoblin_static/ +email_sender_address = "GMG_SENDER_TOKEN" + +## Uncomment and change to your DB's appropiate setting. +## Default is a local sqlite db "mediagoblin.db". +## Don't forget to run `./bin/gmg dbupdate` after having changed it. +sql_engine = postgresql:///mediagoblin + +# Set to false to enable sending notices +email_debug_mode = false + +# Set to false to disable registrations +allow_registration = false + +# Set to false to disable the ability for users to report offensive content +allow_reporting = false + +## Uncomment this to put some user-overriding templates here +local_templates = %(data_basedir)s/templates/ + +## You can set your theme by specifying this (not specifying it will +## use the default theme). Run `gmg assetlink` to apply the change. +## The airy and sandyseventiesspeedboat theme comes with GMG; please +## see the theming docs on how to install other themes. +# theme = airy + +## If you want the terms of service displayed, you can uncomment this +# show_tos = true + +user_privilege_scheme = "uploader,commenter,reporter" +[storage:queuestore] +base_dir = %(data_basedir)s/media/queue + +[storage:publicstore] +base_dir = %(data_basedir)s/media/public +base_url = /mgoblin_media/ + +[celery] +# Put celery stuff here + +# Place plugins here, each in their own subsection of [plugins]. +# See http://docs.mediagoblin.org/siteadmin/plugins.html for details. +[plugins] +[[mediagoblin.plugins.geolocation]] +[[mediagoblin.plugins.basic_auth]] +[[mediagoblin.media_types.image]] +[[mediagoblin.media_types.video]] +auto_play = False +[[[skip_transcode]]] +audio_codecs = Vorbis, +container_formats = Matroska, Ogg +mime_types = video/webm, application/ogg +dimensions_match = False +video_codecs = VP8 video, Theora +[[mediagoblin.media_types.pdf]] +[[mediagoblin.plugins.libreplanet]] +[[mediagoblin.plugins.piwik]] +PIWIK_DOMAIN = '*.media.libreplanet.org' +PIWIK_LOCATION = 'piwik.fsf.org' +PIWIK_SITEID = 11