Changesets: MantisBT

master 00838418

2026-08-03 22:34

vboctor


Details Diff
Generate REST API content from OpenAPI

Fixes 0037336, 0037339, 0037340
Affected Issues
0037336, 0037339, 0037340
mod - .github/workflows/documentation.yml Diff File
mod - .gitignore Diff File
rm - api/rest/api.postman_collection.json Diff
mod - api/rest/mantisbt_openapi.yaml Diff File
rm - api/rest/swagger.json Diff
mod - build/buildrelease.py Diff File
mod - docbook/Admin_Guide/en-US/config/api.xml Diff File
mod - docbook/Developers_Guide/en-US/Api_Rest.xml Diff File
add - package-lock.json Diff File
add - package.json Diff File
add - redocly.yaml Diff File
add - tools/openapi/generate.mjs Diff File

openapi-generation 5f1e2d2c

2026-08-03 22:34

vboctor


Details Diff
Generate REST API content from OpenAPI
mod - .github/workflows/documentation.yml Diff File
mod - .gitignore Diff File
rm - api/rest/api.postman_collection.json Diff
mod - api/rest/mantisbt_openapi.yaml Diff File
rm - api/rest/swagger.json Diff
mod - build/buildrelease.py Diff File
mod - docbook/Admin_Guide/en-US/config/api.xml Diff File
mod - docbook/Developers_Guide/en-US/Api_Rest.xml Diff File
add - package-lock.json Diff File
add - package.json Diff File
add - redocly.yaml Diff File
add - tools/openapi/generate.mjs Diff File

master 93eb538d

2026-08-03 08:12

translatewiki.net


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

master 085645cb

2026-08-03 07:25

khushal

Committer: vboctor


Details Diff
Return WWW-Authenticate header on 401 and finish bearer support Affected Issues
0037333
mod - api/rest/api.postman_collection.json Diff File
mod - api/rest/mantisbt_openapi.yaml Diff File
mod - api/rest/restcore/AuthMiddleware.php Diff File
mod - core/api_token_api.php Diff File
mod - core/constant_inc.php Diff File
mod - docbook/Developers_Guide/en-US/Api_Rest.xml Diff File
mod - tests/Mantis/ApiTokenApiTest.php Diff File
mod - tests/rest/RestAuthHeaderTest.php Diff File

master fc61f19a

2026-07-30 08:07

translatewiki.net


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

master cf9fe3bf

2026-07-30 03:29

khushal

Committer: vboctor


Details Diff
Accept optional Bearer prefix on API token

The REST API only accepted the API token bare
('Authorization: <token>') and rejected the RFC 6750 bearer form
('Authorization: Bearer <token>'). Bearer is what most HTTP clients,
SDKs, API tools, and AI agents send by default, so users routinely got
an authentication failure with no indication of the cause.

api_token_parse_credentials() strips an optional 'Bearer ' prefix
before the token lookup. The scheme name is matched case-insensitively,
and SP or HTAB between the scheme and the token is tolerated per
RFC 7230. Credentials using any other scheme (e.g. 'Basic ...') are
returned unchanged and continue to fail token validation as before.

The bare form remains fully supported, so the change is additive. An
invalid token is handled identically with or without the prefix, so no
separate code path or failure mode is introduced.

Also documents both accepted forms in the OpenAPI and Swagger
definitions.

Fixes 0037333
Affected Issues
0037333
mod - api/rest/mantisbt_openapi.yaml Diff File
mod - api/rest/restcore/AuthMiddleware.php Diff File
mod - api/rest/swagger.json Diff File
mod - core/api_token_api.php Diff File
add - tests/Mantis/ApiTokenApiTest.php Diff File
add - tests/rest/RestAuthHeaderTest.php Diff File

master c3a9e12e

2026-07-27 08:10

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_luxembourgish.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - plugins/MantisGraph/lang/strings_czech.txt Diff File

master 815ad3be

2026-07-23 12:33

dregad


Details Diff
Doc: use constant for config in sample plugin

See mantisbt-plugins/Example@761b0444ea432eb85d6110b8d5a2961e4492e1e8
Affected Issues
0037324
mod - docbook/Developers_Guide/en-US/Plugins_Building.xml Diff File

master 6239a202

2026-07-23 08:08

translatewiki.net


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

master 1cdf327c

2026-07-22 17:42

dregad


Details Diff
Fix static analysis warnings
mod - adm_config_page.php Diff File
mod - bug_actiongroup_add_note_inc.php Diff File
mod - bug_actiongroup_page.php Diff File
mod - bug_change_status_page.php Diff File
mod - bug_report_page.php Diff File
mod - core/commands/UserTokenCreateCommand.php Diff File
mod - core/project_api.php Diff File
mod - core/summary_api.php Diff File
mod - core/user_pref_api.php Diff File
mod - roadmap_page.php Diff File

master 5a797a0a

2026-07-22 17:20

dregad


Details Diff
Convert trigger_error(E_USER_ERROR) to throw Exception (doc)

Adapt code samples in documentation.

Fixes 0036812
Affected Issues
0036812
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File
mod - docbook/Developers_Guide/en-US/Plugins_Building.xml Diff File

master 4cfa980d

2026-07-21 18:33

syzop

Committer: community


Details Diff
Fix unable to submit issue when a released version is selected

Previous fix 0037065 in 2.28.4 [1] added a version check but this
has a regression: it causes us to refuse a bug report if any
product version is selected by a reporter.

Fixes 0037320, PR https://github.com/mantisbt/mantisbt/pull/2251

[1]: commit 0ac87c39fb4746a2f8c276730fa689baf47ba8ba
Affected Issues
0037065, 0037320
mod - core/commands/IssueAddCommand.php Diff File

master 0e9e169c

2026-07-20 13:50

dregad


Details Diff
Remove duplicated code in graph_api.php

create_developer_resolved_summary() and create_developer_open_summary()
MantisGraph plugin functions are nearly identical, differing only by
a condition in the SQL query where clause.

This commit combines them into a single one, leveraging DbQuery to
dynamically build the SQL based on the summary type (open/resolved).

Fixes 0037319
Affected Issues
0037319
mod - plugins/MantisGraph/core/graph_api.php Diff File
mod - plugins/MantisGraph/pages/developer_graph.php Diff File

master f67049d8

2026-07-20 13:45

dregad


Details Diff
Remove unused graph_date_format() function
mod - plugins/MantisGraph/core/graph_api.php Diff File

master d815ff65

2026-07-20 12:43

dregad


Details Diff
Simplify is_blank() function

An if statement to return true/false makes no sense, just return the
boolean result.
mod - core/utility_api.php Diff File

master 9d7b90f3

2026-07-20 12:41

dregad


Details Diff
Return actual GD version from get_gd_version()

Until now, the function was just returning the major version as an int
(or 0 if GD is not available). This is a legacy from early PHP 4 days,
when gd_info() did not exist (it was introduced in PHP 4.3.0).

The function signature was changed to return an actual version string if
GD is available, or false if not.

Fixes 0037318
Affected Issues
0037318
mod - core/utility_api.php Diff File
mod - signup.php Diff File
mod - signup_page.php Diff File

master f50d5e04

2026-07-20 09:50

dependabot[bot]

Committer: community


Details Diff
Bump guzzlehttp/guzzle from 7.14.2 to 7.15.1

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Fixes 0037286, PR https://github.com/mantisbt/mantisbt/pull/2250
Affected Issues
0037286
mod - composer.lock Diff File

master 990df9a6

2026-07-20 08:14

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_slovak.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_luxembourgish.txt Diff File

dependabot/composer/guzzlehttp/guzzle-7.15.1 be3f7410

2026-07-19 21:42

dependabot[bot]

Committer: community


Details Diff
Bump guzzlehttp/guzzle from 7.14.2 to 7.15.1

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

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

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

master 148cc34a

2026-07-19 14:43

atrol

Committer: dregad


Details Diff
Use string_attribute to display category

Issue 0034465
Affected Issues
0034465
mod - plugins/MantisGraph/pages/issues_trend_bycategory_table.php Diff File

master 4a9c8779

2026-07-19 11:40

dregad


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

Original code from Issue 0023367 was throwing PHP Warning.

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

master 5dbd46b9

2026-07-19 05:30

dregad


Details Diff
Fix static analysis warnings

Foreach variable $t_locations used both as iterable and value.
mod - core/print_api.php Diff File

master 969ce2f4

2026-07-19 05:14

dregad


Details Diff
Use str_contains(), str_ends_with()

New functions available since PHP 8.0, replacing strpos() / substr().
mod - core/plugin_api.php Diff File

master 65d2ba53

2026-07-19 04:48

dregad


Details Diff
Use string interpolation to build log messages

Makes the code easier to read.
mod - core/ldap_api.php Diff File

master bddb83ee

2026-07-19 04:45

dregad


Details Diff
Fix typo in function name
mod - core/ldap_api.php Diff File
 First  Prev  1 2 3 ... 6 7 8 9 10 11 12 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last