X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Fconfig_spec.ini;h=b213970de595b7679f9279462671deff9fb605ad;hb=faf104ced825ff59c7c6fe948621b13d6bc1562d;hp=e830e8631ecea16a2f96e84a2a692ba9e0893b49;hpb=761e26bb29623f58ebf2496b7fd7e945fad4e6ed;p=mediagoblin.git diff --git a/mediagoblin/config_spec.ini b/mediagoblin/config_spec.ini index e830e863..b213970d 100644 --- a/mediagoblin/config_spec.ini +++ b/mediagoblin/config_spec.ini @@ -32,7 +32,10 @@ email_smtp_pass = string(default=None) allow_registration = boolean(default=True) # tag parsing -tags_max_length = integer(default=50) +tags_max_length = integer(default=255) + +# Enable/disable comments +allow_comments = boolean(default=True) # Whether comments are ascending or descending comments_ascending = boolean(default=True) @@ -58,6 +61,7 @@ csrf_cookie_name = string(default='mediagoblin_csrftoken') push_urls = string_list(default=list()) exif_visible = boolean(default=False) +original_date_visible = boolean(default=False) # Theming stuff theme_install_dir = string(default="%(here)s/user_dev/themes/") @@ -65,6 +69,10 @@ theme_web_path = string(default="/theme_static/") theme_linked_assets_dir = string(default="%(here)s/user_dev/theme_static/") theme = string() +# plugin default assets directory +plugin_web_path = string(default="/plugin_static/") +plugin_linked_assets_dir = string(default="%(here)s/user_dev/plugin_static/") + [storage:publicstore] storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage") @@ -91,6 +99,8 @@ max_height = integer(default=180) [media_type:mediagoblin.media_types.image] # One of BICUBIC, BILINEAR, NEAREST, ANTIALIAS resize_filter = string(default="ANTIALIAS") +#level of compression used when resizing images +quality = integer(default=90) [media_type:mediagoblin.media_types.video] # Should we keep the original file? @@ -113,7 +123,6 @@ video_codecs = string_list(default=list("VP8 video")) audio_codecs = string_list(default=list("Vorbis")) dimensions_match = boolean(default=True) - [media_type:mediagoblin.media_types.audio] keep_original = boolean(default=True) # vorbisenc quality @@ -121,10 +130,12 @@ quality = float(default=0.3) create_spectrogram = boolean(default=True) spectrogram_fft_size = integer(default=4096) - [media_type:mediagoblin.media_types.ascii] thumbnail_font = string(default=None) +[media_type:mediagoblin.media_types.pdf] +pdf_js = boolean(default=True) + [celery] # default result stuff