MantisBT: master-1.2.x 733e53b0

Author Committer Branch Timestamp Parent
dhx dhx master-1.2.x 2009-09-22 02:41 master-1.2.x 79f04e92
Changeset

Complete move of graphing abilities to MantisGraph

The move of the graphing abilities from the core into a new MantisGraph
plugin wasn't fully completed. This large patch completes the move by
ripping out remaining parts of graphing support from the core, and
moving them into the plugin.

Some of the things that have changed as a result of this commit:

  1. Deprecated the graph_font configuration option in the core and added
    it back to the plugin configuration. This time there is a nicer UI for
    selecting the font from within the plugin configuration screen.

  2. Deprecated the graph_colors option from the core and disabled this
    functionality in the plugin. This will obviously require a lot more work
    (outside the scope of what I can do at the moment) so that there is a
    better way for the user to select colours via the UI configuration page.
    Additionally, this option shouldn't just be restrictied to JpGraph.
    Graph colours need to be reimplemented properly at a later stage.

  3. Deprecated the default_graph_type option from the core and disabled
    this functionality in the plugin. This was a very cryptic non-documented
    option that set the default plot type on bug_graph_page. If this is to
    be reimplemented, it needs to be done so properly so that it isn't
    cryptic and unusable. There is no real loss of functionality with the
    removal of this option.

  4. Reordered the layout of configuration options in the plugin
    configuration page so similar options are grouped together. It also
    looks much nicer now thanks to some changes to strings, and the
    placement of comments on a second line in small text.

  5. Moved all strings used solely by MantisGraph into the plugin. The
    original strings have been removed from the core as they aren't used
    there.

  6. Removed references to the graph related options from the
    Configuration section of the Administrator Guide.

  7. Moved class.period.php from the core to the MantisGraph plugin as it
    currently isn't used elsewhere within Mantis. Really this class should
    be part of the core of Mantis (under
    core/classes/MantisPeriod.class.php) but it'll need some more work
    before it can be used in other parts of Mantis. For instance, we don't
    use this class for date filters. More importantly, PHP has a built-in
    class called DatePeriod (and DateInterval) that appear to be better
    choices for future work with date periods.

  8. Added a UI field in the plugin configuration page that is only
    accessible to users with access level >= admin_site_threshold to set
    what once used to be $g_jpgraph_path.

mod - plugins/MantisGraph/pages/summary_graph_byresolution_pct.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_bystatus_pct.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_bypriority_pct.php Diff File
mod - summary_page.php Diff File
mod - plugins/MantisGraph/pages/bug_graph_bystatus.php Diff File
mod - plugins/MantisGraph/pages/config.php Diff File
mod - config_defaults_inc.php Diff File
mod - plugins/MantisGraph/core/graph_api.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_byresolution_mix.php Diff File
mod - plugins/MantisGraph/pages/config_edit.php Diff File
mod - core/obsolete.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_priority.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_byseverity_mix.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_severity.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_status.php Diff File
mod - plugins/MantisGraph/lang/strings_english.txt Diff File
mod - plugins/MantisGraph/pages/summary_graph_bycategory_pct.php Diff File
mod - lang/strings_english.txt Diff File
mod - plugins/MantisGraph/pages/bug_graph_page.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_category.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_byseverity_pct.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_resolution.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_bypriority_mix.php Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File
mod - plugins/MantisGraph/pages/bug_graph_bycategory.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_cumulative_bydate2.php Diff File
mod - docbook/adminguide/en/configuration.sgml Diff File