Changesets: MantisBT

master 901cc9c2

2023-08-07 12:26

dregad


Details Diff
Update local font files

- montserrat: v23 -> v25
- open-sans: v28 -> v35
- poppins: v19 -> v20
mod - css/fonts.css Diff File
rm - fonts/montserrat-v23-cyrillic-ext-regular.woff Diff
rm - fonts/montserrat-v23-cyrillic-ext-regular.woff2 Diff
rm - fonts/montserrat-v23-cyrillic-regular.woff Diff
rm - fonts/montserrat-v23-cyrillic-regular.woff2 Diff
rm - fonts/montserrat-v23-latin-ext-regular.woff Diff
rm - fonts/montserrat-v23-latin-ext-regular.woff2 Diff
rm - fonts/montserrat-v23-latin-regular.woff Diff
rm - fonts/montserrat-v23-latin-regular.woff2 Diff
rm - fonts/montserrat-v23-vietnamese-regular.woff Diff
rm - fonts/montserrat-v23-vietnamese-regular.woff2 Diff
add - fonts/montserrat-v25-cyrillic-ext-regular.woff Diff File
add - fonts/montserrat-v25-cyrillic-ext-regular.woff2 Diff File
add - fonts/montserrat-v25-cyrillic-regular.woff Diff File
add - fonts/montserrat-v25-cyrillic-regular.woff2 Diff File
add - fonts/montserrat-v25-latin-ext-regular.woff Diff File
add - fonts/montserrat-v25-latin-ext-regular.woff2 Diff File
add - fonts/montserrat-v25-latin-regular.woff Diff File
add - fonts/montserrat-v25-latin-regular.woff2 Diff File
add - fonts/montserrat-v25-vietnamese-regular.woff Diff File
add - fonts/montserrat-v25-vietnamese-regular.woff2 Diff File
rm - fonts/open-sans-v28-cyrillic-ext-regular.woff Diff
rm - fonts/open-sans-v28-cyrillic-ext-regular.woff2 Diff
rm - fonts/open-sans-v28-cyrillic-regular.woff Diff
rm - fonts/open-sans-v28-cyrillic-regular.woff2 Diff
rm - fonts/open-sans-v28-greek-ext-regular.woff Diff
rm - fonts/open-sans-v28-greek-ext-regular.woff2 Diff
rm - fonts/open-sans-v28-greek-regular.woff Diff
rm - fonts/open-sans-v28-greek-regular.woff2 Diff
rm - fonts/open-sans-v28-hebrew-regular.woff Diff
rm - fonts/open-sans-v28-hebrew-regular.woff2 Diff
rm - fonts/open-sans-v28-latin-ext-regular.woff Diff
rm - fonts/open-sans-v28-latin-ext-regular.woff2 Diff
rm - fonts/open-sans-v28-latin-regular.woff Diff
rm - fonts/open-sans-v28-latin-regular.woff2 Diff
rm - fonts/open-sans-v28-vietnamese-regular.woff Diff
rm - fonts/open-sans-v28-vietnamese-regular.woff2 Diff
add - fonts/open-sans-v35-cyrillic-ext-regular.woff Diff File
add - fonts/open-sans-v35-cyrillic-ext-regular.woff2 Diff File
add - fonts/open-sans-v35-cyrillic-regular.woff Diff File
add - fonts/open-sans-v35-cyrillic-regular.woff2 Diff File
add - fonts/open-sans-v35-greek-ext-regular.woff Diff File
add - fonts/open-sans-v35-greek-ext-regular.woff2 Diff File
add - fonts/open-sans-v35-greek-regular.woff Diff File
add - fonts/open-sans-v35-greek-regular.woff2 Diff File
add - fonts/open-sans-v35-hebrew-regular.woff Diff File
add - fonts/open-sans-v35-hebrew-regular.woff2 Diff File
add - fonts/open-sans-v35-latin-ext-regular.woff Diff File
add - fonts/open-sans-v35-latin-ext-regular.woff2 Diff File
add - fonts/open-sans-v35-latin-regular.woff Diff File
add - fonts/open-sans-v35-latin-regular.woff2 Diff File
add - fonts/open-sans-v35-vietnamese-regular.woff Diff File
add - fonts/open-sans-v35-vietnamese-regular.woff2 Diff File
mv - fonts/poppins-v19-devanagari-regular.woff → fonts/poppins-v20-devanagari-regular.woff Diff File
mv - fonts/poppins-v19-devanagari-regular.woff2 → fonts/poppins-v20-devanagari-regular.woff2 Diff File
mv - fonts/poppins-v19-latin-ext-regular.woff → fonts/poppins-v20-latin-ext-regular.woff Diff File
mv - fonts/poppins-v19-latin-ext-regular.woff2 → fonts/poppins-v20-latin-ext-regular.woff2 Diff File
mv - fonts/poppins-v19-latin-regular.woff → fonts/poppins-v20-latin-regular.woff Diff File
mv - fonts/poppins-v19-latin-regular.woff2 → fonts/poppins-v20-latin-regular.woff2 Diff File

master 041c2f14

2023-08-07 12:25

dregad


Details Diff
PHP Zip extension required by update-fonts.php

Issue 0028964
Affected Issues
0028964
mod - composer.json Diff File

master 83fe9b80

2023-08-07 12:19

dregad


Details Diff
Fix static analysis warnings
mod - build/update-fonts.php Diff File

master e3d8a2ee

2023-08-07 12:18

dregad


Details Diff
New URL for google-font-helper API root

Executing the script yields a 503 error, as the API has been moved to a
new server.

Issue 0028964
Affected Issues
0028964
mod - build/update-fonts.php Diff File

master c2ba77b7

2023-08-07 09:16

dregad


Details Diff
Update minimum PHP version to 7.4.0

Fixes 0032808
Affected Issues
0032808
mod - .travis.yml Diff File
mod - README.md Diff File
mod - composer.json Diff File
mod - core/constant_inc.php Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master b75d6bd7

2023-08-06 19:30

dregad


Details Diff
Quote bool value to fix type error on PostgreSQL Affected Issues
0032804
mod - build/travis_before_script.sh Diff File

master 5883a12d

2023-08-06 19:14

dregad


Details Diff
Travis: generate cookie string with bash commands

Avoid use of MySQL specific functions causing PostgreSQL builds to fail.
Affected Issues
0032804
mod - build/travis_before_script.sh Diff File

master 1232bc13

2023-08-06 18:42

dregad


Details Diff
Dev Guide: fix incorrect file name in text

Fixes 0021657
Affected Issues
0021657
mod - docbook/Developers_Guide/en-US/Plugins.xml Diff File

master f3ef49b5

2023-08-06 18:05

dregad


Details Diff
Dev Guide: updated PHPUnit section

Fixes #
Affected Issues
0032806
mod - docbook/Developers_Guide/en-US/Contributors.xml Diff File

master 7ee3ddd9

2023-08-06 12:52

dregad


Details Diff
Make RestBase an abstract class

Prevents PHPUnit from throwing a warning:
No tests found in class "RestBase".
mod - tests/rest/RestBase.php Diff File

master cae3e669

2023-08-06 10:46

dregad


Details Diff
Fixing RestUserTest for anonymous user

- Incorrect assertions: when executing tests as anonymous user, the
API does not return 401; this occurs when anonymous account is not
valid. Actual return value is
- testGetUserByIdZeroAnonymous: 400
- testGetUserByIdNotFoundAnonymous: 404

- Skip the test when anonymous login is disabled. The following cases
were adapted:
- testCreateUserAnonymous
- testUpdateUserAnonymous
- testGetUserByIdAnonymous
- testGetUserByIdNotFoundAnonymous
- testGetUserByIdZeroAnonymous
- testDeleteUserByIdAnonymous

Fixes 0032804
Affected Issues
0032804
mod - tests/rest/RestUserTest.php Diff File

master 78bbae2b

2023-08-06 10:39

dregad


Details Diff
Create RestBase::skipTestIfAnonymousDisabled()

This will be needed for other test cases too, so move it to a method in
the base class to avoid code duplication.
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestProjectVersionTest.php Diff File

master bdb53c7d

2023-08-06 10:26

dregad


Details Diff
Use HTTP_STATUS_xxx constants

Update remaining test scripts like 5677e2944831bce1899bad24a72b4e19a554e20e.
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestImpersonateUserTest.php Diff File
mod - tests/rest/RestIssueTest.php Diff File
mod - tests/rest/RestUserTest.php Diff File

master d8ca59ee

2023-08-06 10:12

dregad


Details Diff
Rename REST test scripts *Tests.php -> *Test.php

This allows them to be automatically picked up by PHPUnit when run
from the command-line with a directory as parameter [1].

[1]: https://docs.phpunit.de/en/8.5/organizing-tests.html#composing-a-test-suite-using-the-filesystem
mod - tests/rest/AllTests.php Diff File
mv - tests/rest/RestImpersonateUserTests.php → tests/rest/RestImpersonateUserTest.php Diff File
mv - tests/rest/RestIssueTests.php → tests/rest/RestIssueTest.php Diff File
mv - tests/rest/RestProjectVersionTests.php → tests/rest/RestProjectVersionTest.php Diff File
mv - tests/rest/RestUserTests.php → tests/rest/RestUserTest.php Diff File

master 5ba470b2

2023-08-06 09:42

dregad


Details Diff
Travis: avoid skipped anonymous user test cases

Adapt travis_before_script.sh to
- create an anonymous user account
- reference it in the generated config_inc.php file

This ensures that testProjectDeleteVersionAnonymous is not skipped.

Issue 0032804
Affected Issues
0032804
mod - build/travis_before_script.sh Diff File

master 5677e294

2023-08-06 05:45

dregad


Details Diff
Use HTTP_STATUS_xxx constants
mod - tests/rest/RestProjectVersionTests.php Diff File

master dc3361c7

2023-08-06 05:39

dregad


Details Diff
Tests: Fix testProjectDeleteVersionAnonymous

- Incorrect assertion: when updating a version as anonymous user, the
API returns 403, not 401. The latter occurs when anonymous account
is not valid.
- Skip the test when anonymous login is disabled

Add assertion messages.

Fixes 0032804
Affected Issues
0032804
mod - tests/rest/RestProjectVersionTests.php Diff File

master 42c7a65a

2023-08-03 07:08

translatewiki.net


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

master f706c1e2

2023-08-02 12:45

dregad


Details Diff
Whitespace
mod - tests/rest/RestBase.php Diff File

master 86202f03

2023-08-02 09:24

dregad


Details Diff
Tests: update function signatures for PHPUnit 8.5
mod - tests/rest/RestBase.php Diff File
mod - tests/rest/RestImpersonateUserTest.php Diff File
mod - tests/rest/RestIssueTest.php Diff File
mod - tests/rest/RestProjectVersionTest.php Diff File
mod - tests/rest/RestUserTest.php Diff File

master 2b2121d4

2023-08-01 14:01

dregad


Details Diff
Fix deprecated expectExceptionMessageRegExp()

Replace with expectExceptionMessageMatches()
mod - tests/Mantis/ConfigParserTest.php Diff File

master d3203e02

2023-08-01 13:57

dregad


Details Diff
Fix deprecated assertContains() with String haystack

Replace with assertStringContainsString()
mod - tests/soap/IssueAddTest.php Diff File
mod - tests/soap/TagTest.php Diff File

master 0ff93e53

2023-08-01 13:47

dregad


Details Diff
Fix deprecated @expectedException annotation

Replace with $this->expectException()
mod - tests/soap/EnumTest.php Diff File

master 4dc7db6f

2023-08-01 13:38

dregad


Details Diff
Fix deprecated assertInternalType()

Replace with assertThat() and isType() constraint.
mod - tests/Mantis/ConfigParserTest.php Diff File

master 0931227c

2023-08-01 13:06

dregad


Details Diff
Tests: update function signatures for PHPUnit 8.5
mod - tests/Mantis/MantisCoreBase.php Diff File
mod - tests/Mantis/PluginTest.php Diff File
mod - tests/Mantis/UserTest.php Diff File
mod - tests/soap/AttachmentTest.php Diff File
mod - tests/soap/CategoryTest.php Diff File
mod - tests/soap/ProjectTest.php Diff File
mod - tests/soap/SoapBase.php Diff File
mod - tests/soap/VersionTest.php Diff File
 First  Prev  1 2 3 ... 71 72 73 74 75 76 77 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last