Changesets: MantisBT
master-2.0.x 82822500 2012-07-08 00:45 Paul Richards Details Diff |
Remove sample config - we generate a sample config when the installer runs customised to the user. | ||
rm - config_inc.php.sample | Diff | ||
master-1.2.x 19b2865e 2012-07-06 00:41 Details Diff |
Store bugnote URL replacement string in a static variable The purpose is to make code more readable. Follow up on fix for issue 0014447. |
Affected Issues 0014447 |
|
mod - core/string_api.php | Diff File | ||
master 71c7e027 2012-07-06 00:41 Details Diff |
Store bugnote URL replacement string in a static variable The purpose is to make code more readable. Follow up on fix for issue 0014447. |
Affected Issues 0014447 |
|
mod - core/string_api.php | Diff File | ||
master 971809aa 2012-07-05 23:41 Details Diff |
Email hrefs in bugnotes should include 'mailto:' prefix Hyperlinks to email addresses generated when processing bugnotes and description fields should include the 'mailto:' prefix if it exists Fixes 0014547 |
Affected Issues 0014547 |
|
mod - core/string_api.php | Diff File | ||
master-1.2.x 4a4fe86d 2012-07-05 23:41 Details Diff |
Email hrefs in bugnotes should include 'mailto:' prefix Hyperlinks to email addresses generated when processing bugnotes and description fields should include the 'mailto:' prefix if it exists Fixes 0014547 |
Affected Issues 0014547 |
|
mod - core/string_api.php | Diff File | ||
master-2.0.x 5719c35a 2012-07-05 07:07 Damien Regad Committer: dregadmin Details Diff |
Fix email validation regex rejects addresses with single subdomain Per RFC 5322, e.g. user@localhost is a valid e-mail address but the previously implemented regex rejected it. Fixes 0014453 |
Affected Issues 0014453 |
|
mod - core/email_api.php | Diff File | ||
master-1.2.x 63f044a0 2012-07-05 04:09 Details Diff |
Whitespace fixes | ||
mod - core/email_api.php | Diff File | ||
master-1.2.x 6da5164e 2012-07-05 04:07 Details Diff |
Fix email validation regex rejects addresses with single subdomain Per RFC 5322, e.g. user@localhost is a valid e-mail address but the previously implemented regex rejected it. Fixes 0014453 |
Affected Issues 0014453 |
|
mod - core/email_api.php | Diff File | ||
master abf661e7 2012-07-05 04:07 Details Diff |
Fix email validation regex rejects addresses with single subdomain Per RFC 5322, e.g. user@localhost is a valid e-mail address but the previously implemented regex rejected it. Fixes 0014453 |
Affected Issues 0014453 |
|
mod - core/email_api.php | Diff File | ||
master dcc19f49 2012-07-04 03:39 Details Diff |
Fix long URL formatting causing bugnote/text to be blank When MantisCoreFormatting plugin processes text (e.g. bugnote) containing a long URL, a PREG_BACKTRACK_LIMIT_ERROR may occur in string_insert_hrefs() when replacing email address links with preg_replace_callback(). When pcre.backtrack_limit = 100000, the longest URL that can be processed successfully is 152 chars. A bigger URL triggers the PCRE error and the function returns NULL. This was introduced by commit 01b5bf55a1dae4225a083cca16edf208bb10c4b1. We now use preg_split() instead of preg_replace_callback(), which is more efficient and avoids the backtrace error issue The url replacement string was also moved to a variable to make code more readable. Fixes 0014447 |
Affected Issues 0014447 |
|
mod - core/string_api.php | Diff File | ||
master-1.2.x 38ef3244 2012-07-04 03:39 Details Diff |
Fix long URL formatting causing bugnote/text to be blank When MantisCoreFormatting plugin processes text (e.g. bugnote) containing a long URL, a PREG_BACKTRACK_LIMIT_ERROR may occur in string_insert_hrefs() when replacing email address links with preg_replace_callback(). When pcre.backtrack_limit = 100000, the longest URL that can be processed successfully is 152 chars. A bigger URL triggers the PCRE error and the function returns NULL. This was introduced by commit 21a3469d1039c21fbf52796f23a95ab18856254a. We now use preg_split() instead of preg_replace_callback(), which is more efficient and avoids the backtrace error issue The url replacement string was also moved to a variable to make code more readable. Fixes 0014447 |
Affected Issues 0014447 |
|
mod - core/string_api.php | Diff File | ||
master-1.2.x f9b9e2fc 2012-07-03 00:47 Details Diff |
Code cleanup in bug_update.php Fixes whitespace, code alignment, typos in comments, long lines |
||
mod - bug_update.php | Diff File | ||
master-1.2.x 91a99d97 2012-07-03 00:29 Details Diff |
Add param to bug_resolve() to allow "resolution" to custom status Function bug_resolve() sets the status to bug_resolved_status_threshold. This behavior is fine with MantisBT's default status enum, but is causing issues when using a custom target status that is >= $g_bug_resolved_status_threshold & < $g_bug_closed_status_threshold. In this case, when changing status using the button on view.php, the target status selected by the user is overriden by the value of bug_resolved_status_threshold, resulting in incorrect behavior. The only way to effectively reach the custom state is by editing the issue. To address this, a new optional parameter $p_status is added to bug_resolve(). To make the function call more logical, the signature was modified: new parameter inserted in 3rd position after $p_resolution. The function's phpdoc header has been completed. Fixes 0014443 |
Affected Issues 0014443 |
|
mod - bug_actiongroup.php | Diff File | ||
mod - bug_update.php | Diff File | ||
mod - core/bug_api.php | Diff File | ||
master-1.2.x 123c2c89 2012-07-02 22:15 Details Diff |
Fix system warning in html_status_legend() with custom status When using custom status for which no language strings are defined, html_status_legend() triggered system warnings. MantisBT now displays the custom status' name as defined in the enum, in case there is no available translation string. Fixes 0014446 |
Affected Issues 0014446 |
|
mod - core/html_api.php | Diff File | ||
master b88e409e 2012-07-02 22:15 Details Diff |
Fix system warning in html_status_legend() with custom status When using custom status for which no language strings are defined, html_status_legend() triggered system warnings. MantisBT now displays the custom status' name as defined in the enum, in case there is no available translation string. Fixes 0014446 |
Affected Issues 0014446 |
|
mod - core/html_api.php | Diff File | ||
master aca7cf7d 2012-07-02 04:43 Details Diff |
LDAP binding calls are made even if $g_login_method <> LDAP If for some reason $g_use_ldap_email or $g_use_ldap_realname are ON with $g_login_method <> 'LDAP', binding calls are attempted when retrieving the user's e-mail or real name. Adding a check on $g_login_method to avoid this unwanted behavior. Fixes 0014442 |
Affected Issues 0014442 |
|
mod - core/user_api.php | Diff File | ||
master-1.2.x 8d35e57a 2012-07-02 04:43 Details Diff |
LDAP binding calls are made even if $g_login_method <> LDAP If for some reason $g_use_ldap_email or $g_use_ldap_realname are ON with $g_login_method <> 'LDAP', binding calls are attempted when retrieving the user's e-mail or real name. Adding a check on $g_login_method to avoid this unwanted behavior. Fixes 0014442 |
Affected Issues 0014442 |
|
mod - core/user_api.php | Diff File | ||
master 5273c401 2012-07-02 04:34 Details Diff |
SOAP API: calling mc_issue_update unduly updated bugnotes History shows 'Note View State changed' even though it has not been modified, and if time tracking is enabled the bugnote's last_updated date is changed. This was caused by a type-strict comparison of the value returned by the api (string) to an integer. Fixes 0014412 |
Affected Issues 0014412 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
master-1.2.x 802e5596 2012-07-02 04:34 Details Diff |
SOAP API: calling mc_issue_update unduly updated bugnotes History shows 'Note View State changed' even though it has not been modified, and if time tracking is enabled the bugnote's last_updated date is changed. This was caused by a type-strict comparison of the value returned by the api (string) to an integer. Fixes 0014412 |
Affected Issues 0014412 |
|
mod - api/soap/mc_issue_api.php | Diff File | ||
master e7b24a6f 2012-06-30 05:17 Details Diff |
Remove the seed parameter of auth_generate_* functions The following functions shouldn't take a seed; random is random! - auth_generate_random_password() - auth_generate_unique_cookie_string Signed-off-by: Damien Regad <damien.regad@merckgroup.com> |
||
mod - core/authentication_api.php | Diff File | ||
mod - core/user_api.php | Diff File | ||
mod - manage_user_create.php | Diff File | ||
master-1.2.x 23c71412 2012-06-30 00:09 Details Diff |
Localisation updates from http://translatewiki.net. | ||
mod - lang/strings_dutch.txt | Diff File | ||
mod - lang/strings_korean.txt | Diff File | ||
mod - plugins/MantisGraph/lang/strings_dutch.txt | Diff File | ||
master-1.2.x 4a6c8456 2012-06-28 01:35 Details Diff |
Fix 0011687: use of incorrect error constant |
Affected Issues 0011687 |
|
mod - core/file_api.php | Diff File | ||
master 21e1a24b 2012-06-28 01:35 Details Diff |
Fix 0011687: use of incorrect error constant |
Affected Issues 0011687 |
|
mod - core/file_api.php | Diff File | ||
master-1.2.x cdf383bd 2012-06-27 12:22 Details Diff |
Fix 0011687: Bugs with attachments that are moved will lose attachments Backporting 08c027af59b88a6934377d71d19a86edfd7d12dd to 1.2.x branch. When a bug is logged and assigned to a project which has a project path assigned, and later a mantis "administrator" moves the bug from the initial project to a new project, the attachments are lost. Signed-off-by: Damien Regad <damien.regad@merckgroup.com> |
Affected Issues 0011687 |
|
mod - core/bug_api.php | Diff File | ||
mod - core/file_api.php | Diff File | ||
master-1.2.x ef24c0f3 2012-06-27 01:30 Details Diff |
Fix PostgreSQL error when updating a project Release 1.2.11 (see commit b8d4b5039598248d0b0c78619450c51d4dc98df2 and issue 0014288) introduced a regression preventing the user from updating an existing project. This commit is a workaround for the problem (sending an int to the DB instead of a bool if using PostgreSQL), as fixing the root cause would require a schema change which is not possible in 1.2.x. Fixes 0014385 |
Affected Issues 0014288, 0014385 |
|
mod - core/project_api.php | Diff File |