Changesets: MantisBT
|
master 3ba5e05f 2009-10-29 09:01 Details Diff |
Use string os_version for platform version When dealing with platform data, language string 'os_version' should be preferred over the normal 'version' for clarity of meaning, and to allow sites/plugins to override the meaning of one without affecting the other context. In this case, overriding 'version' for project contexts would affect the platform contexts when users were editing their set of profiles. |
||
| mod - account_prof_edit_page.php | Diff File | ||
| mod - account_prof_menu_page.php | Diff File | ||
|
master-1.2.x 4e199bfa 2009-10-29 04:35 Details Diff |
Replace all instances of mc_issue_delete All SOAP tests which create issues now use the deleteAfterRun method to delete created issues. |
||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
| mod - tests/soap/FilterTest.php | Diff File | ||
| mod - tests/soap/IssueUpdateTest.php | Diff File | ||
| mod - tests/soap/IssueNoteTest.php | Diff File | ||
|
master cf594deb 2009-10-29 04:35 Details Diff |
Replace all instances of mc_issue_delete All SOAP tests which create issues now use the deleteAfterRun method to delete created issues. |
||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
| mod - tests/soap/FilterTest.php | Diff File | ||
| mod - tests/soap/IssueUpdateTest.php | Diff File | ||
| mod - tests/soap/IssueNoteTest.php | Diff File | ||
|
master-1.2.x 14695316 2009-10-29 04:27 Details Diff |
Allow SOAP tests to delete issues on tearDown Until now deletion of issues created in tests was done manually, which had the disadvantage of not being executed unless the test did not throw an exception. Then the test fails, the issue is not deleted. This commit introduces a deleteAfterRun method in the SoapBase class which allows tests to register a issue id to be deleted. The issues are then deleted on tearDown, which runs even if an assertion has failed when the test is executed. |
||
| mod - tests/soap/SoapBase.php | Diff File | ||
|
master e1a07e80 2009-10-29 04:27 Details Diff |
Allow SOAP tests to delete issues on tearDown Until now deletion of issues created in tests was done manually, which had the disadvantage of not being executed unless the test did not throw an exception. Then the test fails, the issue is not deleted. This commit introduces a deleteAfterRun method in the SoapBase class which allows tests to register a issue id to be deleted. The issues are then deleted on tearDown, which runs even if an assertion has failed when the test is executed. |
||
| mod - tests/soap/SoapBase.php | Diff File | ||
|
master-1.2.x 00a4d6cb 2009-10-28 21:04 Details Diff |
Fix 0010754: Allow user to enter redirect delays above 9 seconds Users were prevented from entering redirect delays larger than 9 because the field which accepted the redirect delay was limited to a single character of input. I've changed the allowable number of characters in the input field to 3 to allow for redirect delays above 2 minutes. Users shouldn't have a need to set the redirect delay larger than 40 minutes (the maximum this field can take with just 3 characters allowed in the field). However it's quite reasonable for a user to expect a redirect delay of 2 or 5 minutes. |
Affected Issues 0010754 |
|
| mod - account_prefs_inc.php | Diff File | ||
|
master c026051e 2009-10-28 21:04 Details Diff |
Fix 0010754: Allow user to enter redirect delays above 9 seconds Users were prevented from entering redirect delays larger than 9 because the field which accepted the redirect delay was limited to a single character of input. I've changed the allowable number of characters in the input field to 3 to allow for redirect delays above 2 minutes. Users shouldn't have a need to set the redirect delay larger than 40 minutes (the maximum this field can take with just 3 characters allowed in the field). However it's quite reasonable for a user to expect a redirect delay of 2 or 5 minutes. |
Affected Issues 0010754 |
|
| mod - account_prefs_inc.php | Diff File | ||
|
master-1.2.x dc9b8b14 2009-10-28 20:47 Details Diff |
Fix 0010476: Logic incorrect for minimum length of custom field string A string which is equal in length to the minimum allowed should be accepted. Thanks to Striker for this patch. |
Affected Issues 0010476 |
|
| mod - core/custom_field_api.php | Diff File | ||
|
master 7ab8078b 2009-10-28 20:47 Details Diff |
Fix 0010476: Logic incorrect for minimum length of custom field string A string which is equal in length to the minimum allowed should be accepted. Thanks to Striker for this patch. |
Affected Issues 0010476 |
|
| mod - core/custom_field_api.php | Diff File | ||
|
master bcbdc07c 2009-10-28 19:31 Details Diff |
Localisation updates from translatewiki.net (2009-10-29) | ||
| mod - plugins/MantisCoreFormatting/lang/strings_spanish.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_dutch.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_french.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_hungarian.txt | Diff File | ||
| mod - lang/strings_occitan.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_german.txt | Diff File | ||
| mod - lang/strings_breton.txt | Diff File | ||
| mod - plugins/MantisCoreFormatting/lang/strings_german.txt | Diff File | ||
| mod - lang/strings_russian.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_swissgerman.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_breton.txt | Diff File | ||
| mod - lang/strings_slovak.txt | Diff File | ||
| mod - lang/strings_arabic.txt | Diff File | ||
| mod - lang/strings_swissgerman.txt | Diff File | ||
| mod - plugins/MantisCoreFormatting/lang/strings_dutch.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_galician.txt | Diff File | ||
| add - plugins/XmlImportExport/lang/strings_hungarian.txt | Diff File | ||
| add - plugins/MantisCoreFormatting/lang/strings_hungarian.txt | Diff File | ||
| mod - lang/strings_dutch.txt | Diff File | ||
| mod - lang/strings_japanese.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_spanish.txt | Diff File | ||
| mod - lang/strings_hungarian.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_russian.txt | Diff File | ||
| mod - lang/strings_german.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_ripoarisch.txt | Diff File | ||
| mod - lang/strings_spanish.txt | Diff File | ||
| mod - lang/strings_french.txt | Diff File | ||
| mod - plugins/XmlImportExport/lang/strings_spanish.txt | Diff File | ||
| mod - lang/strings_bulgarian.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_occitan.txt | Diff File | ||
| mod - lang/strings_galician.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_japanese.txt | Diff File | ||
|
master-1.2.x f06ecd68 2009-10-28 19:06 Details Diff |
ob_end_clean should be called BEFORE headers are sent Follow-up to commit b341ca89c83b9d906b229d289c35dfcc1185b034 ob_end_clean throws away the output buffer instead of flushing it to the client. Therefore we should call this BEFORE the file download headers are sent to the client or else these headers could potentially be thrown away/lost. Note to self: don't rely upon incorrect comments in the code that tell you ob_end_clean flushes the buffer... look it up in the PHP manual! |
Affected Issues 0011101 |
|
| mod - file_download.php | Diff File | ||
|
master be57bb8c 2009-10-28 19:06 Details Diff |
ob_end_clean should be called BEFORE headers are sent Follow-up to commit b341ca89c83b9d906b229d289c35dfcc1185b034 ob_end_clean throws away the output buffer instead of flushing it to the client. Therefore we should call this BEFORE the file download headers are sent to the client or else these headers could potentially be thrown away/lost. Note to self: don't rely upon incorrect comments in the code that tell you ob_end_clean flushes the buffer... look it up in the PHP manual! |
Affected Issues 0011101 |
|
| mod - file_download.php | Diff File | ||
|
master fb8383a2 2009-10-28 18:30 Paul Richards Details Diff |
Fix whitespace introduced on 20th September by commit git.mantisforge.org/w/mantisbt.git?a=blobdiff;f=core/compress_api.php;fp=core/compress_api.php;hb=61804a9da622dd0519fea853924bdab5bddbd933;hpb=f657c277db6b00cd2f63cb43a4c506acc4095482 | ||
| mod - core/compress_api.php | Diff File | ||
|
master-1.2.x 087445ce 2009-10-28 12:18 Details Diff |
Fixes 0011015: mc_issue_update erases 'Due date' field The due_date field has been added to the WSDL and is now exposed by mc_issue_get and accepted by mc_issue_add and mc_issue_update. Proper access checkes are in place. The due_date is read with the local time zone offset applied since nusoap seems to apply the offset wrong when parsing. Reference: http://www.nabble.com/NUSOAP-datetime-UTC-issue-td16627310.html Tests have been added for both adding and updating an issue, skipped if the thresholds don't allow the admin user to view and update the due date. |
Affected Issues 0011015 |
|
| mod - tests/soap/SoapBase.php | Diff File | ||
| mod - api/soap/mantisconnect.php | Diff File | ||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
| mod - tests/soap/IssueUpdateTest.php | Diff File | ||
| mod - api/soap/mc_issue_api.php | Diff File | ||
|
master 29d70634 2009-10-28 12:18 Details Diff |
Fixes 0011015: mc_issue_update erases 'Due date' field The due_date field has been added to the WSDL and is now exposed by mc_issue_get and accepted by mc_issue_add and mc_issue_update. Proper access checkes are in place. The due_date is read with the local time zone offset applied since nusoap seems to apply the offset wrong when parsing. Reference: http://www.nabble.com/NUSOAP-datetime-UTC-issue-td16627310.html Tests have been added for both adding and updating an issue, skipped if the thresholds don't allow the admin user to view and update the due date. |
Affected Issues 0011015 |
|
| mod - tests/soap/SoapBase.php | Diff File | ||
| mod - api/soap/mantisconnect.php | Diff File | ||
| mod - tests/soap/IssueAddTest.php | Diff File | ||
| mod - tests/soap/IssueUpdateTest.php | Diff File | ||
| mod - api/soap/mc_issue_api.php | Diff File | ||
|
master-1.2.x ba426dbb 2009-10-28 02:58 Details Diff |
Fixes 0010841: Target Version not cleared when Version is deleted. |
Affected Issues 0010841 |
|
| mod - core/version_api.php | Diff File | ||
|
master c8a9d4a5 2009-10-28 02:58 Details Diff |
Fixes 0010841: Target Version not cleared when Version is deleted. |
Affected Issues 0010841 |
|
| mod - core/version_api.php | Diff File | ||
|
master-1.2.x 8faebae6 2009-10-27 12:36 Details Diff |
Fixes 0010592: mc_enum functions doesn't take customization into account The mc_enum_xxx functions have been updated to return the customised keys, while the names remain the translated ones. mc_enum_get has not been updated, as it returns a raw enum string, not an ObjectRefArray. Unfortunately no new tests can be added since we don't control the customisation settings on the mantis installation on a per-test basis. - split functionality from mc_issue_get - explode_bla_bla now takes a enumeration name - localized labels are properly used |
Affected Issues 0010592 |
|
| mod - api/soap/mc_enum_api.php | Diff File | ||
|
master 834c8ed7 2009-10-27 12:36 Details Diff |
Fixes 0010592: mc_enum functions doesn't take customization into account The mc_enum_xxx functions have been updated to return the customised keys, while the names remain the translated ones. mc_enum_get has not been updated, as it returns a raw enum string, not an ObjectRefArray. Unfortunately no new tests can be added since we don't control the customisation settings on the mantis installation on a per-test basis. - split functionality from mc_issue_get - explode_bla_bla now takes a enumeration name - localized labels are properly used |
Affected Issues 0010592 |
|
| mod - api/soap/mc_enum_api.php | Diff File | ||
|
master 5c784edd 2009-10-27 06:01 Details Diff |
Issue 0007917: "Update Information" button at top of update form This patch from stappel extends the use of the existing $g_action_button_position configuration option to apply to the "Update Information" button on the bug update form. This can make it a little bit quicker/easier to update a bug without scrolling all the way down the page to reach the bottom of the form. Again, this is optional and disabled by default. |
Affected Issues 0007917 |
|
| mod - bug_update_advanced_page.php | Diff File | ||
|
master-1.2.x d8fb6b21 2009-10-27 06:01 Details Diff |
Issue 0007917: "Update Information" button at top of update form This patch from stappel extends the use of the existing $g_action_button_position configuration option to apply to the "Update Information" button on the bug update form. This can make it a little bit quicker/easier to update a bug without scrolling all the way down the page to reach the bottom of the form. Again, this is optional and disabled by default. |
Affected Issues 0007917 |
|
| mod - bug_update_advanced_page.php | Diff File | ||
|
master-1.2.x 829e821b 2009-10-27 05:34 Details Diff |
Fix 0011086: project_id column shows a number instead of the project name |
Affected Issues 0011086 |
|
| mod - core/columns_api.php | Diff File | ||
|
master 29c972c7 2009-10-27 05:34 Details Diff |
Fix 0011086: project_id column shows a number instead of the project name |
Affected Issues 0011086 |
|
| mod - core/columns_api.php | Diff File | ||
|
master-1.2.x ff2d2ab8 2009-10-27 05:24 Details Diff |
Send headers before output buffer is flushed for file_download.php Content-* headers and etc should be sent before the output buffer is flushed at the start of file transfers. These headers have also been reordered so they're grouped together more logically. Also inline_file_exts can now be blank without the 'gif' attachment being forcefully added by Mantis. |
Affected Issues 0011101 |
|
| mod - file_download.php | Diff File | ||
|
master b341ca89 2009-10-27 05:24 Details Diff |
Send headers before output buffer is flushed for file_download.php Content-* headers and etc should be sent before the output buffer is flushed at the start of file transfers. These headers have also been reordered so they're grouped together more logically. Also inline_file_exts can now be blank without the 'gif' attachment being forcefully added by Mantis. |
Affected Issues 0011101 |
|
| mod - file_download.php | Diff File | ||