Changesets: MantisBT

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

master a6c90df1

2024-03-14 08:09

translatewiki.net


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

master 325511d8

2024-03-13 14:15

dregad


Details Diff
Whitespace & PHPDoc
mod - plugins/MantisGraph/core/graph_api.php Diff File

master f109d15d

2024-03-13 14:13

dregad


Details Diff
Optimize create_cumulative_bydate() function

Until today, the function was executing simple SQL queries returning
atomic data, and PHP code had to loop over each row to compute the total
number of reported and resolved Issues.

This reports the effort to aggregate the data on the database server,
greatly simplifying the PHP code

It also fixes a bug where the last resolved issue was sometimes not
computed, resulting in an incorrect result set.

Fixes 0034041,0034042
Affected Issues
0034041, 0034042
mod - plugins/MantisGraph/core/graph_api.php Diff File

master 95d687d0

2024-03-13 08:10

grummbeer

Committer: community


Details Diff
Markdown processing code cleanup, step 4 - tests

Issue 0034040, PR https://github.com/mantisbt/mantisbt/pull/1929

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0034040
mod - plugins/MantisCoreFormatting/tests/MarkdownTest.php Diff File

master eb35083e

2024-03-11 08:08

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_finnish.txt Diff File
mod - lang/strings_korean.txt Diff File
add - plugins/Gravatar/lang/strings_finnish.txt Diff File
mod - plugins/MantisGraph/lang/strings_dutch.txt Diff File
mod - plugins/MantisGraph/lang/strings_korean.txt Diff File

master b0ce5070

2024-03-11 06:58

dregad


Details Diff
Merge branch 'master-2.26'
mod - plugins/MantisGraph/MantisGraph.php Diff File
mod - plugins/MantisGraph/files/MantisGraph.js Diff File

master 966e1320

2024-03-10 12:11

dregad


Details Diff
Merge branch 'master-2.26'
mod - admin/email_queue.php Diff File
mod - admin/index.php Diff File
mod - admin/system_utils.php Diff File
mod - core/html_api.php Diff File

master c8ba25be

2024-03-10 12:03

dregad


Details Diff
Set current working directory in core.php

This is a follow-up on fixes for issue 0033906.

Making sure we have a consistent working directory will help avoid such
issues in the future.
Affected Issues
0033906
mod - core.php Diff File
 First  Prev  1 2 3 ... 41 42 43 44 45 46 47 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last