Some mostly cosmetic changes to CSRF
[mediagoblin.git] / mediagoblin / config_spec.ini
index f91d1c1b7deadcdd9f216dac82038c0e0ca784d4..900957cee4b23b3741659c5bc256b06142a1e881 100644 (file)
@@ -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_base_dir = string(default="%(here)s/user_dev/media/workbench")
+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,14 +15,51 @@ 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)
 
-local_templates = string(default="%(here)s/user_dev/templates/")
+# By default not set, but you might want something like:
+# "%(here)s/user_dev/templates/"
+local_templates = string()
 
 # Whether or not celery is set up via an environment variable or
 # something else (and thus mediagoblin should not attempt to set it up
 # 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)
+
+# Cookie stuff
+csrf_cookie_name = string(default='mediagoblin_csrftoken')
+
+[storage:publicstore]
+storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
+base_dir = string(default="%(here)s/user_dev/media/public")
+base_url = string(default="/mgoblin_media/")
+
+[storage:queuestore]
+storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
+base_dir = string(default="%(here)s/user_dev/media/queue")
+
+
+[beaker.cache]
+type = string(default="file")
+data_dir = string(default="%(here)s/user_dev/beaker/cache/data")
+lock_dir = string(default="%(here)s/user_dev/beaker/cache/lock")
+
+
 [celery]
 # known booleans
 celery_result_persistent = boolean()
@@ -65,5 +102,5 @@ celerybeat_max_loop_interval = integer()
 celeryd_eta_scheduler_precision = float()
 
 # known lists
-celery_routes = list()
-celery_imports = list()
\ No newline at end of file
+celery_routes = string_list()
+celery_imports = string_list()