liquid_feedback_frontend
view config/default.lua @ 731:0015fa6eb637
Made config easier
author | bsw |
---|---|
date | Thu Jun 28 17:21:16 2012 +0200 (2012-06-28) |
parents | 2496ac5368ad |
children | 3a61d21618f6 |
line source
1 -- ========================================================================
2 -- MANDATORY CONFIG OPTIONS (MUST BE SET!)
3 -- ========================================================================
5 -- Name of this instance, defaults to name of config file
6 -- ------------------------------------------------------------------------
7 config.instance_name = "Instance name"
9 -- Information about service provider (HTML)
10 -- ------------------------------------------------------------------------
11 config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
13 -- A rocketwiki formatted text the user has to accept while registering
14 -- ------------------------------------------------------------------------
15 config.use_terms = "=== Terms of Use ==="
17 -- Checkbox(es) the user has to accept while registering
18 -- ------------------------------------------------------------------------
19 config.use_terms_checkboxes = {
20 {
21 name = "terms_of_use_v1",
22 html = "I accept the terms of use.",
23 not_accepted_error = "You have to accept the terms of use to be able to register."
24 }
25 }
27 -- ========================================================================
28 -- Optional config options
29 -- ========================================================================
31 -- Absolute base url of application
32 -- ------------------------------------------------------------------------
33 -- config.absolute_base_url = "http://example.com/"
35 -- List of enabled languages, defaults to available languages
36 -- ------------------------------------------------------------------------
37 -- config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu' }
39 -- Default language, defaults to "en"
40 -- ------------------------------------------------------------------------
41 -- config.default_lang = "en"
43 -- after how long is a user considered inactive and the trustee will see warning
44 -- notation is according to postgresql intervals
45 -- ------------------------------------------------------------------------
46 -- config.delegation_warning_time = '6 months'
48 -- Sender and prefix of all automatic mails, default to "[Liquid Feedback] "
49 -- ------------------------------------------------------------------------
50 -- config.mail_subject_prefix = "[LiquidFeedback] "
51 -- config.mail_envelope_from = "liquid-support@example.com"
52 -- config.mail_from = "LiquidFeedback"
53 -- config.mail_reply_to = "liquid-support@example.com"
55 -- Supply custom url for avatar/photo delivery
56 -- ------------------------------------------------------------------------
57 -- config.fastpath_url_func = nil
59 -- Local directory for database dumps offered for download
60 -- ------------------------------------------------------------------------
61 -- config.download_dir = nil
63 -- Special use terms for database dump download
64 -- ------------------------------------------------------------------------
65 -- config.download_use_terms = "=== Download use terms ===\n"
67 -- Set public access level
68 -- Available options: false, "anonymous", "pseudonym", "full"
69 -- ------------------------------------------------------------------------
70 -- config.public_access = "full"
72 -- Use custom image conversion
73 -- ------------------------------------------------------------------------
74 --config.member_image_content_type = "image/jpeg"
75 --config.member_image_convert_func = {
76 -- avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end,
77 -- photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end
78 --}
80 -- Integration of Etherpad
81 -- ------------------------------------------------------------------------
82 --config.etherpad = {
83 -- base_url = "http://example.com:9001/",
84 -- api_base = "http://localhost:9001/",
85 -- api_key = "mysecretapikey",
86 -- group_id = "mygroupname",
87 -- cookie_path = "/"
88 --}
90 -- WebMCP accelerator
91 -- uncomment the following two lines to use C implementations of chosen
92 -- functions and to disable garbage collection during the request, to
93 -- increase speed:
94 -- ------------------------------------------------------------------------
95 -- require 'webmcp_accelerator'
96 -- collectgarbage("stop")
99 -- ========================================================================
100 -- Do main initialisation (DO NOT REMOVE THIS SECTION)
101 -- ========================================================================
103 execute.config("init")