Changesets: MantisBT

master a7408c5a

2026-09-24 08:01

translatewiki.net


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

master c5ffc1ac

2026-09-21 08:01

translatewiki.net


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

dependabot/composer/ezyang/htmlpurifier-4.19.1 a03e52d7

2026-09-20 21:42

dependabot[bot]

Committer: community


Details Diff
Bump ezyang/htmlpurifier from 4.19.0 to 4.19.1

Bumps [ezyang/htmlpurifier](https://github.com/ezyang/htmlpurifier) from 4.19.0 to 4.19.1.
- [Release notes](https://github.com/ezyang/htmlpurifier/releases)
- [Changelog](https://github.com/ezyang/htmlpurifier/blob/master/NEWS)
- [Commits](https://github.com/ezyang/htmlpurifier/compare/v4.19.0...v4.19.1)

---
updated-dependencies:
- dependency-name: ezyang/htmlpurifier
dependency-version: 4.19.1
dependency-type: direct:production
update-type: version-update:semver-patch
...

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

master 116ab19e

2026-09-14 08:02

translatewiki.net


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

master 08c461b5

2026-09-13 15:22

vboctor

Committer: dregad


Details Diff
Test version cache invalidation

Fixes 0037387
Affected Issues
0037387
add - tests/Mantis/VersionApiTest.php Diff File

master 6e3c4710

2026-09-13 15:22

vboctor

Committer: dregad


Details Diff
Fix version cache invalidation

Fixes 0037387
Affected Issues
0037387
mod - core/commands/VersionAddCommand.php Diff File
mod - core/commands/VersionUpdateCommand.php Diff File
mod - core/version_api.php Diff File

master 8db4b5f6

2026-09-13 15:22

vboctor

Committer: dregad


Details Diff
Test tag cache invalidation

Fixes 0037387
Affected Issues
0037387
add - tests/Mantis/TagApiTest.php Diff File

master 79e7bdfd

2026-09-13 15:22

vboctor

Committer: dregad


Details Diff
Fix tag cache invalidation

Fixes 0037387
Affected Issues
0037387
mod - core/tag_api.php Diff File

master 41a9ee62

2026-09-13 15:21

vboctor

Committer: dregad


Details Diff
Test project cache invalidation

Fixes 0037387
Affected Issues
0037387
add - tests/Mantis/ProjectApiTest.php Diff File

master 8dcf091b

2026-09-13 15:21

vboctor

Committer: dregad


Details Diff
Fix project cache invalidation

Fixes 0037387
Affected Issues
0037387
mod - core/commands/ProjectUpdateCommand.php Diff File
mod - core/project_api.php Diff File

master ed765f03

2026-09-13 15:21

vboctor

Committer: dregad


Details Diff
Test filter cache invalidation

Fixes 0037387
Affected Issues
0037387
mod - tests/Mantis/FilterApiTest.php Diff File

master 91888acd

2026-09-13 15:21

vboctor

Committer: dregad


Details Diff
Fix filter cache invalidation

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

dependabot/npm_and_yarn/tools/bruno/js-yaml-4.3.2 1deb710a

2026-09-13 00:56

dependabot[bot]

Committer: community


Details Diff
Bump js-yaml from 4.3.1 to 4.3.2 in /tools/bruno

Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.2/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.1...4.3.2)

---
updated-dependencies:
- dependency-name: js-yaml
dependency-version: 4.3.2
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
mod - tools/bruno/package-lock.json Diff File

master 600705b0

2026-09-10 08:50

dregad


Details Diff
test_langs.php: add link to TranslateWiki.net API

The TranslateWiki.net API could be used to dynamically retrieve the list
of plugins translated there, instead of using a hardcoded list.

This is not really worth the effort to implement today as the list is
quite static, but a reference in the PHPDoc block may be useful if we
decide to do it in the future.

Issue 0036832
Affected Issues
0036832
mod - admin/test_langs.php Diff File

master 34ee5422

2026-09-10 07:43

dregad


Details Diff
Fix Undefined variable $t_locations warning

Regression introduced by 5dbd46b9e322f7140e7c7b56db19f88c1784faae.
mod - core/print_api.php Diff File

master 604a1cd4

2026-09-09 19:18

dregad


Details Diff
Deprecate rest api auth without bearer scheme

Follow-up on 085645cb357716ffe644a2736dc9567ae5a64e9b.

PR https://github.com/mantisbt/mantisbt/pull/2276
mod - api/rest/mantisbt_openapi.yaml Diff File
mod - api/rest/restcore/AuthMiddleware.php Diff File
mod - core/constant_inc.php Diff File
mod - docbook/Developers_Guide/en-US/Api_Rest.xml Diff File
mod - tests/rest/RestAuthHeaderTest.php Diff File

master 5a77ea96

2026-09-09 19:08

SL-Gundam

Committer: community


Details Diff
Fix plugin_lang_get_defaulted() return value

When no default value is supplied, function was returning the fully
qualified plugin string name (i.e. `plugin_<basename>_<name>`) instead
of the expected short language string name ($p_name).

Fixes 0037379, PR https://github.com/mantisbt/mantisbt/pull/2278
Affected Issues
0037379
mod - core/plugin_api.php Diff File

master 63fc9c21

2026-09-07 08:09

translatewiki.net


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

master 669d92b7

2026-09-07 07:45

dregad


Details Diff
Remove duplicate `use` statement

Fixes 0037372, 0036812
Affected Issues
0036812, 0037372
mod - return_dynamic_filters.php Diff File

master a0a21b22

2026-09-05 12:24

dregad


Details Diff
string_attribute() not required here

prepare_user_name() already escapes strings as required

Issue 0034465
Affected Issues
0034465
mod - manage_proj_user_update.php Diff File

master b444fefc

2026-09-05 10:28

dregad


Details Diff
IssuefileDeleteCommand: accept empty issue id

Requiring it makes no sense from SOAP API (mc_issue_attachment_delete()
function) or the Web UI (bug_file_delete.php) contexts, because the
issue id is unknown to the caller, forcing them to retrieve it using
file_get_field().

Problem, file_get_field() returns false when the given id does not
exist, so error handling would be required but that is currently not
implemented, and the command's validate() returns a misleading error
message: "'issue_id' missing".

Refactor validate() method to retrieve issue_id from the file record
when it is not provided or blank, and return a meaningful error message
if not found. If issue_id is given (i.e. from REST API), behavior is u
nchanged.

Adapt mc_issue_attachment_delete() and bug_file_delete.php: remove
unnecessary file_get_field() call and do not pass issue_id to Command.

Fixes 0037370
Affected Issues
0037370
mod - api/soap/mc_issue_attachment_api.php Diff File
mod - bug_file_delete.php Diff File
mod - core/commands/IssueFileDeleteCommand.php Diff File

master 373a46b6

2026-09-05 10:26

dregad


Details Diff
PHPDoc & static analysis warnings
mod - api/soap/mc_issue_attachment_api.php Diff File
mod - core/file_api.php Diff File

master f72443f3

2026-09-05 09:51

dregad


Details Diff
Fix PHP deprecation warning in helper_parse_id()

PHPDoc states that $p_id should be a string, but in fact it can also be
null (and possibly other types as well).

Changing the PHPDoc type to mixed, and refactor the code to ensure we
don't get DEPRECATED: trim(): Passing null to parameter 0000001 ($string) of
type string is deprecated.

Fixes 0037369
Affected Issues
0037369
mod - core/helper_api.php Diff File

master b92b04d7

2026-09-05 09:42

dregad


Details Diff
Fix PHP warning in access_denied() from CLI

When running from CLI, PHP throws SYSTEM WARNING: http_response_code():
Cannot set response code - headers already sent.

It makes no sense to output HTML, send a response code and redirect in
a CLI context anyway, so this commit adds a bypass that just aborts the
script with exit code 1.

Fixes 0037368
Affected Issues
0037368
mod - core/access_api.php Diff File

master 9670defb

2026-09-03 19:17

dregad


Details Diff
Send HTTP Deprecation header if bearer scheme missing

If the REST API authentication is provided without the bearer scheme, an
RFC 9745 Deprecation header is sent, together with a link to the
Developer's Guide REST API Authentication chapter.

Adapt PHPUnit testBareTokenIsAccepted() to check for presence of
Deprecation header.

Fixes 0035286
Affected Issues
0035286
mod - api/rest/restcore/AuthMiddleware.php Diff File
mod - core/constant_inc.php Diff File
mod - tests/rest/RestAuthHeaderTest.php Diff File
 First  Prev  1 2 3 4 5 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last