annotate config/defaults.lua @ 729:f52f918b38b8
Cleanup of config and orphaned code
| author |
bsw |
| date |
Thu Jun 28 17:07:00 2012 +0200 (2012-06-28) |
| parents |
|
| children |
|
| rev |
line source |
|
bsw@729
|
1 config.app_version = "2.beta12"
|
|
bsw@729
|
2
|
|
bsw@729
|
3 config.instance_name = request.get_config_name()
|
|
bsw@729
|
4
|
|
bsw@729
|
5 config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
|
|
bsw@729
|
6
|
|
bsw@729
|
7 config.use_terms = "=== Terms of Use ==="
|
|
bsw@729
|
8
|
|
bsw@729
|
9 config.use_terms_checkboxes = {
|
|
bsw@729
|
10 {
|
|
bsw@729
|
11 name = "terms_of_use_v1",
|
|
bsw@729
|
12 html = "I accept the terms of use.",
|
|
bsw@729
|
13 not_accepted_error = "You have to accept the terms of use to be able to register."
|
|
bsw@729
|
14 }
|
|
bsw@729
|
15 }
|
|
bsw@729
|
16
|
|
bsw@729
|
17 config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu' }
|
|
bsw@729
|
18
|
|
bsw@729
|
19 config.default_lang = "en"
|
|
bsw@729
|
20
|
|
bsw@729
|
21 config.delegation_warning_time = '6 months'
|
|
bsw@729
|
22
|
|
bsw@729
|
23 config.mail_subject_prefix = "[LiquidFeedback] "
|
|
bsw@729
|
24
|
|
bsw@729
|
25 config.fastpath_url_func = nil
|
|
bsw@729
|
26
|
|
bsw@729
|
27 config.download_dir = nil
|
|
bsw@729
|
28
|
|
bsw@729
|
29 config.download_use_terms = "=== Nutzungsbedingungen ===\nAlles ist verboten"
|
|
bsw@729
|
30
|
|
bsw@729
|
31 config.public_access = false
|
|
bsw@729
|
32
|
|
bsw@729
|
33 config.member_image_content_type = "image/jpeg"
|
|
bsw@729
|
34
|
|
bsw@729
|
35 config.member_image_convert_func = {
|
|
bsw@729
|
36 avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end,
|
|
bsw@729
|
37 photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end
|
|
bsw@729
|
38 }
|
|
bsw@729
|
39
|