Changesets: MantisBT
|
master-1.3.x ba89d0e1 2016-08-09 05:16 Details Diff |
Prevent unwanted line breaks in <pre> tags By default, Mantis wraps text within <pre> tags at 100 chars (see $g_wrap_in_preformatted_text option). If the text within the tag contains Unicode extended characters, the regex performing the wrap does not count them properly, as pcre works on bytes, causing line breaks to be added in the wrong place. Adding 'u' modifier to the regex fixes the behavior, as suggested by cproensa. Fixes 0021410 |
Affected Issues 0021410 |
|
| mod - core/string_api.php | Diff File | ||
|
master-1.3.x 9a587dd2 2016-08-09 02:55 Details Diff |
Use configured favicon for OpenSearch entries Previously, we were using an hardcoded image file that was not matching the new MantisBT icon. This references the standard MantisBT favicon instead, and allows administrators to customize their Browser Search with their own icon. Fixes 0011964 |
Affected Issues 0011964 |
|
| mod - browser_search_plugin.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - docbook/Admin_Guide/en-US/config/display.xml | Diff File | ||
|
master-1.3.x 8e50b7ec 2016-08-09 02:52 Details Diff |
Refactor OpenSearch page - Regroup XML generation at end of script - Add XML header |
||
| mod - browser_search_plugin.php | Diff File | ||
|
master-1.3.x b0389ec9 2016-08-08 13:04 Details Diff |
Prevent TLS if smtp_connection_mode is empty (no encryption) Since version 5.2.10 PHPMailer automatically tries to enable TLS. This is not what we want if the Mantis administrator decided not to use encryption (smtp_connection_mode is empty) Fixes 0021293 |
Affected Issues 0021293 |
|
| mod - core/email_api.php | Diff File | ||
|
master-1.3.x 376ede13 2016-08-05 01:57 Committer: dregad Details Diff |
Add coments for filter_get_bug_rows_query_clauses Warn about the use of db_param_push() inside this function and its implications for caller code. Signed-off-by: Damien Regad <dregad@mantisbt.org> Original commit modified: wrapped long lines |
||
| mod - core/filter_api.php | Diff File | ||
| mod - core/history_api.php | Diff File | ||
|
master 58cea8a0 2016-08-05 01:40 Details Diff |
Merge branch 'master-1.3.x' | ||
| mod - core/custom_field_api.php | Diff File | ||
| mod - core/gpc_api.php | Diff File | ||
| mod - core/workflow_api.php | Diff File | ||
| mod - manage_config_workflow_set.php | Diff File | ||
|
master-1.3.x e48e7375 2016-08-05 01:26 Committer: dregad Details Diff |
Revert limit history range to current project Revert the changes made by Issue 0019945 (commit adbd0882). The api function history_get_event_from_row should not impose a limitation for current project queries. The original timeline issue, which 0019945 was addressing, has now been resolved in another way, see issue 0021072. Fixes: 0021146 |
Affected Issues 0019945, 0021072, 0021146 |
|
| mod - core/history_api.php | Diff File | ||
|
master-1.3.x 28b6d799 2016-08-05 01:21 Committer: dregad Details Diff |
Make timeline show a set of bugs based on filters Make timeline show history for a set of bugs based on a filter. By default, create a filter to show current project and subprojects, to match the visibility of my view page. Fixes: 0021072 Signed-off-by: Damien Regad <dregad@mantisbt.org> Original commit modified to remove unnecessary assignment. |
Affected Issues 0021072 |
|
| mod - core/timeline_api.php | Diff File | ||
|
master-1.3.x 79f8e607 2016-08-05 01:19 Committer: dregad Details Diff |
Create API function to get a filter-based history range Create new history_get_range_result_filter() function to retrieve history rows related to bugs included in the provided filter. Signed-off-by: Damien Regad <dregad@mantisbt.org> Reworded original commit, added function name to message |
||
| mod - core/history_api.php | Diff File | ||
|
master 404468dd 2016-08-04 19:54 Details Diff |
Merge remote-tracking branch 'origin/pr/832' |
Affected Issues 0020424 |
|
| mod - core/constant_inc.php | Diff File | ||
| mod - core/filter_api.php | Diff File | ||
| mod - csv_export.php | Diff File | ||
| mod - excel_xml_export.php | Diff File | ||
|
master-1.3.x e4d257fb 2016-08-04 19:53 Details Diff |
Merge remote-tracking branch 'origin/pr/832' into master-1.3.x |
Affected Issues 0020424 |
|
| mod - core/constant_inc.php | Diff File | ||
| mod - core/filter_api.php | Diff File | ||
| mod - csv_export.php | Diff File | ||
| mod - excel_xml_export.php | Diff File | ||
|
master 98b03fde 2016-08-04 19:52 Details Diff |
Merge remote-tracking branch 'origin/pr/835' |
Affected Issues 0021579, 0021580, 0021581, 0021582, 0021583 |
|
| mod - bug_update_page.php | Diff File | ||
| mod - changelog_page.php | Diff File | ||
| mod - core/access_api.php | Diff File | ||
| mod - core/filter_api.php | Diff File | ||
| mod - manage_config_workflow_page.php | Diff File | ||
| mod - manage_config_workflow_set.php | Diff File | ||
|
master 14ee7b39 2016-08-04 19:47 Details Diff |
Merge remote-tracking branch 'origin/master-1.3.x' Merge master-1.3.x into master to make it easier for PRs to merge cleanly # Conflicts: # core/constant_inc.php # core/html_api.php # css/default.css # manage_tags_page.php # roadmap_page.php |
||
| mod - docbook/Admin_Guide/en-US/Revision_History.xml | Diff File | ||
| mod - docbook/Developers_Guide/en-US/Contributors.xml | Diff File | ||
| mod - docbook/Developers_Guide/en-US/Revision_History.xml | Diff File | ||
|
master-1.3.x c15fef95 2016-08-04 14:21 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 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 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 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 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 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 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 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 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 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 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 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 | ||