liquid_feedback_frontend
annotate config/development.lua @ 324:07dc88da30cb
Changed version number to 2.beta1 \o/
| author | bsw | 
|---|---|
| date | Tue Feb 28 16:38:54 2012 +0100 (2012-02-28) | 
| parents | 22e4e26717ac | 
| children | 699b9fa7bc36 | 
| rev | line source | 
|---|---|
| bsw@301 | 1 config.absolute_base_url = "http://localhost/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@271 | 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 --) | 
| bsw@286 | 45 | 
| bsw@286 | 46 config.etherpad = { | 
| bsw@301 | 47 base_url = "http://localhost:9001/", | 
| bsw@301 | 48 api_base = "http://localhost:9001/", | 
| bsw@286 | 49 api_key = "g5XAVrRb5EgPuEqIdVrRNt2Juipx3PoH", | 
| bsw@286 | 50 group_id = "g.7WDKN3StkEyuWkyN", | 
| bsw@286 | 51 cookie_path = "/" | 
| bsw@286 | 52 } |