Changesets: MantisBT

master cca6447c

2026-01-27 10:52

raspopov

Committer: dregad


Details Diff
Add argument number and order validation

The code is consolidated in two new functions:
checkInvalidArgs() and checkUntranslated().

Optimized checkInvalidTags() function, enabled the target="_blank"
attribute of the <a> tag found in some plugins.

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

master f407739b

2026-01-26 07:08

translatewiki.net


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

master 9f725b01

2026-01-24 16:15

dregad


Details Diff
Add "Account Locked" icon to View User Page

Same behavior as manage_user_edit_page.php.

Fixes 0036840
Affected Issues
0036840
mod - view_user_page.php Diff File

master 518baeb7

2026-01-24 09:44

raspopov

Committer: dregad


Details Diff
Add detection of translations driven by TranslateWiki

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

master 59c7b943

2026-01-23 10:08

raspopov

Committer: dregad


Details Diff
Simplify regexp

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

master c13d3825

2026-01-23 09:33

raspopov

Committer: dregad


Details Diff
Make checks optional

Added a line with links for selecting options, just like in the
"Check Installation" section.

Also optimized retrieval of language code from global variable
$g_language_auto_map in a PHP-way.

Added page title.

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

master af94c24e

2026-01-22 07:10

translatewiki.net


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

master 81dd07f9

2026-01-21 11:41

raspopov

Committer: dregad


Details Diff
Add translations strict validation

- Added the argument format check
- Added the argument count and type check
- Added missed translation check
- Added direct links to translations

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

master 4745c1ac

2026-01-19 12:46

dregad


Details Diff
Remove uncessary ERROR_GENERIC error

db_query() will throw an exception if query execution fails.

Fixes 0036812
Affected Issues
0036812
mod - manage_user_prune.php Diff File
mod - proj_doc_update.php Diff File

master 8a1e7e32

2026-01-19 07:08

translatewiki.net


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

master 0d7943d2

2026-01-18 10:51

dregad


Details Diff
New db_error_as_array() function

Used to to provide database error parameters to the constructor when
throwing an Exception.

Replaces db_error(), which is now deprecated.

Issue 0036812
Affected Issues
0036812
mod - core/database_api.php Diff File

master 753ba897

2026-01-18 10:07

dregad


Details Diff
Use "field" instead of "column" in error message
mod - lang/strings_english.txt Diff File

master fc35a389

2026-01-18 07:57

dregad


Details Diff
Do not display generic error details if none provided

Issue 0036812
Affected Issues
0036812
mod - core/error_api.php Diff File

master 64c0c7d8

2026-01-18 07:37

dregad


Details Diff
Use existing api_token_name_ensure_unique() function
mod - core/commands/UserTokenCreateCommand.php Diff File

master 6898e396

2026-01-15 07:08

translatewiki.net


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

master 4d213ec0

2026-01-12 19:18

dregad


Details Diff
Adapt plugin_errors() to E_USER_ERROR

Switch from ERROR to E_USER_ERROR.

Implement a mechanism to provide backwards compatibility for plugins
calling trigger_error(), capturing the error type and throwing an
exception with a new ERROR_PLUGIN_RUNTIME error code, necessary because
Exception code must be integer and plugin errors are identified by a
string.

Fixes 0036812
Affected Issues
0036812
mod - core/constant_inc.php Diff File
mod - core/plugin_api.php Diff File
mod - lang/strings_english.txt Diff File

master 7d425ae4

2026-01-12 19:17

dregad


Details Diff
Build error message and location in error_output()

It is not necessary to build the error message in error_handler() since
all the necessary information including localized message, filename and
line number is partof the ErrorHandlerException.

This simplifies error_handler(), which just needs to build the
Exception as appropriate and call error_output().

We also don't need the setCode() and setMessage() methods in
ErrorHandlerException anymore.

Issue 0036812
Affected Issues
0036812
mod - core/error_api.php Diff File
mod - core/exceptions/ErrorHandlerException.php Diff File

master 28960185

2026-01-12 17:42

dregad


Details Diff
Adapt Autoloader to handle Traits

Issue 0036812
Affected Issues
0036812
mod - core.php Diff File

master 799c833d

2026-01-12 17:40

dregad


Details Diff
Move error message localization to Trait

Avoids code duplication, as this behavior is needed both in our native
Exceptions (derived from MantisException), and the ErrorHandlerException
(derived from PHP's ErrorException).

Fixes 0036812
Affected Issues
0036812
mod - core/exceptions/ErrorHandlerException.php Diff File
add - core/exceptions/LocalizedErrorMessageTrait.php Diff File
mod - core/exceptions/MantisException.php Diff File

master c8dd0fe5

2026-01-12 04:39

dregad


Details Diff
Merge branch 'master-2.28'
mod - composer.lock Diff File

master-2.28 03aa484e

2026-01-11 20:42

dependabot[bot]

Committer: dregad


Details Diff
Bump phpmailer/phpmailer from 7.0.1 to 7.0.2

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 7.0.1 to 7.0.2.
- [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.0.1...v7.0.2)

---
updated-dependencies:
- dependency-name: phpmailer/phpmailer
dependency-version: 7.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...

Fixes 0036823, PR https://github.com/mantisbt/mantisbt/pull/2169

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

dependabot/composer/phpmailer/phpmailer-7.0.2 9c77f7d3

2026-01-11 20:42

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 7.0.1 to 7.0.2

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 7.0.1 to 7.0.2.
- [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.0.1...v7.0.2)

---
updated-dependencies:
- dependency-name: phpmailer/phpmailer
dependency-version: 7.0.2
dependency-type: direct:production
update-type: version-update:semver-patch
...

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

master 5527c3bd

2026-01-11 11:55

dregad


Details Diff
Deprecate ERROR constant

Common uses in `trigger_error(..., ERROR)` calls must be replaced by a
throw Exception.

For other cases, use PHP standard constant E_USER_ERROR.

Fixes 0036812
Affected Issues
0036812
mod - core/constant_inc.php Diff File

master f9f62bb0

2026-01-11 11:45

dregad


Details Diff
Use MantisException::getLocalizedMessage() in error_output()

Fixes 0036812
Affected Issues
0036812
mod - core/error_api.php Diff File

master c90d1ca9

2026-01-11 11:32

dregad


Details Diff
Generate localized error message in MantisException

Fixes 0036812
Affected Issues
0036812
mod - core/exceptions/MantisException.php Diff File
 First  Prev  1 2 3 ... 21 22 23 24 25 26 27 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last