PHPdoc Update
Remove unused variables from current_user_get_bug_filter
Remove Unused Variables from Mantis Core
Code Guidelines: Fix naming of variable '$result' to $t_result
Install: Use PHP_EOL instead of '\n'
Install: escape strings in generated config_inc.php

Fixes #17012
Install: remove redundant db version info line
Install: fix HTML and layout

- added missing tr and td tags
- moved incorrectly placed closing form tag
- move config_inc.php table within cell of parent
- make final status and link a table instead of paragraph
CSS: fix padding for main menu items

Old CSS caused the menu item's link to extend from the right of the text
until the vertical bar, while the padding to the left was not
hyperlinked.

The item's text is now centered within the CSS box instead of
left-justified, fixing that behavior.
Increase size of bug jump form text field

Size of 4 was too small to fit the default 7-char bug id
Fix SQL injection vulnerability in adm_config_report.php

Jakub Galczyk (HauntIT blog http://hauntit.blogspot.com/) reported this
issue, introduced by f8a81a33880752364ea47bdd9a987bff986c81de in
MantisBT 1.2.13.

Root cause is the use of unsanitized inlined query parameters.

Fixes #17055
Incorrect project-specific where clause

If user has access to only one project (or if there is only one project
in bug tracker), helper_project_specific_where() function returned an
incorrect where clause when $project_id == ALL_PROJECTS.

Fixes #17073
Fixes #17076: Issue history show date submitted and last updated as integers rather than dates.
Whitespace
Fix phpDoc for mc_project_get_id_from_name()

project_get_id_by_name() returns 0 when project is not found, not -1
SOAP tests: improved bootstrap file

New available options
- user name, password and e-mail
- project id

Comments have been added to bootstrap.php.sample file.
Install: special processing for pgsql boolean columns

The upgrade of ADOdb library to version 4.96 with Mantis release
1.1.0 introduced a change in the way type 'L' columns are created
(SMALLINT before, BOOLEAN after).

This requires special handling to fix the database schema, because the
normal schema upgrade steps do not cover it (since from the MantisBT
installer's perspective the column type has not changed).

Fixes #16392
Install: pgsql bool check now handles nullable columns

Issue #16392
Fix travis build errors for PostgreSQL

The errors were caused by executing queries with params in wrong order.

To fix the problem, this commit adds Database API functions to push the
current parameter number onto a stack and pop the value after query
execution, allowing build of multiple queries concurrently.

The caller can call db_param_push() when needed prior to starting the
build of a new query while another one is still pending execution.
db_query_bound() will call db_param_pop() after running the query.

Fixes #14398
Move parameter count management to a class

The MantisDbParam class handles the logic for:
- assignment of parameters, db_param() calls
- push onto stack, db_param_push() calls
- pop stack