liquid_feedback_frontend

view config/example.lua @ 734:9d104952554a

Completed cleanup of config
author bsw
date Thu Jun 28 17:32:48 2012 +0200 (2012-06-28)
parents 9c88e513a8f7
children 92da28b31fd3
line source
1 -- ========================================================================
2 -- MANDATORY CONFIG OPTIONS (MUST BE SET!)
3 -- ========================================================================
5 -- Information about service provider (HTML)
6 -- ------------------------------------------------------------------------
7 config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
9 -- A rocketwiki formatted text the user has to accept while registering
10 -- ------------------------------------------------------------------------
11 config.use_terms = "=== Terms of Use ==="
13 -- Checkbox(es) the user has to accept while registering
14 -- ------------------------------------------------------------------------
15 config.use_terms_checkboxes = {
16 {
17 name = "terms_of_use_v1",
18 html = "I accept the terms of use.",
19 not_accepted_error = "You have to accept the terms of use to be able to register."
20 },
21 -- {
22 -- name = "extra_terms_of_use_v1",
23 -- html = "I accept the extra terms of use.",
24 -- not_accepted_error = "You have to accept the extra terms of use to be able to register."
25 -- }
26 }
28 -- ========================================================================
29 -- Optional config options
30 -- Remove leading -- to enable a option
31 -- ========================================================================
33 -- Name of this instance, defaults to name of config file
34 -- ------------------------------------------------------------------------
35 -- config.instance_name = "Instance name"
37 -- Connection information for the LiquidFeedback database
38 -- ------------------------------------------------------------------------
39 -- config.database = { engine='postgresql', dbname='liquid_feedback' }
41 -- Absolute base url of application
42 -- ------------------------------------------------------------------------
43 -- config.absolute_base_url = "http://example.com/"
45 -- List of enabled languages, defaults to available languages
46 -- ------------------------------------------------------------------------
47 -- config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu' }
49 -- Default language, defaults to "en"
50 -- ------------------------------------------------------------------------
51 -- config.default_lang = "en"
53 -- after how long is a user considered inactive and the trustee will see warning,
54 -- notation is according to postgresql intervals, default: no warning at all
55 -- ------------------------------------------------------------------------
56 -- config.delegation_warning_time = '6 months'
58 -- Prefix of all automatic mails, defaults to "[Liquid Feedback] "
59 -- ------------------------------------------------------------------------
60 -- config.mail_subject_prefix = "[LiquidFeedback] "
62 -- Sender of all automatic mails, defaults to system defaults
63 -- ------------------------------------------------------------------------
64 -- config.mail_envelope_from = "liquid-support@example.com"
65 -- config.mail_from = "LiquidFeedback"
66 -- config.mail_reply_to = "liquid-support@example.com"
68 -- Supply custom url for avatar/photo delivery
69 -- ------------------------------------------------------------------------
70 -- config.fastpath_url_func = nil
72 -- Local directory for database dumps offered for download
73 -- ------------------------------------------------------------------------
74 -- config.download_dir = nil
76 -- Special use terms for database dump download
77 -- ------------------------------------------------------------------------
78 -- config.download_use_terms = "=== Download use terms ===\n"
80 -- Set public access level
81 -- Available options: false, "anonymous", "pseudonym", "full"
82 -- Defaults to "full"
83 -- ------------------------------------------------------------------------
84 -- config.public_access = "full"
86 -- Use custom image conversion, defaults to ImageMagick's convert
87 -- ------------------------------------------------------------------------
88 --config.member_image_content_type = "image/jpeg"
89 --config.member_image_convert_func = {
90 -- avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end,
91 -- photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end
92 --}
94 -- Integration of Etherpad, disabled by default
95 -- ------------------------------------------------------------------------
96 --config.etherpad = {
97 -- base_url = "http://example.com:9001/",
98 -- api_base = "http://localhost:9001/",
99 -- api_key = "mysecretapikey",
100 -- group_id = "mygroupname",
101 -- cookie_path = "/"
102 --}
104 -- WebMCP accelerator
105 -- uncomment the following two lines to use C implementations of chosen
106 -- functions and to disable garbage collection during the request, to
107 -- increase speed:
108 -- ------------------------------------------------------------------------
109 -- require 'webmcp_accelerator'
110 -- collectgarbage("stop")
113 -- ========================================================================
114 -- Do main initialisation (DO NOT REMOVE FOLLOWING SECTION)
115 -- ========================================================================
117 execute.config("init")

Impressum / About Us