comparison rhodecode/lib/base.py @ 4006:cdf10b3df899

Allow RhodeCode maintainers to specify a custom bug tracker. This allows people who maintain large RhodeCode installations to setup their own bug tracker and respond to requests against their specific installation. The maintainer is then free to forward problems with RhodeCode to the canonical issue tracker on bitbucket. If the config option "bugtracker" is present, its value will be used with the "Report a bug" button. If left blank, this disables the button. If no value is present, then the default is used. This is so that the new config option doesn't break installations of RhodeCode upgrading to a newer version and to allow easier installation for the common use case.
author Jonathan Sternberg <jonathansternberg@gmail.com>
date Mon, 17 Jun 2013 12:41:28 -0400
parents b58ed6d608cc
children 9b4ba12ef8c3
comparison
equal deleted inserted replaced
4005:266a3cbc0302 4006:cdf10b3df899
260 __before__ is called before controller methods and after __call__ 260 __before__ is called before controller methods and after __call__
261 """ 261 """
262 c.rhodecode_version = __version__ 262 c.rhodecode_version = __version__
263 c.rhodecode_instanceid = config.get('instance_id') 263 c.rhodecode_instanceid = config.get('instance_id')
264 c.rhodecode_name = config.get('rhodecode_title') 264 c.rhodecode_name = config.get('rhodecode_title')
265 c.rhodecode_bugtracker = config.get('bugtracker', 'http://bitbucket.org/marcinkuzminski/rhodecode/issues')
265 c.use_gravatar = str2bool(config.get('use_gravatar')) 266 c.use_gravatar = str2bool(config.get('use_gravatar'))
266 c.ga_code = config.get('rhodecode_ga_code') 267 c.ga_code = config.get('rhodecode_ga_code')
267 # Visual options 268 # Visual options
268 c.visual = AttributeDict({}) 269 c.visual = AttributeDict({})
269 rc_config = RhodeCodeSetting.get_app_settings() 270 rc_config = RhodeCodeSetting.get_app_settings()