Changesets: MantisBT

master-1.2.x 09b7815e

2010-02-25 11:31

dhx


Details Diff
Fix 0011553: Status legend doesn't show final workflow states

The status legend at the bottom of the view all issues page doesn't show
the final states in a workflow. This is due to the html_status_legend
function removing any workflow states from status_enum_workflow[STATUS]
which are null/zero length.
Affected Issues
0011553
mod - core/html_api.php Diff File

master 8d5d327e

2010-02-25 11:31

dhx


Details Diff
Fix 0011553: Status legend doesn't show final workflow states

The status legend at the bottom of the view all issues page doesn't show
the final states in a workflow. This is due to the html_status_legend
function removing any workflow states from status_enum_workflow[STATUS]
which are null/zero length.
Affected Issues
0011553
mod - core/html_api.php Diff File

master 0cc7dde8

2010-02-25 10:13

dhx


Details Diff
Fix 0011481: Incorrect arguments for access_has_any_project

Commit 6dc35105064e5a2533fb4e1de54426ea17d2ef36 introduced improved
checking within print_column_selection to determine which actions should
be presented to users as part of the actiongroup support in MantisBT.

However the second argument to access_has_any_project should not be
defined in the way it was, as it is refers to the user ID not the
project ID. We don't need to specify this argument anyway, so it is
removed in this patch.
Affected Issues
0011481
mod - core/columns_api.php Diff File

master 2191aa1b

2010-02-25 09:55

dhx


Details Diff
Fix 0011552: No errors shown when actiongroup tag attaching fails

When attacking tags to multiple issues via the action group feature (the
dropdown in the bottom left of the view all issues page), errors are
silently ignored. The user should instead be informed if any of the tags
could not be applied to the issues selected.

This patch also changes the return status from the actiongroup
validation and processing functions to be an error string or null in the
event that an error didn't occur. In the future it'd be much better if
the validation and processing functions worked on the entire set of
selected issues instead of each issue one-by-one. This gives the
actiongroup validation/processing functions more flexibility (especially
in the case of the tag attaching action).
Affected Issues
0011552
mod - lang/strings_english.txt Diff File
mod - bug_actiongroup_attach_tags_inc.php Diff File
mod - bug_actiongroup_update_product_build_inc.php Diff File
mod - bug_actiongroup_add_note_inc.php Diff File
mod - bug_actiongroup_ext.php Diff File
mod - bug_actiongroup_update_severity_inc.php Diff File

master-1.2.x 0f00ee79

2010-02-25 01:02

dhx


Details Diff
current_user_get_bug_filter() can return false

When calling current_user_get_bug_filter(), we need to check if the
return value is boolean false. If so, we need to get the default filter
instead of the current user's filter.

Also, current_user_get_bug_filter() already validates the filter to
ensure it is correct, so there is no need to validate it a second time.
mod - view_filters_page.php Diff File
mod - core/current_user_api.php Diff File
mod - view_all_inc.php Diff File
mod - my_view_inc.php Diff File
mod - return_dynamic_filters.php Diff File

master 3f61050f

2010-02-25 01:02

dhx


Details Diff
current_user_get_bug_filter() can return false

When calling current_user_get_bug_filter(), we need to check if the
return value is boolean false. If so, we need to get the default filter
instead of the current user's filter.

Also, current_user_get_bug_filter() already validates the filter to
ensure it is correct, so there is no need to validate it a second time.
mod - core/current_user_api.php Diff File
mod - my_view_inc.php Diff File
mod - return_dynamic_filters.php Diff File
mod - view_filters_page.php Diff File
mod - view_all_inc.php Diff File
mod - core/html_api.php Diff File

master-1.2.x d06bf60f

2010-02-22 15:21

jreese


Details Diff
Updated plugin documentation for dependency style
mod - docbook/developers/en/plugins-building-source.sgml Diff File
mod - docbook/developers/en/plugins-building.sgml Diff File

master c3dedbbe

2010-02-22 15:21

jreese


Details Diff
Updated plugin documentation for dependency style
mod - docbook/developers/en/plugins-building-source.sgml Diff File
mod - docbook/developers/en/plugins-building.sgml Diff File

master-1.2.x f470f462

2010-02-22 15:12

jreese


Details Diff
Updated install/update instructions
mod - doc/INSTALL Diff File

master d9fdb9e5

2010-02-22 15:12

jreese


Details Diff
Updated install/update instructions
mod - doc/INSTALL Diff File

master-1.2.x 8f89da5c

2010-02-22 14:24

jreese


Details Diff
Preparing for 1.2.0 release

Release notes updated to be relevant for an official 1.2.0 release. The
internal version number for MantisBT has also been updated.

This marks the official end of feature work on the 1.2.x branch.
Commits to the master-1.2.x branch are restricted to bug fixes and
security issues.
mod - doc/RELEASE Diff File
mod - core/constant_inc.php Diff File

master-1.2.x a8861d42

2010-02-22 14:18

jreese


Details Diff
Updated credits
mod - doc/CREDITS Diff File

master fccc9723

2010-02-22 14:18

jreese


Details Diff
Updated credits
mod - doc/CREDITS Diff File

master-1.2.x 37e1da1e

2010-02-21 21:49

jreese


Details Diff
Remove verbose constants for bug fields
mod - core/constant_inc.php Diff File
mod - print_bug_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - config_defaults_inc.php Diff File
mod - bug_report_page.php Diff File

master 616d1768

2010-02-21 21:49

jreese


Details Diff
Remove verbose constants for bug fields
mod - bug_view_inc.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - config_defaults_inc.php Diff File
mod - print_bug_page.php Diff File
mod - core/constant_inc.php Diff File
mod - bug_report_page.php Diff File

master-1.2.x 0c3813ba

2010-02-19 22:23

dhx


Details Diff
Fix 0011293: history_default_visible not per-project in bug_view_inc.php

bug_view_inc.php sets the project override ($g_project_override) after
getting the configuration option history_default_visible. Thus the
configuration option history_default_visible will be retrieved using the
wrong project (the one which is currently selected by the user cookie,
rather than the project of the bug the user is viewing).

Thanks to Chris Fitch for detecting this problem.
Affected Issues
0011293
mod - bug_view_inc.php Diff File

master 3242eac5

2010-02-19 22:23

dhx


Details Diff
Fix 0011293: history_default_visible not per-project in bug_view_inc.php

bug_view_inc.php sets the project override ($g_project_override) after
getting the configuration option history_default_visible. Thus the
configuration option history_default_visible will be retrieved using the
wrong project (the one which is currently selected by the user cookie,
rather than the project of the bug the user is viewing).

Thanks to Chris Fitch for detecting this problem.
Affected Issues
0011293
mod - bug_view_inc.php Diff File

master-1.2.x e7fe9535

2010-02-19 22:17

dhx


Details Diff
Fix 0011527: bug_actiongroup: tag_attach_threshold not checked

When using the actiongroup feature of MantisBT (checking multiple issues
and performing an action on all checked issue at the same time), the
"Attach tags" feature doesn't check tag_attach_threshold when validating
which bugs can be modified. This leads to an access denied error from
bug_attach_tags().
Affected Issues
0011527
mod - bug_actiongroup_attach_tags_inc.php Diff File

master 098ec337

2010-02-19 22:17

dhx


Details Diff
Fix 0011527: bug_actiongroup: tag_attach_threshold not checked

When using the actiongroup feature of MantisBT (checking multiple issues
and performing an action on all checked issue at the same time), the
"Attach tags" feature doesn't check tag_attach_threshold when validating
which bugs can be modified. This leads to an access denied error from
bug_attach_tags().
Affected Issues
0011527
mod - bug_actiongroup_attach_tags_inc.php Diff File

master-1.2.x 00c58a29

2010-02-19 22:14

dhx


Details Diff
Fix 0011528: Don't call config_flush_cache() in bug_actiongroup_ext.php

There is no need to call config_flush_cache() in bug_actiongroup_ext.php
because the configuration cache already takes into account whether a
configuration setting is per-user and per-project.

Additionally, bug_actiongroup_ext.php has been cleaned up to reduce code
complexity and increase the efficiency of this page.
Affected Issues
0011528
mod - bug_actiongroup_ext.php Diff File

master 99c55618

2010-02-19 22:14

dhx


Details Diff
Fix 0011528: Don't call config_flush_cache() in bug_actiongroup_ext.php

There is no need to call config_flush_cache() in bug_actiongroup_ext.php
because the configuration cache already takes into account whether a
configuration setting is per-user and per-project.

Additionally, bug_actiongroup_ext.php has been cleaned up to reduce code
complexity and increase the efficiency of this page.
Affected Issues
0011528
mod - bug_actiongroup_ext.php Diff File

master-1.2.x c6300e13

2010-02-19 16:26

rombert


Details Diff
Fixes 0011266: mc_issue_update() does not transport all field date

Implemented setting of the missed fields and added regression test.
Affected Issues
0011266
mod - tests/soap/IssueUpdateTest.php Diff File
mod - api/soap/mc_issue_api.php Diff File

master 313ea5f9

2010-02-19 16:26

rombert


Details Diff
Fixes 0011266: mc_issue_update() does not transport all field date

Implemented setting of the missed fields and added regression test.
Affected Issues
0011266
mod - tests/soap/IssueUpdateTest.php Diff File
mod - api/soap/mc_issue_api.php Diff File

master-1.2.x b5c381d7

2010-02-19 16:08

rombert


Details Diff
Fixes 0011267: mc_project_get_issues() does not transport field 'target_version'

mc_project_get_issues was not setting target_version. Fixed by extracting a common
method from mc_issue_api and mci_filter_api which does the right thing for
both methods.
Affected Issues
0011267
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_filter_api.php Diff File
mod - api/soap/mc_project_api.php Diff File

master 7c0add24

2010-02-19 16:08

rombert


Details Diff
Fixes 0011267: mc_project_get_issues() does not transport field 'target_version'

mc_project_get_issues was not setting target_version. Fixed by extracting a common
method from mc_issue_api and mci_filter_api which does the right thing for
both methods.
Affected Issues
0011267
mod - api/soap/mc_project_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_filter_api.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 481 482 483 484 485 486 487 ... 560 ... 640 ... 720 ... 751 752 753  Next  Last