Changesets: MantisBT

master-2.26 6c2c21ab

2024-04-04 13:08

dregad


Details Diff
Fix handling of hex-encoded character references

This is necessary when Markdown processing is switched off.

Fixes 0034393

Backported from master branch (cherry picked from commit
100427709e55e5d4da11e1dbb8d6816418b64646)
Affected Issues
0034393
mod - core/string_api.php Diff File

master 10042770

2024-04-04 13:08

dregad


Details Diff
Fix handling of hex-encoded character references

This is necessary when Markdown processing is switched off.

Fixes 0034393
Affected Issues
0034393
mod - core/string_api.php Diff File

master b0fac795

2024-04-04 08:11

translatewiki.net


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

master b5b9ff22

2024-04-02 18:14

dregad


Details Diff
Merge branch 'grummbeer/tests-organize-helper-tests'

PR https://github.com/mantisbt/mantisbt/pull/1985
add - tests/Mantis/Helper/ArrayTransposeTest.php Diff File
rm - tests/Mantis/HelperTest.php Diff

master 62ead2c4

2024-04-02 17:48

dregad


Details Diff
Move ArrayTransposeTest to tests/Mantis/Helper

Issue 0034379
Affected Issues
0034379
mv - tests/Mantis/ArrayTransposeTest.php → tests/Mantis/Helper/ArrayTransposeTest.php Diff File

master c4011982

2024-04-02 17:45

dregad


Details Diff
Rename HelperTest to ArrayTransposeTest

Issue 0034379
Affected Issues
0034379
mv - tests/Mantis/HelperTest.php → tests/Mantis/ArrayTransposeTest.php Diff File

master 62483e67

2024-04-01 08:10

translatewiki.net


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

master be443604

2024-04-01 04:45

grummbeer

Committer: dregad


Details Diff
Improve ArrayTransposeTest

- Update array syntax from array() to []
- Add type hints and add declare(strict_types=1);
- Use the Generator syntax to yield the samples instead of creating an
array first.
- Change assertEquals to assertSame to be more strict.

Fixes 0034379, PR https://github.com/mantisbt/mantisbt/pull/1985

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Separated Move and Rename operations into distinct commits for better
continuity in Git history.
Affected Issues
0034379
mod - tests/Mantis/Helper/ArrayTransposeTest.php Diff File

master 3aec6e68

2024-03-31 23:15

grummbeer

Committer: dregad


Details Diff
Clean up markdown processing

- Process input via Markdownparser and return the result, no further
text processing.
- During parsing, catch all <code> blocks and replace them with a hash
value.
- After the markup is returned from Parsedown, apply mentions and links
- Restore the untouched <code> Blocks back in place.

Fixes 0034040, PR https://github.com/mantisbt/mantisbt/pull/1976
Also fixes 0022315, 0022320, 0024241, 0024628, 0024810, 0022231, 0023738

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0022231, 0022315, 0022320, 0023738, 0024241, 0024628, 0024810, 0034040, 0034393
mod - plugins/MantisCoreFormatting/MantisCoreFormatting.php Diff File
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php Diff File

master aa93edbf

2024-03-31 09:45

grummbeer

Committer: community


Details Diff
Add test for helper_api::helper_get_link_attributes

Issue 0034379, PR https://github.com/mantisbt/mantisbt/pull/1983

Co-authored-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0034379
add - tests/Mantis/Helper/GetLinkAttributesTest.php Diff File

master 4e60470b

2024-03-31 06:56

grummbeer

Committer: community


Details Diff
ConfigParserTest: swap assertEquals arguments

Fix wrong order of arguments for assertEquals(): expected value comes
first, actual value second.

Issue 0034379

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0034379
mod - tests/Mantis/ConfigParserTest.php Diff File

master 7d2408e4

2024-03-28 13:29

dregad


Details Diff
Merge branch 'master-2.26'
mod - core/filter_form_api.php Diff File
mod - core/helper_api.php Diff File

master 0992e1cb

2024-03-28 08:09

translatewiki.net


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

master 8b23f272

2024-03-27 09:47

grummbeer

Committer: dregad


Details Diff
Add tests for MantisCoreFormatting plugin

Fixes 0022231, PR https://github.com/mantisbt/mantisbt/pull/1976
Affected Issues
0022231
mod - phpunit.xml Diff File
mod - plugins/MantisCoreFormatting/tests/MarkdownTest.php Diff File

master c7225a9e

2024-03-27 08:19

dregad


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

master-2.26 bcf62d6e

2024-03-27 08:10

dregad


Details Diff
Don't call string_display() on already-escaped data

This causes display of `<br />` tags on Advanced Filter form when
multiple values for Assigned To and Monitored by when `br` is not
allowed in $g_valid_html_tags.

Fixes 0034018
Affected Issues
0034018
mod - core/filter_form_api.php Diff File

master 4b15603b

2024-03-25 08:09

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_dutch.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
mod - lang/strings_russian.txt Diff File
mod - lang/strings_spanish.txt Diff File

master-2.26 8365ddf9

2024-03-24 11:32

dregad


Details Diff
Use correct language string for bugnote view state

Lanuage string `view_state` does not exist. This was causing application
error 300 ERROR_LANG_STRING_NOT_FOUND to be triggered if one of the
invalid states were reached.

Replacing invalid string by `bugnote_view_state`.

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

master-2.26 9e7617de

2024-03-24 11:29

dregad


Details Diff
Fix invalid view_state handling when adding bugnote

Remove array type on $p_view_state parameter which was causing a PHP
TypeError when REST API client was providing an unexpected value.

Throw a ClientException if $p_view_state is not an array.

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

master 2fa53ca7

2024-03-24 05:04

dependabot[bot]

Committer: community


Details Diff
Bump phpunit/phpunit from 9.6.17 to 9.6.18

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.17 to 9.6.18.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.17...9.6.18)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...

Fixes 0033098

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Affected Issues
0033098
mod - composer.lock Diff File

dependabot/composer/phpunit/phpunit-9.6.18 02266f1d

2024-03-21 21:13

dependabot[bot]

Committer: community


Details Diff
Bump phpunit/phpunit from 9.6.17 to 9.6.18

Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.17 to 9.6.18.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.18/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.17...9.6.18)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
...

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

master a0fa3914

2024-03-19 16:26

atrol


Details Diff
Add OS information to Manage > Site Information page

Fixes 0034139
Affected Issues
0034139
mod - lang/strings_english.txt Diff File
mod - manage_overview_page.php Diff File

master 8a42b2a9

2024-03-19 08:40

dregad


Details Diff
Merge branch 'master-2.26'
mod - core/bug_api.php Diff File

master 6ddc26bd

2024-03-16 20:28

dregad


Details Diff
PHPUnit: class not matching filename is deprecated

Fixes 0033098
Affected Issues
0033098
mod - plugins/MantisCoreFormatting/tests/MarkdownTest.php Diff File

master-2.26 1cd25800

2024-03-15 20:12

dregad


Details Diff
Ignore unknown properties in BugData::__set()

Avoids PHP 8.2 "Creation of dynamic property" deprecation warnings
in Roadmap and Changelog pages.

Fixes 0034106
Affected Issues
0034106
mod - core/bug_api.php Diff File
 First  Prev  1 2 3 4 5 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 704 705 706  Next  Last