Changesets: MantisBT

master 1d79464c

2017-11-01 09:09

atrol


Details Diff
Use config_get_global for view_all_cookie

Issue 0023626
Affected Issues
0023626
mod - core/filter_api.php Diff File
mod - print_all_bug_page.php Diff File
mod - query_store.php Diff File
mod - query_store_page.php Diff File
mod - search.php Diff File
mod - view_all_set.php Diff File

master 1d42e4ca

2017-11-01 09:05

atrol


Details Diff
Use config_get_global for project_cookie

Issue 0023626
Affected Issues
0023626
mod - core/helper_api.php Diff File

master 496ba8d3

2017-11-01 09:03

atrol


Details Diff
Use config_get_global for string_cookie

Issue 0023626
Affected Issues
0023626
mod - core/authentication_api.php Diff File

master 9479f57e

2017-11-01 09:00

atrol


Details Diff
Use config_get_global for cookie_domain

Issue 0023626
Affected Issues
0023626
mod - core/gpc_api.php Diff File
mod - core/session_api.php Diff File

master 5c86cd8c

2017-11-01 08:58

atrol


Details Diff
Use config_get_global for cookie_path

Issue 0023626
Affected Issues
0023626
mod - core/authentication_api.php Diff File
mod - core/gpc_api.php Diff File
mod - core/session_api.php Diff File
mod - search.php Diff File
mod - view_all_set.php Diff File

master 16aa170f

2017-11-01 08:55

atrol


Details Diff
Use config_get_global for cookie_time_length

Issue 0023626
Affected Issues
0023626
mod - core/gpc_api.php Diff File
mod - search.php Diff File
mod - view_all_set.php Diff File

master 16f59619

2017-11-01 08:31

atrol


Details Diff
Remove unused code of unsupported database types

Fixes 0023572
Affected Issues
0023572
mod - core/database_api.php Diff File

master 4738e13a

2017-10-31 08:35

atrol


Details Diff
Enhance error handling for unsupported database types

Fixes 0023466
Affected Issues
0023466
mod - core/database_api.php Diff File

master 46dff48e

2017-10-30 15:57

cproensa


Details Diff
New option limit_reporter_unless_threshold

Currently the option 'limit_reporters' is used to only allow viewing
issues reported by the user. This is an on/off option, and not a
threshold, and when enabled it applies the restriction to those user
that are calculated to be reporters.
The problem is that a user can report issues based on
'report_bug_threshold'. With the option enabled, users with an access
level (AL) greater than the minumim AL needed to report, are those that
can view all issues. This is a weak implementation that causes
inconsistencies, for example, when the report threshold is a
non-contiguous array of ALs.

A new option is created: limit_reporter_unless_threshold which is a real
threshold option. Any user that meets that threshold will see any issue,
otherwise the view is limited to only own reported issues (working like
the old option 'limit_reporters')
The meaning of the option has a inverse logic, because we don't support
negative thresholds. Setting ANYBODY as the value for this option is the
equivalent of 'limit_reporters' having OFF value.

To add a transitional workaround from the old to new logic:
When 'limit_reporters' option is ON, which according to previous
functionality, should be a global configuration (ALL_PROJECTS), the new
option is not evaluated, neither will be shown in configuration pages.
Once 'limit_reporters' is OFF at global level, the new option
'limit_reporter_unless_threshold' will be shown on pages and be
effective al global or project level.

Fixes: 0023570
Affected Issues
0023570
mod - config_defaults_inc.php Diff File
mod - core/access_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage_config_work_threshold_page.php Diff File
mod - manage_config_work_threshold_set.php Diff File

master cfd90a97

2017-10-30 14:53

cproensa


Details Diff
Enable limit_reporters options at project/user level

Fixes: 0009534
Affected Issues
0009534
mod - bug_update_page.php Diff File
mod - changelog_page.php Diff File
mod - core/access_api.php Diff File
mod - core/classes/BugFilterQuery.class.php Diff File
mod - core/filter_form_api.php Diff File
mod - manage_config_work_threshold_page.php Diff File
mod - manage_config_work_threshold_set.php Diff File
mod - roadmap_page.php Diff File

master 6f1e261d

2017-10-29 14:43

cproensa

Committer: dregad


Details Diff
Fix testGetIssuesForUserMonitoredNoTargetUser

This was testing a filter with "monitoring user = meta_filter_none",
which was previously unsupported. That resulted in issues monitored by
user -2, so before, and after adding a new issue, the filter returns 0
issues always.

Now that meta_filter_none is supported, meaning issues which are not
monitored by any user, after adding a new issue, the filter must return
1 more issue.
mod - tests/soap/FilterTest.php Diff File

master 9dcd32d2

2017-10-29 14:23

cproensa

Committer: dregad


Details Diff
Map user 0 to current user

When building the filter query, map user 0 to current user, to avoid
errors on invalid user id.
This behaviour was present before rewriting filter query generation.
mod - core/classes/BugFilterQuery.class.php Diff File

master 7e64b3b8

2017-10-29 04:23

cproensa

Committer: dregad


Details Diff
Rewrite backtrace info for logging api

Rewrite the extraction of relevant information from the backtrace, to
print in the log messages.

Reorganize into a more structured set of conditions.
Add support for new DbQuery class in database logs.
Improve printing of caller when it is a class method.
mod - core/logging_api.php Diff File

master 74f74fc3

2017-10-28 15:05

vboctor


Details Diff
Update version to `2.9.0-dev`
mod - core/constant_inc.php Diff File

master-2.7 91bcff70

2017-10-28 14:42

vboctor


Details Diff
Update credits and version to `2.7.1`
mod - core/constant_inc.php Diff File
mod - docbook/Admin_Guide/en-US/Revision_History.xml Diff File
mod - docbook/Developers_Guide/en-US/Revision_History.xml Diff File

master 9f721b7a

2017-10-28 14:39

vboctor


Details Diff
Update credits and version to `2.8.0`
mod - core/constant_inc.php Diff File
mod - doc/CREDITS Diff File
mod - docbook/Admin_Guide/en-US/Revision_History.xml Diff File
mod - docbook/Developers_Guide/en-US/Revision_History.xml Diff File

master 22d87bf5

2017-10-28 14:34

vboctor


Details Diff
Notes added a private when they should be public

When notes are private by defaults, notes added via bug update action page are always marked as private.
This applies when editing a bug and adding a note, or when changing status and adding a note.

Fixes 0023560
Affected Issues
0023560
mod - bug_update.php Diff File

master 9266b2ef

2017-10-28 07:02

atrol


Details Diff
Correct and add docs for ON/OFF configuration options
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/status.xml Diff File

master 5faecb5b

2017-10-28 06:40

atrol


Details Diff
Correct documentation of $g_system_font_folder

The Mantis Graph plugin does no longer use the fonts from
$g_system_font_folder since it's been rewritten based on chart.js.
mod - config_defaults_inc.php Diff File

master e30f40ce

2017-10-28 06:36

atrol


Details Diff
Correct library documentation

We don't use any langer Git submodules
mod - library/README.md Diff File

master abeecef3

2017-10-26 17:59

vboctor


Details Diff
Bugnote text area not styled correctly when private by default

When bugnotes are private by default, they are not styled with bugnote-private class, hence, not yellow.

Fixes 0023555
Affected Issues
0023555
mod - bug_actiongroup_page.php Diff File
mod - bug_change_status_page.php Diff File
mod - bug_update_page.php Diff File
mod - bugnote_add_inc.php Diff File

master 1fb60e10

2017-10-26 14:10

dregad

Committer: atrol


Details Diff
Use local variables instead of dereferencing array

As per atrol's suggestion [1]

[1] https://github.com/mantisbt/mantisbt/pull/1136#pullrequestreview-56447512
mod - core/timeline_api.php Diff File

master 4fc555fe

2017-10-26 13:46

dregad


Details Diff
Merge remote-tracking branch 'origin/master-2.7'
mod - admin/upgrade_unattended.php Diff File

master f4551ce2

2017-10-25 01:09

atrol


Details Diff
Don't search for libraries in vendor folder

require_lib is no longer used for libs in folder "vendor
The remaining calls are used only for libs in folder "library"

Fixes 0023625
Affected Issues
0023625
mod - core.php Diff File

master 4c4b7dea

2017-10-25 01:01

atrol


Details Diff
Remove unneeded require_lib

Issue 0023625
Affected Issues
0023625
mod - core/database_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 170 171 172 173 174 175 176 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last