Commit f1d4771b authored by Gervase Markham's avatar Gervase Markham

Bug 950486: Move the webdotbase and font_file parameters from data/params into…

Bug 950486: Move the webdotbase and font_file parameters from data/params into localconfig (and kill the Graphs panel). r=gerv, a=glob. (commit 2)
parent adc3c7a7
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
package Bugzilla::Config::DependencyGraph;
use 5.10.1;
use strict;
use warnings;
use Bugzilla::Config::Common;
our $sortkey = 800;
sub get_param_list {
my $class = shift;
my @param_list = (
{
name => 'webdotbase',
type => 't',
default => '',
checker => \&check_webdotbase
},
{
name => 'font_file',
type => 't',
default => '',
checker => \&check_font_file
});
return @param_list;
}
1;
[%# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This Source Code Form is "Incompatible With Secondary Licenses", as
# defined by the Mozilla Public License, v. 2.0.
#%]
[%
title = "Graphs"
desc = "Optional setup to generate graphs"
%]
[% param_descs = {
webdotbase => "It is possible to show graphs of dependent ${terms.bugs}. You may set
this parameter to any of the following:
<ul>
<li>
A complete file path to 'dot' (part of
<a href=\"http://www.graphviz.org\">GraphViz</a>) will
generate the graphs locally.
</li>
<li>
A URL prefix pointing to an installation of the
<a href=\"http://www.research.att.com/~north/cgi-bin/webdot.cgi\">webdot
package</a> will generate the graphs remotely.
</li>
<li>
A blank value will disable dependency graphing.
</li>
</ul>
The default value is a publicly-accessible webdot server. If you change
this value, make certain that the webdot server can read files from your
webdot directory. On Apache you do this by editing the .htaccess file,
for other systems the needed measures may vary. You can run <kbd>checksetup.pl</kbd>
to recreate the .htaccess file if it has been lost.",
font_file => "You can specify the full path to a TrueType font file which will be used " _
"to display text (labels, legends, ...) in charts and graphical reports. " _
"To support as many languages as possible, we recommend to specify a TrueType " _
"font such as <a href=\"http://unifoundry.com/unifont.html\">Unifont</a> " _
"which supports all printable characters in the Basic Multilingual Plane. " _
"If you leave this parameter empty, a default font will be used, but " _
"its support is limited to English characters only and so other characters " _
"will be displayed incorrectly.",
}
%]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment