Changesets: MantisBT

master d3eb7642

2017-11-01 11:43

atrol


Details Diff
Use config_get_global for fallback_language

Issue 0023626
Affected Issues
0023626
mod - api/soap/mc_api.php Diff File
mod - core/email_api.php Diff File
mod - core/lang_api.php Diff File

master f5618b17

2017-11-01 11:41

atrol


Details Diff
Use config_get_global for language_auto_map

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

master 673b4834

2017-11-01 11:40

atrol


Details Diff
Use config_get_local for default_language

Issue 0023626
Affected Issues
0023626
mod - core/email_api.php Diff File
mod - core/lang_api.php Diff File
mod - manage_user_create.php Diff File

master d35d8016

2017-11-01 11:37

atrol


Details Diff
Use config_get_global for html_valid_tags

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

master 11526938

2017-11-01 11:35

atrol


Details Diff
Use config_get_global for hostname

Issue 0023626
Affected Issues
0023626
mod - admin/install.php Diff File

master bdcc5128

2017-11-01 11:28

atrol


Details Diff
Use config_get_global for db_type

Issue 0023626
Affected Issues
0023626
mod - admin/install.php Diff File
mod - manage_overview_page.php Diff File

master 08f3c151

2017-11-01 11:24

atrol


Details Diff
Use config_get_global for db_password

Issue 0023626
Affected Issues
0023626
mod - admin/install.php Diff File

master 065ba5e8

2017-11-01 09:22

atrol


Details Diff
Use config_get_global for db_username

Issue 0023626
Affected Issues
0023626
mod - admin/install.php Diff File

master 8a78f131

2017-11-01 09:20

atrol


Details Diff
Use config_get_global for database_name

Issue 0023626
Affected Issues
0023626
mod - admin/install.php Diff File

master b3f1b49e

2017-11-01 09:15

atrol


Details Diff
Use config_get_global for bug_list_cookie

Issue 0023626
Affected Issues
0023626
mod - bug_view_inc.php Diff File
mod - view_all_bug_page.php Diff File

master e3f7c2e6

2017-11-01 09:13

atrol


Details Diff
Use config_get_global for logout_cookie

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

master ec29beb7

2017-11-01 09:10

atrol


Details Diff
Use config_get_global for manage_config_cookie

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

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
 First  Prev  1 2 3 ... 70 ... 140 ... 152 153 154 155 156 157 158 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last