liquid_feedback_frontend

view config/default.lua @ 729:f52f918b38b8

Cleanup of config and orphaned code
author bsw
date Thu Jun 28 17:07:00 2012 +0200 (2012-06-28)
parents f49cdfb72567
children 2496ac5368ad
line source
1 ---------------------------------------------------------------------------
2 -- Include defaults (DO NOT REMOVE THIS SECTION)
3 ---------------------------------------------------------------------------
4 execute.config("defaults")
6 ---------------------------------------------------------------------------
7 -- MANDATORY CONFIG OPTIONS
8 ---------------------------------------------------------------------------
10 -- Name of this instance, defaults to name of config file
11 -- config.instance_name = "Instance name"
13 -- Information about service provider
14 ---------------------------------------------------------------------------
15 config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
17 -- A rocketwiki formatted text the user has to accept while registering
18 ---------------------------------------------------------------------------
19 config.use_terms = "=== Terms of Use ==="
21 -- Checkbox(es) the user has to accept while registering
22 ---------------------------------------------------------------------------
23 config.use_terms_checkboxes = {
24 {
25 name = "terms_of_use_v1",
26 html = "I accept the terms of use.",
27 not_accepted_error = "You have to accept the terms of use to be able to register."
28 }
29 }
31 ---------------------------------------------------------------------------
32 -- Optional config options
33 ---------------------------------------------------------------------------
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 ---------------------------------------------------------------------------
92 -- uncomment the following two lines to use C implementations of chosen
93 -- functions and to disable garbage collection during the request, to
94 -- increase speed:
95 --
96 -- require 'webmcp_accelerator'
97 -- collectgarbage("stop")
100 ---------------------------------------------------------------------------
101 -- Do main initialisation (DO NOT REMOVE THIS SECTION)
102 ---------------------------------------------------------------------------
103 execute.config("init")

Impressum / About Us