Changesets: MantisBT

master 5de037c3

2016-08-21 13:04

syncguru

Committer: vboctor


Details Diff
Optimize vertical space in "My View" page

Fixes 0021123
Affected Issues
0021123
mod - css/ace-mantis.css Diff File
mod - my_view_inc.php Diff File

master f4f5364a

2016-08-21 10:40

syncguru


Details Diff
Fix rendering table columns in Workflow Transitions page

Fixes 0021638
Affected Issues
0021638
mod - manage_config_workflow_page.php Diff File

master-1.3.x 22c421e9

2016-08-20 13:28

cproensa

Committer: dregad


Details Diff
Remove incorrectly placed db_param_push()

When db_query() is called without a parameter array, the db_param stack
is not popped automatically, so in this case the db_param_push was not
being popped after query execution.

Fixes 0021649
Affected Issues
0021649
mod - core/category_api.php Diff File
mod - core/custom_field_api.php Diff File
mod - core/email_queue_api.php Diff File

master-1.3.x 768a7f89

2016-08-20 10:33

cproensa

Committer: dregad


Details Diff
Fix filter api get bug rows db_params

When using filter_get_bug_count and filter_get_bug_rows_result, the same
query string is used for two queries, and since this query has been
created using db_param(), the parameter stack must be more carefully
managed.
mod - core/filter_api.php Diff File
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File

master-1.3.x 4d160125

2016-08-19 17:02

cproensa

Committer: dregad


Details Diff
Fix querying zero projects

Fix the new api functions, to support the case when a user doesn't have
any accessible project. In this case the filter query can't be built, so
fix returning empty values.

Affected functions were introduced in relation to Issues 0020424, 0021072.
Affected Issues
0020424, 0021072
mod - core/database_api.php Diff File
mod - core/filter_api.php Diff File
mod - core/history_api.php Diff File

master-1.3.x 5d2f72a9

2016-08-18 07:07

cproensa

Committer: dregad


Details Diff
Show report bug menu entry if allowed for any project

Previously, the "report bug" menu entry was not displayed when:
1. current project is ALL PROJECTS and user has not global report bug access
2. current project is a specific one, and user has not report access in
that project

(1) is confusing for users, when they have access to report in any of
the specific projects they are assigned to, but still cant find the menu
entry.
Note that for globally allowed users, when trying to report in ALL
PROJECTS, a page appears that promts the user to select a valid project

(2) can be also confusing like (1), when the user is positioned in a
project where is effectively a "viewer", want to report a bug and cant
find the menu entry. This forces the user to select a valid project
before being allowed to use the report menu.

The fix implemented here checks if the user has permissions to report in
any of his assigned projects, then show the menu entry.
If the user cant report in current project once the menu entry is
selected, show the project selection page to choose a valid project.

This fixes (1) which is a common complaint from new users
and (2), which also provides a more intuitive way to use the report
option, as first choose the action, later choose the project.

Fixes: 0014268
Affected Issues
0014268
mod - bug_report_page.php Diff File
mod - core/html_api.php Diff File

master-1.3.x df42516b

2016-08-18 06:53

cproensa

Committer: dregad


Details Diff
Create api function to check a threshold in several projects

Add an api function to check the current user's access against the given
threshold, in each of the provided projects, and return true if the
user's access is equal to or higher in any of the projects, false otherwise.

The provided threshold can be the config literal to be evaluated in each
project's context.
mod - core/access_api.php Diff File

master c8fe307b

2016-08-17 03:12

dregad


Details Diff
Merge branch 'master-1.3.x'

Conflicts:
core/html_api.php (resolved with change in layout_api.php)
mod - core/email_api.php Diff File
mod - core/filter_api.php Diff File
mod - core/history_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/timeline_api.php Diff File
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File

master-1.3.x aa07b7e2

2016-08-17 02:55

dregad


Details Diff
Remove trailing whitespace, break long line
mod - core/filter_api.php Diff File

master c5f17c92

2016-08-17 01:58

dregad


Details Diff
Add library/ezc to .gitignore

Following implementation of chartjs for graphs and removal of the ezc
libraries submodules, git warns about untracked files when switching
between master and older branches.

Adding the library/ezc directory to .gitignore fixes the problem.
mod - .gitignore Diff File

master-1.3.x 9f359863

2016-08-16 22:50

vboctor

Committer: dregad


Details Diff
Protect against calling http_csp_add() too late

If the CSP header is sent and then http_csp_add() is called, trigger error.

Fixes 0021263
Affected Issues
0021263
mod - core/http_api.php Diff File

master-1.3.x f24a3e9c

2016-08-16 22:44

vboctor

Committer: dregad


Details Diff
Use Content-Security-Policy API in Gravatar

Fixes 0021263
Affected Issues
0021263
mod - plugins/Gravatar/Gravatar.php Diff File

master-1.3.x a905dd01

2016-08-16 22:25

vboctor

Committer: dregad


Details Diff
Add API for Content-Security-Policy

Add APIs to allow plugins to change the Content-Security-Policy header.

Fixes 0021263
Affected Issues
0021263
mod - core/http_api.php Diff File

master 44bb87ce

2016-08-16 19:34

syncguru

Committer: dregad


Details Diff
Fix styling of alert message boxes

Fixes 0021622
Affected Issues
0021622
mod - admin/email_queue.php Diff File
mod - manage_proj_create_page.php Diff File
mod - verify.php Diff File

master-1.3.x 3eb87ee9

2016-08-16 14:49

dregad


Details Diff
Align documentation with phpDoc for filter configs

1. The following config options were not properly documented in
config_defaults_inc.php; the corresponding description was copied
from the Admin Guide:

- $g_filter_by_custom_fields
- $g_filter_custom_fields_per_row
- $g_view_filters

2. The default and minimum value for $g_filter_custom_fields_per_row
was incorrectly documented as being 7 in the Admin guide; changed to
8 to match value defined in config_defaults_inc.php (and matching
actual usage in the code).
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/filters.xml Diff File

master-1.3.x 7086c2d8

2016-08-16 13:22

dregad


Details Diff
Fix XSS in view_all_bug_page.php

The value of the view_type parameter on the view_all_bug_page.php page
was not encoded before being displayed.

This vulnerability was discovered by Will Dollman of Netcraft Ltd.

Initial patch modified to use strict comparison per Will's suggestion.

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

master ce3ad65b

2016-08-16 12:48

atrol


Details Diff
Call function layout_page_begin with right number of parameters
mod - manage_user_impersonate.php Diff File

master-1.3.x 218ffb3b

2016-08-16 05:19

dregad


Details Diff
Timeline: get history based on filter

Fixes https://github.com/mantisbt/mantisbt/pull/838
mod - core/filter_api.php Diff File
mod - core/history_api.php Diff File
mod - core/timeline_api.php Diff File

master-1.3.x c7bb7f7a

2016-08-16 05:19

cproensa

Committer: dregad


Details Diff
bug_get_bugnote_stats_array(), code clean up
mod - core/bug_api.php Diff File

master-1.3.x 06d0c7a2

2016-08-15 15:27

cproensa

Committer: dregad


Details Diff
Remove unused include in excel_xml_export

The page print_all_bug_options_inc.php is no longer used, as stated in
Issue 0019370
Affected Issues
0019370
mod - excel_xml_export.php Diff File

master-1.3.x b08cafe9

2016-08-15 15:22

cproensa

Committer: dregad


Details Diff
Remove undeclared variables from excel, csv export

The undeclared variables were introduced by error after rebasing PR from
Issue 0020424
Affected Issues
0020424
mod - csv_export.php Diff File
mod - excel_xml_export.php Diff File

master-1.3.x b66af6d2

2016-08-15 07:35

dregad


Details Diff
Remove stray comma

Fix invalid HTML, follow-up on issue 0011964.
Affected Issues
0011964
mod - core/html_api.php Diff File

master 67be52b0

2016-08-15 07:18

syncguru

Committer: dregad


Details Diff
Add missing css classes for plugins page color key

Fixes 0021117
Affected Issues
0021117
mod - css/default.css Diff File

master-1.2.x 45df5c0e

2016-08-15 04:16

dregad


Details Diff
Bump version and prepare 1.2.20 release
mod - core/constant_inc.php Diff File
mod - doc/CREDITS Diff File
mod - doc/RELEASE Diff File

master 49d57adf

2016-08-14 18:03

syncguru

Committer: dregad


Details Diff
Fix column headers and text alignment in Summary page

Fixes 0021119
Affected Issues
0021119
mod - core/summary_api.php Diff File
mod - summary_page.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 ... 703 704 705  Next  Last