liquid_feedback_frontend
diff config/example.lua @ 813:ea2449916c12
Cleaned up public access levels
author | bsw |
---|---|
date | Fri Jul 06 13:58:20 2012 +0200 (2012-07-06) |
parents | 652c318560f8 |
children | ff48c77b034a |
line diff
1.1 --- a/config/example.lua Fri Jul 06 13:34:02 2012 +0200 1.2 +++ b/config/example.lua Fri Jul 06 13:58:20 2012 +0200 1.3 @@ -1,15 +1,22 @@ 1.4 -- ======================================================================== 1.5 --- MANDATORY (MUST BE SET!) 1.6 +-- MANDATORY (MUST BE CAREFULLY CHECKED AND PROPERLY SET!) 1.7 -- ======================================================================== 1.8 1.9 +-- Name of this instance, defaults to name of config file 1.10 +-- ------------------------------------------------------------------------ 1.11 +config.instance_name = "Instance name" 1.12 + 1.13 + 1.14 -- Information about service provider (HTML) 1.15 -- ------------------------------------------------------------------------ 1.16 config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany" 1.17 1.18 + 1.19 -- A rocketwiki formatted text the user has to accept while registering 1.20 -- ------------------------------------------------------------------------ 1.21 config.use_terms = "=== Terms of Use ===" 1.22 1.23 + 1.24 -- Checkbox(es) the user has to accept while registering 1.25 -- ------------------------------------------------------------------------ 1.26 config.use_terms_checkboxes = { 1.27 @@ -24,7 +31,18 @@ 1.28 -- not_accepted_error = "You have to accept the extra terms of use to be able to register." 1.29 -- } 1.30 } 1.31 + 1.32 1.33 +-- Absolute base url of application 1.34 +-- ------------------------------------------------------------------------ 1.35 +config.absolute_base_url = "http://example.com/" 1.36 + 1.37 + 1.38 +-- Connection information for the LiquidFeedback database 1.39 +-- ------------------------------------------------------------------------ 1.40 +config.database = { engine='postgresql', dbname='liquid_feedback' } 1.41 + 1.42 + 1.43 -- Location of the rocketwiki binaries 1.44 -- ------------------------------------------------------------------------ 1.45 config.formatting_engine_executeables = { 1.46 @@ -32,17 +50,25 @@ 1.47 compat = "/opt/rocketwiki-lqfb/rocketwiki-lqfb-compat" 1.48 } 1.49 1.50 --- Absolute base url of application 1.51 --- ------------------------------------------------------------------------ 1.52 -config.absolute_base_url = "http://example.com/" 1.53 1.54 --- Name of this instance, defaults to name of config file 1.55 +-- Public access level 1.56 -- ------------------------------------------------------------------------ 1.57 -config.instance_name = "Instance name" 1.58 +-- Available options: 1.59 +-- "none" 1.60 +-- -> Closed user group, no public access at all 1.61 +-- (except login/registration/password reset) 1.62 +-- "anonymous" 1.63 +-- -> Shows only initiative/suggestions texts and aggregated 1.64 +-- supporter/voter counts 1.65 +-- "authors_pseudonymous" 1.66 +-- -> Like anonymous, but shows screen names of authors 1.67 +-- "all_pseudonymous" 1.68 +-- -> Show everything a member can see, except profile pages 1.69 +-- "everything" 1.70 +-- -> Show everything a member can see, including profile pages 1.71 +-- ------------------------------------------------------------------------ 1.72 +config.public_access = "none" 1.73 1.74 --- Connection information for the LiquidFeedback database 1.75 --- ------------------------------------------------------------------------ 1.76 -config.database = { engine='postgresql', dbname='liquid_feedback' } 1.77 1.78 1.79 -- ======================================================================== 1.80 @@ -85,12 +111,6 @@ 1.81 -- ------------------------------------------------------------------------ 1.82 -- config.download_use_terms = "=== Download use terms ===\n" 1.83 1.84 --- Set public access level 1.85 --- Available options: false, "anonymous", "pseudonym", "full" 1.86 --- Defaults to false (no public access) 1.87 --- ------------------------------------------------------------------------ 1.88 --- config.public_access = false 1.89 - 1.90 -- Use custom image conversion, defaults to ImageMagick's convert 1.91 -- ------------------------------------------------------------------------ 1.92 --config.member_image_content_type = "image/jpeg"