Changesets: MantisBT

master 28acc0fe

2026-11-21 09:53

123

Committer: community


Details Diff
Send 304 from plugin_file.php without a gzip body

plugin_file_include() answers a matching If-Modified-Since with 304 Not
Modified and no output, but compress_handler_is_enabled() has already
turned on zlib.output_compression, and PHP's zlib output handler emits
a gzip stream even for an empty buffer. The response therefore carries
Content-Encoding: gzip and a 20-byte body, which RFC 9110 forbids for
304. Apache and nginx silently drop the body, but strict servers such
as Caddy abort the response ("response status code does not allow
body"), so every plugin asset fails with ERR_HTTP2_PROTOCOL_ERROR once
the browser starts revalidating its cache.

compress_disable() only cleared $g_compression_started, which has no
effect on the zlib.output_compression path. Make it switch that off as
well while the headers are still unsent, and call it before sending
the 304. Turning zlib.output_compression off at runtime keeps output
buffered so far and flushes it uncompressed, so the existing caller in
error_api.php is not affected.

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

master 6c51098a

2026-11-21 09:52

c_schmitz

Committer: community


Details Diff
Use issue's project for update_readonly_bug_threshold

bug_is_readonly() read bug_readonly_status_threshold for the issue's
project, but update_readonly_bug_threshold for the user's currently
selected project. When the threshold is overridden per project, a user
with "All Projects" (or another project) selected was told the issue is
read-only (APPLICATION ERROR #1103) when adding a note, although the
note form was shown, since view.php overrides the current project.

Read both thresholds for the issue's project.

Fixes 0037460, PR https://github.com/mantisbt/mantisbt/pull/2297
Affected Issues
0037460
mod - core/bug_api.php Diff File

master 73e6315c

2026-11-21 09:50

c_schmitz

Committer: community


Details Diff
Fix resolution field missing when closing a reopened issue

The reopen resolution (REOPENED) is above the fixed threshold, so
bug_change_status_page.php considered reopened issues as fixed. As a
result, the Resolution field was hidden when closing them, and
"reopened" was preselected when resolving them.

Exclude $g_bug_reopen_resolution from the fixed check, consistent with
bug_update.php.

Fixes 0037459, PR https://github.com/mantisbt/mantisbt/pull/2302
Affected Issues
0037459
mod - bug_change_status_page.php Diff File

master b3f4dc11

2026-11-21 09:48

c_schmitz

Committer: community


Details Diff
Fix email inputs limited to 64 characters

The user.email and email.email columns were widened to 191 characters
in schema upgrade steps 208 and 211, but the email input fields still
had a hard-coded maxlength of 64.

Add a DB_FIELD_SIZE_EMAIL constant and use it for all email inputs.

Fixes 0037464, PR https://github.com/mantisbt/mantisbt/pull/2303
Affected Issues
0037464
mod - core/constant_inc.php Diff File
mod - core/print_api.php Diff File
mod - lost_pwd_page.php Diff File
mod - signup_page.php Diff File

master fea0c3dc

2026-11-21 09:37

dependabot[bot]

Committer: dregad


Details Diff
Bump slim/slim from 3.13.0 to 3.13.1

Bumps [slim/slim](https://github.com/slimphp/Slim) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/slimphp/Slim/releases)
- [Changelog](https://github.com/slimphp/Slim/blob/4.x/CHANGELOG.md)
- [Commits](https://github.com/slimphp/Slim/compare/3.13.0...3.13.1)

---
updated-dependencies:
- dependency-name: slim/slim
dependency-version: 3.13.1
dependency-type: direct:production
update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Fixes 0037288
Affected Issues
0037288
mod - composer.lock Diff File

dependabot/composer/slim/slim-3.13.1 b00aa427

2026-11-18 20:42

dependabot[bot]

Committer: community


Details Diff
Bump slim/slim from 3.13.0 to 3.13.1

Bumps [slim/slim](https://github.com/slimphp/Slim) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/slimphp/Slim/releases)
- [Changelog](https://github.com/slimphp/Slim/blob/4.x/CHANGELOG.md)
- [Commits](https://github.com/slimphp/Slim/compare/3.13.0...3.13.1)

---
updated-dependencies:
- dependency-name: slim/slim
dependency-version: 3.13.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 66f3b502

2026-11-15 19:47

dregad


Details Diff
bug_copy() now sets source bug's last_updated date

Fixes 0037506
Affected Issues
0037506
mod - core/bug_api.php Diff File

master afdfc64c

2026-11-15 19:09

dregad


Details Diff
Only copy visible bugnotes when cloning issue

- From bug_report.php (IssueAddCommand)
- via bug_actiongroup.php (bug_copy() function)

Instead of executing SQL statements:
- Call bugnote_get_all_visible_bugnotes() to retrieve the notes to copy
- Use new bugnote_copy() function to copy them (including attachments)

Fixes 0037027
Affected Issues
0037027
mod - core/bug_api.php Diff File
mod - core/commands/IssueAddCommand.php Diff File

master 1de22524

2026-11-15 19:08

dregad


Details Diff
New IssueAddCommand::$clone_info property

Initializing the array with defaults values for the expected entries
when retrieving the option in the validate() method avoids repeated
isset() calls in process().

Issue 0037027
Affected Issues
0037027
mod - core/commands/IssueAddCommand.php Diff File

master 95c7c231

2026-11-15 18:08

dregad


Details Diff
Add bugnote_copy() to clone a bugnote with attachments

Issue 0037027
Affected Issues
0037027
mod - core/bugnote_api.php Diff File

master 2bc5ee47

2026-11-15 18:05

dregad


Details Diff
Add file_copy() function

Copies a single bug or bugnote attachment.

Issue 0037027
Affected Issues
0037027
mod - core/file_api.php Diff File

master 3833f80d

2026-11-15 13:02

dregad


Details Diff
Add method BugnoteData::create()

Inserts a new bugnote into the database from the BugnoteData object.

Adapt bugnote_add() to use the new method.

Issue 0037027
Affected Issues
0037027
mod - core/bugnote_api.php Diff File

master b225705d

2026-11-15 12:59

dregad


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

master c51801bb

2026-11-15 11:54

dregad


Details Diff
Only copy issue-level attachments

This prevents creation of orphaned attachments linked to the new bug id
and the old bug's notes.

file_copy_attachments() is called in the context of copying an issue,
but it is not able to handle bugnote-level attachments as it does not
know about the new IDs of cloned notes.

Fixes 0037027
Affected Issues
0037027
mod - core/file_api.php Diff File

master 28751247

2026-11-15 11:24

dregad


Details Diff
file_copy_attachments() now populates bugnote_id

Failure to do so could result in attachments linked to private bugnotes
to be copied as issue-level (public) attachments, even when the copy
operation is performed by an unprivileged user that does not have access
to private notes and could therefore not see the files attached to them.

Fixes 0037027
Affected Issues
0037027
mod - core/file_api.php Diff File

dependabot/composer/phpmailer/phpmailer-7.2.0 cb8112b2

2026-11-10 20:42

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 7.1.1 to 7.2.0

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 7.1.1 to 7.2.0.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v7.1.1...v7.2.0)

---
updated-dependencies:
- dependency-name: phpmailer/phpmailer
dependency-version: 7.2.0
dependency-type: direct:production
update-type: version-update:semver-minor
...

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

master 40297548

2026-11-09 07:01

translatewiki.net


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

master 94a7edb9

2026-11-05 07:01

translatewiki.net


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

master 5e3ef34d

2026-11-02 07:01

translatewiki.net


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

master 2f80baa3

2026-11-01 05:56

dependabot[bot]

Committer: community


Details Diff
Bump @redocly/cli from 2.57.0 to 2.72.0

Bumps [@redocly/cli](https://github.com/Redocly/redocly-cli) from 2.57.0 to 2.72.0.
- [Release notes](https://github.com/Redocly/redocly-cli/releases)
- [Commits](https://github.com/Redocly/redocly-cli/compare/@redocly/cli@2.57.0...@redocly/cli@2.72.0)

---
updated-dependencies:
- dependency-name: "@redocly/cli"
dependency-version: 2.72.0
dependency-type: direct:development
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>

https://github.com/mantisbt/mantisbt/pull/2309
mod - package-lock.json Diff File
mod - package.json Diff File

dependabot/npm_and_yarn/redocly/cli-2.72.0 7ad67912

2026-10-31 21:44

dependabot[bot]

Committer: community


Details Diff
Bump @redocly/cli from 2.57.0 to 2.72.0

Bumps [@redocly/cli](https://github.com/Redocly/redocly-cli) from 2.57.0 to 2.72.0.
- [Release notes](https://github.com/Redocly/redocly-cli/releases)
- [Commits](https://github.com/Redocly/redocly-cli/compare/@redocly/cli@2.57.0...@redocly/cli@2.72.0)

---
updated-dependencies:
- dependency-name: "@redocly/cli"
dependency-version: 2.72.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 6f316294

2026-10-31 13:55

dregad


Details Diff
,gitignore node_modules directories
mod - .gitignore Diff File

master 2a4da9f7

2026-10-31 13:55

dregad


Details Diff
Update npm dependencies

Run `npm audit fix`

- fast-uri from 3.1.8 to 3.1.9
(fixes https://github.com/mantisbt/mantisbt/pull/2306)
- fast-uri from 3.1.8 to 3.1.9 in /tools/bruno
(fixes https://github.com/mantisbt/mantisbt/pull/2305)
- undici from 7.30.0 to 7.30.1 in /tools/bruno
(fixes https://github.com/mantisbt/mantisbt/pull/2307)
- handlebars from 4.7.9 to 4.7.10 in /tools/bruno
(fixes https://github.com/mantisbt/mantisbt/pull/2300)
- follow-redirects from 1.16.0 to 1.16.1 in /tools/bruno
(fixes https://github.com/mantisbt/mantisbt/pull/2301)
- source-map-js from 1.2.1 to 1.2.2 in /tools/scalar
(https://github.com/mantisbt/mantisbt/pull/2299)
mod - package-lock.json Diff File
mod - tools/bruno/package-lock.json Diff File
mod - tools/scalar/package-lock.json Diff File

master d736817f

2026-10-31 13:34

dombn

Committer: dregad


Details Diff
Keep note view state on update if not specified

mc_issue_update() reset the view state of existing notes to
default_bugnote_view_status when the update did not include a view
state, e.g. via REST PATCH with only the note text. Only apply the
view state when it is specified, as already done for text and
time tracking.

Fixes 0037474

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0037474
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueUpdateTest.php Diff File

dependabot/npm_and_yarn/fast-uri-3.1.9 67b70883

2026-10-29 23:25

dependabot[bot]

Committer: community


Details Diff
Bump fast-uri from 3.1.8 to 3.1.9

Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: fast-uri
dependency-version: 3.1.9
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
mod - package-lock.json Diff File
 First  Prev  1 2 3 4 5 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 765 766 767  Next  Last