Changesets: MantisBT

master-2.0.x 82920a71

2012-05-29 11:57

Paul Richards


Details Diff
Remove mapping to mb_substr - this is no longer required due to change of php mailer backend
mod - core/php_api.php Diff File

master-2.0.x 42f6f4db

2012-05-29 11:52

Paul Richards


Details Diff
Pass around bugData objects not id's
mod - bug_actiongroup.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/bug_api.php Diff File
mod - core/bug_revision_api.php Diff File
mod - core/bugnote_api.php Diff File
mod - core/classes/MantisBug.class.php Diff File
mod - core/classes/MantisUser.class.php Diff File
mod - core/email_api.php Diff File
mod - core/html_api.php Diff File
mod - core/tag_api.php Diff File
mod - core/user_api.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - print_bug_page.php Diff File

master 30e3d692

2012-05-29 11:20

dregad


Details Diff
Fix Excel export of plug-in columns limited to first 100 rows

Due to an incorrect location of columns_plugin_cache_issue_data()
function call outside of the main loop, only the first 100 rows of
plug-in columns were loaded when exporting issues to Excel.

Thanks to vincent_sels for spotting the issue and identifying the root
cause.

Fixes 0014185
Affected Issues
0014185
mod - excel_xml_export.php Diff File

master-1.2.x e48ce931

2012-05-29 11:20

dregad


Details Diff
Fix Excel export of plug-in columns limited to first 100 rows

Due to an incorrect location of columns_plugin_cache_issue_data()
function call outside of the main loop, only the first 100 rows of
plug-in columns were loaded when exporting issues to Excel.

Thanks to vincent_sels for spotting the issue and identifying the root
cause.

Fixes 0014185
Affected Issues
0014185
mod - excel_xml_export.php Diff File

master 196596ff

2012-05-29 08:37

atrol


Details Diff
Fix 0014306: Tabbing to file upload field not possible on report page Affected Issues
0014306
mod - bug_report_page.php Diff File

master-1.2.x 8aa3defb

2012-05-29 08:31

atrol


Details Diff
Fix 0014306: Tabbing to file upload field not possible on report page Affected Issues
0014306
mod - bug_report_page.php Diff File

master 3cc38986

2012-05-28 09:32

rombert


Details Diff
Fix 0014309: Log all SOAP errors to the server's web log Affected Issues
0014309
mod - api/soap/mc_api.php Diff File

master-1.2.x 5588f9d9

2012-05-28 09:32

rombert


Details Diff
Fix 0014309: Log all SOAP errors to the server's web log Affected Issues
0014309
mod - api/soap/mc_api.php Diff File

master-1.2.x ab1004c4

2012-05-26 10:16

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_hungarian.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_latvian.txt Diff File
mod - lang/strings_norwegian_bokmal.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_turkish.txt Diff File

master c8a0c592

2012-05-24 05:52

dregad


Details Diff
Optimize filter_db_get_available_queries()

This function was retrieving a list of filters then, through a for
loop, keeping only the records visible by the current user.

The revised code performs the filtering directly in the SQL.

The same correction was made to mci_filter_db_get_available_queries()
mod - api/soap/mc_api.php Diff File
mod - core/filter_api.php Diff File

master-1.2.x 1c9c8e2e

2012-05-24 05:52

dregad


Details Diff
Optimize filter_db_get_available_queries()

This function was retrieving a list of filters then, through a for
loop, keeping only the records visible by the current user.

The revised code performs the filtering directly in the SQL.

The same correction was made to mci_filter_db_get_available_queries()
mod - api/soap/mc_api.php Diff File
mod - core/filter_api.php Diff File

master 32559580

2012-05-24 05:21

dregad


Details Diff
Fix PostgreSQL errors with boolean fields

PostgreSQL triggers an error when comparing a boolean field with an
integer value. This happens frequently in MantisBT as AdoDB stores
boolean fields as integers for most RDBMS.

This could prevent for example manage_user_page.php from loading.

To fix the problem, db_prepare_bool() has been modified to return 'true'
or 'false' as appropriate when the DB is PostgreSQL, through use of
AdoDB qstr() function. Behavior for other RDMBS is unchanged.

The where clause condition in manage_user_page.php has been modified to
use db_prepare_bool() instead of hardcoding 'enabled = 1'.

Following code cleanup was also performed:
- Uses of db_prepare_bool() in filter_api.php and mc_api.php that
would have caused incorrect behavior with the modified function have
been removed
- Removed non-existant 2nd parameter in call to db_prepare_bool() in
filter_api.php
- Fix whitespace in mc_api.php

Fixes 0014288
Affected Issues
0014288
mod - api/soap/mc_api.php Diff File
mod - core/database_api.php Diff File
mod - core/filter_api.php Diff File
mod - manage_user_page.php Diff File

master-1.2.x b8d4b503

2012-05-24 05:21

dregad


Details Diff
Fix PostgreSQL errors with boolean fields

PostgreSQL triggers an error when comparing a boolean field with an
integer value. This happens frequently in MantisBT as AdoDB stores
boolean fields as integers for most RDBMS.

This could prevent for example manage_user_page.php from loading.

To fix the problem, db_prepare_bool() has been modified to return 'true'
or 'false' as appropriate when the DB is PostgreSQL, through use of
AdoDB qstr() function. Behavior for other RDMBS is unchanged.

The where clause condition in manage_user_page.php has been modified to
use db_prepare_bool() instead of hardcoding 'enabled = 1'.

Following code cleanup was also performed:
- Uses of db_prepare_bool() in filter_api.php and mc_api.php that
would have caused incorrect behavior with the modified function have
been removed
- Removed non-existant 2nd parameter in call to db_prepare_bool() in
filter_api.php
- Fix whitespace in mc_api.php

Fixes 0014288
Affected Issues
0014288, 0014385
mod - api/soap/mc_api.php Diff File
mod - core/database_api.php Diff File
mod - core/filter_api.php Diff File
mod - manage_user_page.php Diff File

master-1.2.x 75b29315

2012-05-22 06:20

dregad


Details Diff
Added publican build dir to .gitignore

This is to avoid accidental commit of publican build files when
switching back to 1.2.x branch after building the documentation in the
master branch.
mod - .gitignore Diff File

master 70b553c6

2012-05-22 04:05

dregad


Details Diff
Documentation: Admin Guide / revised Backups section

Fixes 0014285
Affected Issues
0014285
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master-1.2.x c1721086

2012-05-22 04:05

dregad


Details Diff
Documentation: Admin Guide / revised Backups section

Fixes 0014285
Affected Issues
0014285
mod - docbook/adminguide/en/installation.sgml Diff File

master 6025fdc3

2012-05-22 03:31

dregad


Details Diff
Documentation: Admin Guide / revised requirements section

System requirement information was spread out in several sections. This
commit consolidates this into a single section, integrated into the
Installation chapter.

Fixes 0014285
Affected Issues
0014285
mod - docbook/Admin_Guide/en-US/About.xml Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master-1.2.x 6df24507

2012-05-22 03:31

dregad


Details Diff
Documentation: Admin Guide / revised requirements section

System requirement information was spread out in several sections. This
commit consolidates this into a single section, integrated into the
Installation chapter.

Fixes 0014285
Affected Issues
0014285
mod - docbook/adminguide/en/about.sgml Diff File
mod - docbook/adminguide/en/installation.sgml Diff File

master d598542e

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Workflow
mod - docbook/Admin_Guide/en-US/Workflow.xml Diff File

master 79c7bd5f

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Custom Status

Fixed layout of 'programlisting' sections, introducing newlines to make
code more clear and readable. Improved definition of translations for
custom statuses.

Fixes 0014279
Affected Issues
0014279
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File

master-1.2.x c712de9e

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Workflow
mod - docbook/adminguide/en/workflow.sgml Diff File

master-1.2.x 444db8d7

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Custom Status

Fixed layout of 'programlisting' sections, introducing newlines to make
code more clear and readable. Improved definition of translations for
custom statuses.

Fixes 0014279
Affected Issues
0014279
mod - docbook/adminguide/en/customizing_mantis.sgml Diff File

master-1.2.x d1165180

2012-05-20 00:10

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_german.txt Diff File
mod - lang/strings_serbian.txt Diff File
mod - lang/strings_serbian_latin.txt Diff File

master ce6d92de

2012-05-18 07:19

dregad


Details Diff
Remove unnecessary use of array_reverse() to display bug revisions

Prior to this commit, in bug_revision_view_page.php the array returned
by functions bug_revision_list() and bug_revision_like() was
sytematically reversed by calling array_reverse().

Since these 2 functions are not used anywhere else, it is more efficient
to modify the SQL so that the functions sort the list as it should be
right from the start, thus avoiding the calls to array_reverse().

Note that the ORDER BY clause has been changed from 'timestamp' to 'id',
this guarantees correct display order in case the timestamps are equal
since by definition the id is a sequential number increased with each
revision as it is recorded.

Fixes 0014273
Affected Issues
0014273
mod - bug_revision_view_page.php Diff File
mod - core/bug_revision_api.php Diff File

master-1.2.x c08e6531

2012-05-18 07:19

dregad


Details Diff
Remove unnecessary use of array_reverse() to display bug revisions

Prior to this commit, in bug_revision_view_page.php the array returned
by functions bug_revision_list() and bug_revision_like() was
sytematically reversed by calling array_reverse().

Since these 2 functions are not used anywhere else, it is more efficient
to modify the SQL so that the functions sort the list as it should be
right from the start, thus avoiding the calls to array_reverse().

Note that the ORDER BY clause has been changed from 'timestamp' to 'id',
this guarantees correct display order in case the timestamps are equal
since by definition the id is a sequential number increased with each
revision as it is recorded.

Fixes 0014273
Affected Issues
0014273
mod - bug_revision_view_page.php Diff File
mod - core/bug_revision_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 372 373 374 375 376 377 378 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last