liquid_feedback_frontend
view config/example.lua @ 823:0be47575a1b3
Updated Italian translation file
| author | bsw | 
|---|---|
| date | Sun Jul 08 14:19:41 2012 +0200 (2012-07-08) | 
| parents | ea2449916c12 | 
| children | ff48c77b034a | 
 line source
     1 -- ========================================================================
     2 -- MANDATORY (MUST BE CAREFULLY CHECKED AND PROPERLY SET!)
     3 -- ========================================================================
     5 -- Name of this instance, defaults to name of config file
     6 -- ------------------------------------------------------------------------
     7 config.instance_name = "Instance name"
    10 -- Information about service provider (HTML)
    11 -- ------------------------------------------------------------------------
    12 config.app_service_provider = "Snake Oil<br/>10000 Berlin<br/>Germany"
    15 -- A rocketwiki formatted text the user has to accept while registering
    16 -- ------------------------------------------------------------------------
    17 config.use_terms = "=== Terms of Use ==="
    20 -- Checkbox(es) the user has to accept while registering
    21 -- ------------------------------------------------------------------------
    22 config.use_terms_checkboxes = {
    23   {
    24     name = "terms_of_use_v1",
    25     html = "I accept the terms of use.",
    26     not_accepted_error = "You have to accept the terms of use to be able to register."
    27   },
    28 --  {
    29 --    name = "extra_terms_of_use_v1",
    30 --    html = "I accept the extra terms of use.",
    31 --    not_accepted_error = "You have to accept the extra terms of use to be able to register."
    32 --  }
    33 }
    36 -- Absolute base url of application
    37 -- ------------------------------------------------------------------------
    38 config.absolute_base_url = "http://example.com/"
    41 -- Connection information for the LiquidFeedback database
    42 -- ------------------------------------------------------------------------
    43 config.database = { engine='postgresql', dbname='liquid_feedback' }
    46 -- Location of the rocketwiki binaries
    47 -- ------------------------------------------------------------------------
    48 config.formatting_engine_executeables = {
    49   rocketwiki= "/opt/rocketwiki-lqfb/rocketwiki-lqfb",
    50   compat = "/opt/rocketwiki-lqfb/rocketwiki-lqfb-compat"
    51 }
    54 -- Public access level
    55 -- ------------------------------------------------------------------------
    56 -- Available options:
    57 -- "none" 
    58 --     -> Closed user group, no public access at all
    59 --        (except login/registration/password reset)
    60 -- "anonymous"
    61 --     -> Shows only initiative/suggestions texts and aggregated
    62 --        supporter/voter counts
    63 -- "authors_pseudonymous" 
    64 --     -> Like anonymous, but shows screen names of authors
    65 -- "all_pseudonymous" 
    66 --     -> Show everything a member can see, except profile pages
    67 -- "everything"
    68 --     -> Show everything a member can see, including profile pages
    69 -- ------------------------------------------------------------------------
    70 config.public_access = "none"
    74 -- ========================================================================
    75 -- OPTIONAL
    76 -- Remove leading -- to use a option
    77 -- ========================================================================
    79 -- List of enabled languages, defaults to available languages
    80 -- ------------------------------------------------------------------------
    81 -- config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu' }
    83 -- Default language, defaults to "en"
    84 -- ------------------------------------------------------------------------
    85 -- config.default_lang = "en"
    87 -- after how long is a user considered inactive and the trustee will see warning,
    88 -- notation is according to postgresql intervals, default: no warning at all
    89 -- ------------------------------------------------------------------------
    90 -- config.delegation_warning_time = '6 months'
    92 -- Prefix of all automatic mails, defaults to "[Liquid Feedback] "
    93 -- ------------------------------------------------------------------------
    94 -- config.mail_subject_prefix = "[LiquidFeedback] "
    96 -- Sender of all automatic mails, defaults to system defaults
    97 -- ------------------------------------------------------------------------
    98 -- config.mail_envelope_from = "liquid-support@example.com"
    99 -- config.mail_from = "LiquidFeedback"
   100 -- config.mail_reply_to = "liquid-support@example.com"
   102 -- Supply custom url for avatar/photo delivery
   103 -- ------------------------------------------------------------------------
   104 -- config.fastpath_url_func = nil
   106 -- Local directory for database dumps offered for download
   107 -- ------------------------------------------------------------------------
   108 -- config.download_dir = nil
   110 -- Special use terms for database dump download
   111 -- ------------------------------------------------------------------------
   112 -- config.download_use_terms = "=== Download use terms ===\n"
   114 -- Use custom image conversion, defaults to ImageMagick's convert
   115 -- ------------------------------------------------------------------------
   116 --config.member_image_content_type = "image/jpeg"
   117 --config.member_image_convert_func = {
   118 --  avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail",   "48x48", "jpeg:-") end,
   119 --  photo =  function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end
   120 --}
   122 -- Integration of Etherpad, disabled by default
   123 -- ------------------------------------------------------------------------
   124 --config.etherpad = {
   125 --  base_url = "http://example.com:9001/",
   126 --  api_base = "http://localhost:9001/",
   127 --  api_key = "mysecretapikey",
   128 --  group_id = "mygroupname",
   129 --  cookie_path = "/"
   130 --}
   132 -- WebMCP accelerator
   133 -- uncomment the following two lines to use C implementations of chosen
   134 -- functions and to disable garbage collection during the request, to
   135 -- increase speed:
   136 -- ------------------------------------------------------------------------
   137 -- require 'webmcp_accelerator'
   138 -- if cgi then collectgarbage("stop") end
   141 -- ========================================================================
   142 -- Do main initialisation (DO NOT REMOVE FOLLOWING SECTION)
   143 -- ========================================================================
   145 execute.config("init")
