Changesets: MantisBT
|
master 9ece70d4 2026-09-03 19:11 Details Diff |
REST API auth without Bearer scheme is deprecated Update documentation to reflect that. Fixes 0035286, 0037333 |
Affected Issues 0035286, 0037333 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
| mod - docbook/Developers_Guide/en-US/Api_Rest.xml | Diff File | ||
|
master 3c8255d1 2026-09-03 18:55 Details Diff |
Passing E_USER_ERROR to trigger_error() is deprecated PHP 8.4 compatibility. Merge PR https://github.com/mantisbt/mantisbt/pull/2263 |
||
| mod - account_prefs_inc.php | Diff File | ||
| mod - account_prof_edit_page.php | Diff File | ||
| mod - account_prof_menu_page.php | Diff File | ||
| mod - account_prof_update.php | Diff File | ||
| mod - account_sponsor_page.php | Diff File | ||
| mod - account_sponsor_update.php | Diff File | ||
| mod - account_update.php | Diff File | ||
| mod - adm_config_page.php | Diff File | ||
| mod - adm_config_set.php | Diff File | ||
| mod - api/soap/mc_file_api.php | Diff File | ||
| mod - bug_actiongroup.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_monitor_delete.php | Diff File | ||
| mod - bug_reminder.php | Diff File | ||
| mod - bug_reminder_page.php | Diff File | ||
| mod - bug_report.php | Diff File | ||
| mod - bug_report_page.php | Diff File | ||
| mod - bug_revision_view_page.php | Diff File | ||
| mod - bug_set_sponsorship.php | Diff File | ||
| mod - bug_update.php | Diff File | ||
| mod - bug_update_page.php | Diff File | ||
| mod - bugnote_edit_page.php | Diff File | ||
| mod - bugnote_set_view_state.php | Diff File | ||
| mod - bugnote_update.php | Diff File | ||
| mod - changelog_page.php | Diff File | ||
| mod - core.php | Diff File | ||
| mod - core/api_token_api.php | Diff File | ||
| mod - core/authentication_api.php | Diff File | ||
| mod - core/billing_api.php | Diff File | ||
| mod - core/bug_api.php | Diff File | ||
| mod - core/bug_group_action_api.php | Diff File | ||
| mod - core/bug_revision_api.php | Diff File | ||
| mod - core/bugnote_api.php | Diff File | ||
| mod - core/category_api.php | Diff File | ||
| mod - core/classes/DbQuery.class.php | Diff File | ||
| mod - core/classes/IssueStatusChangeTimelineEvent.class.php | Diff File | ||
| mod - core/collapse_api.php | Diff File | ||
| mod - core/columns_api.php | Diff File | ||
| mod - core/commands/CategoryAddCommand.php | Diff File | ||
| mod - core/commands/CategoryUpdateCommand.php | Diff File | ||
| mod - core/commands/UserTokenCreateCommand.php | Diff File | ||
| mod - core/constant_inc.php | Diff File | ||
| mod - core/crypto_api.php | Diff File | ||
| mod - core/custom_field_api.php | Diff File | ||
| mod - core/database_api.php | Diff File | ||
| mod - core/email_api.php | Diff File | ||
| mod - core/email_queue_api.php | Diff File | ||
| mod - core/error_api.php | Diff File | ||
| mod - core/exceptions/ClientException.php | Diff File | ||
| add - core/exceptions/ErrorHandlerException.php | Diff File | ||
| mod - core/exceptions/LegacyApiFaultException.php | Diff File | ||
| add - core/exceptions/LocalizedErrorMessageTrait.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/file_api.php | Diff File | ||
| mod - core/filter_api.php | Diff File | ||
| mod - core/form_api.php | Diff File | ||
| mod - core/gpc_api.php | Diff File | ||
| mod - core/graphviz_api.php | Diff File | ||
| mod - core/helper_api.php | Diff File | ||
| mod - core/ldap_api.php | Diff File | ||
| mod - core/news_api.php | Diff File | ||
| mod - core/plugin_api.php | Diff File | ||
| mod - core/print_api.php | Diff File | ||
| mod - core/profile_api.php | Diff File | ||
| mod - core/project_api.php | Diff File | ||
| mod - core/project_hierarchy_api.php | Diff File | ||
| mod - core/relationship_api.php | Diff File | ||
| mod - core/session_api.php | Diff File | ||
| mod - core/sponsorship_api.php | Diff File | ||
| mod - core/string_api.php | Diff File | ||
| mod - core/summary_api.php | Diff File | ||
| mod - core/tag_api.php | Diff File | ||
| mod - core/tokens_api.php | Diff File | ||
| mod - core/user_api.php | Diff File | ||
| mod - core/user_pref_api.php | Diff File | ||
| mod - core/utility_api.php | Diff File | ||
| mod - docbook/Admin_Guide/en-US/Customizing.xml | Diff File | ||
| mod - docbook/Developers_Guide/en-US/Plugins_Building.xml | Diff File | ||
| mod - file_download.php | Diff File | ||
| mod - lang/strings_english.txt | Diff File | ||
| mod - lost_pwd.php | Diff File | ||
| mod - lost_pwd_page.php | Diff File | ||
| mod - manage_columns_copy.php | Diff File | ||
| mod - manage_filter_edit_page.php | Diff File | ||
| mod - manage_filter_edit_update.php | Diff File | ||
| mod - manage_plugin_update.php | Diff File | ||
| mod - manage_proj_cat_add.php | Diff File | ||
| mod - manage_proj_cat_copy.php | Diff File | ||
| mod - manage_proj_cat_update.php | Diff File | ||
| mod - manage_proj_custom_field_copy.php | Diff File | ||
| mod - manage_proj_user_copy.php | Diff File | ||
| mod - manage_proj_ver_add.php | Diff File | ||
| mod - manage_proj_ver_copy.php | Diff File | ||
| mod - manage_user_create.php | Diff File | ||
| mod - manage_user_edit_page.php | Diff File | ||
| mod - manage_user_prune.php | Diff File | ||
|
master 67e2863c 2026-09-03 18:50 Details Diff |
Bump fast-uri from 3.1.5 to 3.1.7 Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.5 to 3.1.7. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.5...v3.1.7) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> PRs: - https://github.com/mantisbt/mantisbt/pull/2273 - https://github.com/mantisbt/mantisbt/pull/2274 |
||
| mod - package-lock.json | Diff File | ||
| mod - tools/bruno/package-lock.json | Diff File | ||
|
master 8803f5d5 2026-09-03 18:41 Committer: community Details Diff |
Assert both anonymous login modes in REST auth header test Replaces the skip with assertions for both configurations: - no 401 when anonymous login is ON, - 401 with WWW-Authenticate when OFF. Fixes 0037333, PR https://github.com/mantisbt/mantisbt/pull/2271 |
Affected Issues 0037333 |
|
| mod - tests/rest/RestAuthHeaderTest.php | Diff File | ||
|
master 69dd8c60 2026-09-03 15:06 Committer: dregad Details Diff |
Fix PHP 8.5 deprecation warning in XML import The alternate syntax using a semicolon after case has been deprecated Fixes 0037366 |
Affected Issues 0037366 |
|
| mod - plugins/XmlImportExport/ImportXml/Issue.php | Diff File | ||
|
dependabot/npm_and_yarn/fast-uri-3.1.7 7efb46db 2026-09-02 18:53 dependabot[bot] Committer: community Details Diff |
Bump fast-uri from 3.1.5 to 3.1.7 Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.5 to 3.1.7. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.5...v3.1.7) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
| mod - package-lock.json | Diff File | ||
|
dependabot/npm_and_yarn/tools/bruno/fast-uri-3.1.7 99e0257c 2026-09-02 18:53 dependabot[bot] Committer: community Details Diff |
Bump fast-uri from 3.1.5 to 3.1.7 in /tools/bruno Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.5 to 3.1.7. - [Release notes](https://github.com/fastify/fast-uri/releases) - [Commits](https://github.com/fastify/fast-uri/compare/v3.1.5...v3.1.7) --- updated-dependencies: - dependency-name: fast-uri dependency-version: 3.1.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
| mod - tools/bruno/package-lock.json | Diff File | ||
|
master 49dfca09 2026-09-01 19:09 Details Diff |
phpunit.xml: add schema location (phpunit.xsd) Allows syntax checking and code completion in PHPStorm. |
||
| mod - phpunit.xml | Diff File | ||
|
master e108a253 2026-09-01 19:03 Details Diff |
Fix PHP warning in custom_field_cache_row() It can happen that $g_cache_custom_field does NOT contain an entry for a given custom field id, causing an Undefined array key warning. This is likely a regression introduced by issue 0036889 (commit 71404459cec835ff068f1812b52da9ebea223abb), which introduced an early return from the function; previously, the key was guaranteed to exist. Adding a null-coalescing operator fixes the problem. Issue 0032449 |
Affected Issues 0032449, 0036889 |
|
| mod - core/custom_field_api.php | Diff File | ||
|
master cd2b4629 2026-09-01 18:46 Details Diff |
Fix PHP warnings in testUpdateCustomFieldClearsCache custom_field_update() expects a custom field definition including at least name, type, default_value, access_level_r, access_level_rw, length_min and length_max. |
||
| mod - tests/rest/RestProjectCustomFieldTest.php | Diff File | ||
|
master cbb3c76d 2026-09-01 18:40 Committer: community Details Diff |
REST API: Link/Unlink/Re-order Project Custom Merge PR https://github.com/mantisbt/mantisbt/pull/2270 |
||
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
| mod - api/rest/restcore/projects_rest.php | Diff File | ||
| add - core/commands/ProjectFieldLinkCommand.php | Diff File | ||
| add - core/commands/ProjectFieldUnlinkCommand.php | Diff File | ||
| mod - core/custom_field_api.php | Diff File | ||
| mod - core/project_api.php | Diff File | ||
| mod - manage_custom_field_proj_add.php | Diff File | ||
| mod - manage_proj_custom_field_add_existing.php | Diff File | ||
| mod - manage_proj_custom_field_copy.php | Diff File | ||
| mod - manage_proj_custom_field_remove.php | Diff File | ||
| mod - manage_proj_custom_field_update.php | Diff File | ||
| add - tests/rest/RestProjectCustomFieldTest.php | Diff File | ||
|
master 94ba8d1d 2026-09-01 11:32 Details Diff |
Fix failing testCannotDeleteDefaultCategory CategoryDeleteCommand now throws a ClientException so we no longer need to use a temporary error handler to catch an ErrorException. Issue 0032470 |
Affected Issues 0032470 |
|
| mod - tests/Mantis/CategoryDeleteCommandTest.php | Diff File | ||
|
master 91ade239 2026-08-31 21:47 dependabot[bot] Committer: dregad Details Diff |
Bump @redocly/cli from 2.46.1 to 2.49.0 Bumps [@redocly/cli](https://github.com/Redocly/redocly-cli) from 2.46.1 to 2.49.0. - [Release notes](https://github.com/Redocly/redocly-cli/releases) - [Commits](https://github.com/Redocly/redocly-cli/compare/@redocly/cli@2.46.1...@redocly/cli@2.49.0) --- updated-dependencies: - dependency-name: "@redocly/cli" dependency-version: 2.49.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
| mod - package-lock.json | Diff File | ||
| mod - package.json | Diff File | ||
|
master 6a8b3192 2026-08-30 13:31 Details Diff |
PHPUnit: fail on all issues The CI builds are not marked as failed when those "secondary" issues occurs. It would be preferable if they did, so that problems are detected early, and fixed as part of the PR process. Recent examples: - Deprecated warnings introduced by Issue 0037333 - Skipped tests introduced by Issues 0032470, 0037333 |
Affected Issues 0032470, 0037333 |
|
| mod - phpunit.xml | Diff File | ||
|
master a70e2a77 2026-08-30 13:31 Details Diff |
PHPUnit: display details for all issues The defaults settings in PHPUnit 10 only shows details about Failed tests, but no info about Skipped, Errored, Deprecated, etc. This makes it more difficult to investigate issues. |
||
| mod - phpunit.xml | Diff File | ||
|
master 1e5b8662 2026-08-30 11:36 Details Diff |
Invalidate custom field link caches Fixes 0032449 |
Affected Issues 0032449 |
|
| mod - core/custom_field_api.php | Diff File | ||
| mod - tests/rest/RestProjectCustomFieldTest.php | Diff File | ||
|
master b215b0eb 2026-08-30 11:10 Details Diff |
Remove unused custom field copy API Fixes 0032449 |
Affected Issues 0032449 |
|
| mod - core/project_api.php | Diff File | ||
|
master 8b6b15ef 2026-08-30 06:23 Details Diff |
Added response reason phrase as assertion message Facilitates troubleshooting in case user creation fails. |
||
| mod - tests/rest/RestUserTest.php | Diff File | ||
|
master 70a18e52 2026-08-30 06:15 Details Diff |
Fix testDeleteCategoryReassignsIssues PHPUnit was throwing an error, due to attempting to delete the category created for the test twice (once as part of the test itself, and again during tearDown). 1) Mantis\tests\soap\CategoryTest::testDeleteCategoryReassignsIssues SoapFault: Error Type: APPLICATION ERROR 0001503, Error Description: Category "soaptest_source_20260830_121111" not found for project "PHPUnit". Solved by not adding the category to categoryNamesToDelete. Issue 0032470 |
Affected Issues 0032470 |
|
| mod - tests/soap/CategoryTest.php | Diff File | ||
|
master 3c07e41e 2026-08-30 05:59 Details Diff |
PHPUnit: fix skipped Category tests Incorrect check for a global default category caused some tests to be skipped in: - testDeleteCategoryReassignsIssues - testProjectCategoryCannotDeleteDefault Check was adjusted to also work when the default category is global. Issue 0032470 |
Affected Issues 0032470 |
|
| mod - tests/rest/RestProjectCategoryTest.php | Diff File | ||
| mod - tests/soap/CategoryTest.php | Diff File | ||
|
master 11b27326 2026-08-30 05:21 Details Diff |
PHPUnit: data providers should be static Deprecation warning introduced by Issue 0037333. |
Affected Issues 0037333 |
|
| mod - tests/Mantis/ApiTokenApiTest.php | Diff File | ||
| mod - tests/rest/RestAuthHeaderTest.php | Diff File | ||
|
master 4d39412c 2026-08-30 00:26 Details Diff |
Use command for custom field sequencing Fixes 0032449 |
Affected Issues 0032449 |
|
| mod - manage_proj_custom_field_update.php | Diff File | ||
|
master 0c50e723 2026-08-30 00:26 Details Diff |
Use command for custom field unlinking Fixes 0032449 |
Affected Issues 0032449 |
|
| mod - manage_proj_custom_field_remove.php | Diff File | ||
|
master fcfbf831 2026-08-30 00:26 Details Diff |
Use command when copying custom fields Fixes 0032449 |
Affected Issues 0032449 |
|
| mod - manage_proj_custom_field_copy.php | Diff File | ||
|
master a95389a0 2026-08-30 00:26 Details Diff |
Use command for project custom field links Fixes 0032449 |
Affected Issues 0032449 |
|
| mod - manage_proj_custom_field_add_existing.php | Diff File | ||