Changesets: MantisBT
|
master-2.26 131a3d8f 2024-03-10 11:59 Details Diff |
Remove unnecessary require_once schema.php is included by print_admin_menu_bar() Issue 0033906 |
Affected Issues 0033906 |
|
| mod - admin/email_queue.php | Diff File | ||
| mod - admin/index.php | Diff File | ||
| mod - admin/system_utils.php | Diff File | ||
|
master-2.26 70905946 2024-03-10 11:58 Details Diff |
Use absolute path to schema.php in html API print_admin_menu_bar() needs to include schema.php, to determine whether we have an upgrade pending or not. This include_once call did not specify the path to the file, resulting in a failure to include it on IIS with FastCGI, as the current working directory was not set to that of the currently executing script, but to where the PHP executable was stored. This caused $g_upgrade to be null, leading to an error when calling count() on PHP 8. We now use require_once instead so we get a hard failure if schema.php could not be included, and we specify the full path to the file to avoid the problem on IIS/FastCGI. Fixes 0033906 |
Affected Issues 0033906 |
|
| mod - core/html_api.php | Diff File | ||
|
master 91b05338 2024-03-10 10:51 Details Diff |
Replace dirname( __FILE__ ) by __DIR__ (2. Commands) Some commands require MantisConnect API functions. Instead of repeating the same dirname() call for each mc_*.php include, we define the path to SOAP API directory in a variable. require_once statements defining functions not used in the Command have been removed. Fixes 0034468 |
Affected Issues 0034468 |
|
| mod - core/commands/ConfigsSetCommand.php | Diff File | ||
| mod - core/commands/IssueAddCommand.php | Diff File | ||
| mod - core/commands/IssueViewPageCommand.php | Diff File | ||
| mod - core/commands/ProjectAddCommand.php | Diff File | ||
| mod - core/commands/ProjectHierarchyAddCommand.php | Diff File | ||
| mod - core/commands/ProjectUpdateCommand.php | Diff File | ||
| mod - core/commands/ProjectUsersAddCommand.php | Diff File | ||
| mod - core/commands/ProjectUsersGetCommand.php | Diff File | ||
| mod - core/commands/UserTokenCreateCommand.php | Diff File | ||
| mod - core/commands/UserTokenDeleteCommand.php | Diff File | ||
| mod - core/commands/UserUpdateCommand.php | Diff File | ||
| mod - core/commands/VersionGetCommand.php | Diff File | ||
|
master-2.26 5e08259e 2024-03-10 08:58 Details Diff |
MantisGraph: document EVENT_MANTISGRAPH_SUBMENU As discussed in issue 0033520 (see note 0033520:0068633). Fixes 0034008 |
Affected Issues 0033520, 0034008 |
|
| mod - plugins/MantisGraph/MantisGraph.php | Diff File | ||
|
master-2.26 24d47ae8 2024-03-10 08:39 Details Diff |
MantisGraph.js fix deprecation and JSHint warnings Fixes 0034006 |
Affected Issues 0034006 |
|
| mod - plugins/MantisGraph/files/MantisGraph.js | Diff File | ||
|
master f30b8e53 2024-03-07 07:08 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - lang/strings_belarusian_tarask.txt | Diff File | ||
| mod - lang/strings_german.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_german.txt | Diff File | ||
|
master ea130c82 2024-03-04 07:08 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - lang/strings_slovene.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_luxembourgish.txt | Diff File | ||
|
master 36e54774 2024-03-02 10:03 Details Diff |
Replace dirname( __FILE__ ) by __DIR__ (1) Magic constant __DIR__ is available since PHP 5.3 Fixes 0034468 |
Affected Issues 0034468 |
|
| mod - account_manage_columns_page.php | Diff File | ||
| mod - account_prefs_page.php | Diff File | ||
| mod - admin/check/check_integrity_inc.php | Diff File | ||
| mod - admin/install.php | Diff File | ||
| mod - admin/upgrade_unattended.php | Diff File | ||
| mod - api/soap/mc_core.php | Diff File | ||
| mod - api/soap/mc_issue_api.php | Diff File | ||
| mod - api/soap/mc_issue_attachment_api.php | Diff File | ||
| mod - api/soap/mc_project_attachment_api.php | Diff File | ||
| mod - billing_page.php | Diff File | ||
| mod - bug_change_status_page.php | Diff File | ||
| mod - bug_relationship_graph.php | Diff File | ||
| mod - bug_reminder_page.php | Diff File | ||
| mod - bug_update_page.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - core.php | Diff File | ||
| mod - core/commands/ConfigsSetCommand.php | Diff File | ||
| mod - core/commands/ProjectAddCommand.php | Diff File | ||
| mod - core/commands/ProjectHierarchyAddCommand.php | Diff File | ||
| mod - login_page.php | Diff File | ||
| mod - login_password_page.php | Diff File | ||
| mod - manage_config_columns_page.php | Diff File | ||
| mod - manage_user_edit_page.php | Diff File | ||
| mod - my_view_page.php | Diff File | ||
| mod - print_all_bug_options_page.php | Diff File | ||
| mod - print_all_bug_options_reset.php | Diff File | ||
| mod - print_all_bug_options_update.php | Diff File | ||
| mod - view.php | Diff File | ||
| mod - view_all_bug_page.php | Diff File | ||
|
master 5ceb96b2 2024-03-02 07:23 Details Diff |
Merge branch 'master-2.26' | ||
| mod - core/timeline_inc.php | Diff File | ||
|
master 7b9ee439 2024-03-02 07:12 Details Diff |
Removed unused TIMELINE_* constants Those were added back in 2008 (6bc681fa2ae103998724ecb2b837036ee6e35f95) for an API that was never finalized, and finally removed in 2009, see commit b3c834c8ad621f087f9cd1113981848a9eff181d. |
||
| mod - core/constant_inc.php | Diff File | ||
|
master 2eeeb42b 2024-03-02 07:06 Details Diff |
Protect timeline_inc.php with a constant Make sure it can't be accessed directly. Fixes 0033914 |
Affected Issues 0033914 |
|
| mod - my_view_page.php | Diff File | ||
| mod - timeline_inc.php | Diff File | ||
| mod - view_user_page.php | Diff File | ||
|
master 834eba1a 2024-03-02 07:00 Details Diff |
Moving timeline_inc.php from core to root Consistency update. Historically, includes containing markup are stored with the scripts using them (see bug_view_inc.php for example). Fixes 0033914 |
Affected Issues 0033914 |
|
| mod - my_view_page.php | Diff File | ||
| mv - core/timeline_inc.php → timeline_inc.php | Diff File | ||
| mod - view_user_page.php | Diff File | ||
|
master-2.26 bff76ed9 2024-03-02 06:56 Details Diff |
Remove inclusion of core.php in timeline_inc.php By definition an include file is part of a main script, which will always include core.php, so it's not necessary to reference it again in the include. This actually caused an error on a user's system (PHP 8.2 on IIS). The problem could not be reproduced, but an easy fix is to remove the useless require_once. Fixes 0033906 |
Affected Issues 0033906 |
|
| mod - core/timeline_inc.php | Diff File | ||
|
master ef3d11b5 2024-02-29 07:08 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - lang/strings_hungarian.txt | Diff File | ||
| mod - lang/strings_korean.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_korean.txt | Diff File | ||
|
master 2c322b00 2024-02-26 07:09 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - lang/strings_breton.txt | Diff File | ||
| mod - lang/strings_chinese_traditional.txt | Diff File | ||
| mod - lang/strings_hebrew.txt | Diff File | ||
| mod - lang/strings_hungarian.txt | Diff File | ||
| mod - lang/strings_interlingua.txt | Diff File | ||
| mod - lang/strings_serbian.txt | Diff File | ||
| mod - lang/strings_slovene.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_hungarian.txt | Diff File | ||
|
master cc2b4297 2024-02-26 02:20 dependabot[bot] Committer: community Details Diff |
Bump phpunit/phpunit from 9.6.16 to 9.6.17 (0001973) Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.16 to 9.6.17. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.17/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.16...9.6.17) --- updated-dependencies: - dependency-name: phpunit/phpunit dependency-type: direct:development update-type: version-update:semver-patch ... Fixes 0033098, PR https://github.com/mantisbt/mantisbt/pull/1973 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.17 99c377d0 2024-02-25 20:50 dependabot[bot] Committer: community Details Diff |
Bump phpunit/phpunit from 9.6.16 to 9.6.17 Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.16 to 9.6.17. - [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.17/ChangeLog-9.6.md) - [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.16...9.6.17) --- 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 d5c4c30a 2024-02-22 10:24 Details Diff |
Move buttons to Edit User section footer Until now, Reset Password, Delete User and Impersonate User buttons were displayed between the Edit User and Add user to project sections. This was dictated by legacy HTML limitation where it was not possible to have multiple buttons in a single form with different submit actions. With HTML5 we can leverage the formaction attribute, and move the buttons into the Edit User section's footer for a cleaner UI. Fixes 0033842 |
Affected Issues 0033842 |
|
| mod - manage_user_delete.php | Diff File | ||
| mod - manage_user_edit_page.php | Diff File | ||
| mod - manage_user_reset.php | Diff File | ||
|
master 88f9ca34 2024-02-22 07:09 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - lang/strings_finnish.txt | Diff File | ||
| mod - lang/strings_hebrew.txt | Diff File | ||
| mod - lang/strings_hungarian.txt | Diff File | ||
| mod - lang/strings_italian.txt | Diff File | ||
| mod - lang/strings_macedonian.txt | Diff File | ||
| mod - lang/strings_portuguese_standard.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_galician.txt | Diff File | ||
| mod - plugins/MantisGraph/lang/strings_hebrew.txt | Diff File | ||
|
master 658e3a64 2024-02-22 05:22 Details Diff |
Upgrade to PHPUnit 9.6 - Update minimum version in composer.json - Minor adjustments to the test suite, fixing deprecation warnings. Fixes 0033098, PR https://github.com/mantisbt/mantisbt/pull/1936 |
Affected Issues 0033098 |
|
| mod - composer.json | Diff File | ||
| mod - composer.lock | Diff File | ||
| mod - core/helper_api.php | Diff File | ||
| mod - tests/Mantis/ConfigParserTest.php | Diff File | ||
| mod - tests/Mantis/HelperTest.php | Diff File | ||
| mv - tests/Mantis/EnumTest.php → tests/Mantis/MantisEnumTest.php | Diff File | ||
| mod - tests/Mantis/PluginTest.php | Diff File | ||
| mod - tests/Mantis/PrepareTest.php | Diff File | ||
| mod - tests/Mantis/StringTest.php | Diff File | ||
| mv - tests/Mantis/UserTest.php → tests/Mantis/UserApiTest.php | Diff File | ||
| mod - tests/rest/RestImpersonateUserTest.php | Diff File | ||
| mod - tests/rest/RestUserTest.php | Diff File | ||
| mod - tests/soap/AttachmentTest.php | Diff File | ||
| mod - tests/soap/FilterTest.php | Diff File | ||
| mod - tests/soap/LoginTest.php | Diff File | ||
| mod - tests/soap/RelationshipTest.php | Diff File | ||
|
master 7e76c6b7 2024-02-21 18:37 Details Diff |
Fix assertObjectHasAttribute() is deprecated Replace usage by assertObjectHasProperty(). Same thing for assertObjectNotHasAttribute(), replaced by assertObjectNotHasProperty() |
||
| mod - tests/soap/FilterTest.php | Diff File | ||
| mod - tests/soap/RelationshipTest.php | Diff File | ||
|
master 7d187adc 2024-02-21 18:33 Details Diff |
Fix assertRegExp() is deprecated Replace usage by assertMatchesRegularExpression(). |
||
| mod - tests/soap/AttachmentTest.php | Diff File | ||
| mod - tests/soap/LoginTest.php | Diff File | ||
|
master 981d8d99 2024-02-21 18:23 Details Diff |
Fix Expecting E_ERROR and E_USER_ERROR is deprecated Expecting E_ERROR and E_USER_ERROR is deprecated and will no longer be possible in PHPUnit 10. helper_array_transpose() now throws a ClientException instead of calling trigger_error() when detecting a non-bidimensional array. Adapt HelperTest::testArrayTransposeInvalid() to handle the exception instead of E_USER_ERROR. |
||
| mod - core/helper_api.php | Diff File | ||
| mod - tests/Mantis/HelperTest.php | Diff File | ||
|
master ee5194fe 2024-02-21 17:48 Details Diff |
Fix PHPUnit deprecation warnings - Abstract test case classes with "Test" suffix are deprecated - Test case class not matching filename is deprecated |
||
| mod - tests/Mantis/ConfigParserTest.php | Diff File | ||
| mod - tests/Mantis/HelperTest.php | Diff File | ||
| mv - tests/Mantis/EnumTest.php → tests/Mantis/MantisEnumTest.php | Diff File | ||
| mod - tests/Mantis/PluginTest.php | Diff File | ||
| mod - tests/Mantis/PrepareTest.php | Diff File | ||
| mod - tests/Mantis/StringTest.php | Diff File | ||
| mv - tests/Mantis/UserTest.php → tests/Mantis/UserApiTest.php | Diff File | ||
| mod - tests/rest/RestImpersonateUserTest.php | Diff File | ||
| mod - tests/rest/RestUserTest.php | Diff File | ||
|
master e238195e 2024-02-21 17:05 Details Diff |
Composer update Running `composer update -W phpunit/phpunit` - Removing phpunit/php-token-stream (4.0.4) - Upgrading sebastian/version (2.0.1 => 3.0.2) - Upgrading sebastian/type (1.1.4 => 3.2.1) - Upgrading sebastian/resource-operations (2.0.2 => 3.0.3) - Upgrading sebastian/recursion-context (3.0.1 => 4.0.5) - Upgrading sebastian/object-reflector (1.1.2 => 2.0.4) - Upgrading sebastian/object-enumerator (3.0.4 => 4.0.4) - Upgrading sebastian/global-state (3.0.3 => 5.0.6) - Upgrading sebastian/exporter (3.1.5 => 4.0.5) - Upgrading sebastian/environment (4.2.4 => 5.1.5) - Upgrading sebastian/diff (3.0.4 => 4.0.5) - Upgrading sebastian/comparator (3.0.5 => 4.0.8) - Installing sebastian/code-unit (1.0.8) - Installing sebastian/cli-parser (1.0.1) - Upgrading phpunit/php-timer (2.1.3 => 5.0.3) - Upgrading phpunit/php-text-template (1.2.1 => 2.0.4) - Installing phpunit/php-invoker (3.1.1) - Upgrading phpunit/php-file-iterator (2.0.5 => 3.0.6) - Upgrading theseer/tokenizer (1.2.1 => 1.2.2) - Installing nikic/php-parser (v5.0.1) - Installing sebastian/lines-of-code (1.0.4) - Installing sebastian/complexity (2.0.3) - Upgrading sebastian/code-unit-reverse-lookup (1.0.2 => 2.0.3) - Upgrading phpunit/php-code-coverage (7.0.15 => 9.2.30) - Upgrading phpunit/phpunit (8.5.34 => 9.6.16) |
||
| mod - composer.lock | Diff File | ||