Changesets: MantisBT

master-1.2.x 3caa62b1

2011-09-22 07:28

dregad


Details Diff
Print Handler for Categories in a standard way

The user assigned to a Global or Project-specific Category as default
handler was printed in a non-standard way. We now use function
prepare_user_name() to display it instead.

Fixes 0013344
Affected Issues
0013344
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_page.php Diff File

master-1.2.x 7ad3e7eb

2011-09-22 07:13

dregad


Details Diff
Removed trailing whitespace
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_page.php Diff File

master-1.2.x dbbd3cfe

2011-09-22 07:13

dregad


Details Diff
Removed trailing whitespace
mod - admin/check.php Diff File

master-1.2.x 4911d4d7

2011-09-21 10:47

rombert


Details Diff
Excel API: allow alignments to be specified

Affects 0013290: Allow more control over excel export format
mod - core/excel_api.php Diff File

master 8cc56ce7

2011-09-21 10:47

rombert


Details Diff
Excel API: allow alignments to be specified

Affects 0013290: Allow more control over excel export format
mod - core/excel_api.php Diff File

master 8163d2b5

2011-09-21 04:19

dregad


Details Diff
Fallback to English when string is not defined

MantisBT generally falls back correctly to default English when a string
is not defined in the current language. However, when the admin wants to
restrict the available languages ($g_language_choices_arr) and remove
'english' from the list (see issue 0013315), an error 300 is displayed
when strings are missing from the translated strings_xxx.txt file (as
can be the case for strings defined as "optional" in TranslateWiki, such
as $s_directionality).

Commit also removes obsolete comment about not falling back to English.
Affected Issues
0013315
mod - core/lang_api.php Diff File

master-1.2.x 471de506

2011-09-21 04:19

dregad


Details Diff
Fallback to English when string is not defined

MantisBT generally falls back correctly to default English when a string
is not defined in the current language. However, when the admin wants to
restrict the available languages ($g_language_choices_arr) and remove
'english' from the list (see issue 0013315), an error 300 is displayed
when strings are missing from the translated strings_xxx.txt file (as
can be the case for strings defined as "optional" in TranslateWiki, such
as $s_directionality).

Commit also removes obsolete comment about not falling back to English.
Affected Issues
0013315
mod - core/lang_api.php Diff File

master-1.2.x 40807864

2011-09-19 23:04

dregad


Details Diff
Fix error handling in ldap_get_field_from_username

When successful, ldap_get_entries always returns an array with at least
one element inside (the count), so the check for no matches was always
successful even when no values were retrieved from LDAP.

Fixes 0013331
Affected Issues
0013331
mod - core/ldap_api.php Diff File

master 79afb164

2011-09-19 23:04

dregad


Details Diff
Fix error handling in ldap_get_field_from_username

When successful, ldap_get_entries always returns an array with at least
one element inside (the count), so the check for no matches was always
successful even when no values were retrieved from LDAP.

Fixes 0013331
Affected Issues
0013331
mod - core/ldap_api.php Diff File

master 50c2a463

2011-09-19 06:38

dregad


Details Diff
Cosmetic changes in the time tracking table layout

- reset the alternating line colors at start of each block
- use bold font for Totals line
- right-align the cost column
mod - billing_inc.php Diff File
mod - bugnote_stats_inc.php Diff File

master e93f4d72

2011-09-19 06:34

dregad


Details Diff
Fix 0013338: Time tracking cost column font size

There was no class specified on the td tag for the cost column.
Affected Issues
0013328
mod - billing_inc.php Diff File

master b5a3b8c8

2011-09-19 06:27

dregad


Details Diff
Fix 0011662: Allow decimal costs in time tracking/billing

Previously the cost was retrieved from the form using gpc_get_int(), and
error 203 was triggered when decimal values were entered. We now get the
field as a string and convert it using floatval().
Affected Issues
0011662
mod - billing_inc.php Diff File

master-1.2.x 6a1760b8

2011-09-19 06:20

dregad


Details Diff
Cosmetic changes in the time tracking table layout

- reset the alternating line colors at start of each block
- use bold font for Totals line
- right-align the cost column
mod - billing_inc.php Diff File
mod - bugnote_stats_inc.php Diff File

master-1.2.x d995a415

2011-09-19 06:15

dregad


Details Diff
Fix 0013338: Time tracking cost column font size

There was no class specified on the td tag for the cost column.
Affected Issues
0013328
mod - billing_inc.php Diff File

master-1.2.x 3ddbbe19

2011-09-19 05:02

dregad


Details Diff
Fix 0011662: Allow decimal costs in time tracking/billing

Previously the cost was retrieved from the form using gpc_get_int(), and
error 203 was triggered when decimal values were entered. We now get the
field as a string and convert it using floatval().
Affected Issues
0011662
mod - billing_inc.php Diff File

master-1.2.x d20c5afd

2011-09-18 23:33

dregad


Details Diff
Add config for new bug relationships

Adds a new global config $g_default_bug_relationship, which presets the
relation type in the selection list.
Defaults to BUG_RELATED.

This slightly changes the behavior compared to earlier versions, as the
default was BUG_REL_ANY (-1); however, since this is not a valid entry
in the selection list, the first value (BUG_DEPENDANT) was used instead.
mod - config_defaults_inc.php Diff File
mod - core/relationship_api.php Diff File

master bfd83a12

2011-09-18 23:33

dregad


Details Diff
Add config for new bug relationships

Adds a new global config $g_default_bug_relationship, which presets the
relation type in the selection list.
Defaults to BUG_RELATED.

This slightly changes the behavior compared to earlier versions, as the
default was BUG_REL_ANY (-1); however, since this is not a valid entry
in the selection list, the first value (BUG_DEPENDANT) was used instead.
mod - config_defaults_inc.php Diff File
mod - core/relationship_api.php Diff File

master-1.2.x b8b8da14

2011-09-18 23:11

dregad


Details Diff
Add config for default relationship when cloning a bug

Introduce a new global config $g_default_bug_relationship_clone, used to
preset the selection list relationship of a cloned bug with its parent.

Defaults to BUG_REL_NONE.

Fix 0012450
Affected Issues
0012450
mod - bug_report_page.php Diff File
mod - config_defaults_inc.php Diff File

master 1f9c4bd1

2011-09-18 23:11

dregad


Details Diff
Add config for default relationship when cloning a bug

Introduce a new global config $g_default_bug_relationship_clone, used to
preset the selection list relationship of a cloned bug with its parent.

Defaults to BUG_REL_NONE.

Fix 0012450
Affected Issues
0012450
mod - bug_report_page.php Diff File
mod - config_defaults_inc.php Diff File

master-1.2.x 93bbb36c

2011-09-18 22:35

dregad


Details Diff
Use constants not hardcoded values for relationship lists

Defines 2 new constants BUG_REL_NONE and BUG_REL_ANY referenced when
building relationship selection lists, instead of using hardcoded
values -2 and -1 respectively.

Affects issue 0012450
Affected Issues
0012450
mod - bug_report_page.php Diff File
mod - core/constant_inc.php Diff File
mod - core/relationship_api.php Diff File

master 47d35580

2011-09-18 22:35

dregad


Details Diff
Use constants not hardcoded values for relationship lists

Defines 2 new constants BUG_REL_NONE and BUG_REL_ANY referenced when
building relationship selection lists, instead of using hardcoded
values -2 and -1 respectively.

Affects issue 0012450
Affected Issues
0012450
mod - bug_report_page.php Diff File
mod - core/constant_inc.php Diff File
mod - core/relationship_api.php Diff File

next 24af0cc0

2011-09-17 19:09

dhx


Details Diff
Add CSS rules for odd/even colouring of rows

These rules cover 80-90% of all cases where 'odd' and 'even' classes
used to be applied. In the remaining 10-20% of cases the CSS classes
available on parent elements will need more precision.
mod - public/css/default.css Diff File

next 36589214

2011-09-17 15:18

dhx


Details Diff
Fix install script to work with new Database API

Implementation of the new database API has broken the install script.
This patch updates the install script to work with the current state of
the database API. In particular, we now use exceptions for getting
errors from the database.

Also fixed an XHTML strictness bug with a closing </tr> being
out-of-place.
mod - public/admin/install.php Diff File

next 066ad4d3

2011-09-17 14:25

dhx


Details Diff
Remove helper_alternate_colors function

The helper_alternate_colors function used to add odd and even classes to HTML
elements. This is not needed with modern CSS styled layouts.

Stylesheets will need to be updated to provide the correct styling now
that this function has been removed.
mod - application/core/helper_api.php Diff File
mod - public/print_all_bug_page.php Diff File

next 9d64c8ef

2011-09-17 14:06

dhx


Details Diff
Remove helper_alternate_class function

The helper_alternate_class function used to add odd and even classes to HTML
elements. This is not needed with modern CSS styled layouts.

Stylesheets will need to be updated to provide the correct styling now
that this function has been removed.
mod - application/core/helper_api.php Diff File
mod - application/core/summary_api.php Diff File
mod - docbook/Developers_Guide/en-US/Plugins_Building.xml Diff File
mod - docbook/Developers_Guide/en-US/Plugins_Building_Source.xml Diff File
mod - public/adm_config_report.php Diff File
mod - public/adm_permissions_report.php Diff File
mod - public/admin/db_stats.php Diff File
mod - public/admin/index.php Diff File
mod - public/admin/move_db2disk.php Diff File
mod - public/billing_inc.php Diff File
mod - public/bug_actiongroup_attach_tags_inc.php Diff File
mod - public/bug_actiongroup_page.php Diff File
mod - public/bug_change_status_page.php Diff File
mod - public/bug_reminder_page.php Diff File
mod - public/bug_report_page.php Diff File
mod - public/bug_revision_view_page.php Diff File
mod - public/bug_update_advanced_page.php Diff File
mod - public/bug_view_inc.php Diff File
mod - public/bugnote_add_inc.php Diff File
mod - public/bugnote_stats_inc.php Diff File
mod - public/history_inc.php Diff File
mod - public/manage_config_email_page.php Diff File
mod - public/manage_config_work_threshold_page.php Diff File
mod - public/manage_config_workflow_page.php Diff File
mod - public/manage_custom_field_page.php Diff File
mod - public/manage_overview_page.php Diff File
mod - public/manage_plugin_page.php Diff File
mod - public/manage_proj_edit_page.php Diff File
mod - public/manage_proj_page.php Diff File
mod - public/manage_tags_page.php Diff File
mod - public/manage_user_page.php Diff File
mod - public/plugins/MantisCoreFormatting/pages/config.php Diff File
mod - public/plugins/MantisGraph/pages/config.php Diff File
mod - public/print_all_bug_options_inc.php Diff File
mod - public/proj_doc_page.php Diff File
mod - public/query_view_page.php Diff File
mod - public/tag_attach.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 397 398 399 400 401 402 403 ... 480 ... 560 ... 640 ... 720 ... 751 752 753  Next  Last