liquid_feedback_frontend

view config/example.lua @ 735:92da28b31fd3

Added rocketwiki executeable to config again
author bsw
date Thu Jun 28 17:55:02 2012 +0200 (2012-06-28)
parents 9d104952554a
children 0946d848a3f4
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 -- Location of the rocketwiki binaries
29 -- ------------------------------------------------------------------------
30 config.formatting_engine_executeables = {
31 rocketwiki= "/opt/rocketwiki-lqfb/rocketwiki-lqfb",
32 compat = "/opt/rocketwiki-lqfb/rocketwiki-lqfb-compat"
33 }
35 -- ========================================================================
36 -- Optional config options
37 -- Remove leading -- to enable a option
38 -- ========================================================================
40 -- Name of this instance, defaults to name of config file
41 -- ------------------------------------------------------------------------
42 -- config.instance_name = "Instance name"
44 -- Connection information for the LiquidFeedback database
45 -- ------------------------------------------------------------------------
46 -- config.database = { engine='postgresql', dbname='liquid_feedback' }
48 -- Absolute base url of application
49 -- ------------------------------------------------------------------------
50 -- config.absolute_base_url = "http://example.com/"
52 -- List of enabled languages, defaults to available languages
53 -- ------------------------------------------------------------------------
54 -- config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu' }
56 -- Default language, defaults to "en"
57 -- ------------------------------------------------------------------------
58 -- config.default_lang = "en"
60 -- after how long is a user considered inactive and the trustee will see warning,
61 -- notation is according to postgresql intervals, default: no warning at all
62 -- ------------------------------------------------------------------------
63 -- config.delegation_warning_time = '6 months'
65 -- Prefix of all automatic mails, defaults to "[Liquid Feedback] "
66 -- ------------------------------------------------------------------------
67 -- config.mail_subject_prefix = "[LiquidFeedback] "
69 -- Sender of all automatic mails, defaults to system defaults
70 -- ------------------------------------------------------------------------
71 -- config.mail_envelope_from = "liquid-support@example.com"
72 -- config.mail_from = "LiquidFeedback"
73 -- config.mail_reply_to = "liquid-support@example.com"
75 -- Supply custom url for avatar/photo delivery
76 -- ------------------------------------------------------------------------
77 -- config.fastpath_url_func = nil
79 -- Local directory for database dumps offered for download
80 -- ------------------------------------------------------------------------
81 -- config.download_dir = nil
83 -- Special use terms for database dump download
84 -- ------------------------------------------------------------------------
85 -- config.download_use_terms = "=== Download use terms ===\n"
87 -- Set public access level
88 -- Available options: false, "anonymous", "pseudonym", "full"
89 -- Defaults to "full"
90 -- ------------------------------------------------------------------------
91 -- config.public_access = "full"
93 -- Use custom image conversion, defaults to ImageMagick's convert
94 -- ------------------------------------------------------------------------
95 --config.member_image_content_type = "image/jpeg"
96 --config.member_image_convert_func = {
97 -- avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end,
98 -- photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end
99 --}
101 -- Integration of Etherpad, disabled by default
102 -- ------------------------------------------------------------------------
103 --config.etherpad = {
104 -- base_url = "http://example.com:9001/",
105 -- api_base = "http://localhost:9001/",
106 -- api_key = "mysecretapikey",
107 -- group_id = "mygroupname",
108 -- cookie_path = "/"
109 --}
111 -- WebMCP accelerator
112 -- uncomment the following two lines to use C implementations of chosen
113 -- functions and to disable garbage collection during the request, to
114 -- increase speed:
115 -- ------------------------------------------------------------------------
116 -- require 'webmcp_accelerator'
117 -- collectgarbage("stop")
120 -- ========================================================================
121 -- Do main initialisation (DO NOT REMOVE FOLLOWING SECTION)
122 -- ========================================================================
124 execute.config("init")

Impressum / About Us