Changesets: MantisBT

master-1.3.x 5bf47d4b

2016-08-12 15:15

dregad


Details Diff
OpenSearch: use config_get() for search_title

One occurence of config_get_global() was omitted in commit
35abba2c13e90a534aa91a0541b4ff061e0343ac.

Issue 0011964
Affected Issues
0011964
mod - core/html_api.php Diff File

master-1.3.x 76c8857d

2016-08-12 14:19

dregad


Details Diff
Admin checks: format numbers with thousand separators

Define new check_format_number() API function
mod - admin/check/check_api.php Diff File
mod - admin/check/check_attachments_inc.php Diff File
mod - admin/check/check_php_inc.php Diff File

master-1.3.x 7158f630

2016-08-12 14:17

dregad


Details Diff
Admin CSS adjustments

- Align styles with main Mantis site (default.css)
- Use same default font
- Define styles for top banner
- change alternating greys to new 1.3 colors
- Use border and padding shorthand properties

Fixes 0021601
Affected Issues
0021601
mod - css/admin.css Diff File

master 4665ccca

2016-08-12 08:37

dregad


Details Diff
Admin checks: remove alternating rows logic

Following CSS changes introduced with ModernUI, the alternative row
logic was left in place, resulting in CSS class names generated with a
'1' or '2' suffix (e.g. alert-danger1, alert-info2). Since these classes
do not actually exist, the result table cells were all displayed with
white background instead of using a color matching the test result.

Since we don't need alternating row colors anymore, the whole logic has
been removed from Check API.

Fixes 0021599
Affected Issues
0021599
mod - admin/check/check_api.php Diff File

master 076ba46e

2016-08-12 08:24

dregad


Details Diff
Merge branch '13x'

Conflicts:
core/html_api.php (resolved with change in layout_api.php)
mod - browser_search_plugin.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/email_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/string_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File
mod - excel_xml_export.php Diff File
mod - lang/strings_english.txt Diff File

master-1.3.x 519f38fa

2016-08-12 07:56

dregad


Details Diff
Opensearch improvements

- Use standard favicon instead of hardcoded PNG for Mantis search
engines
- Define new config for search engine name prefix (defaults to
$g_window_title)
- Localize search engine ShortNames and Descriptions

Fixes 0011964, Pull request 0000840
Affected Issues
0011964
mod - browser_search_plugin.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File
mod - lang/strings_english.txt Diff File

master-1.3.x 84f43e0f

2016-08-11 08:28

cproensa

Committer: dregad


Details Diff
Fix error for excel export page

Fix an error introduced by commit f233869f, that makes
excel_xml_export.php throw an error when exporting issues.

Issue 0020424

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0020424
mod - excel_xml_export.php Diff File

master-1.3.x d79972d7

2016-08-10 00:12

dregad


Details Diff
Make new '$g_search_title' config public

As per vboctor's suggestion in PR review comments.
mod - config_defaults_inc.php Diff File

master-1.3.x 35abba2c

2016-08-10 00:10

dregad


Details Diff
Use config_get() to be consistent other usages

As per vboctor's suggestion in PR review comments.
mod - browser_search_plugin.php Diff File

master-1.3.x 7702000e

2016-08-09 06:12

dregad


Details Diff
Localize OpenSearch engines names and descriptions

The $g_search_title prefix is inserted into the language strings to
produce the final text used both to advertise and register the search
engine in the user's browser.

Issue 0011964
Affected Issues
0011964
mod - browser_search_plugin.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File
mod - lang/strings_english.txt Diff File

master-1.3.x 81862b13

2016-08-09 06:06

dregad


Details Diff
Use $g_search_title when advertising search engines

Issue 0011964
Affected Issues
0011964
mod - core/html_api.php Diff File

master-1.3.x 1332b762

2016-08-09 06:01

dregad


Details Diff
Allow custom prefix for Browser Search entries

Prior to this, the prefix for OpenSearch entries generated by
browser_search_plugin.php was hardcoded to 'MantisBT'.

This defines a new '$g_search_title' config option (which defaults to
the value of $g_window_title) to be used as prefix, allowing
- administrators to customize the name of their browser search entries
- users to have distinct search engines for multiple MantisBT instances

$g_search_title should be shorter than 8 chars to be compliant with the
maximum size of 16 chars for the ShortName element as per OpenSearch
specification [1]

Fixes 0011964

[1] http://www.opensearch.org/Specifications/OpenSearch/1.1
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 ba89d0e1

2016-08-09 05:16

dregad


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

dregad


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

dregad


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

atrol


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

cproensa

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

dregad


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

cproensa

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

cproensa

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

cproensa

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

vboctor


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

vboctor


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

vboctor


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

vboctor


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
 First  Prev  1 2 3 ... 70 ... 140 ... 205 206 207 208 209 210 211 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last