Changesets: MantisBT

master-1.2.x bbebc4e3

2011-06-10 00:23

Lapinkiller


Details Diff
login_page.php return param is ignored when already logged in

This prevents proper behavior when links to bugs are used from an
external application after the initial authentication

Fixes 0013060

Aligned form variables initialization for better code readability

Signed-off-by: Damien Regad <damien.regad@merckgroup.com>
Affected Issues
0013060
mod - login_page.php Diff File

master 20de51c8

2011-06-08 05:12

rombert


Details Diff
Include strong in the list of valid html tags

The current list of html_valid_tags and html_valid_tags_single_line
does not include strong, but includes b . On the other hand, it includes
both i and em. For consistency, this should be adjusted. Also, rich text
editors have the tendency to produce markup which uses strong rather
than b, which is then escaped by MantisBT.

Fixes 0013062: Make strong a valid html tag by default
Affected Issues
0013062
mod - config_defaults_inc.php Diff File

master-1.2.x f2ae5772

2011-06-08 05:10

rombert


Details Diff
Include strong in the list of valid html tags

The current list of html_valid_tags and html_valid_tags_single_line does
not include strong, but includes b . On the other hand, it includes both
i and em. For consistency, this should be adjusted. Also, rich text
editors have the tendency to produce markup which uses strong rather
than b, which is then escaped by MantisBT.

Fixes 0013062: Make strong a valid html tag by default
Affected Issues
0013062
mod - config_defaults_inc.php Diff File

master 4ccdf686

2011-05-27 07:56

rombert


Details Diff
SOAP API: Issue updates only set the provided fields

When updating an issue the issue is first loaded from the database and
then only the provided fields are used to update it. The sponsorship
total is no longer updated since it is a computed field and should not
be manipulated directly.

Fixes 0010323: mc_issue_update() will set optional fields to default
values rather than leave them with current values
Affected Issues
0010323
mod - api/soap/mc_issue_api.php Diff File

master-1.2.x 75bfe81c

2011-05-27 07:56

rombert


Details Diff
SOAP API: Issue updates only set the provided fields

When updating an issue the issue is first loaded from the database and
then only the provided fields are used to update it. The sponsorship
total is no longer updated since it is a computed field and should not
be manipulated directly.

Fixes 0010323: mc_issue_update() will set optional fields to default
values rather than leave them with current values
Affected Issues
0010323
mod - api/soap/mc_issue_api.php Diff File

master c5610d6f

2011-05-26 13:02

Lapinkiller

Committer: rombert


Details Diff
Fix bug when user not in ldap

Fixes: 0012960 Email / Realname lookups against LDAP spew warning when account is not in LDAP

Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
mod - core/ldap_api.php Diff File

master-1.2.x 2125512b

2011-05-26 13:02

Lapinkiller

Committer: rombert


Details Diff
Fix bug when user not in ldap

Fixes: 0012960 Email / Realname lookups against LDAP spew warning when account is not in LDAP

Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
mod - core/ldap_api.php Diff File

master 7cedb86b

2011-05-24 09:27

nerville

Committer: rombert


Details Diff
SOAP API: update a specific note for a specific issue

Fixes 0013000: Add soap feature : update a note of a specific issue

Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
Affected Issues
0013000
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueNoteTest.php Diff File
mod - api/soap/mantisconnect.php Diff File

master-1.2.x 56bc9319

2011-05-24 09:27

nerville

Committer: rombert


Details Diff
SOAP API: update a specific note for a specific issue

Fixes 0013000: Add soap feature : update a note of a specific issue

Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
Affected Issues
0013000
mod - tests/soap/IssueNoteTest.php Diff File
mod - api/soap/mantisconnect.php Diff File
mod - api/soap/mc_issue_api.php Diff File

master 7b763277

2011-05-19 17:19

rombert


Details Diff
SOAP API: Return an empty result when the page is outside the filter

Rather than return the last page when an out of bounds page is
requested, return no issues. This allows clients to find out when
there are no more issues for a specific filter.

Fixes 0012991 : mc_filter_get_issues returns incorrect results for page_number > page_count
Affected Issues
0012991
mod - api/soap/mc_filter_api.php Diff File
mod - tests/soap/FilterTest.php Diff File
mod - api/soap/mc_project_api.php Diff File

master-1.2.x c70ff523

2011-05-19 17:19

rombert


Details Diff
SOAP API: Return an empty result when the page is outside the filter

Rather than return the last page when an out of bounds page is
requested, return no issues. This allows clients to find out when
there are no more issues for a specific filter.

Fixes 0012991 : mc_filter_get_issues returns incorrect results for page_number > page_count
Affected Issues
0012991
mod - tests/soap/FilterTest.php Diff File
mod - api/soap/mc_project_api.php Diff File
mod - api/soap/mc_filter_api.php Diff File

next 9193a8b9

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next 5aea5a83

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next a93f3075

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next 3e449f85

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next 6947ff42

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next 37b9e34b

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next 02bdc0e3

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

next bd7048d4

2011-05-16 03:25

dhx


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - application/core/bug_api.php Diff File
mod - application/core/file_api.php Diff File
mod - application/core/relationship_api.php Diff File
mod - application/core/user_api.php Diff File
mod - application/services/soap/mc_api.php Diff File
mod - application/services/soap/mc_issue_api.php Diff File
mod - application/services/soap/mc_project_api.php Diff File
mod - public/account_sponsor_page.php Diff File
mod - public/admin/copy_field.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/print_bugnote_inc.php Diff File

master-2.0.x 3dfded5a

2011-05-16 03:25

David Hicks


Details Diff
Replace remaining uses of deprecated db_num_rows() function

The db_num_rows() function is deprecated with the new database API
because PDO doesn't know how many rows are being returned until all rows
have been requested from the server. We therefore have to perform the
row count ourselves - when necessary.

In many cases it may make more sense to perform a SELECT(*) query to
retrieve counts. This is less costly than returning data that we're not
going to use. This is something to consider in the future as the core is
upgraded to use more modern/robust database queries.
mod - account_sponsor_page.php Diff File
mod - admin/copy_field.php Diff File
mod - admin/move_db2disk.php Diff File
mod - api/soap/mc_api.php Diff File
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_project_api.php Diff File
mod - core/bug_api.php Diff File
mod - core/file_api.php Diff File
mod - core/relationship_api.php Diff File
mod - core/user_api.php Diff File
mod - manage_user_page.php Diff File
mod - manage_user_prune.php Diff File
mod - print_bugnote_inc.php Diff File

master-1.2.x a48fd743

2011-05-10 22:13

dregad


Details Diff
Remove trailing colon on the field labels in the user edit page

In manage_user_edit_page.php, the use of a trailing colon on field labels is
not consistent. Since other edit pages in MantisBT do not display colons after
field labels, they have been removed from this page too.
mod - manage_user_edit_page.php Diff File

master-1.2.x a744e69b

2011-05-05 17:11

siebrand


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_german.txt Diff File
mod - plugins/XmlImportExport/lang/strings_ripoarisch.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - plugins/MantisGraph/lang/strings_ripoarisch.txt Diff File
mod - lang/strings_breton.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - plugins/MantisGraph/lang/strings_czech.txt Diff File
mod - lang/strings_bulgarian.txt Diff File
mod - lang/strings_serbian.txt Diff File
mod - lang/strings_arabic.txt Diff File
add - plugins/XmlImportExport/lang/strings_swedish.txt Diff File
mod - lang/strings_swissgerman.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_swedish.txt Diff File
mod - lang/strings_slovak.txt Diff File
add - plugins/MantisCoreFormatting/lang/strings_czech.txt Diff File
add - plugins/MantisGraph/lang/strings_turkish.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_bulgarian.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_swedish.txt Diff File
mod - plugins/MantisGraph/lang/strings_swedish.txt Diff File
mod - plugins/MantisGraph/lang/strings_bulgarian.txt Diff File
add - plugins/XmlImportExport/lang/strings_czech.txt Diff File
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_lithuanian.txt Diff File

master 286c1afa

2011-04-26 17:15

rnelson

Committer: rombert


Details Diff
Added function mc_user_pref_get_pref to the API to allow read access to user preferences.

Fixes 0012946: mc_user_pref_get_pref, user_pref_get_pref API call

Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
Affected Issues
0012946
mod - api/soap/mantisconnect.php Diff File
add - tests/soap/UserTest.php Diff File
mod - api/soap/mc_core.php Diff File
add - api/soap/mc_user_pref_api.php Diff File
mod - tests/soap/AllTests.php Diff File

master-1.2.x f7bf43fc

2011-04-26 17:15

rnelson

Committer: rombert


Details Diff
Added function mc_user_pref_get_pref to the API to allow read access to user preferences.

Fixes 0012946: mc_user_pref_get_pref, user_pref_get_pref API call

Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
Affected Issues
0012946
add - tests/soap/UserTest.php Diff File
mod - api/soap/mc_core.php Diff File
add - api/soap/mc_user_pref_api.php Diff File
mod - api/soap/mantisconnect.php Diff File
mod - tests/soap/AllTests.php Diff File

master-1.2.x 6bcc29a1

2011-04-20 17:14

rombert


Details Diff
Fix 0012794 : Java Exception when the Issue has an attached file (using mantis plugin in Hudson/Jenkins)

Do not use DIRECTORY_SEPARATOR to build paths which will be converted
to URLs. The main usage of DIRECTORY_SEPARATOR is to convert paths
which are received from the operating system, which is not the case
when determining the application's install location.

The slash is a valid separator on all PHP platforms [1], therefore
we use that.

[1]: http://php.net/manual/en/function.basename.php
Affected Issues
0012794
mod - config_defaults_inc.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 412 413 414 415 416 417 418 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last