Remove 'ERROR_DUPLICATE_FILE' entry from Croatian language which was causing a warning.  Found by test-langsas part of release process for 1.2.11.
Updated doc/RELEASE for 1.2.11.
Changed version to 1.2.12-dev
Fixes #13445: Add mc_login() for login and to return user data.
Localisation updates from http://translatewiki.net.
Fix verify.php bumping failed count instead of login count

This prevented admins to unlock a user's account by resetting their
password when $g_max_failed_login_count = 1.

See commit d306af51746bdb781d3a721d7af718eae34ffe5d

Fixes #14387
SOAP API: verify that creating issues with enum fields set by name works
#13900: Improve documentation for mc_project_get_issues and similar 
MantisGraph: incorrect issues count in graph by severity

When $g_bug_closed_status_threshold is not the "final" entry in
status_enum_string list, function enum_bug_group() in graph_api.php
computed the number of closed issues incorrectly due to use of '='
operator instead of '>=' in the query's where clause.

Also corrects some trailing whitespace.

Fixes #14356
Fix #13415: cloning issue with attachments doesn't work 
Localisation updates from http://translatewiki.net.
Fix Lack of detailed error message during schema creation

During MantisBT installation, when a schema upgrade step includes
several SQL statements (as generated by ADOdb), a detailed error message
was only reported the problem occurs while executing the last statement.

Calling ExecuteSQLArray() with the 2nd param = false forces the function
to return the error message on first failure instead of continuing with
the next statement.

Fixes #14399
Localisation updates from http://translatewiki.net.
Fix #14418: Alternate text for logo image is hardcoded
Fix #14420: system warning in make_captcha

Per PHP documentation [1], second param of imagejpeg() should be set to
null to output the image directly.

Thanks to Andrew Kovalenko for noticing and providing fix for the issue

[1] http://php.net/imagejpeg
Fix PostgreSQL error when adding project/subproject

Release 1.2.11 (see commit b8d4b5039598248d0b0c78619450c51d4dc98df2 and
issue #14288) introduced a regression preventing the user from creating
a new project or adding a subproject.

The error is caused by columns mantis_project_table.inherit_global and
mantis_project_hierarchy_table.inherit_parent, which are defined as
unsigned int in schema.php, but treated as boolean in the code. This is
a problem with PostgreSQL due to strict type checking, but not on MySQL
as type cast is done automatically.

This commit is a workaround for the problem (sending an int to the DB
instead of a bool if using PostgreSQL), as fixing the root cause would
require a schema change which is not possible in 1.2.x.

Fixes #14385
Fix PostgreSQL error when updating a project

Release 1.2.11 (see commit b8d4b5039598248d0b0c78619450c51d4dc98df2 and
issue #14288) introduced a regression preventing the user from updating
an existing project.

This commit is a workaround for the problem (sending an int to the DB
instead of a bool if using PostgreSQL), as fixing the root cause would
require a schema change which is not possible in 1.2.x.

Fixes #14385
Fix #11687: Bugs with attachments that are moved will lose attachments

Backporting 08c027af59b88a6934377d71d19a86edfd7d12dd to 1.2.x branch.

When a bug is logged and assigned to a project which has a project path
assigned, and later a mantis "administrator" moves the bug from the
initial project to a new project, the attachments are lost.

Signed-off-by: Damien Regad <damien.regad@merckgroup.com>
Fix #11687: use of incorrect error constant
Localisation updates from http://translatewiki.net.