Changesets: MantisBT

master bbcf0de0

2010-12-25 01:46

dhx


Details Diff
Fix 0012568: Allow per-project control over visibility of tags/monitoring

When printing the history of a bug we should apply visibility
restrictions on a per-project basis so that people can specify that
users can see the monitor list (or tags) in one project but not another.
Affected Issues
0012568
mod - core/history_api.php Diff File

master-1.2.x ac713ec7

2010-12-25 01:46

dhx


Details Diff
Fix 0012568: Allow per-project control over visibility of tags/monitoring

When printing the history of a bug we should apply visibility
restrictions on a per-project basis so that people can specify that
users can see the monitor list (or tags) in one project but not another.
Affected Issues
0012568
mod - core/history_api.php Diff File

master 3574fa69

2010-12-24 23:45

dhx


Details Diff
Fix 0012545: print_bug_page.php doesn't close <body> and <html> tags

The HTML page output for print_bug_page.php terminates on a closing
</table> tag. The <body> and <html> tags also needing closing for the
page to produce well formed XHTML output.
Affected Issues
0012545
mod - print_bug_page.php Diff File

master-1.2.x be34e61f

2010-12-24 23:45

dhx


Details Diff
Fix 0012545: print_bug_page.php doesn't close <body> and <html> tags

The HTML page output for print_bug_page.php terminates on a closing
</table> tag. The <body> and <html> tags also needing closing for the
page to produce well formed XHTML output.
Affected Issues
0012545
mod - print_bug_page.php Diff File

master eb38db49

2010-12-24 23:29

dhx


Details Diff
Fix 0012630: print_bugnote_inc.php XSS with unescaped reminder usernames

A minor XSS issue exists with print_bugnote_inc.php whereby usernames
are not properly sanitised prior to being outputted.

Steps to reproduce:
1. Create a user with a username of "Hack<script>alert(1)</script>"
(note: MantisBT will not let people create these malformed usernames by
default as only latin characters are accepted, therefore you must create
the user with SQL or another raw approach).
2. Send a reminder to this new user from inside a bug.
3. Go to the print view of the bug.
4. Notice an alert window pop up indicating an XSS issue.

NOTE: This is not a major security issue because MantisBT prevents
people from making malformed usernames by default. It's only an issue if
you're adding users to MantisBT using your own approach (a third party
user creation script) and writing directly to the database instead of
using MantisBT's API.
Affected Issues
0012630
mod - print_bugnote_inc.php Diff File

master-1.2.x 92a3e685

2010-12-24 23:29

dhx


Details Diff
Fix 0012630: print_bugnote_inc.php XSS with unescaped reminder usernames

A minor XSS issue exists with print_bugnote_inc.php whereby usernames
are not properly sanitised prior to being outputted.

Steps to reproduce:
1. Create a user with a username of "Hack<script>alert(1)</script>"
(note: MantisBT will not let people create these malformed usernames by
default as only latin characters are accepted, therefore you must create
the user with SQL or another raw approach).
2. Send a reminder to this new user from inside a bug.
3. Go to the print view of the bug.
4. Notice an alert window pop up indicating an XSS issue.

NOTE: This is not a major security issue because MantisBT prevents
people from making malformed usernames by default. It's only an issue if
you're adding users to MantisBT using your own approach (a third party
user creation script) and writing directly to the database instead of
using MantisBT's API.
Affected Issues
0012630
mod - print_bugnote_inc.php Diff File

master 9785504e

2010-12-24 23:09

dhx


Details Diff
Fix 0012610: my_view_page missing closing </tr> tag

Due to a flaw in the logic/counting system used for laying out boxes on
my_view_page, sometimes a </tr> tag was missing. This causes problems
when using MantisBT in XHTML strict mode.
Affected Issues
0012610
mod - my_view_page.php Diff File

master-1.2.x 68e701ff

2010-12-24 23:09

dhx


Details Diff
Fix 0012610: my_view_page missing closing </tr> tag

Due to a flaw in the logic/counting system used for laying out boxes on
my_view_page, sometimes a </tr> tag was missing. This causes problems
when using MantisBT in XHTML strict mode.
Affected Issues
0012610
mod - my_view_page.php Diff File

master 730f7298

2010-12-24 22:04

dhx


Details Diff
Fix 0011909: history_localize_item sending wrong argument type to bug_revision_exists

Within history_api, the history_localize_item function is calling the
bug_revision_exists function of bug_revision_api with the wrong argument
type. It should be sending an integer, not a string.

As bug_revision_api doesn't use db_prepare_int when building queries
this error will result in SQL query execution errors when an integer
field in the database is compared to the supplied string (type
mismatch).
Affected Issues
0011909
mod - core/history_api.php Diff File

master-1.2.x 68e56f26

2010-12-24 22:04

dhx


Details Diff
Fix 0011909: history_localize_item sending wrong argument type to bug_revision_exists

Within history_api, the history_localize_item function is calling the
bug_revision_exists function of bug_revision_api with the wrong argument
type. It should be sending an integer, not a string.

As bug_revision_api doesn't use db_prepare_int when building queries
this error will result in SQL query execution errors when an integer
field in the database is compared to the supplied string (type
mismatch).
Affected Issues
0011909
mod - core/history_api.php Diff File

master-1.2.x 427b65b9

2010-12-24 20:19

dhx


Details Diff
Fix 0012622: Changing reporter on the bug update page doesn't work

There was a typo introduced by the patch for 0012354 that meant some
JavaScript code was not being included correctly. This code was
responsible for allowing the textual [edit] button to work with the
reporter field on bug_update_page.
Affected Issues
0012622
mod - core/html_api.php Diff File

master-1.2.x 514d5b6f

2010-12-23 12:43

daryn


Details Diff
Fix Bug 0010156: Categories "[any] / General". Move data retrieval into new category
api function category_get_filter_list. Use existing api functions to properly
populate the list based on configured project/category inheritance. The print api
function now handles only display functionality. It sorts and prints the select list.
The print function will eventually be removed in favor of a view. This separation
prepares for that.
Affected Issues
0010156
mod - core/print_api.php Diff File
mod - core/category_api.php Diff File

master 011050bd

2010-12-23 12:32

daryn


Details Diff
Fix Bug 0010156: Categories "[any] / General". Move data retrieval into new category
api function category_get_filter_list. Use existing api functions to properly
populate the list based on configured project/category inheritance. The print api
function now handles only display functionality. It sorts and prints the select list.
The print function will eventually be removed in favor of a view. This separation
prepares for that.
Affected Issues
0010156
mod - core/print_api.php Diff File
mod - core/category_api.php Diff File

master 9b87be38

2010-12-23 08:45

rombert


Details Diff
Update last change date for both bugs when updating a relationship

Whenever a bug relation is added or updated, the last update field is
updated for the source bug. For consistency reasons, we know update that
field for the target bug as well.

Fixes 0012628: Update last change date for both bugs when updating a
relationship
Affected Issues
0012628
mod - bug_report.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - bug_relationship_add.php Diff File

master-1.2.x 34dac373

2010-12-23 08:45

rombert


Details Diff
Update last change date for both bugs when updating a relationship

Whenever a bug relation is added or updated, the last update field is
updated for the source bug. For consistency reasons, we know update that
field for the target bug as well.

Fixes 0012628: Update last change date for both bugs when updating a
relationship
Affected Issues
0012628
mod - api/soap/mc_issue_api.php Diff File
mod - bug_relationship_add.php Diff File
mod - bug_report.php Diff File

master 765735ba

2010-12-22 16:50

daryn


Details Diff
Fix Bug 0012418: SQL error when a field has a ? Affected Issues
0012418
mod - core/filter_api.php Diff File

master-1.2.x bbf5612a

2010-12-22 16:50

daryn


Details Diff
Fix Bug 0012418: SQL error when a field has a ? Affected Issues
0012418
mod - core/filter_api.php Diff File

master be2404c9

2010-12-22 10:39

daryn


Details Diff
Fix for Bug 0005859: "Sort by" can't handle more than one custom field in combination.

This just fixes the duplicate alias problem not the special character problem
listed in the bug.
Affected Issues
0005859
mod - core/filter_api.php Diff File

master-1.2.x 674e2e17

2010-12-22 10:39

daryn


Details Diff
Fix for Bug 0005859: "Sort by" can't handle more than one custom field in combination.

This just fixes the duplicate alias problem not the special character problem
listed in the bug.
Affected Issues
0005859
mod - core/filter_api.php Diff File

master 176c3666

2010-12-17 16:28

rombert


Details Diff
Tests for mc_project_get_users
mod - tests/soap/ProjectTest.php Diff File

master-1.2.x cb1aaba2

2010-12-17 16:28

rombert


Details Diff
Tests for mc_project_get_users
mod - tests/soap/ProjectTest.php Diff File

master a0b7656c

2010-12-17 16:11

rombert


Details Diff
Correct indentation in ProjectTest
mod - tests/soap/ProjectTest.php Diff File

master-1.2.x c3b1491c

2010-12-17 16:11

rombert


Details Diff
Correct indentation in ProjectTest
mod - tests/soap/ProjectTest.php Diff File

master 82a9b146

2010-12-16 18:47

rombert


Details Diff
Obey user preferences when transferring enums.

Fixes 0012615: mc_enum_api does not object user language preferences
Affected Issues
0012615
mod - api/soap/mc_enum_api.php Diff File

master-1.2.x 06b742ce

2010-12-16 18:47

rombert


Details Diff
Obey user preferences when transferring enums.

Fixes 0012615: mc_enum_api does not object user language preferences
Affected Issues
0012615
mod - api/soap/mc_enum_api.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 400 ... 474 475 476 477 478 479 480 ... 560 ... 640 ... 720 ... 765 766 767  Next  Last