Changesets: MantisBT
|
master 6e05a56c 2024-10-13 18:47 Details Diff |
Fix loading chart.js from CDN - Since 3.0, chart.js distributed files are in lower case: `Chart.min.js` -> `chart.min.js`. - Changed colorschemes plugin URL to https://www.jsdelivr.com/package/npm/hw-chartjs-plugin-colorschemes |
||
| mod - plugins/MantisGraph/MantisGraph.php | Diff File | ||
|
master 21115a53 2024-10-12 13:47 Details Diff |
Improve tooltip for Issue Trend chart The tooltip now shows all 3 values when hovering over any line instead of just the one from the nearest dataset. Fixes 0034848 |
Affected Issues 0034848 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
master fa96f439 2024-10-12 13:45 Details Diff |
Fix and improve fill color for Issue Trends chart With chart.js 3.x, datasets' fill attribute is false by default. This restores the fill color, with the following change: - "Resolved" dataset is filled from the x axis - "Opened" dataset (= the total) is filled from the Resolved dataset (to avoid overlap) - Remove fill color for the "Still open" dataset since it's the delta from the other 2 sets it makes more sense to only display the line. Fixes 0034847 |
Affected Issues 0034847 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
master 3fb491c5 2024-10-12 12:59 Details Diff |
Fix custom colors for status pie chart For some reason, the colorscheme plugin's colors are overriding the custom colors we applied on the datasets (to reflect the standard status colors from MantisBT config). As a workaround we now define our status colors as a custom color scheme instead. Fixes 0034847 |
Affected Issues 0034847 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
master ab8fbc4a 2024-10-12 05:34 Details Diff |
Adjusting pie chart aspect ratio This avoids the canvas to be resized vertically to a size bigger than the bar char displayed next to it. https://www.chartjs.org/docs/3.9.1/configuration/responsive.html Fixes 0034847 |
Affected Issues 0034847 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
master 322cbcbf 2024-10-12 05:31 Details Diff |
Chart.js v3 compatibility fixes Following 3.x Migration Guide [1]: - global namespace was removed from defaults - xAxes and yAxes arrays were removed - horizontalBar chart type was removed Fixes 0034847 [1]: https://www.chartjs.org/docs/3.9.1/migration/v3-migration.html |
Affected Issues 0034847 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
master 3538b980 2024-10-12 04:43 Details Diff |
Update chart.js colorschemes plugin to 0.5.4 The plugin's official repository seems unmaintained for several years, and the latest 0.4.0 release is not compatible with Chart.js v3, so we are switching to a community-maintained fork [1]. Fixes 0034847 [1]: https://github.com/MaximBelov/chartjs-plugin-colorschemes/ |
Affected Issues 0034847 |
|
| mod - library/README.md | Diff File | ||
| mod - plugins/MantisGraph/MantisGraph.php | Diff File | ||
| rm - plugins/MantisGraph/files/chartjs-plugin-colorschemes-0.4.0.min.js | Diff | ||
| add - plugins/MantisGraph/files/chartjs-plugin-colorschemes-0.5.4.min.js | Diff File | ||
|
master 499e9ee3 2024-10-12 04:39 Details Diff |
Update chart.js to 3.9.1 Fixes 0034847 |
Affected Issues 0034847 |
|
| mod - library/README.md | Diff File | ||
| mod - plugins/MantisGraph/MantisGraph.php | Diff File | ||
| rm - plugins/MantisGraph/files/Chart-2.9.4.min.js | Diff | ||
| add - plugins/MantisGraph/files/chart-3.9.1.min.js | Diff File | ||
|
master deea5279 2024-10-12 03:03 Details Diff |
Merge branch 'master-2.27' | ||
| mod - composer.lock | Diff File | ||
| mod - core/email_api.php | Diff File | ||
| mod - core/html_api.php | Diff File | ||
|
master-2.27 4cc297cd 2024-10-12 03:02 Details Diff |
Bump phpmailer/phpmailer from 6.9.1 to 6.9.2 Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.9.1 to 6.9.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/v6.9.1...v6.9.2) --- updated-dependencies: - dependency-name: phpmailer/phpmailer dependency-type: direct:production update-type: version-update:semver-patch ... Fixes 0034845, PR https://github.com/mantisbt/mantisbt/pull/2035 Signed-off-by: dependabot[bot] <support@github.com> |
Affected Issues 0034845 |
|
| mod - composer.lock | Diff File | ||
|
master 3e114597 2024-10-11 13:12 Details Diff |
Fix static analysis warnings | ||
| mod - plugins/MantisGraph/pages/issues_trend_bycategory_table.php | Diff File | ||
| mod - plugins/MantisGraph/pages/issues_trend_bystatus_table.php | Diff File | ||
|
master 92d4e16c 2024-10-11 13:10 Details Diff |
Refactor the Period class to use DateTime objects The code now relies on DateTimeImmutable::modify() instead of custom logic based on strftime(), mktime() and getdate() to calculate the various period types' start and end timestamps. This fixes the deprecation warnings caused by calls to strftime() on PHP 8.1 or later. The methods returning formatted dates now use $g_normal_date_format config, instead of hardcoded, custom date formats. This fixes display of the selected date in the input fields when reloading the page after submitting the form. Code cleanup: fix static analysis warnings, improve PHPDoc. Fixes 0034829 |
Affected Issues 0034829 |
|
| mod - plugins/MantisGraph/core/Period.php | Diff File | ||
|
master 5604e91e 2024-10-11 12:50 Details Diff |
Hide calendar icons when date inputs are disabled Issue 0025681 |
Affected Issues 0025681 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
dependabot/composer/phpmailer/phpmailer-6.9.2 10552062 2024-10-09 21:58 dependabot[bot] Committer: community Details Diff |
Bump phpmailer/phpmailer from 6.9.1 to 6.9.2 Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.9.1 to 6.9.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/v6.9.1...v6.9.2) --- updated-dependencies: - dependency-name: phpmailer/phpmailer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
| mod - composer.lock | Diff File | ||
|
master-2.27 5ff8bb6a 2024-10-07 12:37 Details Diff |
Move fastcgi_finish_request() to email shutdown function This was originally added to html_end() to improve performance when using php-fpm and sending mail synchronously [1], back when the function was calling email_send_all(), i.e. before issue 0017460 moved that to email_shutdown_function(). This is now causing issues as the HTTP response code is not set when an error occurs and FastCGI is used. Fixes 0034828, 0034634 [1]: see commit cea405ccf228fd2c6ac694574a74e87396b14f1f |
Affected Issues 0017460, 0034634, 0034828 |
|
| mod - core/email_api.php | Diff File | ||
| mod - core/html_api.php | Diff File | ||
|
master f98ca4d3 2024-10-07 08:07 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - lang/strings_chinese_simplified.txt | Diff File | ||
| mod - lang/strings_interlingua.txt | Diff File | ||
| mod - lang/strings_korean.txt | Diff File | ||
| mod - plugins/MantisCoreFormatting/lang/strings_chinese_simplified.txt | Diff File | ||
| mod - plugins/MantisCoreFormatting/lang/strings_french.txt | Diff File | ||
| mod - plugins/MantisCoreFormatting/lang/strings_interlingua.txt | Diff File | ||
|
master 90fce152 2024-10-06 18:35 Details Diff |
OpenAPI: Update re-usable schema for requests Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 4562e2b9 2024-10-06 18:11 Details Diff |
OpenAPI: Make `project_id` parameter definition a re-usable component Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 7bf734c7 2024-10-06 18:03 Details Diff |
OpenAPI: re-order API definitions to have it as parameters, request, and then response Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 36822a04 2024-10-06 17:55 Details Diff |
OpenAPI: Add re-usable standard/basic responses and reference them Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 64f5041c 2024-10-06 17:18 Details Diff |
OpenAPI: Update version from `3.0.0` to `3.0.3` Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 914348d3 2024-10-06 17:09 Details Diff |
OpenAPI: Added `contact` meta-data Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 78b029d5 2024-10-06 17:08 Details Diff |
OpenAPI: Add custom instance endpoint to `servers` Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master 112da96d 2024-10-06 16:22 Details Diff |
OpenAPI: Make `user_id` parameter definition a re-usable component Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||
|
master e322f446 2024-10-06 16:09 Details Diff |
OpenAPI: Make `filter_id` parameter definition a re-usable component Fixes 0034823 |
Affected Issues 0034823 |
|
| mod - api/rest/mantisbt_openapi.yaml | Diff File | ||