bsw@734: -- ======================================================================== bsw@734: -- DO NOT CHANGE ANYTHING IN THIS FILE bsw@734: -- (except when you really know what you are doing!) bsw@734: -- ======================================================================== bsw@734: bsw@926: config.app_version = "2.1.1" bsw@731: bsw@905: if not config.password_hash_algorithm then bsw@905: config.password_hash_algorithm = "crypt_sha512" bsw@905: end bsw@905: bsw@905: if not config.password_hash_min_rounds then bsw@905: config.password_hash_min_rounds = 10000 bsw@905: end bsw@905: bsw@905: if not config.password_hash_max_rounds then bsw@905: config.password_hash_max_rounds = 20000 bsw@905: end bsw@905: bsw@731: if config.enabled_languages == nil then bsw@876: config.enabled_languages = { 'en', 'de', 'eo', 'el', 'hu', 'it', 'nl', 'zh-Hans', 'zh-TW' } bsw@731: end bsw@731: bsw@731: if config.default_lang == nil then bsw@731: config.default_lang = "en" bsw@731: end bsw@731: bsw@731: if config.mail_subject_prefix == nil then bsw@731: config.mail_subject_prefix = "[LiquidFeedback] " bsw@731: end bsw@731: bsw@731: if config.member_image_content_type == nil then bsw@731: config.member_image_content_type = "image/jpeg" bsw@731: end bsw@731: bsw@731: if config.member_image_convert_func == nil then bsw@731: config.member_image_convert_func = { bsw@731: avatar = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "48x48", "jpeg:-") end, bsw@731: photo = function(data) return extos.pfilter(data, "convert", "jpeg:-", "-thumbnail", "240x240", "jpeg:-") end bsw@731: } bsw@731: end bsw@731: bsw@736: if config.locked_profile_fields == nil then bsw@736: config.locked_profile_fields = {} bsw@736: end bsw@736: bsw@732: if not config.database then bsw@732: config.database = { engine='postgresql', dbname='liquid_feedback' } bsw@732: end bsw@732: bsw@868: if not config.enable_debug_trace then bsw@868: trace.disable() bsw@868: else bsw@868: slot.put_into('trace_button', '