liquid_feedback_frontend

annotate config/development.lua @ 55:f60ce77ff232

Added tag beta16 for changeset 2cb85f9210b8
author jbe
date Thu Apr 15 21:26:38 2010 +0200 (2010-04-15)
parents 88ac7798b562
children c553898f64cb
rev   line source
bsw/jbe@6 1 config.absolute_base_url = "http://10.8.33.34/lf/"
bsw/jbe@6 2
bsw/jbe@0 3 execute.config("default")
bsw/jbe@0 4
bsw/jbe@4 5 config.formatting_engine_executeables = {
bsw/jbe@4 6 rocketwiki= "/opt/rocketwiki/rocketwiki-lqfb",
bsw/jbe@4 7 compat = "/opt/rocketwiki/rocketwiki-lqfb-compat"
bsw/jbe@4 8 }
bsw/jbe@6 9
bsw/jbe@6 10 config.mail_from = "LiquidFeedback"
bsw/jbe@6 11 config.mail_reply_to = "liquid-support@localhost"
bsw@10 12
bsw@51 13 config.issue_discussion_url_func = function(issue) return "http://example.com/issue_" .. tostring(issue.id) end
bsw@51 14
bsw/jbe@52 15 config.auth_openid_enabled = false
bsw@51 16 config.auth_openid_https_as_default = true
bsw@51 17
bsw/jbe@52 18 config.api_enabled = true
bsw/jbe@52 19
bsw@51 20 config.auth_openid_identifier_check_func = function(uri)
bsw@51 21 local uri = uri:lower()
bsw@51 22 if uri:find("^https://") then
bsw@51 23 uri = uri:match("^https://(.*)")
bsw@51 24 end
bsw@51 25 if uri:find("^[0-9A-Za-z_-]+%.example%.com/?$") then
bsw@51 26 return true
bsw@51 27 else
bsw@51 28 return false
bsw@51 29 end
bsw@51 30 end

Impressum / About Us