liquid_feedback_frontend
annotate config/development.lua @ 194:c0292c3a70d8
Added policy editor to admin area
| author | bsw | 
|---|---|
| date | Mon Nov 08 15:05:15 2010 +0100 (2010-11-08) | 
| parents | 10b7329ab0a2 | 
| children | 4993b71b383f d13b27a37ad5 | 
| 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 | 
| poelzi@110 | 36 config.public_access = "anonymous" | 
| poelzi@110 | 37 | 
| poelzi@110 | 38 -- you can put some js code to the bottom on the page | 
| poelzi@110 | 39 -- here it opens the trace window | 
| poelzi@110 | 40 | 
| poelzi@110 | 41 --slot.put_into( | 
| poelzi@110 | 42 -- "custom_script", | 
| poelzi@110 | 43 -- "document.getElementById('trace_show').onclick();" | 
| poelzi@110 | 44 --) |