Allow user to set whether comments are ascending or descending
[mediagoblin.git] / mediagoblin / config_spec.ini
1 [mediagoblin]
2 # database stuff
3 db_host = string()
4 db_name = string(default="mediagoblin")
5 db_port = integer()
6
7
8 # Where temporary files used in processing and etc are kept
9 workbench_path = string(default="%(here)s/user_dev/media/workbench")
10
11
12 # Where mediagoblin-builtin static assets are kept
13 direct_remote_path = string(default="/mgoblin_static/")
14
15 # set to false to enable sending notices
16 email_debug_mode = boolean(default=True)
17 email_sender_address = string(default="notice@mediagoblin.example.org")
18 email_smtp_host = string(default='')
19 email_smtp_port = integer(default=25)
20 email_smtp_user = string(default=None)
21 email_smtp_pass = string(default=None)
22
23 # Set to false to disable registrations
24 allow_registration = boolean(default=True)
25
26 # tag parsing
27 tags_delimiter = string(default=",")
28 tags_max_length = integer(default=50)
29
30 # Whether comments are ascending or descending
31 comments_ascending = boolean(default=True)
32
33 # By default not set, but you might want something like:
34 # "%(here)s/user_dev/templates/"
35 local_templates = string()
36
37 # Whether or not celery is set up via an environment variable or
38 # something else (and thus mediagoblin should not attempt to set it up
39 # itself)
40 celery_setup_elsewhere = boolean(default=False)
41
42 # Whether or not users are able to upload files of any filetype with
43 # their media entries -- This is useful if you want to provide the
44 # source files for a media file but can also be a HUGE security risk.
45 allow_attachments = boolean(default=False)
46
47 # Cookie stuff
48 csrf_cookie_name = string(default='mediagoblin_csrftoken')
49
50 [storage:publicstore]
51 storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
52 base_dir = string(default="%(here)s/user_dev/media/public")
53 base_url = string(default="/mgoblin_media/")
54
55 [storage:queuestore]
56 storage_class = string(default="mediagoblin.storage.filestorage:BasicFileStorage")
57 base_dir = string(default="%(here)s/user_dev/media/queue")
58
59
60 [beaker.cache]
61 type = string(default="file")
62 data_dir = string(default="%(here)s/user_dev/beaker/cache/data")
63 lock_dir = string(default="%(here)s/user_dev/beaker/cache/lock")
64
65
66 [celery]
67 # known booleans
68 celery_result_persistent = boolean()
69 celery_create_missing_queues = boolean()
70 broker_use_ssl = boolean()
71 broker_connection_retry = boolean()
72 celery_always_eager = boolean()
73 celery_eager_propagates_exceptions = boolean()
74 celery_ignore_result = boolean()
75 celery_track_started = boolean()
76 celery_disable_rate_limits = boolean()
77 celery_acks_late = boolean()
78 celery_store_errors_even_if_ignored = boolean()
79 celery_send_task_error_emails = boolean()
80 celery_send_events = boolean()
81 celery_send_task_sent_event = boolean()
82 celeryd_log_color = boolean()
83 celery_redirect_stdouts = boolean()
84
85 # known ints
86 celeryd_concurrency = integer()
87 celeryd_prefetch_multiplier = integer()
88 celery_amqp_task_result_expires = integer()
89 celery_amqp_task_result_connection_max = integer()
90 redis_port = integer()
91 redis_db = integer()
92 broker_port = integer()
93 broker_connection_timeout = integer()
94 celery_broker_connection_max_retries = integer()
95 celery_task_result_expires = integer()
96 celery_max_cached_results = integer()
97 celery_default_rate_limit = integer()
98 celeryd_max_tasks_per_child = integer()
99 celeryd_task_time_limit = integer()
100 celeryd_task_soft_time_limit = integer()
101 mail_port = integer()
102 celerybeat_max_loop_interval = integer()
103
104 # known floats
105 celeryd_eta_scheduler_precision = float()
106
107 # known lists
108 celery_routes = string_list()
109 celery_imports = string_list()