Changesets: MantisBT

master-1.3.x c15fef95

2016-08-04 14:21

cproensa

Committer: dregad


Details Diff
Use custom field definition cache

Use custom field cache instead of directly query the DB.
mod - core/custom_field_api.php Diff File

x adfe9881

2016-08-04 14:21

cproensa


Details Diff
Use custom field definition cache

Use custom field cache instead of directly query the DB.
mod - core/custom_field_api.php Diff File

master-1.3.x 08c261d3

2016-08-04 14:12

cproensa

Committer: dregad


Details Diff
Add validations for textarea custom fields

Add textarea custom field type to the api functions that perform
validations.

Fixes: 0021178
Affected Issues
0021178
mod - core/custom_field_api.php Diff File
mod - core/gpc_api.php Diff File

x ffa26be4

2016-08-04 14:12

cproensa


Details Diff
Add validations for textarea custom fields

Add textarea custom field type to the api functions that perform
validations.

Fixes: 0021178
Affected Issues
0021178
mod - core/custom_field_api.php Diff File
mod - core/gpc_api.php Diff File

master-1.3.x c2bee49c

2016-08-04 08:54

cproensa

Committer: dregad


Details Diff
Modify empty and default cases for workflow configuration

Fix several inconsistencies with the treatment of status_enum_workflow
configuration.

1. Fix showing a non existant status row in workflow config array. This
is interpreted as if that status allows all transitions, but in the
config page, the checks were shown unmarked, which can be confusing.
Now the checks appear marked in this situation.

2. As consequence of (1), the message "You cannot move an issue out
of this status" is not show anymore in that situation.

3. When a status row is saved with all transitions unchecked, an empty
enum string is saved, meaning effectively that no transitions are
allowed from that status. This specific configuration was previously
unavailable from the workflow config page.

Fixes 0020682

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Original commit message reworded and formatted
Affected Issues
0020682
mod - core/workflow_api.php Diff File
mod - manage_config_workflow_set.php Diff File

master bd81d88a

2016-08-04 01:48

cproensa


Details Diff
manage_config_workflow_set, check for correct access levels 2

Access levels to change "Minimum Access Level to Change to this Status"
is defined by config_get_access('set_status_threshold')
Except for bug submit status, which is linked to 'report_bug_threshold'.

Change the access checks to reflect this situation.
mod - manage_config_workflow_set.php Diff File

master 908069e8

2016-08-03 16:20

vboctor


Details Diff
Remove redundant reference to ‘fa-plug’

The reference to the icon is now only mentioned
in one place in the code.

Fixes 0021414
Affected Issues
0021414
mod - core/layout_api.php Diff File

master c983ad75

2016-08-03 15:57

vboctor


Details Diff
Applied comments from PR
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml Diff File

master-1.3.x 0751d8e6

2016-08-02 06:54

cproensa


Details Diff
Create EXPORT_BLOCK_SIZE as constant

Used by csv and excel export procedures, to limit the
size of each working block of bugs.

Initial value is proposed after the potential errors for uncontolled
export:
A- Exceeding memory limit. Memory is used mainly for cached data.
Reported errors start to hapen at >10k bugs
B- Exceeding DB query limits: Mysql/others, limit is package size.
Oracle has a more problematic limit for 1000 elements in "IN" clauses".

A value of 500 is chosen as half of (B).
mod - core/constant_inc.php Diff File
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File

master-1.3.x 24ac2fab

2016-08-02 06:44

cproensa


Details Diff
Use bug_api functions to clear cache
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File

master 002b4f77

2016-08-01 16:39

cproensa


Details Diff
manage_config_workflow_page, fix html

For threshold rows, fix html.
When user don't have access level to modify, in some situation,
the status table cell was not visible due to html error.

Fixes: 0021583
Affected Issues
0021583
mod - manage_config_workflow_page.php Diff File

master 4726cc54

2016-08-01 16:17

cproensa


Details Diff
manage_config_workflow_set, check for correct access levels

Fix the initial check for access level, which was previously checking
for access to unrelated options.

Fixes: 0021582
Affected Issues
0021582
mod - manage_config_workflow_set.php Diff File

master 083ae280

2016-08-01 15:37

cproensa


Details Diff
Fix Workflow config to acount for complex thresholds

In workflow transitions configuration page, the "Minimum Access Level to
Change to this Status", for bug submitted status, is linked to the
report_bug_threshold option.
If the threshold is configured as an array, the simple dropdown select
cant be used to represent or modify this value, so don't allow it to be
editable.

Fixes: 0021581
Affected Issues
0021581
mod - manage_config_workflow_page.php Diff File
mod - manage_config_workflow_set.php Diff File

master 06af376a

2016-08-01 14:51

cproensa


Details Diff
Fix changelog with limit_reporters

Fix checking user level against report_bug_threshold When limit_reporters
option is enabled.
Previously, reporters could see all bugs when report_bug_threshold was
defined as an array.

Fixes: 0021580
Affected Issues
0021580
mod - changelog_page.php Diff File

master ce3608b7

2016-08-01 13:55

cproensa


Details Diff
Fix comparing threshold as an integer

report_bug_threshold may be an integer or an array, but a check to
see if an access level is "greater than" its value, was assuming
that this threshold was an integer value.

A new function is created to get an integer representation of a
threshold, as the minimum integer value defined in the threshold.

Fixes: 0021579
Affected Issues
0021579
mod - bug_update_page.php Diff File
mod - core/access_api.php Diff File
mod - core/filter_api.php Diff File

master 5ccda887

2016-08-01 04:12

vboctor


Details Diff
Fix by in enum graphs with 0 values

Fixes 0021575
Affected Issues
0021575
mod - plugins/MantisGraph/core/graph_api.php Diff File

master-1.3.x b2455a3f

2016-07-30 08:43

cproensa

Committer: dregad


Details Diff
Add "new status" to EVENT_UPDATE_BUG_STATUS_FORM

Add parameter to EVENT_UPDATE_BUG_STATUS_FORM, to include the new
status.

Fixes: 0017923
Affected Issues
0017923
mod - bug_change_status_page.php Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference_Bug.xml Diff File

master-1.3.x 3c4c165a

2016-07-29 14:17

cproensa

Committer: vboctor


Details Diff
Update documentation for option auto_set_status_to_assigned

Fixes: 21415
mod - docbook/Admin_Guide/en-US/Page_Descriptions.xml Diff File
mod - docbook/Admin_Guide/en-US/config/status.xml Diff File

master b0a64aad

2016-07-29 14:17

cproensa

Committer: vboctor


Details Diff
Update documentation for option auto_set_status_to_assigned

Fixes: 21415
mod - docbook/Admin_Guide/en-US/Page_Descriptions.xml Diff File
mod - docbook/Admin_Guide/en-US/config/status.xml Diff File

master 1771a600

2016-07-28 15:55

cproensa


Details Diff
Don't show empty EVENT_MENU_ISSUE menu items

If the result of event call for EVENT_MENU_ISSUE is null, dont print
bracket with empty content.

Having null as returned value is valid.
For example: a plugin can hook to this event and return either an
actual item or an empty one, based in access level.

Fixes: 0021407
Affected Issues
0021407
mod - bug_view_inc.php Diff File

master-1.3.x 0227d637

2016-07-28 15:49

cproensa


Details Diff
Don't show empty EVENT_MENU_ISSUE menu items

If the result of event call for EVENT_MENU_ISSUE is null, dont print
bracket with empty content.

Having null as returned value is valid.
For example: a plugin can hook to this event and return either an
actual item or an empty one, based in access level.

Fixes: 0021407
Affected Issues
0021407
mod - bug_view_inc.php Diff File

master-1.3.x 79976d43

2016-07-28 15:27

cproensa

Committer: vboctor


Details Diff
Don't show version release date if not set

In roadmap, dont show release date if it's not set.
When the date is not explicitly set, its stored as 1 in database.
Logically it means "date null", but it was being shown as an actual
date: 1970-01-01

Fixes: 0012409
Affected Issues
0012409
mod - roadmap_page.php Diff File

master 2a8f4c36

2016-07-28 15:15

cproensa

Committer: vboctor


Details Diff
Don't show version release date if not set

In roadmap, dont show release date if it's not set.
When the date is not explicitly set, its stored as 1 in database.
Logically it means "date null", but it was being shown as an actual
date: 1970-01-01

When not showing date, also becasue of option $g_show_roadmap_dates set
to OFF, do not show the calendar icon.

Fixes: 0012409
Affected Issues
0012409
mod - roadmap_page.php Diff File

master 61c56f53

2016-07-23 19:11

vboctor


Details Diff
Support icon in ‘main_menu_custom_options’

Add support for icon in main_menu_custom_options and update documentation.

Fixes 0021414
Affected Issues
0021414
mod - config_defaults_inc.php Diff File
mod - core/layout_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File

master e64257ca

2016-07-23 00:10

vboctor


Details Diff
Update documentation for plugin main menu events

Fixes 0021397
Affected Issues
0021397
mod - docbook/Developers_Guide/en-US/Events_Reference_Output.xml Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 206 207 208 209 210 211 212 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last