Changesets: MantisBT
|
next 93930393 2011-09-17 03:01 Details Diff |
Implement PluginNotRegistered exception | ||
| add - application/MantisBT/Exception/Plugin/PluginNotRegistered.php | Diff File | ||
| mod - public/plugin.php | Diff File | ||
| mod - public/plugin_file.php | Diff File | ||
|
next c60c8ea6 2011-09-17 02:51 Details Diff |
Implement PluginAlreadyInstalled exception | ||
| add - application/MantisBT/Exception/Plugin/PluginAlreadyInstalled.php | Diff File | ||
| mod - application/core/plugin_api.php | Diff File | ||
|
next 5d431ef0 2011-09-17 02:42 Details Diff |
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. |
||
| mod - application/core/constant_inc.php | Diff File | ||
| mod - application/core/utility_api.php | Diff File | ||
| mod - languages/strings_afrikaans.txt | Diff File | ||
| mod - languages/strings_arabic.txt | Diff File | ||
| mod - languages/strings_arabicegyptianspoken.txt | Diff File | ||
| mod - languages/strings_breton.txt | Diff File | ||
| mod - languages/strings_catalan.txt | Diff File | ||
| mod - languages/strings_czech.txt | Diff File | ||
| mod - languages/strings_dutch.txt | Diff File | ||
| mod - languages/strings_english.txt | Diff File | ||
| mod - languages/strings_estonian.txt | Diff File | ||
| mod - languages/strings_finnish.txt | Diff File | ||
| mod - languages/strings_french.txt | Diff File | ||
| mod - languages/strings_galician.txt | Diff File | ||
| mod - languages/strings_german.txt | Diff File | ||
| mod - languages/strings_hebrew.txt | Diff File | ||
| mod - languages/strings_hungarian.txt | Diff File | ||
| mod - languages/strings_japanese.txt | Diff File | ||
| mod - languages/strings_macedonian.txt | Diff File | ||
| mod - languages/strings_norwegian_bokmal.txt | Diff File | ||
| mod - languages/strings_occitan.txt | Diff File | ||
| mod - languages/strings_polish.txt | Diff File | ||
| mod - languages/strings_portuguese_brazil.txt | Diff File | ||
| mod - languages/strings_portuguese_standard.txt | Diff File | ||
| mod - languages/strings_russian.txt | Diff File | ||
| mod - languages/strings_slovak.txt | Diff File | ||
| mod - languages/strings_spanish.txt | Diff File | ||
| mod - languages/strings_swedish.txt | Diff File | ||
| mod - languages/strings_swissgerman.txt | Diff File | ||
| mod - languages/strings_tagalog.txt | Diff File | ||
| mod - languages/strings_volapuk.txt | Diff File | ||
|
next 7b0506a6 2011-09-17 02:38 Details Diff |
Implement EventUndeclared exception | ||
| add - application/MantisBT/Exception/Plugin/EventUndeclared.php | Diff File | ||
| mod - application/core/event_api.php | Diff File | ||
|
next a941db9e 2011-09-17 02:33 Details Diff |
Implement PageRedirectionFailed exception | ||
| add - application/MantisBT/Exception/HTTP/PageRedirectionFailed.php | Diff File | ||
| mod - application/core/print_api.php | Diff File | ||
|
next 5a780414 2011-09-17 02:12 Details Diff |
Restructure database namespace and naming conventions | ||
| add - application/MantisBT/Database/Dictionary.php | Diff File | ||
| add - application/MantisBT/Database/DriverAbstract.php | Diff File | ||
| add - application/MantisBT/Database/DriverInterface.php | Diff File | ||
| add - application/MantisBT/Database/PDO/MySQL/MySQLDriver.php | Diff File | ||
| add - application/MantisBT/Database/PDO/PDODriverAbstract.php | Diff File | ||
| rm - application/MantisBT/Db/Dictionary.php | Diff | ||
| rm - application/MantisBT/Db/DriverAbstract.php | Diff | ||
| rm - application/MantisBT/Db/DriverInterface.php | Diff | ||
| rm - application/MantisBT/Db/PDO/Mysql.php | Diff | ||
| rm - application/MantisBT/Db/PDO/PDOAbstract.php | Diff | ||
| mod - application/core/database_api.php | Diff File | ||
|
next 17197438 2011-09-17 01:50 Details Diff |
Implement QueryFailed and ParameterCountMismatch exceptions These changes are quite invasive towards the database support in MantisBT. A number of legacy error reporting and handling functions specific to database handling have been removed. Legacy database backends (those not using PDO) can be implemented so that they throw their own exceptions in the same way PDO does. This moves responsibility over getLastError() type functions into the legacy backends where it belongs. |
||
| add - application/MantisBT/Exception/Database/ParameterCountMismatch.php | Diff File | ||
| add - application/MantisBT/Exception/Database/QueryFailed.php | Diff File | ||
| rm - application/MantisBT/Exception/Db.php | Diff | ||
| mod - application/MantisBT/Db/DriverAbstract.php | Diff File | ||
| mod - application/MantisBT/Db/DriverInterface.php | Diff File | ||
| mod - application/MantisBT/Db/PDO/Mysql.php | Diff File | ||
| mod - application/MantisBT/Db/PDO/PDOAbstract.php | Diff File | ||
| mod - application/MantisBT/Error.php | Diff File | ||
| mod - application/core/database_api.php | Diff File | ||
|
next 78de4cd9 2011-09-16 23:59 Details Diff |
Implement ConnectionFailed and DatabaseTypeNotSupported exceptions | ||
| add - application/MantisBT/Exception/Database/ConnectionFailed.php | Diff File | ||
| add - application/MantisBT/Exception/Database/DatabaseTypeNotSupported.php | Diff File | ||
| mod - application/MantisBT/Db/PDO/PDOAbstract.php | Diff File | ||
| mod - application/core/database_api.php | Diff File | ||
|
master-2.0.x 9fafb079 2011-09-15 11:19 Paul Richards Details Diff |
xhtml fixes | ||
| mod - admin/upgrade_warning.php | Diff File | ||
|
master-2.0.x 58d96930 2011-09-14 11:12 Paul Richards Details Diff |
Fix xhtml formatting of tags pages | ||
| mod - manage_tags_page.php | Diff File | ||
| mod - tag_view_page.php | Diff File | ||
|
master-1.2.x c6ad34e5 2011-09-14 00:48 Details Diff |
Fix 0013303: use strtolower in ini_get_bool() Generally, ini_get() returns '0' or '1' when querying a boolean option, regardless of the actual string used to set it (i.e. On, False, etc). However, in some cases (e.g. when the option is set in httpd.conf via php_admin_value instead of php_admin_flag), ini_get() returns the string itself instead. This caused ini_get_bool() to wrongly return False when the option is set to an equivalent of True but with a different case ('On', 'TRUE'). |
Affected Issues 0013303 |
|
| mod - core/utility_api.php | Diff File | ||
|
master a6662375 2011-09-14 00:48 Details Diff |
Fix 0013303: use strtolower in ini_get_bool() Generally, ini_get() returns '0' or '1' when querying a boolean option, regardless of the actual string used to set it (i.e. On, False, etc). However, in some cases (e.g. when the option is set in httpd.conf via php_admin_value instead of php_admin_flag), ini_get() returns the string itself instead. This caused ini_get_bool() to wrongly return False when the option is set to an equivalent of True but with a different case ('On', 'TRUE'). |
Affected Issues 0013303 |
|
| mod - core/utility_api.php | Diff File | ||
|
master-2.0.x c4f1c67b 2011-09-12 10:37 Paul Richards Details Diff |
Use static variables over global | ||
| mod - core.php | Diff File | ||
|
master ca813d8a 2011-09-12 08:35 Damien Regad Committer: dregad Details Diff |
Add new ldap_network_timeout config option Introduction of PHP 5.3 support with 1.3.x allows setting of LDAP network timeout (LDAP_OPT_NETWORK_TIMEOUT) before binding the server. When the LDAP server is not available with this option set to its default value of 0 (infinite), the system will seem to hang for several minutes, depending on the TCP stack settings, until control is finally returned to Mantis. Setting this option to a low value makes the system more responsive, and also allows automatic and rapid failover to the next available LDAP server when the hostname defined in $g_ldap_server resolves to multiple IP addresses, which are tried in sequence by ldap_bind(). Fixes 0012544 |
Affected Issues 0012544 |
|
| mod - config_defaults_inc.php | Diff File | ||
| mod - core/ldap_api.php | Diff File | ||
| mod - docbook/Admin_Guide/en-US/config/auth.xml | Diff File | ||
|
next 2d66c880 2011-09-12 02:26 Details Diff |
Use correct error constants in CustomField* exceptions | ||
| mod - application/MantisBT/Exception/CustomField/CustomFieldInvalidDefinition.php | Diff File | ||
| mod - application/MantisBT/Exception/CustomField/CustomFieldInvalidValue.php | Diff File | ||
|
next 3c092914 2011-09-12 02:26 Details Diff |
Use correct error constants in CustomField* exceptions | ||
| mod - application/MantisBT/Exception/CustomField/CustomFieldInvalidDefinition.php | Diff File | ||
| mod - application/MantisBT/Exception/CustomField/CustomFieldInvalidValue.php | Diff File | ||
|
next 5993b32f 2011-09-12 02:14 Details Diff |
Replace last remaining use of ERROR_BUG_DUPLICATE_SELF Use MantisBT\Exception\Issue\IssueDuplicateSelf instead. |
||
| mod - public/bug_update.php | Diff File | ||
|
next 7ff0684c 2011-09-12 02:14 Details Diff |
Replace last remaining use of ERROR_BUG_DUPLICATE_SELF Use MantisBT\Exception\Issue\IssueDuplicateSelf instead. |
||
| mod - public/bug_update.php | Diff File | ||
|
next e226f295 2011-09-12 02:12 Details Diff |
Implement IssueHandlerAccessDenied exception | ||
| add - application/MantisBT/Exception/Access/IssueHandlerAccessDenied.php | Diff File | ||
| mod - public/bug_change_status_page.php | Diff File | ||
| mod - public/bug_update.php | Diff File | ||
|
next 3fac2196 2011-09-12 02:12 Details Diff |
Implement IssueHandlerAccessDenied exception | ||
| add - application/MantisBT/Exception/Access/IssueHandlerAccessDenied.php | Diff File | ||
| mod - public/bug_change_status_page.php | Diff File | ||
| mod - public/bug_update.php | Diff File | ||
|
next 4eba4943 2011-09-12 02:08 Details Diff |
Implement NumberExpected exception | ||
| add - application/MantisBT/Exception/GPC/NumberExpected.php | Diff File | ||
| mod - application/core/gpc_api.php | Diff File | ||
|
next a4891804 2011-09-12 02:08 Details Diff |
Implement NumberExpected exception | ||
| add - application/MantisBT/Exception/GPC/NumberExpected.php | Diff File | ||
| mod - application/core/gpc_api.php | Diff File | ||
|
next 701d0bc3 2011-09-12 02:03 Details Diff |
Implement ArrayExpected exception | ||
| add - application/MantisBT/Exception/GPC/ArrayExpected.php | Diff File | ||
| mod - application/core/gpc_api.php | Diff File | ||
|
next 5e674f0a 2011-09-12 02:03 Details Diff |
Implement ArrayExpected exception | ||
| add - application/MantisBT/Exception/GPC/ArrayExpected.php | Diff File | ||
| mod - application/core/gpc_api.php | Diff File | ||
|
next 2afe2e71 2011-09-12 02:00 Details Diff |
Implement ArrayUnexpected exception | ||
| add - application/MantisBT/Exception/GPC/ArrayUnexpected.php | Diff File | ||
| mod - application/core/gpc_api.php | Diff File | ||