Changesets: MantisBT

master-1.2.x fbcd8a63

2011-12-02 02:53

atrol


Details Diff
Fix 0013644 Deleting an issue with assigned sponsorship throws error Affected Issues
0013644
mod - core/bug_api.php Diff File
mod - core/sponsorship_api.php Diff File

master af03f786

2011-12-01 23:23

dregad


Details Diff
Improve admin checks for language strings

This brings the following improvements to test_lang.php:

- Simplify the code by defining a new checkplugins() function for
plugins language checks, allowing to use a revised checklangdir()
for both the main and the plugin language strings (removes the
recursive call)

- Use PHP scandir() function to retrieve a sorted array of files
instead of manually building it using opendir() and a loop on
readdir()

- Process the languages in alphabetical order

- Array having strings as keys are valid tokens. Fixes 0013643
This avoids reporting errors is useful for plugin error strings like
$MANTIS_ERROR['plugin_example_error1'] = 'Error message';

- Better formatting of error messages

- Whitespace and coding guidelines fixes

NOTE: This commit has been ported to master for consistency, although
the new format of the strings_english.txt file is not compatible with
the logic in test_lang.php.
Affected Issues
0013643
mod - admin/test_langs.php Diff File

master-1.2.x 8e346687

2011-12-01 23:23

dregad


Details Diff
Improve admin checks for language strings

This brings the following improvements to test_lang.php:

- Simplify the code by defining a new checkplugins() function for
plugins language checks, allowing to use a revised checklangdir()
for both the main and the plugin language strings (removes the
recursive call)

- Use PHP scandir() function to retrieve a sorted array of files
instead of manually building it using opendir() and a loop on
readdir()

- Process the languages in alphabetical order

- Array having strings as keys are valid tokens. Fixes 0013643
This avoids reporting errors is useful for plugin error strings like
$MANTIS_ERROR['plugin_example_error1'] = 'Error message';

- Better formatting of error messages

- Whitespace and coding guidelines fixes
Affected Issues
0013643
mod - admin/test_langs.php Diff File

master 8867520a

2011-11-28 01:06

VeMag


Details Diff
Fix 0013083: Only 50 bugs (default) are shown

function call filter_api.php, line 1034 it's writen "-1 indicates you want to see all bugs"
Affected Issues
0013083
mod - plugins/MantisGraph/pages/bug_graph_bycategory.php Diff File
mod - plugins/MantisGraph/pages/bug_graph_bystatus.php Diff File

master-1.2.x 501d30bd

2011-11-28 01:06

VeMag


Details Diff
Fix 0013083: Only 50 bugs (default) are shown

function call filter_api.php, line 1034 it's writen "-1 indicates you want to see all bugs"
Affected Issues
0013083
mod - plugins/MantisGraph/pages/bug_graph_bycategory.php Diff File
mod - plugins/MantisGraph/pages/bug_graph_bystatus.php Diff File

master 453e7d8f

2011-11-24 10:16

dregad


Details Diff
Fix syntax error

Introduced in 6a9adc66ba7c27f0f68d02922bd59cfa1a8763f9, forgot to git
add before commit...

Fixes 0013060
Affected Issues
0013060
mod - login_page.php Diff File

master-1.2.x 5d1febbe

2011-11-24 10:16

dregad


Details Diff
Fix syntax error

Introduced in bbebc4e3666eabe91938bcd9251933568a7aa031, forgot to git
add before commit...

Fixes 0013060
Affected Issues
0013060
mod - login_page.php Diff File

master f36b49f5

2011-11-24 00:50

brenard

Committer: rombert


Details Diff
Fix 0013571: SOAP Api / mci_get_user_id() : added possibility to find user id by email Affected Issues
0013571
mod - api/soap/mc_api.php Diff File

master-1.2.x 95bc90d4

2011-11-24 00:50

brenard

Committer: rombert


Details Diff
Fix 0013571: SOAP Api / mci_get_user_id() : added possibility to find user id by email Affected Issues
0013571
mod - api/soap/mc_api.php Diff File

master 9b43e690

2011-11-21 04:39

dregad


Details Diff
Remove duplicate error code and message

There were two separate error constants defined, ERROR_DUPLICATE_FILE
and ERROR_FILE_DUPLICATE, corresponding to an error message string with
identical text.

This commit removes the redundant constant ERROR_DUPLICATE_FILE and the
corresponding error message.

Fixes 0005228

Conflicts:

lang/strings_english.txt
Affected Issues
0005228
mod - core/constant_inc.php Diff File
mod - core/file_api.php Diff File
mod - lang/strings_english.txt Diff File

master-1.2.x 08a3d4fc

2011-11-21 04:39

dregad


Details Diff
Remove duplicate error code and message

There were two separate error constants defined, ERROR_DUPLICATE_FILE
and ERROR_FILE_DUPLICATE, corresponding to an error message string with
identical text.

This commit removes the redundant constant ERROR_DUPLICATE_FILE and the
corresponding error message.

Fixes 0005228
Affected Issues
0005228
mod - core/constant_inc.php Diff File
mod - core/file_api.php Diff File
mod - lang/strings_english.txt Diff File

master 6f5b3dfe

2011-11-21 00:53

dregad


Details Diff
I18l support for multi-file upload

Adds new strings to handle the plurals when uploading multiple files
(e.g. "Upload File" / "Upload Files") and conditionally display the
appropriate one depending on value of file_upload_max_num

Fixes 0005228

Conflicts:

bug_file_upload_inc.php
bug_report_page.php
lang/strings_english.txt
Affected Issues
0005228
mod - bug_file_upload_inc.php Diff File
mod - bug_report_page.php Diff File
mod - lang/strings_english.txt Diff File

master-1.2.x b33cacb9

2011-11-21 00:53

dregad


Details Diff
I18l support for multi-file upload

Adds new strings to handle the plurals when uploading multiple files
(e.g. "Upload File" / "Upload Files") and conditionally display the
appropriate one depending on value of file_upload_max_num

Fixes 0005228
Affected Issues
0005228
mod - bug_file_upload_inc.php Diff File
mod - bug_report_page.php Diff File
mod - lang/strings_english.txt Diff File

master 0d5182eb

2011-11-21 00:39

dregad


Details Diff
Add multi-file upload to bug reporting page

Fixes 0005228

Conflicts:

bug_report.php
bug_report_page.php
Affected Issues
0005228
mod - bug_report.php Diff File
mod - bug_report_page.php Diff File

master-1.2.x 2648708b

2011-11-21 00:39

dregad


Details Diff
Add multi-file upload to bug reporting page

Fixes 0005228
Affected Issues
0005228
mod - bug_report.php Diff File
mod - bug_report_page.php Diff File

master 8027a142

2011-11-21 00:32

dregad


Details Diff
Fix whitespace and code alignment, removed useless code

Conflicts:

bug_report.php
mod - bug_report.php Diff File

master-1.2.x 5006a3bd

2011-11-21 00:32

dregad


Details Diff
Fix whitespace and code alignment, removed useless code
mod - bug_report.php Diff File

master 5c7dab02

2011-11-20 23:46

dregad


Details Diff
Add multiple file upload functionality

Adds a new option in config_defaults_inc.php (file_upload_max_num) to
determine how many files can be simultaneously uploaded.

Modifies the code in issue reporting and view details pages, to enable
the new functionality.

Fixes 0005228

Conflicts:

bug_file_add.php
config_defaults_inc.php
Affected Issues
0005228
mod - bug_file_add.php Diff File
mod - bug_file_upload_inc.php Diff File
mod - config_defaults_inc.php Diff File

master-1.2.x 4599c5ba

2011-11-20 23:46

dregad


Details Diff
Add multiple file upload functionality

Adds a new option in config_defaults_inc.php (file_upload_max_num) to
determine how many files can be simultaneously uploaded.

Modifies the code in issue reporting and view details pages, to enable
the new functionality.

Fixes 0005228
Affected Issues
0005228
mod - bug_file_add.php Diff File
mod - bug_file_upload_inc.php Diff File
mod - config_defaults_inc.php Diff File

master 2ef79a9d

2011-11-19 12:29

dregad


Details Diff
Perform obsolete check against db config also

Previously the check for usage of obsolete configuration variables was
only performed against global variables (defined in config_inc.php).
With this change, a more thorough verification is done, including
values with an override in mantis_config_table.

Detailed information about where the config option is set (database
and/or config_inc.php), for which user(s) and for which project(s), is
printed with the warning message.

To implement this functionality, it was required to alter the order in
which the checks are executed by check/index.php: the DB checks must be
performed before the Configuration checks, otherwise there is no DB
connectivity to verify values in the config table.

Fixes 0013435
Affected Issues
0013435
mod - admin/check/index.php Diff File
mod - core/config_api.php Diff File

master-1.2.x 991e54be

2011-11-19 10:07

dregad


Details Diff
Remove "$g_" prefix from obsolete config warning messages

Designating config options using the "$g_" prefix in the warning
messages when checking for obsolete configurations does not make sense
when they are defined in the database.

Removing this previx also makes the messages consistent with the new
admin checks interface in 1.3.

Affects issue 0013435
Affected Issues
0013435
mod - core/config_api.php Diff File

master 88ca322b

2011-11-19 08:26

dregad


Details Diff
Fix PHP admin check for error logging/reporting

The check for "PHP errors are being logged or reported" in the new
admin check interface has incorrect logic, causing it to always report
a warning condition.

The warning should only be printed if both display_errors and
log_errors are Off.

Fixes 0013545, 0011576
Affected Issues
0011576, 0013545
mod - admin/check/check_php_inc.php Diff File

master 46873ebc

2011-11-14 09:05

rombert


Details Diff
Fix 0013415 ( cloning issue with attachments doesn't work )

Thanks to adminactoll for providing the patch.
Affected Issues
0013415
mod - core/file_api.php Diff File

master-1.2.x 0b8298ec

2011-11-14 09:05

rombert


Details Diff
Fix 0013415 ( cloning issue with attachments doesn't work )

Thanks to adminactoll for providing the patch.
Affected Issues
0013415
mod - core/file_api.php Diff File

master 4a3268a5

2011-11-14 08:53

rombert


Details Diff
SOAP Tests: update to use the new date format
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 400 ... 405 406 407 408 409 410 411 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last