projects
/
mediagoblin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change codebase to query or create correct User model
[mediagoblin.git]
/
mediagoblin
/
config_spec.ini
diff --git
a/mediagoblin/config_spec.ini
b/mediagoblin/config_spec.ini
index cc1ac6374b20f0930d63e6f8ac088c04aa27339d..0a8da73e345541129e9c9c2f4ea6d7d47a65a75e 100644
(file)
--- a/
mediagoblin/config_spec.ini
+++ b/
mediagoblin/config_spec.ini
@@
-1,9
+1,12
@@
+[DEFAULT]
+data_basedir = %(here)s/user_dev
+
[mediagoblin]
# HTML title of the pages
html_title = string(default="GNU MediaGoblin")
# link to source for this MediaGoblin site
[mediagoblin]
# HTML title of the pages
html_title = string(default="GNU MediaGoblin")
# link to source for this MediaGoblin site
-source_link = string(default="https://
gitorious.org/mediagoblin/
mediagoblin")
+source_link = string(default="https://
savannah.gnu.org/git/?group=
mediagoblin")
# database stuff
sql_engine = string(default="sqlite:///%(here)s/mediagoblin.db")
# database stuff
sql_engine = string(default="sqlite:///%(here)s/mediagoblin.db")
@@
-13,23
+16,39
@@
sql_engine = string(default="sqlite:///%(here)s/mediagoblin.db")
run_migrations = boolean(default=False)
# Where temporary files used in processing and etc are kept
run_migrations = boolean(default=False)
# Where temporary files used in processing and etc are kept
-workbench_path = string(default="%(
here)s/user_dev
/media/workbench")
+workbench_path = string(default="%(
data_basedir)s
/media/workbench")
# Where to store cryptographic sensible data
# Where to store cryptographic sensible data
-crypto_path = string(default="%(
here)s/user_dev
/crypto")
+crypto_path = string(default="%(
data_basedir)s
/crypto")
# Where mediagoblin-builtin static assets are kept
direct_remote_path = string(default="/mgoblin_static/")
# set to false to enable sending notices
email_debug_mode = boolean(default=True)
# Where mediagoblin-builtin static assets are kept
direct_remote_path = string(default="/mgoblin_static/")
# set to false to enable sending notices
email_debug_mode = boolean(default=True)
+
+# Uses SSL/TLS when connecting to SMTP server
email_smtp_use_ssl = boolean(default=False)
email_smtp_use_ssl = boolean(default=False)
+
+# Uses STARTTLS when connecting to SMTP server
+email_smtp_force_starttls = boolean(default=False)
+
+# Email address which notices are sent from
email_sender_address = string(default="notice@mediagoblin.example.org")
email_sender_address = string(default="notice@mediagoblin.example.org")
+
+# Hostname of SMTP server
email_smtp_host = string(default='')
email_smtp_host = string(default='')
+
+# Port for SMTP server
email_smtp_port = integer(default=0)
email_smtp_port = integer(default=0)
+
+# Username used for SMTP server
email_smtp_user = string(default=None)
email_smtp_user = string(default=None)
+
+# Password used for SMTP server
email_smtp_pass = string(default=None)
email_smtp_pass = string(default=None)
+
# Set to false to disable registrations
allow_registration = boolean(default=True)
# Set to false to disable registrations
allow_registration = boolean(default=True)
@@
-51,7
+70,7
@@
allow_reporting = boolean(default=True)
show_tos = boolean(default=False)
# By default not set, but you might want something like:
show_tos = boolean(default=False)
# By default not set, but you might want something like:
-# "%(
here)s/user_dev
/templates/"
+# "%(
data_basedir)s
/templates/"
local_templates = string()
# Whether or not celery is set up via an environment variable or
local_templates = string()
# Whether or not celery is set up via an environment variable or
@@
-67,6
+86,9
@@
allow_attachments = boolean(default=False)
# Cookie stuff
csrf_cookie_name = string(default='mediagoblin_csrftoken')
# Cookie stuff
csrf_cookie_name = string(default='mediagoblin_csrftoken')
+# Set to true to prevent browsers leaking information through Referrers
+no_referrer = boolean(default=True)
+
# Push stuff
push_urls = string_list(default=list())
# Push stuff
push_urls = string_list(default=list())
@@
-74,14
+96,14
@@
exif_visible = boolean(default=False)
original_date_visible = boolean(default=False)
# Theming stuff
original_date_visible = boolean(default=False)
# Theming stuff
-theme_install_dir = string(default="%(
here)s/user_dev
/themes/")
+theme_install_dir = string(default="%(
data_basedir)s
/themes/")
theme_web_path = string(default="/theme_static/")
theme_web_path = string(default="/theme_static/")
-theme_linked_assets_dir = string(default="%(
here)s/user_dev
/theme_static/")
+theme_linked_assets_dir = string(default="%(
data_basedir)s
/theme_static/")
theme = string()
# plugin default assets directory
plugin_web_path = string(default="/plugin_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/")
+plugin_linked_assets_dir = string(default="%(
data_basedir)s
/plugin_static/")
# Default user upload limit (in Mb)
upload_limit = integer(default=None)
# Default user upload limit (in Mb)
upload_limit = integer(default=None)
@@
-89,6
+111,13
@@
upload_limit = integer(default=None)
# Max file size (in Mb)
max_file_size = integer(default=None)
# Max file size (in Mb)
max_file_size = integer(default=None)
+# Privilege scheme
+user_privilege_scheme = string(default="uploader,commenter,reporter")
+
+# Frequency garbage collection will run (setting to 0 or false to disable)
+# Setting units are minutes.
+garbage_collection = integer(default=60)
+
[jinja2]
# Jinja2 supports more directives than the minimum required by mediagoblin.
# This setting allows users creating custom templates to specify a list of
[jinja2]
# Jinja2 supports more directives than the minimum required by mediagoblin.
# This setting allows users creating custom templates to specify a list of
@@
-98,12
+127,12
@@
extensions = string_list(default=list())
[storage:publicstore]
storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
[storage:publicstore]
storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
-base_dir = string(default="%(
here)s/user_dev
/media/public")
+base_dir = string(default="%(
data_basedir)s
/media/public")
base_url = string(default="/mgoblin_media/")
[storage:queuestore]
storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
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")
+base_dir = string(default="%(
data_basedir)s
/media/queue")
[media:medium]
# Dimensions used when creating media display images.
[media:medium]
# Dimensions used when creating media display images.