liquid_feedback_frontend

diff 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 diff
     1.1 --- a/config/example.lua	Thu Jun 28 17:24:18 2012 +0200
     1.2 +++ b/config/example.lua	Thu Jun 28 17:32:48 2012 +0200
     1.3 @@ -2,10 +2,6 @@
     1.4  -- MANDATORY CONFIG OPTIONS (MUST BE SET!)
     1.5  -- ========================================================================
     1.6  
     1.7 --- Name of this instance, defaults to name of config file
     1.8 --- ------------------------------------------------------------------------
     1.9 -config.instance_name = "Instance name"
    1.10 -
    1.11  -- Information about service provider (HTML)
    1.12  -- ------------------------------------------------------------------------
    1.13  config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
    1.14 @@ -21,7 +17,12 @@
    1.15      name = "terms_of_use_v1",
    1.16      html = "I accept the terms of use.",
    1.17      not_accepted_error = "You have to accept the terms of use to be able to register."
    1.18 -  }
    1.19 +  },
    1.20 +--  {
    1.21 +--    name = "extra_terms_of_use_v1",
    1.22 +--    html = "I accept the extra terms of use.",
    1.23 +--    not_accepted_error = "You have to accept the extra terms of use to be able to register."
    1.24 +--  }
    1.25  }
    1.26  
    1.27  -- ========================================================================
    1.28 @@ -29,6 +30,10 @@
    1.29  -- Remove leading -- to enable a option
    1.30  -- ========================================================================
    1.31  
    1.32 +-- Name of this instance, defaults to name of config file
    1.33 +-- ------------------------------------------------------------------------
    1.34 +-- config.instance_name = "Instance name"
    1.35 +
    1.36  -- Connection information for the LiquidFeedback database
    1.37  -- ------------------------------------------------------------------------
    1.38  -- config.database = { engine='postgresql', dbname='liquid_feedback' }
    1.39 @@ -45,14 +50,17 @@
    1.40  -- ------------------------------------------------------------------------
    1.41  -- config.default_lang = "en"
    1.42  
    1.43 --- after how long is a user considered inactive and the trustee will see warning
    1.44 --- notation is according to postgresql intervals
    1.45 +-- after how long is a user considered inactive and the trustee will see warning,
    1.46 +-- notation is according to postgresql intervals, default: no warning at all
    1.47  -- ------------------------------------------------------------------------
    1.48  -- config.delegation_warning_time = '6 months'
    1.49  
    1.50 --- Sender and prefix of all automatic mails, default to "[Liquid Feedback] "
    1.51 +-- Prefix of all automatic mails, defaults to "[Liquid Feedback] "
    1.52  -- ------------------------------------------------------------------------
    1.53  -- config.mail_subject_prefix = "[LiquidFeedback] "
    1.54 +
    1.55 +-- Sender of all automatic mails, defaults to system defaults
    1.56 +-- ------------------------------------------------------------------------
    1.57  -- config.mail_envelope_from = "liquid-support@example.com"
    1.58  -- config.mail_from = "LiquidFeedback"
    1.59  -- config.mail_reply_to = "liquid-support@example.com"
    1.60 @@ -71,10 +79,11 @@
    1.61  
    1.62  -- Set public access level
    1.63  -- Available options: false, "anonymous", "pseudonym", "full"
    1.64 +-- Defaults to "full"
    1.65  -- ------------------------------------------------------------------------
    1.66  -- config.public_access = "full"
    1.67  
    1.68 --- Use custom image conversion
    1.69 +-- Use custom image conversion, defaults to ImageMagick's convert
    1.70  -- ------------------------------------------------------------------------
    1.71  --config.member_image_content_type = "image/jpeg"
    1.72  --config.member_image_convert_func = {
    1.73 @@ -82,7 +91,7 @@
    1.74  --  photo =  function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end
    1.75  --}
    1.76  
    1.77 --- Integration of Etherpad
    1.78 +-- Integration of Etherpad, disabled by default
    1.79  -- ------------------------------------------------------------------------
    1.80  --config.etherpad = {
    1.81  --  base_url = "http://example.com:9001/",
    1.82 @@ -102,7 +111,7 @@
    1.83  
    1.84  
    1.85  -- ========================================================================
    1.86 --- Do main initialisation (DO NOT REMOVE THIS SECTION)
    1.87 +-- Do main initialisation (DO NOT REMOVE FOLLOWING SECTION)
    1.88  -- ========================================================================
    1.89  
    1.90  execute.config("init")

Impressum / About Us