Changesets: MantisBT

master 8945fcc6

2012-07-09 08:52

atrol


Details Diff
Fix 0014448: 'Undefined index: jpg' in '.../core/file_api.php' Affected Issues
0014448
mod - core/file_api.php Diff File

master-1.2.x 79e4d02d

2012-07-09 08:48

atrol


Details Diff
Fix 0014448: 'Undefined index: jpg' in '.../core/file_api.php' Affected Issues
0014448
mod - core/file_api.php Diff File

master-2.0.x 4ecad3a6

2012-07-08 11:29

Paul Richards


Details Diff
Initial Support for Themes
mod - account_prefs_inc.php Diff File
mod - account_sponsor_page.php Diff File
mod - admin/check/check_attachments_inc.php Diff File
mod - admin/check/index.php Diff File
mod - admin/schema.php Diff File
mod - bug_relationship_graph.php Diff File
mod - bug_sponsorship_list_view_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/classes/MantisError.class.php Diff File
mod - core/collapse_api.php Diff File
mod - core/columns_api.php Diff File
mod - core/config_api.php Diff File
mod - core/file_api.php Diff File
mod - core/html_api.php Diff File
mod - core/icon_api.php Diff File
mod - core/obsolete.php Diff File
mod - core/print_api.php Diff File
mod - core/relationship_api.php Diff File
mod - core/tag_api.php Diff File
mod - core/user_api.php Diff File
mod - core/user_pref_api.php Diff File
mod - issues_rss.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage/adm_permissions_report.php Diff File
mod - manage/config_email_page.php Diff File
mod - manage/config_work_threshold_page.php Diff File
mod - manage/config_workflow_page.php Diff File
mod - manage/user_page.php Diff File
mod - my_view_inc.php Diff File
mod - news_rss.php Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File
mod - print_all_bug_page.php Diff File
rm - static/images/blank.gif Diff
rm - static/images/calendar-img.gif Diff
rm - static/images/clock.png Diff
rm - static/images/dollars.gif Diff
rm - static/images/down.gif Diff
rm - static/images/fileicons/chm.gif Diff
rm - static/images/fileicons/cpp.gif Diff
rm - static/images/fileicons/css.gif Diff
rm - static/images/fileicons/csv.gif Diff
rm - static/images/fileicons/doc.gif Diff
rm - static/images/fileicons/eml.gif Diff
rm - static/images/fileicons/generic.gif Diff
rm - static/images/fileicons/gif.gif Diff
rm - static/images/fileicons/html.gif Diff
rm - static/images/fileicons/jpg.gif Diff
rm - static/images/fileicons/mhtml.gif Diff
rm - static/images/fileicons/mid.gif Diff
rm - static/images/fileicons/mov.gif Diff
rm - static/images/fileicons/one.gif Diff
rm - static/images/fileicons/pcx.gif Diff
rm - static/images/fileicons/pdf.gif Diff
rm - static/images/fileicons/png.gif Diff
rm - static/images/fileicons/pot.gif Diff
rm - static/images/fileicons/pps.gif Diff
rm - static/images/fileicons/ppt.gif Diff
rm - static/images/fileicons/pub.gif Diff
rm - static/images/fileicons/reg.gif Diff
rm - static/images/fileicons/text.gif Diff
rm - static/images/fileicons/unknown.gif Diff
rm - static/images/fileicons/vsd.gif Diff
rm - static/images/fileicons/vsl.gif Diff
rm - static/images/fileicons/vst.gif Diff
rm - static/images/fileicons/wav.gif Diff
rm - static/images/fileicons/wbk.gif Diff
rm - static/images/fileicons/wri.gif Diff
rm - static/images/fileicons/xls.gif Diff
rm - static/images/fileicons/xlt.gif Diff
rm - static/images/fileicons/xml.gif Diff
rm - static/images/fileicons/zip.gif Diff
rm - static/images/ie.gif Diff
rm - static/images/mantis_logo.gif Diff
rm - static/images/mantis_logo_button.gif Diff
rm - static/images/mantis_space.gif Diff
rm - static/images/notice.gif Diff
rm - static/images/ok.gif Diff
rm - static/images/priority_1.gif Diff
rm - static/images/priority_2.gif Diff
rm - static/images/priority_3.gif Diff
rm - static/images/priority_low_1.gif Diff
rm - static/images/priority_low_2.gif Diff
rm - static/images/priority_low_3.gif Diff
rm - static/images/priority_normal.gif Diff
rm - static/images/protected.gif Diff
rm - static/images/synthese.gif Diff
rm - static/images/synthgraph.gif Diff
rm - static/images/unread.gif Diff
rm - static/images/up.gif Diff
mod - static/javascript/common.js Diff File
add - themes/default/calendar-blue.css Diff File
add - themes/default/default.css Diff File
add - themes/default/favicon.ico Diff File
add - themes/default/images/attachment.png Diff File
add - themes/default/images/blank.png Diff File
add - themes/default/images/calendar-img.png Diff File
add - themes/default/images/delete.png Diff File
add - themes/default/images/dollars.png Diff File
add - themes/default/images/down.png Diff File
add - themes/default/images/fileicons/chm.png Diff File
add - themes/default/images/fileicons/cpp.png Diff File
add - themes/default/images/fileicons/css.png Diff File
add - themes/default/images/fileicons/csv.png Diff File
add - themes/default/images/fileicons/doc.png Diff File
add - themes/default/images/fileicons/eml.png Diff File
add - themes/default/images/fileicons/generic.png Diff File
add - themes/default/images/fileicons/gif.png Diff File
add - themes/default/images/fileicons/html.png Diff File
add - themes/default/images/fileicons/jpg.png Diff File
add - themes/default/images/fileicons/mhtml.png Diff File
add - themes/default/images/fileicons/mid.png Diff File
add - themes/default/images/fileicons/mov.png Diff File
add - themes/default/images/fileicons/one.png Diff File
add - themes/default/images/fileicons/pcx.png Diff File
add - themes/default/images/fileicons/pdf.png Diff File
add - themes/default/images/fileicons/png.png Diff File
add - themes/default/images/fileicons/pot.png Diff File
add - themes/default/images/fileicons/pps.png Diff File
add - themes/default/images/fileicons/ppt.png Diff File
add - themes/default/images/fileicons/pub.png Diff File
add - themes/default/images/fileicons/reg.png Diff File
add - themes/default/images/fileicons/text.png Diff File
add - themes/default/images/fileicons/unknown.png Diff File
add - themes/default/images/fileicons/vsd.png Diff File
add - themes/default/images/fileicons/vsl.png Diff File
add - themes/default/images/fileicons/vst.png Diff File
add - themes/default/images/fileicons/wav.png Diff File
add - themes/default/images/fileicons/wbk.png Diff File
add - themes/default/images/fileicons/wri.png Diff File
add - themes/default/images/fileicons/xls.png Diff File
add - themes/default/images/fileicons/xlt.png Diff File
add - themes/default/images/fileicons/xml.png Diff File
add - themes/default/images/fileicons/zip.png Diff File
add - themes/default/images/ie.png Diff File
add - themes/default/images/logo.png Diff File
add - themes/default/images/minus.png Diff File
add - themes/default/images/no_avatar.png Diff File
add - themes/default/images/ok.png Diff File
add - themes/default/images/overdue.png Diff File
add - themes/default/images/plus.png Diff File
add - themes/default/images/priority_1.png Diff File
add - themes/default/images/priority_2.png Diff File
add - themes/default/images/priority_3.png Diff File
add - themes/default/images/priority_low_1.png Diff File
add - themes/default/images/priority_normal.png Diff File
add - themes/default/images/protected.png Diff File
add - themes/default/images/rel_dependant.png Diff File
add - themes/default/images/rel_duplicate.png Diff File
add - themes/default/images/rel_related.png Diff File
add - themes/default/images/rss.png Diff File
add - themes/default/images/synthese.png Diff File
add - themes/default/images/synthgraph.png Diff File
add - themes/default/images/up.png Diff File
add - themes/default/images/update.png Diff File
add - themes/default/jquery-ui.css Diff File
add - themes/default/jquery.mobile.css Diff File
add - themes/default/login.css Diff File
add - themes/default/rtl.css Diff File
mod - view_all_inc.php Diff File

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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


Details Diff
Whitespace fixes
mod - core/email_api.php Diff File

master-1.2.x 6da5164e

2012-07-05 04:07

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

dregad


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

nextgens


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

siebrand


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

dregad


Details Diff
Fix 0011687: use of incorrect error constant Affected Issues
0011687
mod - core/file_api.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 383 384 385 386 387 388 389 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last