Changesets: MantisBT
|
master 956fe6bf 2010-04-19 10:43 Details Diff |
Fix 0011812: Unknown project errors This fix updates the project_api to allow project_get_name to pass the trigger_errors parameter up to project_cache_row, so that pages like configuration report won't stop working if there is one bad row. This also fixes the error triggered by project_cache_row so that it sets the project ID string parameter before triggering the error. |
Affected Issues 0011812 |
|
| mod - core/project_api.php | Diff File | ||
| mod - adm_config_report.php | Diff File | ||
|
master-1.2.x 0fc80e9f 2010-04-19 09:28 Details Diff |
Fix 0011534: Incorrect path/short_path detection Rather than attempting to try and decipher the path and short_path by comparing the file's location on the filesytem with the document_root, MantisBT should be looking at the PHP_SELF server var provided by PHP. This variable is based on the current URL used to access the file, and is not confused by symlinks or the document_root pointing directly to the installation. It is also much simpler than the old method. Tested on Linux and Windows with the following setups: - installed as subdomain, eg http://mantis.host/foo.php - installed in subdirectory, eg http://host/mantisbt/foo.php - accessed by symlink (Linux), eg http://host/mantis/foo.php where /var/www/mantis -> /usr/share/mantisbt |
Affected Issues 0011534 |
|
| mod - config_defaults_inc.php | Diff File | ||
|
master 5ac1fdf3 2010-04-19 09:28 Details Diff |
Fix 0011534: Incorrect path/short_path detection Rather than attempting to try and decipher the path and short_path by comparing the file's location on the filesytem with the document_root, MantisBT should be looking at the PHP_SELF server var provided by PHP. This variable is based on the current URL used to access the file, and is not confused by symlinks or the document_root pointing directly to the installation. It is also much simpler than the old method. Tested on Linux and Windows with the following setups: - installed as subdomain, eg http://mantis.host/foo.php - installed in subdirectory, eg http://host/mantisbt/foo.php - accessed by symlink (Linux), eg http://host/mantis/foo.php where /var/www/mantis -> /usr/share/mantisbt |
Affected Issues 0011534 |
|
| mod - config_defaults_inc.php | Diff File | ||
|
master-1.2.x 2844524b 2010-04-18 17:45 Details Diff |
Localisation updates from translatewiki.net (2010-04-18) Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl> |
||
| mod - lang/strings_dutch.txt | Diff File | ||
| mod - lang/strings_macedonian.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_norwegian_bokmal.txt | Diff File | ||
| mod - plugins/MantisCoreFormatting/lang/strings_norwegian_bokmal.txt | Diff File | ||
| mod - lang/strings_finnish.txt | Diff File | ||
| mod - lang/strings_chinese_simplified.txt | Diff File | ||
| mod - lang/strings_ukrainian.txt | Diff File | ||
| mod - lang/strings_hungarian.txt | Diff File | ||
| mod - lang/strings_russian.txt | Diff File | ||
| mod - lang/strings_slovene.txt | Diff File | ||
| mod - lang/strings_german.txt | Diff File | ||
| mod - lang/strings_italian.txt | Diff File | ||
| mod - lang/strings_hebrew.txt | Diff File | ||
| mod - lang/strings_galician.txt | Diff File | ||
| add - plugins/MantisCoreFormatting/lang/strings_finnish.txt | Diff File | ||
| mod - lang/strings_catalan.txt | Diff File | ||
| mod - lang/strings_polish.txt | Diff File | ||
| mod - lang/strings_french.txt | Diff File | ||
| mod - lang/strings_portuguese_standard.txt | Diff File | ||
| mod - plugins/XmlImportExport/lang/strings_norwegian_bokmal.txt | Diff File | ||
| mod - lang/strings_spanish.txt | Diff File | ||
| mod - lang/strings_swissgerman.txt | Diff File | ||
| mod - lang/strings_norwegian_bokmal.txt | Diff File | ||
| mod - lang/strings_breton.txt | Diff File | ||
|
master-1.2.x f579b8c0 2010-04-16 09:23 Matt McCutchen Committer: jreese Details Diff |
Fix 0011803: Use <?php instead of <? tags |
Affected Issues 0011803 |
|
| mod - admin/system_utils.php | Diff File | ||
| mod - manage_user_page.php | Diff File | ||
|
master 00a114d0 2010-04-16 09:23 Matt McCutchen Committer: jreese Details Diff |
Fix 0011803: Use <?php instead of <? tags |
Affected Issues 0011803 |
|
| mod - admin/system_utils.php | Diff File | ||
| mod - manage_user_page.php | Diff File | ||
|
master 79489f70 2010-04-16 00:44 Committer: dregad Details Diff |
Allow mass update of 'Product Version' field Implement an option to update the 'Product Version' field for multiple bugs at once in view.php, similar to existing options for 'Target' and 'Fixed in' version fields. Signed-off-by: Damien Regad <dregad@mantisbt.org> Matt's original commit was ported to master branch and modified to add a missing e-mail notification (e28272287a33a80642b8a7cb50d4d2111aa3ef1a). Fixes 0011802 |
Affected Issues 0011802 |
|
| mod - bug_actiongroup.php | Diff File | ||
| mod - bug_actiongroup_page.php | Diff File | ||
| mod - core/bug_group_action_api.php | Diff File | ||
| mod - lang/strings_english.txt | Diff File | ||
|
master-1.2.x e2d19cf3 2010-04-14 12:09 Details Diff |
Prevent plugin init if schema upgrade needed In cases where plugins have an updated schema list, but the system administrator has not yet upgraded the schema from the plugin management page, the system should fail to initialize that plugin. This will prevent confusing and misleading errors from database_api because of missing or incorrect table definitions. |
||
| mod - core/plugin_api.php | Diff File | ||
|
master 9f8516e8 2010-04-14 12:09 Details Diff |
Prevent plugin init if schema upgrade needed In cases where plugins have an updated schema list, but the system administrator has not yet upgraded the schema from the plugin management page, the system should fail to initialize that plugin. This will prevent confusing and misleading errors from database_api because of missing or incorrect table definitions. |
||
| mod - core/plugin_api.php | Diff File | ||
|
master-1.2.x 5ef2ad87 2010-04-08 17:13 Details Diff |
Fix 0011773: Plugin init process edge case This fixes the plugin initialization code so that it will continue to attempt plugin init passes as long as at least one plugin was initialized during the previous pass. This fixes the edge cases where plugins in complex dependency chains could remain uninitialized by the previous logic. |
Affected Issues 0011773 |
|
| mod - core/plugin_api.php | Diff File | ||
|
master b66fbc3b 2010-04-08 17:13 Details Diff |
Fix 0011773: Plugin init process edge case This fixes the plugin initialization code so that it will continue to attempt plugin init passes as long as at least one plugin was initialized during the previous pass. This fixes the edge cases where plugins in complex dependency chains could remain uninitialized by the previous logic. |
Affected Issues 0011773 |
|
| mod - core/plugin_api.php | Diff File | ||
|
master 8325b888 2010-04-07 21:10 Details Diff |
Strip trailing white space from PHP files Bundled libraries excluded. |
||
| mod - news_menu_page.php | Diff File | ||
| mod - bugnote_stats_inc.php | Diff File | ||
| mod - admin/index.php | Diff File | ||
| mod - core/prepare_api.php | Diff File | ||
| mod - core/bug_api.php | Diff File | ||
| mod - api/soap/mc_enum_api.php | Diff File | ||
| mod - admin/upgrade_unattended.php | Diff File | ||
| mod - core/string_api.php | Diff File | ||
| mod - print_all_bug_page_word.php | Diff File | ||
| mod - manage_proj_create_page.php | Diff File | ||
| mod - plugins/MantisGraph/pages/bug_graph_page.php | Diff File | ||
| mod - admin/check/index.php | Diff File | ||
| mod - tests/soap/IssueUpdateTest.php | Diff File | ||
| mod - print_all_bug_options_inc.php | Diff File | ||
| mod - core/sponsorship_api.php | Diff File | ||
| mod - admin/test_langs.php | Diff File | ||
| mod - tests/test_config_get_set.php | Diff File | ||
| mod - core/ldap_api.php | Diff File | ||
| mod - main_page.php | Diff File | ||
| mod - admin/email_queue.php | Diff File | ||
| mod - bug_monitor_list_view_inc.php | Diff File | ||
| mod - core/project_hierarchy_api.php | Diff File | ||
| mod - api/soap/mc_filter_api.php | Diff File | ||
| mod - plugins/MantisGraph/core/graph_api.php | Diff File | ||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
| mod - core/columns_api.php | Diff File | ||
| mod - manage_user_edit_page.php | Diff File | ||
| mod - bug_sponsorship_list_view_inc.php | Diff File | ||
| mod - plugins/MantisGraph/pages/summary_graph_cumulative_bydate2.php | Diff File | ||
| mod - api/soap/mc_project_api.php | Diff File | ||
| mod - tests/soap/AttachmentTest.php | Diff File | ||
| mod - bug_update.php | Diff File | ||
| mod - summary_page.php | Diff File | ||
| mod - login_page.php | Diff File | ||
| mod - api/soap/mc_issue_api.php | Diff File | ||
| mod - core/classes/MantisFormattingPlugin.class.php | Diff File | ||
| mod - core/user_pref_api.php | Diff File | ||
| mod - core/email_api.php | Diff File | ||
| mod - core/classes/MantisCorePlugin.class.php | Diff File | ||
| mod - core/helper_api.php | Diff File | ||
| mod - manage_proj_ver_edit_page.php | Diff File | ||
| mod - tests/TestConfig.php | Diff File | ||
| mod - core/version_api.php | Diff File | ||
| mod - tests/Mantis/StringTest.php | Diff File | ||
| mod - core/profile_api.php | Diff File | ||
| mod - api/soap/mc_project_attachment_api.php | Diff File | ||
| mod - admin/schema.php | Diff File | ||
| mod - print_all_bug_page.php | Diff File | ||
| mod - lost_pwd_page.php | Diff File | ||
| mod - plugins/MantisGraph/MantisGraph.php | Diff File | ||
| mod - bug_update_advanced_page.php | Diff File | ||
| mod - manage_overview_page.php | Diff File | ||
| mod - core/graphviz_api.php | Diff File | ||
| mod - api/soap/mc_issue_attachment_api.php | Diff File | ||
| mod - tests/soap/FilterTest.php | Diff File | ||
| mod - account_sponsor_page.php | Diff File | ||
| mod - tests/soap/IssueNoteTest.php | Diff File | ||
| mod - tests/soap/SoapBase.php | Diff File | ||
| mod - tests/soap/LoginTest.php | Diff File | ||
| mod - core/classes/MantisPlugin.class.php | Diff File | ||
| mod - manage_proj_page.php | Diff File | ||
| mod - account_prof_menu_page.php | Diff File | ||
| mod - bugnote_add_inc.php | Diff File | ||
| mod - account_page.php | Diff File | ||
| mod - tests/soap/EnumTest.php | Diff File | ||
| mod - api/soap/mc_file_api.php | Diff File | ||
| mod - core/classes/MantisCoreWikiPlugin.class.php | Diff File | ||
| mod - admin/install.php | Diff File | ||
| mod - core/compress_api.php | Diff File | ||
| mod - manage_plugin_page.php | Diff File | ||
| mod - api/soap/mc_api.php | Diff File | ||
| mod - manage_proj_edit_page.php | Diff File | ||
| mod - core/session_api.php | Diff File | ||
| mod - manage_user_page.php | Diff File | ||
|
master abeafaa5 2010-04-07 20:45 Details Diff |
Update installation minimum requirements documentation | ||
| mod - docbook/adminguide/en/installation.sgml | Diff File | ||
|
master b0e0795a 2010-04-07 20:24 Details Diff |
Increase minimum PHP version from 5.1.0 to 5.1.2 (Hash extension) The Hash extension is enabled by default from version 5.1.2 of PHP as per http://www.php.net/manual/en/hash.requirements.php It's also possible to use the PECL Hash extension with earlier versions of PHP if someone absolutely needs to use PHP <5.1.2. |
||
| mod - doc/INSTALL | Diff File | ||
| mod - core/php_api.php | Diff File | ||
|
master 29be32f9 2010-04-07 15:54 Details Diff |
Run tests using Phing A first, rough, version of a Phing-based build. It contains a single real target, 'test', which runs all the PHPUnit tests, picking up a bootstrap file as well. Two auxiliary targets, 'init' and 'clean' are also provided. Requires Phing > 2.4 and PHPUnit > 3.4. |
||
| mod - .gitignore | Diff File | ||
| add - build.xml | Diff File | ||
|
master-1.2.x 749b5e65 2010-04-07 15:54 Details Diff |
Run tests using Phing A first, rough, version of a Phing-based build. It contains a single real target, 'test', which runs all the PHPUnit tests, picking up a bootstrap file as well. Two auxiliary targets, 'init' and 'clean' are also provided. Requires Phing > 2.4 and PHPUnit > 3.4. |
||
| mod - .gitignore | Diff File | ||
| add - build.xml | Diff File | ||
|
master 9af956a3 2010-04-05 15:19 Details Diff |
Verify retrieval of issues without categories Bug 0011609: API : get issues of a project crash when category is empty reported that issues without a category set are not retrievable using the mc_filter_get function. A regression test is added to verify that this retrieval does indeed work. |
Affected Issues 0011609 |
|
| mod - tests/soap/FilterTest.php | Diff File | ||
|
master-1.2.x 68b7695f 2010-04-05 15:19 Details Diff |
Verify retrieval of issues without categories Bug 0011609: API : get issues of a project crash when category is empty reported that issues without a category set are not retrievable using the mc_filter_get function. A regression test is added to verify that this retrieval does indeed work. |
Affected Issues 0011609 |
|
| mod - tests/soap/FilterTest.php | Diff File | ||
|
master 3559cf76 2010-04-05 15:10 Details Diff |
Delete issues created in testCreateIssueWithHandlerByName IssueAddTest.testCreateIssueWithHandlerByName failed to invoke deleteAfterRun for the created issue, which resulted in the issues existing after the test invocation was completed. |
||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
|
master-1.2.x a1c3192c 2010-04-05 15:10 Details Diff |
Delete issues created in testCreateIssueWithHandlerByName IssueAddTest.testCreateIssueWithHandlerByName failed to invoke deleteAfterRun for the created issue, which resulted in the issues existing after the test invocation was completed. |
||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
|
master-1.2.x 0435289a 2010-04-05 01:05 Details Diff |
Check if timezone functions exist for RHEL/CentOS PHP builds RHEL/CentOS PHP 5.1 builds don't have support for PHP's timezone functions introduced with PHP 5.1. Therefore we should check if the timezone functions exist before using them. We already perform these checks in other parts of the MantisBT codebase. |
||
| mod - core.php | Diff File | ||
|
master 2278219b 2010-04-05 01:05 Details Diff |
Check if timezone functions exist for RHEL/CentOS PHP builds RHEL/CentOS PHP 5.1 builds don't have support for PHP's timezone functions introduced with PHP 5.1. Therefore we should check if the timezone functions exist before using them. We already perform these checks in other parts of the MantisBT codebase. |
||
| mod - core.php | Diff File | ||
|
master-1.2.x 86fc322d 2010-03-31 23:16 Details Diff |
Fix 0011530: Don't expose real name and email of higher users manage_user_threshold grants permission to users so that they can modify user accounts which have an equal or lower access level. Therefore we shouldn't be exposing the real name and email of users on view_user_page.php if the target user has a higher access level. The manage user link should also not appear when the target user has a higher access level. |
Affected Issues 0011530 |
|
| mod - view_user_page.php | Diff File | ||
|
master 7062c677 2010-03-31 23:16 Details Diff |
Fix 0011530: Don't expose real name and email of higher users manage_user_threshold grants permission to users so that they can modify user accounts which have an equal or lower access level. Therefore we shouldn't be exposing the real name and email of users on view_user_page.php if the target user has a higher access level. The manage user link should also not appear when the target user has a higher access level. |
Affected Issues 0011530 |
|
| mod - view_user_page.php | Diff File | ||
|
master-1.2.x 886dccd9 2010-03-31 10:18 Details Diff |
Issue 0011729: Preselect next highest status in bug_change_status The bug change status dropdown list currently preselects the first/lowest status as the default. It would be more useful if the default value selected was the next highest status from the current status. Failing that (for closed issues) we should revert back to using the highest available status as the default. |
Affected Issues 0011729 |
|
| mod - core/html_api.php | Diff File | ||