liquid_feedback_frontend
view config/development.lua @ 559:afd406d96044
Fixed a link and grammar in notifications
| author | bsw | 
|---|---|
| date | Tue Jun 19 21:27:55 2012 +0200 (2012-06-19) | 
| parents | 4cee33ad5e16 | 
| children | 344e5fdce8c9 | 
 line source
     1 config.absolute_base_url = "http://10.8.33.34/lf/"
     3 execute.config("default")
     5 config.formatting_engine_executeables = {
     6   rocketwiki= "/opt/rocketwiki/rocketwiki-lqfb",
     7   compat = "/opt/rocketwiki/rocketwiki-lqfb-compat"
     8 }
    10 config.mail_from = "LiquidFeedback"
    11 config.mail_reply_to = "liquid-support@localhost"
    13 config.issue_discussion_url_func = function(issue) return "http://example.com/issue_" .. tostring(issue.id) end
    15 config.auth_openid_enabled = false
    16 config.auth_openid_https_as_default = true
    18 config.api_enabled = true
    20 config.auth_openid_identifier_check_func = function(uri)
    21   local uri = uri:lower()
    22   if uri:find("^https://") then
    23     uri = uri:match("^https://(.*)")
    24   end
    25   if uri:find("^[0-9A-Za-z_-]+%.example%.com/?$") then
    26     return true
    27   else
    28     return false
    29   end
    30 end
    32 config.motd_public = "==Public motd=="
    34 --config.motd_intern = "==Internal motd=="
    36 config.public_access = "full"
    38 -- you can put some js code to the bottom on the page
    39 -- here it opens the trace window
    41 --slot.put_into(
    42 --  "custom_script",
    43 --  "document.getElementById('trace_show').onclick();"
    44 --)
    46 config.etherpad = {
    47   base_url = "http://10.8.33.34:9001/",
    48   api_base = "http://10.8.33.34:9001/",
    49   api_key = "g5XAVrRb5EgPuEqIdVrRNt2Juipx3PoH",
    50   group_id = "g.7WDKN3StkEyuWkyN",
    51   cookie_path = "/"
    52 }
    54 config.document_dir = "/home/dark/tmp"
