Changesets: MantisBT

master 7fea7f5a

2025-04-21 08:08

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_chinese_simplified.txt Diff File

master-2.27 01f3d24e

2025-04-20 12:20

dregad


Details Diff
Fix regression in mci_get_category_id()

REST API was not allowing to unset the Category when updating an Issue
with $g_allow_no_category = ON with a payload `{"category": {"id": 0}}`.

Regression in mci_get_category_id() function, introduced by commit
656f93eebaf033f4b5bf34f17487db6346f12d8a (Issue 0034683).

Fixes 0035668

Backported from master branch (cherry picked commits f97ee460815ff14b31462d1da0a48405d0acb363 and
1ccc4205e50c23d47009073d85423d29c4cae449).
Affected Issues
0034683, 0035668
mod - api/soap/mc_api.php Diff File

master 1ccc4205

2025-04-20 12:20

dregad


Details Diff
Fix incorrect behavior in mci_get_category_id()

Now properly throws a ClientException when the given Category Id is
not an integer.

Fixes 0035668
Affected Issues
0035668
mod - api/soap/mc_api.php Diff File

master e66c63e5

2025-04-20 12:16

dregad


Details Diff
Add tests for REST API update issue Category

Issue 0035668
Affected Issues
0035668
add - tests/rest/RestIssueUpdateCategory.php Diff File

master 5038cebf

2025-04-20 11:52

dregad


Details Diff
Move general helper methods to MantisTestCase

These sometimes need to be used outside of Mantis Core API tests.

- MantisCoreBase::setConfig()
- MantisCoreBase::restoreConfig()
mod - tests/Mantis/MantisCoreBase.php Diff File
mod - tests/core/MantisTestCase.php Diff File

master-2.27 efa5c907

2025-04-19 11:33

dregad


Details Diff
Replace deprecated PHPUnit methods

- assertObjectHasAttribute
- assertObjectNotHasAttribute

Fixes 0035854
Affected Issues
0035854
mod - tests/rest/RestIssueUpdateVersion.php Diff File

master-2.27 06acf946

2025-04-19 11:31

dregad


Details Diff
Composer update
mod - composer.lock Diff File

master-2.27 4e985a91

2025-04-19 11:30

dregad


Details Diff
Require PHPUnit 9.6.11 or later

This is due to the deprecation of assertObjectHasAttribute() and related
methods. This was initially done without a replacement, but sbergmann
later introduced assertObjectHasProperty() and others in 9.6.11.

Issue 0035854
Affected Issues
0035854
mod - composer.json Diff File

master fa65037f

2025-04-19 09:50

dregad


Details Diff
Fix RestFiltersTest with disabled anonymous access

Private method createTestFilter() requires a logged-in user as it relies
on MantisBT Core API functions since we do not have a REST API endpoint
to create filters.

Fixes 0035853
Affected Issues
0035853
mod - tests/rest/RestFiltersTest.php Diff File

master-2.27 f828ccf9

2025-04-19 09:50

dregad


Details Diff
Fix RestFiltersTest with disabled anonymous access

Private method createTestFilter() requires a logged-in user as it relies
on MantisBT Core API functions since we do not have a REST API endpoint
to create filters.

Fixes 0035853

Backported from fa65037fe276d3d8798960c483abf9acf39409fb.
Affected Issues
0035853
mod - tests/rest/RestFiltersTest.php Diff File

master 798ccf1d

2025-04-19 09:45

dregad


Details Diff
Fix PHP warning on REST API GET /filters

Unhandled deprecation warning in .../core/string_api.php line 237:
'rawurlencode(): Passing null to parameter 1 ($string) of type string is
deprecated.

Add type cast, both in string_url() function and in offending caller
filter_encode_field_and_value(), in preparation for a future change of
parameter type to enforce string.

Fixes 0035852
Affected Issues
0035852
mod - core/filter_api.php Diff File
mod - core/string_api.php Diff File

master-2.27 71f285fc

2025-04-19 09:45

dregad


Details Diff
Fix PHP warning on REST API GET /filters

Unhandled deprecation warning in .../core/filter_api.php line 417:
'urlencode(): Passing null to parameter 0000001 ($string) of type string is
deprecated'

Add type cast, both in string_url() function and in offending caller
filter_encode_field_and_value(), in preparation for a future change of
parameter type to enforce string.

Fixes 0035852

Backported from 798ccf1d007a9d1712940c60a7dac01c049d38a6.
Affected Issues
0035852
mod - core/filter_api.php Diff File
mod - core/string_api.php Diff File

master 98e5b917

2025-04-19 09:11

dregad


Details Diff
Fix Static analysis warnings
mod - api/rest/restcore/filters_rest.php Diff File

master 7bfdc69d

2025-04-19 08:36

dregad


Details Diff
Move RestIssueUpdateVersion::getJson() to RestBase
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestIssueUpdateVersion.php Diff File

master 98891a41

2025-04-19 08:35

dregad


Details Diff
Fix Static analysis warnings
mod - tests/rest/RestIssueUpdateVersion.php Diff File

master e0679c84

2025-04-14 08:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_galician.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_luxembourgish.txt Diff File

master 9db6e1a4

2025-04-10 12:32

dependabot[bot]

Committer: community


Details Diff
Bump guzzlehttp/guzzle from 7.9.2 to 7.9.3

Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.2 to 7.9.3.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.9.2...7.9.3)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:production
update-type: version-update:semver-patch
...

Fixes 0035756, PR https://github.com/mantisbt/mantisbt/pull/2134

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Affected Issues
0035756
mod - composer.lock Diff File

master 604381de

2025-04-03 08:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_chinese_traditional.txt Diff File

master 6662dfd1

2025-03-31 08:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_french.txt Diff File

master a73c3999

2025-03-30 13:24

atrol


Details Diff
Remove duplicate lines
mod - build/ci_post_install.sh Diff File
mod - docbook/Developers_Guide/en-US/Contributors.xml Diff File

master f97ee460

2025-03-28 20:54

dregad


Details Diff
Fix regression in mci_get_category_id()

REST API was not allowing to unset the Category when updating an Issue
with $g_allow_no_category = ON with a payload `{"category": {"id": 0}}`.

Regression in mci_get_category_id() function, introduced by commit
656f93eebaf033f4b5bf34f17487db6346f12d8a (Issue 0034683).

Fixes 0035668
Affected Issues
0034683, 0035668
mod - api/soap/mc_api.php Diff File

dependabot/composer/guzzlehttp/guzzle-7.9.3 6652bb95

2025-03-27 21:11

dependabot[bot]

Committer: community


Details Diff
Bump guzzlehttp/guzzle from 7.9.2 to 7.9.3

Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.2 to 7.9.3.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.9.2...7.9.3)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
dependency-type: direct:production
update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
mod - composer.lock Diff File

master 7300e091

2025-03-27 08:08

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_zazaki.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_zazaki.txt Diff File

master df0acde2

2025-03-24 08:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_qqq.txt Diff File
mod - lang/strings_russian.txt Diff File

master c7f7c84f

2025-03-21 20:30

raspopov

Committer: community


Details Diff
Fix layout_sidebar_menu() check of protocol scheme

Fixes 0035626, PR https://github.com/mantisbt/mantisbt/pull/2125
Affected Issues
0035626
mod - core/layout_api.php Diff File
 First  Prev  1 2 3 4 5 6 7 8 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 730 731 732  Next  Last