liquid_feedback_frontend

annotate config/development.lua @ 82:9cb7b5c7caa0

Added tag beta22 for changeset 134fce4bede3
author bsw
date Sat Jul 24 17:35:01 2010 +0200 (2010-07-24)
parents c553898f64cb
children 10b7329ab0a2
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@69 30 end
bsw@69 31
bsw@69 32 config.motd_public = "==Public motd=="
bsw@69 33
bsw@69 34 config.motd_intern = "==Internal motd=="
bsw@69 35
bsw@69 36 config.public_access = "anonymous"

Impressum / About Us