Changesets: MantisBT
master 10f17e42 2009-09-10 03:42 Details Diff |
Fix 0010748: Fix CSS include for jscalendar The CSS required for jscalendar was not included properly. Additionally, there was some left over code that doesn't apply to the jscalendar widget that MantisBT has been using. This useless code has been removed. |
Affected Issues 0010748 |
|
mod - core/date_api.php | Diff File | ||
master-1.2.x 9d57fe92 2009-09-09 04:34 Details Diff |
Fix 0010918: Undefined $t_null_date when updating due date field Preconditions: * User has permission to update the due date * The due date field is configured to show on the update page When these preconditions are true, an error is thrown due to an invalid check for a null date. We should be using the date_is_null function instead as this is what is used in other parts of Mantis to check for null due dates. |
Affected Issues 0010918 |
|
mod - bug_update_advanced_page.php | Diff File | ||
master ed3bf370 2009-09-09 04:34 Details Diff |
Fix 0010918: Undefined $t_null_date when updating due date field Preconditions: * User has permission to update the due date * The due date field is configured to show on the update page When these preconditions are true, an error is thrown due to an invalid check for a null date. We should be using the date_is_null function instead as this is what is used in other parts of Mantis to check for null due dates. |
Affected Issues 0010918 |
|
mod - bug_update_advanced_page.php | Diff File | ||
master d85822de 2009-09-07 19:38 Details Diff |
Merge branch 'finfo' | ||
master c8f355d0 2009-09-07 09:19 Details Diff |
Fix 0010914: Make db_get_table behave like plugin_table db_get_table is currently called with a parameter in the format "mantis_{tablename}_table". This is unnecessary. The function should behave more like plugin_table where the name of a table such as "bug" or "email" is passed in, and the optional user-customisable prefix and suffix are prepended and appended. This change removes some processing overheads and makes the function a little bit easier to use, as it is consistent with the usage for plugin_table. Note that this breaks the API and therefore plugins will most likely have to change the parameters they're sending to db_get_table. |
Affected Issues 0010914 |
|
mod - core/project_api.php | Diff File | ||
mod - admin/install.php | Diff File | ||
mod - plugins/MantisGraph/pages/bug_graph_bystatus.php | Diff File | ||
mod - manage_tags_page.php | Diff File | ||
mod - core/database_api.php | Diff File | ||
mod - print_all_bug_options_inc.php | Diff File | ||
mod - core/authentication_api.php | Diff File | ||
mod - file_download.php | Diff File | ||
mod - core/relationship_api.php | Diff File | ||
mod - proj_doc_update.php | Diff File | ||
mod - core/profile_api.php | Diff File | ||
mod - print_all_bug_options_update.php | Diff File | ||
mod - core/cfdefs/cfdef_standard.php | Diff File | ||
mod - core/summary_api.php | Diff File | ||
mod - core/custom_field_api.php | Diff File | ||
mod - plugins/MantisGraph/core/graph_api.php | Diff File | ||
mod - admin/schema.php | Diff File | ||
mod - core/user_api.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
mod - core/access_api.php | Diff File | ||
mod - core/html_api.php | Diff File | ||
mod - core/user_pref_api.php | Diff File | ||
mod - core/plugin_api.php | Diff File | ||
mod - core/news_api.php | Diff File | ||
mod - core/file_api.php | Diff File | ||
mod - core/install_helper_functions_api.php | Diff File | ||
mod - manage_proj_cat_delete.php | Diff File | ||
mod - changelog_page.php | Diff File | ||
mod - core/sponsorship_api.php | Diff File | ||
mod - api/soap/mc_api.php | Diff File | ||
mod - manage_user_prune.php | Diff File | ||
mod - admin/move_db2disk.php | Diff File | ||
mod - core/category_api.php | Diff File | ||
mod - summary_page.php | Diff File | ||
mod - core/version_api.php | Diff File | ||
mod - print_bugnote_inc.php | Diff File | ||
mod - admin/copy_field.php | Diff File | ||
mod - api/soap/mc_file_api.php | Diff File | ||
mod - manage_user_page.php | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
mod - bug_monitor_list_view_inc.php | Diff File | ||
mod - core/config_api.php | Diff File | ||
mod - api/soap/mc_issue_api.php | Diff File | ||
mod - core/project_hierarchy_api.php | Diff File | ||
mod - core/history_api.php | Diff File | ||
mod - plugins/MantisGraph/pages/bug_graph_bycategory.php | Diff File | ||
mod - proj_doc_delete.php | Diff File | ||
mod - api/soap/mc_project_api.php | Diff File | ||
mod - proj_doc_page.php | Diff File | ||
mod - manage_plugin_update.php | Diff File | ||
mod - roadmap_page.php | Diff File | ||
mod - core/bug_revision_api.php | Diff File | ||
mod - core/tokens_api.php | Diff File | ||
mod - lost_pwd.php | Diff File | ||
mod - adm_config_report.php | Diff File | ||
mod - print_all_bug_options_reset.php | Diff File | ||
mod - proj_doc_edit_page.php | Diff File | ||
mod - manage_user_update.php | Diff File | ||
mod - login_page.php | Diff File | ||
mod - core/print_api.php | Diff File | ||
mod - core/tag_api.php | Diff File | ||
mod - core/filter_api.php | Diff File | ||
mod - core/bugnote_api.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
mod - plugins/MantisGraph/pages/summary_graph_cumulative_bydate2.php | Diff File | ||
mod - core/email_queue_api.php | Diff File | ||
mod - account_sponsor_page.php | Diff File | ||
master 4108aefa 2009-09-07 09:02 Details Diff |
Issue 0010912: Move install functions to new install_helper_functions_api This commit was created out of work towards converting the Timecard plugin from using the datetime field to an integer field. This conversion was carried out months ago to the MantisBT core. An upgrade function named install_date_migrate was provided in admin/install_functions.php and usually this isn't accessible to plugins. Therefore install_functions.php and install_helper_functions.php from the admin directory have been merged together into a new install_helper_functions_api.php file. The aim of this new API is to provide update functions that are useful for not just the MantisBT core, but also to plugins that may want to perform updates that are consistent with changes in the MantisBT core. The date_migrate function should not call db_get_table because that limits usage to core MantisBT code only. Therefore the schema has been updated to use db_get_table, ensuring that date_migrate can be used by plugins too. |
Affected Issues 0010912 |
|
rm - admin/install_helper_functions.php | Diff | ||
mod - admin/schema.php | Diff File | ||
master 63028f91 2009-09-07 03:36 Details Diff |
db_field_exists fails when no column names are returned by AdoDB This commit fixes up the error handling within db_field_exists so that the function returns false if AdoDB cannot return any column names from a table in the database. Previously an error was raised where a comparison using in_array() has an invalid type for the second parameter. This is because the MetaColumnNames function either returns an array, or false (boolean). |
||
mod - core/database_api.php | Diff File | ||
master-1.1.x 702e7c2c 2009-09-06 08:43 Details Diff |
Fix # 0010770: Update Bulgarian localisation for 1.1.x. | ||
mod - lang/strings_bulgarian.txt | Diff File | ||
master 85a07a21 2009-09-06 08:13 Details Diff |
Localisation updates from translatewiki.net (2009-09-06) | ||
add - plugins/MantisCoreFormatting/lang/strings_greek.txt | Diff File | ||
add - plugins/XmlImportExport/lang/strings_catalan.txt | Diff File | ||
mod - lang/strings_finnish.txt | Diff File | ||
add - lang/strings_breton.txt | Diff File | ||
mod - lang/strings_serbian.txt | Diff File | ||
mod - lang/strings_slovak.txt | Diff File | ||
mod - plugins/MantisGraph/lang/strings_qqq.txt | Diff File | ||
mod - lang/strings_romanian.txt | Diff File | ||
add - plugins/XmlImportExport/lang/strings_breton.txt | Diff File | ||
mod - plugins/MantisCoreFormatting/lang/strings_japanese.txt | Diff File | ||
mod - lang/strings_german.txt | Diff File | ||
add - plugins/MantisGraph/lang/strings_arabic.txt | Diff File | ||
mod - lang/strings_portuguese_standard.txt | Diff File | ||
mod - lang/strings_dutch.txt | Diff File | ||
mod - lang/strings_polish.txt | Diff File | ||
add - plugins/XmlImportExport/lang/strings_arabic.txt | Diff File | ||
mod - lang/strings_occitan.txt | Diff File | ||
add - plugins/MantisGraph/lang/strings_catalan.txt | Diff File | ||
mod - lang/strings_czech.txt | Diff File | ||
add - plugins/MantisCoreFormatting/lang/strings_slovak.txt | Diff File | ||
mod - lang/strings_arabic.txt | Diff File | ||
mod - lang/strings_russian.txt | Diff File | ||
add - plugins/MantisCoreFormatting/lang/strings_breton.txt | Diff File | ||
mod - plugins/MantisCoreFormatting/lang/strings_hebrew.txt | Diff File | ||
mod - lang/strings_french.txt | Diff File | ||
add - plugins/MantisCoreFormatting/lang/strings_catalan.txt | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
add - plugins/MantisCoreFormatting/lang/strings_portuguese_brazil.txt | Diff File | ||
mod - plugins/XmlImportExport/lang/strings_ripoarisch.txt | Diff File | ||
mod - plugins/MantisCoreFormatting/lang/strings_qqq.txt | Diff File | ||
mod - lang/strings_spanish.txt | Diff File | ||
mod - lang/strings_swissgerman.txt | Diff File | ||
mod - lang/strings_swedish.txt | Diff File | ||
add - plugins/MantisGraph/lang/strings_breton.txt | Diff File | ||
add - plugins/XmlImportExport/lang/strings_slovak.txt | Diff File | ||
mod - plugins/MantisGraph/lang/strings_spanish.txt | Diff File | ||
add - plugins/MantisGraph/lang/strings_slovak.txt | Diff File | ||
mod - lang/strings_japanese.txt | Diff File | ||
mod - lang/strings_galician.txt | Diff File | ||
master-1.2.x aea59ec8 2009-09-04 15:04 Details Diff |
Fix 0010663: Make email regex case-insensitive |
Affected Issues 0010663 |
|
mod - core/string_api.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
master 3c609e95 2009-09-04 15:04 Details Diff |
Fix 0010663: Make email regex case-insensitive |
Affected Issues 0010663 |
|
mod - core/string_api.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
master-1.2.x 0430df5d 2009-09-04 12:00 Details Diff |
Fix 0010879: Pre-register plugins at uninstall time |
Affected Issues 0010879 |
|
mod - manage_plugin_uninstall.php | Diff File | ||
master 82873626 2009-09-04 12:00 Details Diff |
Fix 0010879: Pre-register plugins at uninstall time |
Affected Issues 0010879 |
|
mod - manage_plugin_uninstall.php | Diff File | ||
master-1.2.x 8303da62 2009-09-04 10:30 Details Diff |
Don't show product build if $g_enable_product_build != ON To be consistent with the template code for reporting, updating and printing a bug, the product build field should not be shown if the feature is disabled with $g_enable_product_build = OFF. |
||
mod - bug_view_inc.php | Diff File | ||
master d3ac335e 2009-09-04 10:30 Details Diff |
Don't show product build if $g_enable_product_build != ON To be consistent with the template code for reporting, updating and printing a bug, the product build field should not be shown if the feature is disabled with $g_enable_product_build = OFF. |
||
mod - bug_view_inc.php | Diff File | ||
master-1.2.x 4aed4e3d 2009-09-04 10:20 Details Diff |
Fix 0010696: Allow target/fixed in versions to be used without product build See 45547ddc9c8f51673af90d802b5446b889491afa for an explanation of why this commit is necessary. The changes in the above mentioned commit were lost during refactoring. This commit adds those changes back, and also applies them to the other files where were refactored. |
Affected Issues 0010696 |
|
mod - print_bug_page.php | Diff File | ||
mod - bug_view_inc.php | Diff File | ||
mod - bug_report_page.php | Diff File | ||
mod - bug_update_advanced_page.php | Diff File | ||
master 2bd2d1c8 2009-09-04 10:20 Details Diff |
Fix 0010696: Allow target/fixed in versions to be used without product build See 45547ddc9c8f51673af90d802b5446b889491afa for an explanation of why this commit is necessary. The changes in the above mentioned commit were lost during refactoring. This commit adds those changes back, and also applies them to the other files where were refactored. |
Affected Issues 0010696 |
|
mod - print_bug_page.php | Diff File | ||
mod - bug_view_inc.php | Diff File | ||
mod - bug_report_page.php | Diff File | ||
mod - bug_update_advanced_page.php | Diff File | ||
master-1.2.x 4833dba6 2009-09-04 09:21 Chris Fitch Committer: dhx Details Diff |
Issue 0010906: Add BUGNOTE_DATA event so plugins can preprocess bugnote content There is an event (REPORT_BUG_DATA) that allows plugins to preprocess bug data when a bug is submitted. It would be nice if the same type of event existed for bugnotes. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010906 |
|
mod - core/events_inc.php | Diff File | ||
mod - core/bugnote_api.php | Diff File | ||
master bef2c84b 2009-09-04 09:21 Chris Fitch Committer: dhx Details Diff |
Issue 0010906: Add BUGNOTE_DATA event so plugins can preprocess bugnote content There is an event (REPORT_BUG_DATA) that allows plugins to preprocess bug data when a bug is submitted. It would be nice if the same type of event existed for bugnotes. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010906 |
|
mod - core/events_inc.php | Diff File | ||
mod - core/bugnote_api.php | Diff File | ||
master-1.2.x fa252970 2009-09-04 08:56 Chris Fitch Committer: dhx Details Diff |
Issue 10905: Move BUGNOTE_ADD event to bugnote_add() function The BUGNOTE_ADD event is only sent when a bugnote is added from the view page. Moving it from bugnote_add.php to the bugnote_add() function in core/bugnote_api.php will ensure that it is sent from the edit page as well. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010905 |
|
mod - bugnote_add.php | Diff File | ||
mod - core/bugnote_api.php | Diff File | ||
master 2d8bbff7 2009-09-04 08:56 Chris Fitch Committer: dhx Details Diff |
Issue 10905: Move BUGNOTE_ADD event to bugnote_add() function The BUGNOTE_ADD event is only sent when a bugnote is added from the view page. Moving it from bugnote_add.php to the bugnote_add() function in core/bugnote_api.php will ensure that it is sent from the edit page as well. Signed-off-by: David Hicks <hickseydr@optusnet.com.au> |
Affected Issues 0010905 |
|
mod - bugnote_add.php | Diff File | ||
mod - core/bugnote_api.php | Diff File | ||
master 2461dbf1 2009-09-04 08:50 Details Diff |
Issue 0006047: Use finfo PHP functions to determine file types The finfo class is now standard in PHP 5.3.0 and can be used to determine the MIME type of attachments. It is best to perform this check upon each download so that updates in PHP and the libmagic library behind the scene will apply to all attachments - not just ones created after the update. |
Affected Issues 0006047 |
|
mod - file_download.php | Diff File | ||
master-1.2.x 7d04c49e 2009-09-04 08:50 Details Diff |
Issue 0006047: Use finfo PHP functions to determine file types The finfo class is now standard in PHP 5.3.0 and can be used to determine the MIME type of attachments. It is best to perform this check upon each download so that updates in PHP and the libmagic library behind the scene will apply to all attachments - not just ones created after the update. |
Affected Issues 0006047 |
|
mod - file_download.php | Diff File | ||
master 7f53241d 2009-09-04 07:29 Details Diff |
Move my_view_inc.php into root my_view_inc.php does not contain any sort of API and therefore should be located in the root with all other _inc files. |
||
mod - my_view_page.php | Diff File | ||
master-1.2.x 7f8b2028 2009-09-04 07:29 Details Diff |
Move my_view_inc.php into root my_view_inc.php does not contain any sort of API and therefore should be located in the root with all other _inc files. |
||
mod - my_view_page.php | Diff File |