From: <no...@gi...> - 2011-09-17 16:24:55
|
Branch: refs/heads/next Home: https://github.com/mantisbt/mantisbt Commit: a941db9e76852bfb8e4e1fcb988b2380c401ecd8 https://github.com/mantisbt/mantisbt/commit/a941db9e76852bfb8e4e1fcb988b2380c401ecd8 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/HTTP/PageRedirectionFailed.php M application/core/print_api.php Log Message: ----------- Implement PageRedirectionFailed exception Commit: 7b0506a64affee43c9a7a52ef9122ae586b755fb https://github.com/mantisbt/mantisbt/commit/7b0506a64affee43c9a7a52ef9122ae586b755fb Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Plugin/EventUndeclared.php M application/core/event_api.php Log Message: ----------- Implement EventUndeclared exception Commit: 5d431ef0c471c0774c960595406eae31cf633163 https://github.com/mantisbt/mantisbt/commit/5d431ef0c471c0774c960595406eae31cf633163 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M application/core/constant_inc.php M application/core/utility_api.php M languages/strings_afrikaans.txt M languages/strings_arabic.txt M languages/strings_arabicegyptianspoken.txt M languages/strings_breton.txt M languages/strings_catalan.txt M languages/strings_czech.txt M languages/strings_dutch.txt M languages/strings_english.txt M languages/strings_estonian.txt M languages/strings_finnish.txt M languages/strings_french.txt M languages/strings_galician.txt M languages/strings_german.txt M languages/strings_hebrew.txt M languages/strings_hungarian.txt M languages/strings_japanese.txt M languages/strings_macedonian.txt M languages/strings_norwegian_bokmal.txt M languages/strings_occitan.txt M languages/strings_polish.txt M languages/strings_portuguese_brazil.txt M languages/strings_portuguese_standard.txt M languages/strings_russian.txt M languages/strings_slovak.txt M languages/strings_spanish.txt M languages/strings_swedish.txt M languages/strings_swissgerman.txt M languages/strings_tagalog.txt M languages/strings_volapuk.txt Log Message: ----------- Remove ERROR_INVALID_SORT_FIELD exception Too verbose of an error. The multi_sort function either works or it doesn't. At this low level, a descriptive and helpful error message that can assist with debugging is not possible. A generic exception can be used instead. Coupled with a backtrace, debugging is easy. Commit: c60c8ea6809d45a8a37ebcc48d397df70ed7e7fb https://github.com/mantisbt/mantisbt/commit/c60c8ea6809d45a8a37ebcc48d397df70ed7e7fb Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Plugin/PluginAlreadyInstalled.php M application/core/plugin_api.php Log Message: ----------- Implement PluginAlreadyInstalled exception Commit: 93930393cbe62e8fabb1c341e14cd48621c92216 https://github.com/mantisbt/mantisbt/commit/93930393cbe62e8fabb1c341e14cd48621c92216 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Plugin/PluginNotRegistered.php M public/plugin.php M public/plugin_file.php Log Message: ----------- Implement PluginNotRegistered exception Commit: 7dd05c273e0bef1caff3d97a2aceb4432577ed44 https://github.com/mantisbt/mantisbt/commit/7dd05c273e0bef1caff3d97a2aceb4432577ed44 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Plugin/PluginPageNotFound.php M public/plugin.php Log Message: ----------- Implement PluginPageNotFound exception Commit: 4bf95dd3a3609f39b9c98f6215987358c7ca9300 https://github.com/mantisbt/mantisbt/commit/4bf95dd3a3609f39b9c98f6215987358c7ca9300 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Plugin/InstallationFailed.php M public/plugins/XmlImportExport/XmlImportExport.php Log Message: ----------- Implement InstallationFailed exception Commit: 4f1b5fc0bbc68d8ff2426c7bbd0852eeccd7e5e8 https://github.com/mantisbt/mantisbt/commit/4f1b5fc0bbc68d8ff2426c7bbd0852eeccd7e5e8 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Plugin/UpgradeFailed.php M application/core/plugin_api.php Log Message: ----------- Implement UpgradeFailed exception Commit: fbd77cf72916404fd3e6be0a3678e3685d51493c https://github.com/mantisbt/mantisbt/commit/fbd77cf72916404fd3e6be0a3678e3685d51493c Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M public/bug_file_add.php M public/proj_doc_update.php Log Message: ----------- Replace remaining ERROR_FILE_TOO_BIG with AttachmentOversized exception Commit: 040a86e78fe855df3e9776c54ac52c2a6ed9beab https://github.com/mantisbt/mantisbt/commit/040a86e78fe855df3e9776c54ac52c2a6ed9beab Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M public/proj_doc_update.php Log Message: ----------- Replace remaining ERROR_FILE_MOVE_FAILED with AttachmentMoveFailed Commit: 30aa0d35504f7408b43ed9c7cb3afb970e73ac8b https://github.com/mantisbt/mantisbt/commit/30aa0d35504f7408b43ed9c7cb3afb970e73ac8b Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M public/manage_proj_cat_add.php Log Message: ----------- Replace remaining ERROR_CATEGORY_DUPLICATE with CategoryDuplicate Commit: 67da585e3482decbcac87b8afc39c0a9ed351a3c https://github.com/mantisbt/mantisbt/commit/67da585e3482decbcac87b8afc39c0a9ed351a3c Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Token/TokenNotFound.php M application/core/tokens_api.php Log Message: ----------- Implement TokenNotFound exception Commit: 48cdb2c32f44173c443cbddfb4d95b8f06505989 https://github.com/mantisbt/mantisbt/commit/48cdb2c32f44173c443cbddfb4d95b8f06505989 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Language/LanguageStringNotFound.php M application/core/lang_api.php Log Message: ----------- Implement LanguageStringNotFound exception Commit: 74840e596a307f239d17353ba039c41bbe29400e https://github.com/mantisbt/mantisbt/commit/74840e596a307f239d17353ba039c41bbe29400e Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/News/NewsItemNotFound.php M application/core/news_api.php Log Message: ----------- Implement NewsItemNotFound exception Commit: faf6a72103d360514637b3f2fb5e637146d57489 https://github.com/mantisbt/mantisbt/commit/faf6a72103d360514637b3f2fb5e637146d57489 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Filter/FilterNotFound.php M application/core/filter_api.php M public/return_dynamic_filters.php Log Message: ----------- Implement FilterNotFound exception Commit: e3f240d2cba377d56e7f3cf6536163d7ea2885aa https://github.com/mantisbt/mantisbt/commit/e3f240d2cba377d56e7f3cf6536163d7ea2885aa Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Filter/FilterTooOldToUpgrade.php M public/view_all_set.php Log Message: ----------- Implement FilterTooOldToUpgrade exception Commit: b693bd8287471c605fe7fa47685bd30b82425d5b https://github.com/mantisbt/mantisbt/commit/b693bd8287471c605fe7fa47685bd30b82425d5b Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Field/InvalidDateFormat.php M application/core/version_api.php Log Message: ----------- Implement InvalidDateFormat exception Commit: 53fe10f16751855326843d9e554ebd648b309ce6 https://github.com/mantisbt/mantisbt/commit/53fe10f16751855326843d9e554ebd648b309ce6 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Column/ColumnInvalid.php M application/core/columns_api.php Log Message: ----------- Implement ColumnInvalid exception Commit: d1b99af2c499d51ceeb6f518fc9159626a7a61e7 https://github.com/mantisbt/mantisbt/commit/d1b99af2c499d51ceeb6f518fc9159626a7a61e7 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Column/ColumnDuplicate.php M application/core/columns_api.php Log Message: ----------- Implement ColumnDuplicate exception Commit: 2c3d5a7257f29e06db5e602453078fc1b9460823 https://github.com/mantisbt/mantisbt/commit/2c3d5a7257f29e06db5e602453078fc1b9460823 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Issue/DependantIssuesNotResolved.php M public/bug_update.php Log Message: ----------- Implement DependantIssuesNotResolved exception Commit: 2941195455841b09ffef97cd3a77cf762974cce5 https://github.com/mantisbt/mantisbt/commit/2941195455841b09ffef97cd3a77cf762974cce5 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/CustomField/CustomFieldNotLinkedToProject.php M public/plugins/XmlImportExport/ImportXml/Issue.php Log Message: ----------- Implement CustomFieldNotLinkedToProject exception Commit: 588eac41d1494035444c3f05e600483e4363e79c https://github.com/mantisbt/mantisbt/commit/588eac41d1494035444c3f05e600483e4363e79c Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Email/EmailAddressInvalid.php M application/core/email_api.php Log Message: ----------- Implement EmailAddressInvalid exception Commit: ede5fcb9e34aada990a0b1c5dfd38196167b4b87 https://github.com/mantisbt/mantisbt/commit/ede5fcb9e34aada990a0b1c5dfd38196167b4b87 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Email/DisposableEmailAddressDisallowed.php M application/core/email_api.php Log Message: ----------- Implement DisposableEmailAddressDisallowed exception Commit: 1119e28c30c9aa3a60ee05e46fd8450519fbf87e https://github.com/mantisbt/mantisbt/commit/1119e28c30c9aa3a60ee05e46fd8450519fbf87e Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: A application/MantisBT/Exception/Twitter/cURLMissing.php M application/core/twitter_api.php Log Message: ----------- Implement cURLMissing exception Commit: e2d6469f7f86dc5b82787897950363534217c731 https://github.com/mantisbt/mantisbt/commit/e2d6469f7f86dc5b82787897950363534217c731 Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M application/core/user_api.php Log Message: ----------- Remove trigger_error call from user_api This trigger_error call was broken - it did not use MantisBT translation strings. Replaced with an UnspecifiedException exception for now. Commit: 67515fe3b8b66da31d1527ffd27e8ad226c2204b https://github.com/mantisbt/mantisbt/commit/67515fe3b8b66da31d1527ffd27e8ad226c2204b Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M application/core/constant_inc.php M languages/strings_afrikaans.txt M languages/strings_arabic.txt M languages/strings_arabicegyptianspoken.txt M languages/strings_breton.txt M languages/strings_bulgarian.txt M languages/strings_catalan.txt M languages/strings_chinese_simplified.txt M languages/strings_chinese_traditional.txt M languages/strings_czech.txt M languages/strings_danish.txt M languages/strings_dutch.txt M languages/strings_english.txt M languages/strings_estonian.txt M languages/strings_finnish.txt M languages/strings_french.txt M languages/strings_galician.txt M languages/strings_german.txt M languages/strings_hebrew.txt M languages/strings_hungarian.txt M languages/strings_icelandic.txt M languages/strings_italian.txt M languages/strings_japanese.txt M languages/strings_korean.txt M languages/strings_lithuanian.txt M languages/strings_macedonian.txt M languages/strings_norwegian_bokmal.txt M languages/strings_occitan.txt M languages/strings_polish.txt M languages/strings_portuguese_brazil.txt M languages/strings_portuguese_standard.txt M languages/strings_romanian.txt M languages/strings_russian.txt M languages/strings_serbian.txt M languages/strings_slovak.txt M languages/strings_slovene.txt M languages/strings_spanish.txt M languages/strings_swedish.txt M languages/strings_swissgerman.txt M languages/strings_tagalog.txt M languages/strings_ukrainian.txt M languages/strings_urdu.txt M languages/strings_volapuk.txt M public/manage_proj_cat_copy.php M public/manage_proj_custom_field_copy.php M public/manage_proj_user_copy.php M public/manage_proj_ver_copy.php Log Message: ----------- Replace ERROR_CATEGORY_NO_ACTION error with EmptyField Commit: e82cfe9f01d23905af531f5920728228d6689ebc https://github.com/mantisbt/mantisbt/commit/e82cfe9f01d23905af531f5920728228d6689ebc Author: David Hicks <d...@hx...> Date: 2011-09-17 (Sat, 17 Sep 2011) Changed paths: M application/MantisBT/Error.php M application/core/access_api.php M application/core/authentication_api.php M application/core/category_api.php M application/core/config_api.php M application/core/custom_field_api.php M application/core/email_queue_api.php R application/core/error_api.php M application/core/html_api.php M application/core/print_api.php M application/core/user_api.php M application/core/user_pref_api.php M docbook/Admin_Guide/en-US/Customizing.xml M public/bug_actiongroup_add_note_inc.php M public/core.php M public/print_all_bug_options_reset.php M public/print_all_bug_options_update.php M public/proj_doc_add.php M public/view_user_page.php Log Message: ----------- Remove error_api The traditional error_api system has now been completely removed. Some of the functionality still lives inside MantisBT\Error but will be replaced in due course with a better OO exception printer (one that can be extended to work with HTML, SOAP, JSON, ...). >From now on, trigger_error should not be used to raise errors. Use the OO "throw ExceptionClass($parameters)" approach instead. Compare: https://github.com/mantisbt/mantisbt/compare/5a78041...e82cfe9 |