Changesets: MantisBT

master 79666331

2017-08-15 14:54

cproensa

Committer: dregad


Details Diff
Add explicit check for ALL_PROJECTS in filter

Provide a shortcut in filter_get_included_projects() to return
ALL_PROJECTS if that value is found directly, or indirectly, in the
filter.
A parameter can be set to explicitly expand ALL_PROJECTS if required.
mod - core/filter_api.php Diff File

master b139b96d

2017-08-15 14:21

cproensa

Committer: dregad


Details Diff
Include custom fields from all included projects

When retrieving custom fields to show in the filter form, evaluate all
projects included in the filter scope.
Previously, evaluation of subprojects only happened when filtering from
ALL_PROJECTS.

Additionally, check access level for the defined view threshold, to only
show those custom fields that are viewable by the user

Fixes: 0005713, 0023232
Affected Issues
0005713, 0023232
mod - core/filter_form_api.php Diff File

master 3016b8d3

2017-08-15 09:21

cproensa

Committer: dregad


Details Diff
Refactor custom_field_get_linked_ids()

Refactor custom_field_get_linked_ids() to allow a query for several
projects.
Note that the codde supported passing an array of projects, but the
cache code was not accountign for it.
Additionally, when querying all projects, remove the ad-hoc query and
reuse user_get_all_accesible_projects.
mod - core/custom_field_api.php Diff File

master 5aea6bb8

2017-08-15 05:05

Zipher

Committer: atrol


Details Diff
Remove redudant argument for the construction of IssueFileAddedTimelineEvent

The $t_bugnote_id is not used.
mod - core/timeline_api.php Diff File

master 0d224f73

2017-08-14 22:49

luzpaz

Committer: dregad


Details Diff
Typo fixes in comments and documentation
mod - adm_config_set.php Diff File
mod - admin/install.php Diff File
mod - api/soap/wsdl-viewer.xsl Diff File
mod - bug_update.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/constant_inc.php Diff File
mod - core/custom_field_api.php Diff File
mod - core/database_api.php Diff File
mod - core/error_api.php Diff File
mod - core/file_api.php Diff File
mod - core/filter_api.php Diff File
mod - core/gpc_api.php Diff File
mod - core/install_helper_functions_api.php Diff File
mod - core/relationship_api.php Diff File
mod - core/relationship_graph_api.php Diff File
mod - core/string_api.php Diff File
mod - core/summary_api.php Diff File
mod - core/tag_api.php Diff File
mod - core/user_api.php Diff File
mod - docbook/Admin_Guide/en-US/Troubleshooting.xml Diff File
mod - docbook/Developers_Guide/en-US/Events.xml Diff File
mod - manage_filter_edit_update.php Diff File
mod - plugins/MantisCoreFormatting/lang/strings_dutch.txt Diff File
mod - tests/Mantis/HelperTest.php Diff File

master c049c186

2017-08-14 15:22

cproensa

Committer: dregad


Details Diff
Simplify tags filter query

Simplify the refactored query clauses, to use only one outer JOIN for
each case of search type "having any" and "not having" mode,
mod - core/filter_api.php Diff File

master 5f3f42d9

2017-08-14 14:06

cproensa

Committer: dregad


Details Diff
Fix duplicated clauses for tags filter query

Fix duplicating the filter query clauses when the filter field "tag
select" is provided.
mod - core/filter_api.php Diff File

master 8ab8e125

2017-08-14 13:46

cproensa

Committer: dregad


Details Diff
Fix query for related tags

Refactor the related tags function to use a filter search for the tag,
leaving the rd work for access and visibility checks to the filter api.

Previous query was not correct as it was comparing project access level
with bug view state. Also, it didn't account for view tags permissions
for each project.

Fixes: 0021913
Affected Issues
0021913
mod - core/tag_api.php Diff File

master ce5ba704

2017-08-14 13:31

atrol


Details Diff
Remove unneeded string copy operations from text processing

Fixes 0023411
Affected Issues
0023411
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php Diff File

master c497f2d3

2017-08-13 22:25

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_asturian.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_russian.txt Diff File

master 1b836a86

2017-08-13 16:50

cproensa

Committer: dregad


Details Diff
Use tag view permission in filter query

Account for permissions in each project in the filter scope,
to match tags only on those with proper access to view tags.

Fixes: 0023216
Affected Issues
0023216
mod - core/filter_api.php Diff File

master e8b87bbb

2017-08-13 15:12

cproensa

Committer: dregad


Details Diff
Refactor access_has_any_project_level()

Refactor access_has_any_project_level() with a more detailed access
check function, that can return an array of projects that match the
requested access.
mod - core/access_api.php Diff File

master 757de9b5

2017-08-13 14:50

cproensa

Committer: dregad


Details Diff
Refactor calculate included projects for filter

Move the logic to calculate all the individual projects included in the
filter search, into a separate function, to allow for reuse.
mod - core/filter_api.php Diff File

master 3d6a28c6

2017-08-13 05:30

atrol


Details Diff
Correct Server Software Requirements in Admin Guide

GD extension is no longer needed for graphs as they are based on chartjs
starting from Mantis version 2.0.0-beta.1.
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master 5792fbec

2017-08-13 01:58

cproensa

Committer: dregad


Details Diff
Refactor tags filter query

Modify the query clauses to use JOINs.
mod - core/filter_api.php Diff File

master 74eaa355

2017-08-13 01:47

atrol


Details Diff
Enforce mbstring extension during installation

Fixes 0023214
Affected Issues
0023214
mod - admin/install.php Diff File

master 1067889a

2017-08-13 00:43

Zipher

Committer: atrol


Details Diff
Show file added event in timeline.

1. Add class IssueFileAddedTimelineEvent to show file added event in
timeline.
2. Remove identical event from timeline.
Fixed issue 0023161
Affected Issues
0023161
mod - core/classes/IssueFileAddedTimelineEvent.class.php Diff File
mod - core/timeline_api.php Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_english.txt Diff File

master 60733906

2017-08-12 15:31

cproensa

Committer: dregad


Details Diff
Check project level to show tags in filter

Check project level, instead of global level, to show tags in the filter
form.

Fixes: 0023216
Affected Issues
0023216
mod - core/filter_form_api.php Diff File

master 33a274f0

2017-08-12 15:17

cproensa

Committer: dregad


Details Diff
Check bug permissions to show tags

Check for bug access level, instead of global, to show tags in bug view
page.

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

master b52576cc

2017-08-11 03:10

cproensa

Committer: atrol


Details Diff
PR fixes
mod - core/filter_api.php Diff File

master fb955ddc

2017-08-10 15:28

cproensa

Committer: atrol


Details Diff
PR fixes
mod - core/print_api.php Diff File

master c57a735d

2017-08-09 22:43

dregad


Details Diff
XHR: send HTTP 400 error for invalid entry point

Returning an HTTP error code from xmlhttprequest back to the caller
instead of just outputting some arbitrary text message ensures that the
client's call actually fails, without relying on the failure being
caused by mismatch in output type, or detecting the error by parsing the
output.

HTTP 400 (Bad Request) error code was chosen following discussion in
pull request https://github.com/mantisbt/mantisbt/pull/1139.

Fixes 0023184
Affected Issues
0023184
mod - xmlhttprequest.php Diff File

master 48a9b048

2017-08-09 21:49

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_czech.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_italian.txt Diff File

master 508ab61c

2017-08-09 15:27

cproensa

Committer: vboctor


Details Diff
Fix filter by custom fields distinct values

Fix populating available values for a custom field, to match the
behaviour of version < 2.1, where the retrieved values are those
existing only for current project issues.

Fixes: 0023112
Affected Issues
0023112
mod - core/filter_form_api.php Diff File

master 054eee96

2017-08-09 13:03

atrol


Details Diff
PHPDoc fixes

Issue 0023204
Affected Issues
0023204
mod - core/layout_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 178 179 180 181 182 183 184 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last