Changesets: MantisBT

master-2.25 df94e264

2023-01-10 03:31

dregad


Details Diff
Use $p_project_id in config_get() calls
mod - core/prepare_api.php Diff File

master-2.25 be4708ce

2023-01-09 20:00

dregad


Details Diff
Add missing date for unreleased versions

Commit 8fbf719447ec72500b648ee440298811f8050bd7 stopped display of
unreleased versions' date_order when the user has
$g_show_version_dates_threshold.

This partially reverts to and improves previous behavior, so the date is
always shown unless it is not set.

Fixes 0031889
Affected Issues
0031889
mod - core/prepare_api.php Diff File

master-2.25 dace8f0f

2023-01-09 19:50

dregad


Details Diff
PHPDoc
mod - core/prepare_api.php Diff File
mod - core/version_api.php Diff File

master a91b8952

2023-01-09 07:16

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_slovene.txt Diff File

master a3211026

2023-01-07 20:57

grummbeer

Committer: community


Details Diff
Markdown: simplify table processing

Overriding Parsedown's element() method which gives access to all
marked elements makes it easy to change the properties/attributes of
an element just before it is converted into HTML markup.

This addresses steps 2 and 3 (cleanup tables and tests) of issue 0030919.

Merge PR https://github.com/mantisbt/mantisbt/pull/1848

Co-authored-by: grummbeer <kde@streber24.de>
Co-authored-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0030919
mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php Diff File
mod - plugins/MantisCoreFormatting/tests/MarkdownTest.php Diff File

master 44114057

2023-01-07 19:29

dregad


Details Diff
Fix static analysis warnings
mod - tests/soap/FilterTest.php Diff File

master bdd74f2c

2023-01-07 19:16

dregad


Details Diff
Whitespace
mod - tests/soap/FilterTest.php Diff File

master 44960924

2023-01-07 19:15

dregad


Details Diff
Fix FilterTest::testGetIssuesForUserForUnassignedNoTargetUser

The test case incorrectly failed when executed against a database
containing one or more unassigned sticky issues.

This is because filter_get_bug_rows() returns data sorted with sticky
issues first, and the test case made a bad assumption that the issue
created for the test case will be at index 0.
mod - tests/soap/FilterTest.php Diff File

master 7764e8a3

2023-01-07 11:44

dregad


Details Diff
Minor performance optimization

Since we know the user ID, pass it to access_has_bug_level() to avoid
an extra auth_get_current_user_id() call.
mod - bug_actiongroup_page.php Diff File

master-2.25 840a4e80

2023-01-06 20:16

dregad


Details Diff
Prevent disclosure of private issue summary

Insufficient access level checks allowed an attacker to display private
issues' summary via Group Actions (bug_actiongroup_ext.php).

Going through the provided list of issue IDs (bug_arr[]) and removing
any issues the user does not have access to, fixes the vulnerability.

Credits to d3vpoo1 (https://github.com/jrckmcsb) for reporting the issue.

Fixes 0031086, CVE-2023-22476
Affected Issues
0031086
mod - bug_actiongroup_ext.php Diff File

master 5af5ad7d

2023-01-05 09:20

dregad


Details Diff
Fix static analysis warnings
mod - bug_report_page.php Diff File
mod - core/exceptions/ClientException.php Diff File
mod - core/exceptions/MantisException.php Diff File

master deab6792

2023-01-05 07:11

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_slovene.txt Diff File
add - plugins/Gravatar/lang/strings_slovene.txt Diff File
add - plugins/MantisGraph/lang/strings_slovene.txt Diff File
add - plugins/XmlImportExport/lang/strings_slovene.txt Diff File

master-2.25 0ead54f1

2023-01-04 13:06

dregad


Details Diff
Improve documentation for $g_due_date_default
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/duedate.xml Diff File

master-2.25 f2239a9a

2023-01-04 13:03

dregad


Details Diff
Use date_strtotime() instead of strtotime()

Replace native strtotime() calls by revised date_strtotime() where
relevant, i.e. when date string could be user-provided.

This prevents occurrence of the error described in issue #31866.

It also allows users to submit dates in $g_normal_date_format in the
following situations:

- REST API: Create a project version (timestamp), Add Issue (due_date)
- SOAP API: Add/Update Issue (due_date) and Project Version Update
(date_order)
- Bug Update, Bug API (due_date)
NOTE: change to bug_update.php is not strictly not necessary as the
script is normally only called internally, not directly by users.

TODO: the REST API's documentation should be updated
mod - api/soap/mc_issue_api.php Diff File
mod - api/soap/mc_project_api.php Diff File
mod - bug_update.php Diff File
mod - core/bug_api.php Diff File
mod - core/commands/IssueAddCommand.php Diff File
mod - core/commands/VersionAddCommand.php Diff File

master-2.25 91df620c

2023-01-04 12:47

dregad


Details Diff
PHPDoc
mod - core/version_api.php Diff File

master-2.25 9b81b5ee

2023-01-04 12:46

dregad


Details Diff
Initialize VersionData date_order with date_strtotime()
mod - core/version_api.php Diff File

master-2.25 17d9999c

2023-01-04 12:40

dregad


Details Diff
Improve date_strtotime()

Following the logic introduced in dbafafa9d98c9cd1dfe3642b5dcbb0a5ef925f6e,
the function now relies on DateTimeImmutable instead of strtotime() to
convert the string to a Unix timestamp.

It starts the conversion attempt by using $g_normal_date_format, and if
that fails falls back to PHP Supported Date and Time Formats.
mod - core/date_api.php Diff File

master 72daaa92

2023-01-03 05:42

dregad


Details Diff
Revert changes to api/rest/index.php

This is a partial revert of bfd28436d9951df7588d07d0c8b587b56c20a504.

The updated index.php belongs to a work-in-progress upgrade of Slim
Framework from v3 t v4, and should not have been committed.
mod - api/rest/index.php Diff File

master 4d6cc6ef

2023-01-02 12:32

dregad


Details Diff
Composer update

- Upgrading guzzlehttp/promises (1.4.0 => 1.5.2)
mod - composer.lock Diff File

master f1391f38

2023-01-02 12:21

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.6.4 to 6.7.1

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.4 to 6.7.1.
- [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.6.4...v6.7.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Fixes 0029025, PR https://github.com/mantisbt/mantisbt/pull/1858
Affected Issues
0029025
mod - composer.lock Diff File

master 488fff8e

2023-01-02 07:27

ChrisG

Committer: community


Details Diff
Add canonical meta tag to view issue page

It is possible for issue URLs to have additional parameters in some
situations. Search engines such as Google will index better if they
know which are the set of canonical URLs. It reduces load through
over-indexing, allows the search engine to prioritise the indexing of
URLs that are correct, and avoids extraneous or non-ideal URLs getting
into the index.

Fixes 0031833, PR https://github.com/mantisbt/mantisbt/pull/1862
Affected Issues
0031833
mod - bug_view_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File

master 2084a7ea

2023-01-02 07:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_slovene.txt Diff File
mod - lang/strings_spanish.txt Diff File

master d9b1b79f

2022-12-29 07:10

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_slovene.txt Diff File

master 96e10e3a

2022-12-26 07:08

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_slovene.txt Diff File
add - plugins/MantisCoreFormatting/lang/strings_slovene.txt Diff File

master 03c345d5

2022-12-22 07:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_french.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_slovene.txt Diff File
 First  Prev  1 2 3 ... 80 ... 82 83 84 85 86 87 88 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last