Changesets: MantisBT

master ded684c8

2018-05-21 09:16

atrol


Details Diff
Fix PHP 7.2 system warning when logging is set to 'page'

Fixes 0024470
Affected Issues
0024470
mod - core/logging_api.php Diff File

master 3a6b55d1

2018-05-21 06:11

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_spanish.txt Diff File
add - plugins/Gravatar/lang/strings_greek.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_laki.txt Diff File
mod - plugins/MantisGraph/lang/strings_greek.txt Diff File
mod - plugins/MantisGraph/lang/strings_laki.txt Diff File

master 1b6ba0ff

2018-05-20 09:44

atrol


Details Diff
Send usernames in history of e-mail notifications based on show_realnames

This reverts the changes from 0024167 that have been needed as we
were no longer able to protect realnames by show_user_realname_threshold.

The change assumes that we agree, that show_realnames = ON allows
any user to see the realnames.

show_user_realname_threshold is just used on view user page
if show_realnames = OFF (behavior before version 2.12.0)

Issue 0024432
Affected Issues
0024432
mod - core/history_api.php Diff File

master 85a2e55f

2018-05-19 07:57

atrol


Details Diff
Send usernames in e-mail notifications again based on show_realnames

This reverts the changes from 0024239 that have been needed as we
were no longer able to protect realnames by show_user_realname_threshold.

The change assumes that we agree, that show_realnames = ON allows
any user to see the realnames.

show_user_realname_threshold is just used on view user page
if show_realnames = OFF (behavior before version 2.12.0)

Issue 0024432
Affected Issues
0024432
mod - core/email_api.php Diff File

master e740680e

2018-05-19 07:41

atrol


Details Diff
Enhance handling of realname visibility

Partially return to pre 2.12.0 behavior
- make show_realname independant from show_user_username_threshold
- use show_user_username_threshold just on view_user_page and SOAP API

- enhance realname access by allowing it also if show_realname is set to ON
- refactor code
mod - api/soap/mc_account_api.php Diff File
mod - core/user_api.php Diff File
mod - view_user_page.php Diff File

master fe309505

2018-05-19 06:59

atrol


Details Diff
Unifiy show_realname handling

Issue 0024139
Issue 0024435
Affected Issues
0024139, 0024435
mod - core/classes/BugFilterQuery.class.php Diff File

master fd2d1080

2018-05-16 22:32

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_serbian.txt Diff File

master b421ab2f

2018-05-16 05:42

atrol


Details Diff
Correct access checks when storing filters

Fixes 0024437
Affected Issues
0024437
mod - query_store.php Diff File

master d04095fa

2018-05-15 13:09

atrol


Details Diff
Display username as tooltip if realname is displayed

Fixes 0024436
Affected Issues
0024436
mod - core/prepare_api.php Diff File
mod - core/print_api.php Diff File

master e96751d2

2018-05-13 22:21

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_swedish.txt Diff File

master 6aaebdfb

2018-05-13 09:10

dregad


Details Diff
Coding guidelines: add 't_' variable prefix
mod - core/install_helper_functions_api.php Diff File

master 5ce40ef5

2018-05-13 09:09

dregad


Details Diff
Move error message printing to dedicated function

Reduce code duplication
mod - core/install_helper_functions_api.php Diff File

master 69b9ada3

2018-05-13 09:03

dregad


Details Diff
Catch unserialize errors in install_check_token_serialization()

Instead of just choking on invalid data when unserializing it (and
possibly display a PHP notice, depending on error reporting settings),
we now catch the error and display a friendly and useful error message.
mod - core/install_helper_functions_api.php Diff File

master 5d544109

2018-05-13 08:53

dregad


Details Diff
Catch unserialize errors in install_check_config_serialization()

Instead of just choking on invalid data when unserializing it (and
possibly display a PHP notice, depending on error reporting settings),
we now catch the error and display a friendly and useful error message.
mod - core/install_helper_functions_api.php Diff File

master 6a8e1ccb

2018-05-13 08:53

dregad


Details Diff
Catch unserialize errors in install_stored_filter_migrate()

Instead of just choking on invalid data when unserializing it (and
possibly display a PHP notice, depending on error reporting settings),
we now catch the error and display a friendly and useful error message.

This also fixes a potential error when handling invalid JSON, since
json_decode() returns null (not false) in this case.
mod - core/install_helper_functions_api.php Diff File

master 21d13755

2018-05-13 08:51

dregad


Details Diff
New safe_unserialize() utility function

When given invalid data, unserialize() throws a PHP notice; this
function relies on error_convert_to_exception() custom error handler to
throw an Exception instead.
mod - core/utility_api.php Diff File

master b3b5cc4a

2018-05-13 08:45

dregad


Details Diff
New error_convert_to_exception() function

This is a simplistic error handler to convert PHP errors to Exceptions.
It is used to temporarily override the default error handler, when it is
required to catch a PHP error (e.g. when unserializing data in install
helper functions).
mod - core/error_api.php Diff File

master f68362c8

2018-05-10 00:25

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_greek.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - plugins/MantisGraph/lang/strings_macedonian.txt Diff File

master d7ca6fa8

2018-05-06 23:40

dregad


Details Diff
Fix generic error when anonymous login not defined

When $g_allow_anonymous_login = ON and $g_anonymous_account = '', a
Generic error is triggered in auth_flags() when trying to login
anonymously. This is due to the fact that $p_user_id parameter is false
in this case.

To prevent this, the function now performs a loose-type check on the
user id, so MantisBT returns to the login page with a friendlier error
message "Your account may be disabled or blocked or the
username/password you entered is incorrect."

Fixes 0025061
Affected Issues
0025061
mod - core/authentication_api.php Diff File

master 91782fe0

2018-05-06 23:10

dregad


Details Diff
Anonymous login requires account to be set

To enable anonymous login, we need both allow_anonymous_login and the
anonymous_account to be set.

The former without the latter results in a MantisBT generic error when
trying to login anonymously, as login.php is called with an empty
username.

Fixes 0025061
Affected Issues
0025061
mod - core/authentication_api.php Diff File

master 7aa805ea

2018-05-06 02:21

atrol


Details Diff
Fix Class 'ClientException' not found in issue api

Issue 0024398
Affected Issues
0024398
mod - api/soap/mc_issue_api.php Diff File

master 2c2449b2

2018-05-04 18:14

vboctor


Details Diff
Create project version via REST API

- Create a command for adding a project version.
- Update web UI to use command to add project versions
- Update SOAP API to add a project version
- Create a REST API to add a project version

Fixes 0024388
Affected Issues
0024388
mod - api/rest/restcore/projects_rest.php Diff File
mod - api/soap/mc_project_api.php Diff File
add - core/commands/VersionAddCommand.php Diff File
mod - core/version_api.php Diff File
mod - manage_proj_ver_add.php Diff File

master 3812c5f6

2018-05-03 11:02

atrol


Details Diff
Fix Class 'ClientException' not found in tag api

Fixes 0024398
Affected Issues
0024398
mod - api/soap/mc_tag_api.php Diff File

master 2d60e8c7

2018-05-02 23:30

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_polish.txt Diff File
mod - plugins/MantisGraph/lang/strings_polish.txt Diff File

master 58345c19

2018-04-29 22:31

atrol


Details Diff
Update version to `2.15.0-dev`
mod - core/constant_inc.php Diff File
 First  Prev  1 2 3 ... 70 ... 134 135 136 137 138 139 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last