X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=mediagoblin%2Fconfig_spec.ini;h=a0fbde099e7137f350d56298ba9708e748f3995c;hb=9f552f449bf9b7d12a4754a4ab1a63829c66e8d7;hp=52e3fdfd1432ce5b248e471b634326e354626aeb;hpb=3f5cf663c0c8c2c06c9185af82b5f75423fce7f3;p=mediagoblin.git diff --git a/mediagoblin/config_spec.ini b/mediagoblin/config_spec.ini index 52e3fdfd..a0fbde09 100644 --- a/mediagoblin/config_spec.ini +++ b/mediagoblin/config_spec.ini @@ -1,13 +1,13 @@ [mediagoblin] -# -queuestore_base_dir = string(default="%(here)s/user_dev/media/queue") -publicstore_base_dir = string(default="%(here)s/user_dev/media/public") +# database stuff +db_host = string() +db_name = string(default="mediagoblin") +db_port = integer() + # Where temporary files used in processing and etc are kept workbench_path = string(default="%(here)s/user_dev/media/workbench") -# -publicstore_base_url = string(default="/mgoblin_media/") # Where mediagoblin-builtin static assets are kept direct_remote_path = string(default="/mgoblin_static/") @@ -15,6 +15,17 @@ direct_remote_path = string(default="/mgoblin_static/") # set to false to enable sending notices email_debug_mode = boolean(default=True) email_sender_address = string(default="notice@mediagoblin.example.org") +email_smtp_host = string(default='') +email_smtp_port = integer(default=25) +email_smtp_user = string(default=None) +email_smtp_pass = string(default=None) + +# Set to false to disable registrations +allow_registration = boolean(default=True) + +# tag parsing +tags_delimiter = string(default=",") +tags_max_length = integer(default=50) # By default not set, but you might want something like: # "%(here)s/user_dev/templates/" @@ -25,6 +36,20 @@ local_templates = string() # itself) celery_setup_elsewhere = boolean(default=False) +# Whether or not users are able to upload files of any filetype with +# their media entries -- This is useful if you want to provide the +# source files for a media file but can also be a HUGE security risk. +allow_attachments = boolean(default=False) + + +[storage:publicstore] +base_dir = string(default="%(here)s/user_dev/media/public") +base_url = string(default="/mgoblin_media/") + +[storage:queuestore] +base_dir = string(default="%(here)s/user_dev/media/queue") + + [celery] # known booleans celery_result_persistent = boolean() @@ -68,4 +93,4 @@ celeryd_eta_scheduler_precision = float() # known lists celery_routes = string_list() -celery_imports = string_list() \ No newline at end of file +celery_imports = string_list()