Changesets: MantisBT

master 80bd98d1

2025-01-31 19:31

dregad


Details Diff
Fix TypeError when running REST API unit tests

Return value must be of type Mantis\tests\rest\stdClass, stdClass returned

Regression introduced by namespacing tests

Fixes 0035259
mod - tests/rest/RestProjectTest.php Diff File

master d5a30a0c

2025-01-31 19:28

dregad


Details Diff
Catch Slim 3.x deprecated warnings on PHP 8.4

Override error_reporting to ignore E_DEPRECATED when initializing Slim
framework to squelch initial deprecation warnings, ignore a few
additional classes in the custom error handler, then restore
error_reporting to its original state before executing the request.

Fixes 0035284
Affected Issues
0035284
mod - api/rest/index.php Diff File

master 94f9bf0b

2025-01-31 12:23

dregad


Details Diff
PHP 8.4: deprecated SOAP_FUNCTIONS_ALL constant

Ref: https://www.php.net/manual/en/migration84.deprecated.php

Pass a list of public SOAP API functions instead.

Fixes 0035283
Affected Issues
0035283
mod - api/soap/mantisconnect.php Diff File

master 5b4f46b2

2025-01-31 10:47

dregad


Details Diff
Add namespaces to PHPUnit test suite

Fixes 0035259, 0035258
Merge PR https://github.com/mantisbt/mantisbt/pull/2082
Affected Issues
0035258, 0035259
mod - composer.json Diff File
mod - composer.lock Diff File
mod - tests/Mantis/ConfigParserTest.php Diff File
mod - tests/Mantis/Helper/ArrayTransposeTest.php Diff File
mod - tests/Mantis/Helper/GetLinkAttributesTest.php Diff File
mod - tests/Mantis/MantisCoreBase.php Diff File
mod - tests/Mantis/MantisEnumTest.php Diff File
mod - tests/Mantis/MentionParsingTest.php Diff File
mod - tests/Mantis/PluginTest.php Diff File
mod - tests/Mantis/PrepareTest.php Diff File
mod - tests/Mantis/StringTest.php Diff File
mod - tests/Mantis/UserApiTest.php Diff File
mod - tests/TestConfig.php Diff File
mod - tests/core/Faker.php Diff File
add - tests/core/MantisTestCase.php Diff File
mod - tests/core/RequestBuilder.php Diff File
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestFiltersTest.php Diff File
mod - tests/rest/RestImpersonateUserTest.php Diff File
mod - tests/rest/RestIssueRelationshipsTest.php Diff File
mod - tests/rest/RestIssueTest.php Diff File
mod - tests/rest/RestIssueUpdateVersion.php Diff File
mod - tests/rest/RestProjectTest.php Diff File
mod - tests/rest/RestProjectVersionTest.php Diff File
mod - tests/rest/RestUserTest.php Diff File
mod - tests/soap/AttachmentTest.php Diff File
mod - tests/soap/CategoryTest.php Diff File
mod - tests/soap/CompressionTest.php Diff File
mod - tests/soap/EnumTest.php Diff File
mod - tests/soap/FilterTest.php Diff File
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/IssueHistoryTest.php Diff File
mod - tests/soap/IssueMonitorTest.php Diff File
mod - tests/soap/IssueNoteTest.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File
mod - tests/soap/LoginTest.php Diff File
mod - tests/soap/MentionTest.php Diff File
mod - tests/soap/ProjectTest.php Diff File
mod - tests/soap/RelationshipTest.php Diff File
mod - tests/soap/SoapBase.php Diff File
mod - tests/soap/TagTest.php Diff File
mod - tests/soap/UserTest.php Diff File
mod - tests/soap/VersionTest.php Diff File

master-2.27 5a12a854

2025-01-31 10:22

raspopov

Committer: community


Details Diff
Fix unnecessary scroll bar when scaling a page

Fixes 0035180, PR https://github.com/mantisbt/mantisbt/pull/2085
Affected Issues
0035180
mod - css/ace-mantis.css Diff File
mod - css/default.css Diff File

master 037a81f1

2025-01-31 03:53

translatewiki.net


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

master-2.27 518f3b9d

2025-01-30 13:15

dregad


Details Diff
Install: relax severity of failed $g_path test

In some cases (e.g. redirections, authenticated pages), url_get() fails
to retrieve the MantisBT home page. This blocks the installer, because
the check is marked as "hard fail".

This commit relaxes the check to a simple warning, making it the Admin's
responsibility fix the system if it ends up to be non-functional due
to an invalid $g_path.

Fixes 0034783
Affected Issues
0034783
mod - admin/install.php Diff File

master 2c253beb

2025-01-30 07:07

translatewiki.net


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

master ffa1b836

2025-01-29 10:37

dregad


Details Diff
Merge branch 'master-2.27'
rm - plugins/Gravatar/lang/strings_en-gb.txt Diff

master-2.27 a19ddef6

2025-01-29 10:33

dregad


Details Diff
Delete invalid en-gb language file

British-English is disabled on TranslateWiki.net for MantisBT, this file
should not even be here.

Fixes 0035262
Affected Issues
0035262
rm - plugins/Gravatar/lang/strings_en-gb.txt Diff

master 0580c203

2025-01-27 07:07

translatewiki.net


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

dependabot/composer/adodb/adodb-php-5.22.8 f7965e2b

2025-01-26 20:02

dependabot[bot]

Committer: community


Details Diff
Bump adodb/adodb-php from 5.22.7 to 5.22.8

Bumps [adodb/adodb-php](https://github.com/ADOdb/ADOdb) from 5.22.7 to 5.22.8.
- [Release notes](https://github.com/ADOdb/ADOdb/releases)
- [Changelog](https://github.com/ADOdb/ADOdb/blob/master/docs/changelog.md)
- [Commits](https://github.com/ADOdb/ADOdb/compare/v5.22.7...v5.22.8)

---
updated-dependencies:
- dependency-name: adodb/adodb-php
dependency-type: direct:production
update-type: version-update:semver-patch
...

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

master 2228d321

2025-01-26 18:09

vboctor


Details Diff
Add test cases for project name trimming

Fixes 0035260
Affected Issues
0035260
mod - tests/rest/RestProjectTest.php Diff File

master 3d169f6d

2025-01-26 18:08

vboctor


Details Diff
Add trimming in project creation / update

Fixes 0035260
Affected Issues
0035260
mod - core/project_api.php Diff File

master 36f0cca6

2025-01-26 06:15

dregad


Details Diff
Parsedown 1.8+ compatibility

Merge PR https://github.com/mantisbt/mantisbt/pull/2068
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php Diff File

master c939e557

2025-01-26 04:54

dregad


Details Diff
PHP 8.4: Implicitly nullable parameter declaration

Adjust function declarations to fix deprecation notices, and adapt some
PHPDoc blocks accordingly.

Fixes 0035215
Affected Issues
0035215
mod - api/soap/mc_issue_api.php Diff File
mod - core/access_api.php Diff File
mod - core/bug_group_action_api.php Diff File
mod - core/category_api.php Diff File
mod - core/classes/BugFilterQuery.class.php Diff File
mod - core/classes/DbQuery.class.php Diff File
mod - core/custom_field_api.php Diff File
mod - core/custom_function_api.php Diff File
mod - core/database_api.php Diff File
mod - core/email_api.php Diff File
mod - core/exceptions/ClientException.php Diff File
mod - core/exceptions/LegacyApiFaultException.php Diff File
mod - core/exceptions/MantisException.php Diff File
mod - core/exceptions/ServiceException.php Diff File
mod - core/exceptions/StateException.php Diff File
mod - core/filter_api.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/gpc_api.php Diff File
mod - core/html_api.php Diff File
mod - core/print_api.php Diff File
mod - core/summary_api.php Diff File
mod - core/version_api.php Diff File
mod - plugins/MantisGraph/core/graph_api.php Diff File
mod - plugins/MantisGraph/pages/issues_trend_graph.php Diff File
mod - summary_page.php Diff File

master 7e4aa989

2025-01-25 20:22

dregad


Details Diff
Fix static analysis warnings
mod - core/gpc_api.php Diff File

master d7f4c89b

2025-01-25 12:39

dregad


Details Diff
Composer update
mod - composer.lock Diff File

master 616d9bd0

2025-01-25 12:33

dregad


Details Diff
New MantisTestCase::getTestName() method

Used instead of PHPUnit TestCase::toString().

Avoids error on RestFiltersTest::testGetIssuesMatchingFilter():
Database query failed: Data too long for column 'name' at row 1

Fixes 0035258
Affected Issues
0035258
mod - tests/core/MantisTestCase.php Diff File
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestFiltersTest.php Diff File
mod - tests/soap/ProjectTest.php Diff File
mod - tests/soap/SoapBase.php Diff File

master 736f9e5d

2025-01-25 10:23

dregad


Details Diff
Composer: allow PHPUnit 10 and 11

Note that to actually install those newer PHPUnit versions, the PHP
version defined in config.platform needs to be removed or updated.
mod - composer.json Diff File

master-2.27 c6726c7b

2025-01-25 06:15

dregad


Details Diff
Bump adodb/adodb-php from 5.22.7 to 5.22.8

Fixes 0035257, 0035248
Affected Issues
0035248, 0035257
mod - composer.lock Diff File

master b0f467b3

2025-01-23 11:34

raspopov

Committer: dregad


Details Diff
Fix email parsing with Parsedown 1.8+

MantisMarkdown class overloads the Parsedown unmarkedText() method, to
extend syntax to mark up an email without angle brackets.

Parsedown 1.8 [1] removed the use of the unmarkedText() method, although
the method itself remains and is not used anywhere else. This has been
reported upstream [2].

This commit implements an alternative approach to parsing emails, which
makes us independent from this particular Parsedown issue.

Fixes #25227

[1]: https://github.com/erusev/parsedown/commit/eb55e426b9da828237603633bb251ecd573bb879
[2]: https://github.com/erusev/parsedown/issues/898
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php Diff File

master 924fb05d

2025-01-23 07:46

dregad


Details Diff
Merge branch 'master-2.27'
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestFiltersTest.php Diff File
mod - tests/soap/ProjectTest.php Diff File
mod - tests/soap/SoapBase.php Diff File

master-2.27 60cb1d4e

2025-01-23 07:41

raspopov

Committer: community


Details Diff
Fix PHPUnit 10/11 compatibility of the name() method (0002074)

- Replace custom getTestCaseReference() method with PHPUnit's toString()
- Use toString() instead of the deprecated getName() method.

Fixes 0035223
Affected Issues
0035223
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestFiltersTest.php Diff File
mod - tests/soap/ProjectTest.php Diff File
mod - tests/soap/SoapBase.php Diff File

master 7626b727

2025-01-23 07:29

dregad


Details Diff
Revert "Do not display project name when category is not set"

This reverts commit 74fb0ee692c2b18946cff6bd29c54c5ba39bc6b4.
Affected Issues
0035235
mod - core/columns_api.php Diff File
 First  Prev  1 2 3 ... 8 9 10 11 12 13 14 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last