Changesets: MantisBT

master 6b0df308

2017-09-18 15:24

cproensa

Committer: dregad


Details Diff
Fix comparing to null from db result

Oracle returns nulls as ''.
Change the check for an empty tags result.

Fixes PR 1154
Related issue: 0021914
Affected Issues
0021914
mod - core/tag_api.php Diff File

master df9a9e45

2017-09-18 11:00

cproensa

Committer: dregad


Details Diff
Fix dynamic filter custom field check

Check access to custom field in any of the user projects, as a minimal
permission check. The filter would return only accesible values anyway.
mod - return_dynamic_filters.php Diff File

master bff1351f

2017-09-18 03:26

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File

master b04bc138

2017-09-17 13:01

dregad


Details Diff
Initialize $t_status to prevent PHP notice

This could happen if the schema update specifies an invalid function
name.
mod - core/plugin_api.php Diff File

master fc93a7c8

2017-09-17 00:34

dregad


Details Diff
Add no-op upgrade step in plugin_upgrade()

Implement the same functionality that was added to the MantisBT
installer in 061e66b5cfbda95e2ecbe87803c3388b2642cead.

This is a prerequisite to fix an issue with Source Integration plugin
https://github.com/mantisbt-plugins/source-integration/issues/36.

Fixes 0023367
Affected Issues
0023367
mod - core/plugin_api.php Diff File

master 46422eeb

2017-09-17 00:34

dregad


Details Diff
Refactor plugin_upgrade() to use switch statement

Align code with reference in MantisBT installer, make it easier to read.
mod - core/plugin_api.php Diff File

master ffa3a838

2017-09-13 21:25

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_polish.txt Diff File

master 0f8d2005

2017-09-10 23:29

cproensa

Committer: vboctor


Details Diff
Allow caching of plugin pages

Include the option to by pass headers in plugin.php.
mod - plugin.php Diff File

master 4405be2e

2017-09-10 21:24

translatewiki.net


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

master-1.3.x ff14f1c1

2017-09-10 15:47

dregad


Details Diff
Travis: force PHP 5.3 builds on precise

PHP 5.3.x is not supported on default TravisCI builders (Trusty).

Reference:
https://docs.travis-ci.com/user/reference/trusty#PHP-images

PHP 5.3 is removed from the main php list, and setup as an include in
the build matrix. This is required, otherwise the 5.3 builds end up
being executed twice, once with default 'trusty' and one with 'precise.
Affected Issues
0023338
mod - .travis.yml Diff File

master 6f26638c

2017-09-09 14:34

Damien Regad


Details Diff
Changes for print_form_button()

Merge PR https://github.com/mantisbt/mantisbt/pull/1109
mod - adm_config_report.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/print_api.php Diff File
mod - css/ace-mantis.css Diff File
mod - js/common.js Diff File

master 2430997c

2017-09-09 14:26

dregad


Details Diff
Make tag view threshold work at project level

Merge PR https://github.com/mantisbt/mantisbt/pull/1154
mod - bug_view_inc.php Diff File
mod - core/access_api.php Diff File
mod - core/filter_api.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/tag_api.php Diff File

master ebac07b2

2017-09-08 07:59

dregad

Committer: GitHub


Details Diff
Remove unused variable assignment
mod - api/soap/mc_enum_api.php Diff File

master 69f166a9

2017-09-08 02:47

dregad


Details Diff
Improve PHPDoc for user_get_name()

Better description of the function, and clearly state that it should
not be used to retrieve the user's username.

Issue 0023331
Affected Issues
0023331
mod - core/user_api.php Diff File

master b6d5eb51

2017-09-08 02:44

dregad


Details Diff
New API function user_get_username()

Replaces multiple calls to `user_get_field(<id>, 'username')` and avoids
confusion with user_get_name().

As discussed in issue 0023225 and PR https://github.com/mantisbt/mantisbt/pull/1177

Fixes 0023331
Affected Issues
0023225, 0023331
mod - account_update.php Diff File
mod - api/rest/restcore/AuthMiddleware.php Diff File
mod - api/soap/mc_account_api.php Diff File
mod - bug_reminder_page.php Diff File
mod - core/authentication_api.php Diff File
mod - core/email_api.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/ldap_api.php Diff File
mod - core/rss_api.php Diff File
mod - core/user_api.php Diff File
mod - verify.php Diff File

master b380aee1

2017-09-08 00:13

elmarculino

Committer: dregad


Details Diff
Fix REST API failing silently in case of missing enum value

The API call fails silently if the issue being retrieved references an
enum value or status color that does not exist in the config.

- Use MantisEnum::getLabel() method to handle unknown enum values.
- Set color to 'currentcolor' for unknown status

Fixes 0023301
Affected Issues
0023301
mod - api/soap/mc_enum_api.php Diff File

master a32ca43a

2017-09-06 21:25

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_spanish.txt Diff File

master dd23d629

2017-09-06 11:35

atrol


Details Diff
Fix filter links on Summary page

Fixes 0023323
Affected Issues
0023323
mod - core/summary_api.php Diff File
mod - summary_page.php Diff File

master 712edd2d

2017-09-06 08:54

cproensa

Committer: vboctor


Details Diff
Allow caching of generated js/css files

Allow client caching of dynamically generated css and js files.
Default headers disable explicitly caching of application pages, but
these generated files don't change usually between page loads.
By disabling default headers, the cacheability is defined by the server
configuration.

The included resources are referenced by a URL query built with a
parameter that differentiates content that may have changed based on
current user, project, language, etc. This parameter would force a
reload in case the content may be different from the cached version.

Fixes: 0023324
Affected Issues
0023324
mod - core/helper_api.php Diff File
mod - core/html_api.php Diff File
mod - css/status_config.php Diff File
mod - javascript_config.php Diff File
mod - javascript_translations.php Diff File

master 46aae5e5

2017-09-05 22:21

atrol


Details Diff
Fix filter links on Change Log and Roadmap page

Fixes 0023311

Minor PHPDoc correction
Affected Issues
0023311
mod - changelog_page.php Diff File
mod - roadmap_page.php Diff File

master 0aee831b

2017-09-05 03:58

atrol


Details Diff
Remove generation of unused CSS code

Fixes 0023310
Affected Issues
0023310
mod - core/html_api.php Diff File
rm - css/common_config.php Diff

master-1.3.x 97089311

2017-09-04 04:26

dregad


Details Diff
Fix TravisCI builds

The before_install command to force use of phpunit 5.7 on PHP 7.x failed
because the /home/travis/bin directory already existed.

Added '-p' flag to mkdir command to avoid error.

Backported from 9eabe60c77d46d427182ec9f431b0309f1789306
Affected Issues
0023338
mod - .travis.yml Diff File

master-2.6 e184e8e5

2017-09-04 04:26

dregad


Details Diff
Fix TravisCI builds

The before_install command to force use of phpunit 5.7 on PHP 7.x failed
because the /home/travis/bin directory already existed.

Added '-p' flag to mkdir command to avoid error.
Affected Issues
0023338
mod - .travis.yml Diff File

master 9eabe60c

2017-09-04 04:26

dregad


Details Diff
Fix TravisCI builds

The before_install command to force use of phpunit 5.7 on PHP 7.x failed
because the /home/travis/bin directory already existed.

Added '-p' flag to mkdir command to avoid error.
Affected Issues
0023338
mod - .travis.yml Diff File

master 8216e93d

2017-09-04 02:42

dregad


Details Diff
Fix REST API auth with show_realname = ON

When accessing the webservice via browser as an authenticated user, and
$g_show_realname = ON, the request fails with HTTP 403 error.

This is due to using incorrect user_get_name() function to retrieve the
user's login name.

Calling user_get_field(<id>, 'username') instead.

Fixes 0023225
Affected Issues
0023225
mod - api/rest/restcore/AuthMiddleware.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 175 176 177 178 179 180 181 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last