Update credits and mailmap
Update version to 1.3.0-beta.1
Disable admin_checks if admin folder doesn't exist

Fixes #17958
Fix 17959: Upgrade unattended produces a warning
Documentation: fix typo and syntax in user management

Fixes #17964
Don't expand reporters by default in update page

For performance reasons with update issue pages, we should revert
back to 1.2.x behavior where we don't populate the combobox of
reporters by default.  This is in order to reduce database load and
improve performance for instances with large number of reporters.

This change is also designed to make sure that search engine crawlers
don't expand such list and hence avoiding the database load.

In the future, we should use jquery auto-complete or similar control.
We could also possibly add a configuration option or cache a session
variable that determines whether to expand the list by default.  This
can be useful for instances with small number of reporters.

Fixes #17944
New API current_user_set()

The function sets the $g_cache_current_user_id global variable, and
clears the user preferences cache ($g_cache_current_user_pref) if
necessary.

Using this new API to set the current user as opposed to working with
$g_cache_current_user_id makes sure we always get the correct data from
get_user_pref().

Resolves an issue where the order (as well as the number) of bugnotes in
email notifications is based on the user who triggered the action,
instead of the email's recipient.

Fixes #17925 (porting 559ba4e43a2dc6c9f8fd6491f6279379734ac549)
Fix #17751: add 'UTC' to timezone selection list

Also fixes the list for timezones containing a '/' in the name (e.g.
Argentina/xxx)
Fix timezone initialization in core.php

Prior to this, core.php would trigger a PHP warning on PHP >= 5.3 when
date_default_timezone_get() is not able to determine the timezone and
defaults to UTC (e.g. when php.ini date.timezone is not set).

The timezone is determined in the following order
  1. user preferences
  2. MantisBT configuration ($g_default_timezone)
  3. php.ini setting (date.timezone)
  4. UTC (set by date_default_timezone_get())

Fixes #17747
Revised admin check for $g_default_timezone

- Clarification of messages, added links to PHP documentation
- When default timezone is null, issue warning instead of failure and
  indicate defaulting to UTC
Update documentation for $g_default_timezone
Additional timezone init fixes

Implements additional fixes submitted by grangeway in PR #387

- Set installer_db_now() timezone to UTC
- Remove timezone_identifiers_list() existence checks
  These checks are obsolete, there were implemented to cover RHEL/CentOS
  under PHP 5.1 and we now require 5.3.
- Travis: set timezone to UTC

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Set default timezone in install.php
Improve Timezone initialization, default to UTC

Fixes https://github.com/mantisbt/mantisbt/pull/382
Update mailmap file [skip ci]
Fix system warning in gpc_get_string_array()

The fix for issue #17640 did not consider that the value returned by
gpc_get() is not necessarily an array - it can be the default value
(e.g. null) causing PHP to throw an 'Invalid argument supplied for
foreach()' warning.

Fixes #17967 (ported from 1.2.x)
Hide 'Manage Global Profiles' menu when disabled

Fixes #17978
Localisation updates from https://translatewiki.net.
Changed version to '1.3.0-beta.2-dev' [skip ci]
Install: Use foreach to check for obsolete config files