bsw@729: --------------------------------------------------------------------------- bsw@729: -- Include defaults (DO NOT REMOVE THIS SECTION) bsw@729: --------------------------------------------------------------------------- bsw@729: execute.config("defaults") bsw/jbe@0: bsw@729: --------------------------------------------------------------------------- bsw@729: -- MANDATORY CONFIG OPTIONS bsw@729: --------------------------------------------------------------------------- bsw@525: bsw@729: -- Name of this instance, defaults to name of config file bsw@729: -- config.instance_name = "Instance name" bsw/jbe@0: bsw@729: -- Information about service provider bsw@729: --------------------------------------------------------------------------- bsw/jbe@0: config.app_service_provider = "Snake Oil
10000 Berlin
Germany" bsw/jbe@0: bsw@729: -- A rocketwiki formatted text the user has to accept while registering bsw@729: --------------------------------------------------------------------------- bsw@729: config.use_terms = "=== Terms of Use ===" bsw@88: bsw@729: -- Checkbox(es) the user has to accept while registering bsw@729: --------------------------------------------------------------------------- bsw@79: config.use_terms_checkboxes = { bsw@79: { jbe@232: name = "terms_of_use_v1", jbe@232: html = "I accept the terms of use.", jbe@232: not_accepted_error = "You have to accept the terms of use to be able to register." bsw@79: } bsw@79: } bsw@79: bsw@729: --------------------------------------------------------------------------- bsw@729: -- Optional config options bsw@729: --------------------------------------------------------------------------- bsw/jbe@6: bsw@729: -- List of enabled languages, defaults to available languages bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu' } bsw@2: bsw@729: -- Default language, defaults to "en" bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.default_lang = "en" poelzi@163: bsw@203: -- after how long is a user considered inactive and the trustee will see warning bsw@204: -- notation is according to postgresql intervals bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.delegation_warning_time = '6 months' bsw/jbe@6: bsw@729: -- Sender and prefix of all automatic mails, default to "[Liquid Feedback] " bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.mail_subject_prefix = "[LiquidFeedback] " bsw@729: -- config.mail_envelope_from = "liquid-support@example.com" bsw@729: -- config.mail_from = "LiquidFeedback" bsw@729: -- config.mail_reply_to = "liquid-support@example.com" bsw/jbe@6: bsw@729: -- Supply custom url for avatar/photo delivery bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.fastpath_url_func = nil bsw@51: bsw@729: -- Local directory for database dumps offered for download bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.download_dir = nil bsw@51: bsw@729: -- Special use terms for database dump download bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.download_use_terms = "=== Download use terms ===\n" bsw/jbe@52: bsw@729: -- Set public access level bsw@729: -- Available options: false, "anonymous", "pseudonym", "full" bsw@729: --------------------------------------------------------------------------- bsw@729: -- config.public_access = "full" bsw@261: bsw@729: -- Use custom image conversion bsw@729: --------------------------------------------------------------------------- bsw@729: --config.member_image_content_type = "image/jpeg" bsw@729: --config.member_image_convert_func = { bsw@729: -- avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end, bsw@729: -- photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end bsw@729: --} bsw@51: bsw@729: -- Integration of Etherpad bsw@729: --------------------------------------------------------------------------- bsw@729: --config.etherpad = { bsw@729: -- base_url = "http://example.com:9001/", bsw@729: -- api_base = "http://localhost:9001/", bsw@729: -- api_key = "mysecretapikey", bsw@729: -- group_id = "mygroupname", bsw@729: -- cookie_path = "/" bsw@729: --} bsw@51: bsw@729: -- WebMCP accelerator bsw@729: --------------------------------------------------------------------------- bsw/jbe@0: -- uncomment the following two lines to use C implementations of chosen bsw/jbe@0: -- functions and to disable garbage collection during the request, to bsw/jbe@0: -- increase speed: bsw/jbe@0: -- bsw@729: -- require 'webmcp_accelerator' bsw@729: -- collectgarbage("stop") bsw/jbe@0: bsw/jbe@0: bsw@729: --------------------------------------------------------------------------- bsw@729: -- Do main initialisation (DO NOT REMOVE THIS SECTION) bsw@729: --------------------------------------------------------------------------- bsw@729: execute.config("init")