Search Changesets

MantisBT: master 85484ea4

2017-08-17 05:44:02

ethraza

Details Diff
Fix time tracking stopwatch lag

Prior to this, the stopwatch was lagging behind the real time and it was not
possible to manually edit the time field.

The lag was caused by the use of setTimeout to add to a counter each
second. Browsers put inactive tabs to sleep for a few seconds, causing
cumulative delays between each call to setTimeout.

I have changed setTimeout to setInterval to better express the intention
of calling a function in a loop and inside that function I have switched
from a simple add to a counter, to calculate the diff in seconds between
startTime and current time, using the moment.js library to help.

Fixes 0022919

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0022919
mod - js/common.js Diff File

MantisBT: master fe444f15

2017-08-16 20:10:57

cproensa

Details Diff
Custom field columns include subprojects fields

Evaluate subprojects of current project to include readable custom
fields in the available columns list.
This allows adding a column for a custom field that is linked to a
subproject, which is the default behaviour when selecting ALL_PROJECTS.
Since columns are related to a project, but the filter by default shows
issues from subproject, extending the behaviour for any
project/subproject is consistent with the expectation that columns for
those custom fields can be used for view-all-bug page

Fixes: 0023233
Affected Issues
0023233
mod - core/columns_api.php Diff File

MantisBT: master 224e4fb7

2017-08-16 15:49:53

atrol

Details Diff
Correct button style on bug_update_page

Fixes 0023227
Affected Issues
0023227
mod - bug_update_page.php Diff File

MantisBT: master 3476b161

2017-08-16 08:11:27

cproensa

Details Diff
Get accessible custom field values

Rewrite custom_field_distinct_values() to retrieve only those values
that are accessible by the user, according to either issue view
permission, or custom field definition for view access level.

Only values that are viewable by the user should be retrieved, so we
must account for:
- View issue permissions: if the issue is private or public.
- Project level permissions: if a private project is accessible
directly, or indirectly.
- Limit view issues for reporters: if the option is enabled.
- Custom field definition for viewing threshold

Viewable issues can be resolved by using a filter, which already
accounts for those restrictions. So here we only need to additionally
check for custom field view threshold on each project.

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

MantisBT: master fd38b5d3

2017-08-15 20:34:22

cproensa

Details Diff
Account for project permission on custom fields filter

When filtering on custom fields, return only issues where the custom
fields is viewable by the user according to each project access level.

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

MantisBT: master 19fb937b

2017-08-15 19:36:17

cproensa

Details Diff
Get custom fields values from a list of projects

Extend custom_field_distinct_values() to allow a list of projects to get
values from.
Extend the custom fields filter input to show values from all the
projects included in the filter scope, which may also include
subprojects.

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

MantisBT: master 79666331

2017-08-15 18:54:31

cproensa

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.
Attach Issues:
mod - core/filter_api.php Diff File

MantisBT: master b139b96d

2017-08-15 18:21:42

cproensa

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

MantisBT: master 3016b8d3

2017-08-15 13:21:25

cproensa

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.
Attach Issues:
mod - core/custom_field_api.php Diff File

MantisBT: master 5aea6bb8

2017-08-15 09:05:06

Zipher

Details Diff
Remove redudant argument for the construction of IssueFileAddedTimelineEvent

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

MantisBT: master 0d224f73

2017-08-15 02:49:16

luzpaz

Details Diff
Typo fixes in comments and documentation
Attach Issues:
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

MantisBT: master c049c186

2017-08-14 19:22:35

cproensa

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,
Attach Issues:
mod - core/filter_api.php Diff File

MantisBT: master 5f3f42d9

2017-08-14 18:06:31

cproensa

Details Diff
Fix duplicated clauses for tags filter query

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

MantisBT: master 8ab8e125

2017-08-14 17:46:43

cproensa

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

MantisBT: master ce5ba704

2017-08-14 17:31:21

atrol

Details Diff
Remove unneeded string copy operations from text processing

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

MantisBT: master c497f2d3

2017-08-14 02:25:48

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
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

MantisBT: master 1b836a86

2017-08-13 20:50:04

cproensa

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

MantisBT: master e8b87bbb

2017-08-13 19:12:28

cproensa

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.
Attach Issues:
mod - core/access_api.php Diff File

MantisBT: master 757de9b5

2017-08-13 18:50:09

cproensa

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.
Attach Issues:
mod - core/filter_api.php Diff File

MantisBT: master 3d6a28c6

2017-08-13 09:30:09

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.
Attach Issues:
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

MantisBT: master 5792fbec

2017-08-13 05:58:10

cproensa

Details Diff
Refactor tags filter query

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

MantisBT: master 74eaa355

2017-08-13 05:47:21

atrol

Details Diff
Enforce mbstring extension during installation

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

MantisBT: master 1067889a

2017-08-13 04:43:57

Zipher

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

MantisBT: master 60733906

2017-08-12 19:31:38

cproensa

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

MantisBT: master 33a274f0

2017-08-12 19:17:14

cproensa

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
 First  Prev  1 2 3 ... 57 58 59 60 61 62 63 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 659 660 661  Next  Last