Changesets: MantisBT

master-2.25 52b84403

2021-09-01 07:55

fbruneau

Committer: dregad


Details Diff
Fix PHP warning when calling count() on bool value

PHP Warning: Uncaught TypeError: count(): Argument 0000001 ($value) must be
of type Countable|array, bool given in DbQuery.class.php:860

Occurs when calling DbQuery::value() on a query that executes
successfully but does not return any rows.

Fixes 0029034, PR https://github.com/mantisbt/mantisbt/pull/1779

Signed-off-by: Damien Regad <dregad@mantisbt.org>
(cherry picked from commit 00626687cdfc64dad798d61c8036e6199c0efc0b)
Affected Issues
0029034
mod - core/classes/DbQuery.class.php Diff File

master 4d95c7f8

2021-08-30 03:08

translatewiki.net


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

master 2fbaf5a1

2021-08-26 03:09

translatewiki.net


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

master 581754b9

2021-08-24 08:33

dregad


Details Diff
Upgrading: improve unserialize->json conversion

Let the Admin download a CSV file with a list of errors when converting
unserialized data to JSON during upgrade, instead of forcing them to
fix issues one-by-one and run the upgrade N+1 times (N being the number
of conversion errors).

Also includes some code cleanup / improvements

- Conversion from legacy Database API to DbQuery
- PHPStorm static analysis warnings
- unused parameter in db_unixtimestamp()

Fixes 0028918, PR https://github.com/mantisbt/mantisbt/pull/1771
Affected Issues
0028918
mod - core/install_helper_functions_api.php Diff File

master 5be18249

2021-08-24 08:25

dregad


Details Diff
Update local font files

- montserrat: v12 -> v18
- open-sans: v15 -> v23
- poppins: v5 -> v15

The updated Open Sans font fixes the issue with tilde `~` being
displayed as dash `-` for some sizes / zoom levels.

Fixes 0022109
Affected Issues
0022109
mod - css/fonts.css Diff File
rm - fonts/montserrat-v12-cyrillic-ext-regular.woff Diff
rm - fonts/montserrat-v12-cyrillic-ext-regular.woff2 Diff
rm - fonts/montserrat-v12-cyrillic-regular.woff Diff
rm - fonts/montserrat-v12-cyrillic-regular.woff2 Diff
rm - fonts/montserrat-v12-latin-ext-regular.woff Diff
rm - fonts/montserrat-v12-latin-ext-regular.woff2 Diff
rm - fonts/montserrat-v12-latin-regular.woff Diff
rm - fonts/montserrat-v12-latin-regular.woff2 Diff
rm - fonts/montserrat-v12-vietnamese-regular.woff Diff
rm - fonts/montserrat-v12-vietnamese-regular.woff2 Diff
add - fonts/montserrat-v18-cyrillic-ext-regular.woff Diff File
add - fonts/montserrat-v18-cyrillic-ext-regular.woff2 Diff File
add - fonts/montserrat-v18-cyrillic-regular.woff Diff File
add - fonts/montserrat-v18-cyrillic-regular.woff2 Diff File
add - fonts/montserrat-v18-latin-ext-regular.woff Diff File
add - fonts/montserrat-v18-latin-ext-regular.woff2 Diff File
add - fonts/montserrat-v18-latin-regular.woff Diff File
add - fonts/montserrat-v18-latin-regular.woff2 Diff File
add - fonts/montserrat-v18-vietnamese-regular.woff Diff File
add - fonts/montserrat-v18-vietnamese-regular.woff2 Diff File
rm - fonts/open-sans-v15-cyrillic-ext-regular.woff Diff
rm - fonts/open-sans-v15-cyrillic-ext-regular.woff2 Diff
rm - fonts/open-sans-v15-cyrillic-regular.woff Diff
rm - fonts/open-sans-v15-cyrillic-regular.woff2 Diff
rm - fonts/open-sans-v15-greek-ext-regular.woff Diff
rm - fonts/open-sans-v15-greek-ext-regular.woff2 Diff
rm - fonts/open-sans-v15-greek-regular.woff Diff
rm - fonts/open-sans-v15-greek-regular.woff2 Diff
rm - fonts/open-sans-v15-latin-ext-regular.woff Diff
rm - fonts/open-sans-v15-latin-ext-regular.woff2 Diff
rm - fonts/open-sans-v15-latin-regular.woff Diff
rm - fonts/open-sans-v15-latin-regular.woff2 Diff
rm - fonts/open-sans-v15-vietnamese-regular.woff Diff
rm - fonts/open-sans-v15-vietnamese-regular.woff2 Diff
add - fonts/open-sans-v23-cyrillic-ext-regular.woff Diff File
add - fonts/open-sans-v23-cyrillic-ext-regular.woff2 Diff File
add - fonts/open-sans-v23-cyrillic-regular.woff Diff File
add - fonts/open-sans-v23-cyrillic-regular.woff2 Diff File
add - fonts/open-sans-v23-greek-ext-regular.woff Diff File
add - fonts/open-sans-v23-greek-ext-regular.woff2 Diff File
add - fonts/open-sans-v23-greek-regular.woff Diff File
add - fonts/open-sans-v23-greek-regular.woff2 Diff File
add - fonts/open-sans-v23-latin-ext-regular.woff Diff File
add - fonts/open-sans-v23-latin-ext-regular.woff2 Diff File
add - fonts/open-sans-v23-latin-regular.woff Diff File
add - fonts/open-sans-v23-latin-regular.woff2 Diff File
add - fonts/open-sans-v23-vietnamese-regular.woff Diff File
add - fonts/open-sans-v23-vietnamese-regular.woff2 Diff File
add - fonts/poppins-v15-devanagari-regular.woff Diff File
add - fonts/poppins-v15-devanagari-regular.woff2 Diff File
add - fonts/poppins-v15-latin-ext-regular.woff Diff File
add - fonts/poppins-v15-latin-ext-regular.woff2 Diff File
add - fonts/poppins-v15-latin-regular.woff Diff File
add - fonts/poppins-v15-latin-regular.woff2 Diff File
rm - fonts/poppins-v5-devanagari-regular.woff Diff
rm - fonts/poppins-v5-devanagari-regular.woff2 Diff
rm - fonts/poppins-v5-latin-ext-regular.woff Diff
rm - fonts/poppins-v5-latin-ext-regular.woff2 Diff
rm - fonts/poppins-v5-latin-regular.woff Diff
rm - fonts/poppins-v5-latin-regular.woff2 Diff

master 5f8854c8

2021-08-24 08:19

dregad


Details Diff
New build script to update local font files

Fixes 0028964, PR https://github.com/mantisbt/mantisbt/pull/1768
Affected Issues
0028964
add - build/update-fonts.php Diff File

master ac3d7849

2021-08-24 02:53

dregad


Details Diff
Refactor and improve output of admin/test_langs.php

This is a nearly complete rewrite of this page, which now has

- a nice "2.x" GUI displaying errors, similar to the Installer
- split output in 2 distinct sections: Core strings and plugins.
- errors and warnings displayed as bulleted lists, with red or yellow
background depending on severity.

Fixes 0027383, PR https://github.com/mantisbt/mantisbt/pull/1772
Affected Issues
0027383
mod - admin/test_langs.php Diff File
rm - build/check_lang.php Diff

master 881252da

2021-08-24 02:42

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.5.0 to 6.5.1

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.5.0 to 6.5.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.5.0...v6.5.1)

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

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/1777
Affected Issues
0029025
mod - composer.lock Diff File

dependabot/composer/adodb/adodb-php-5.21.2 e5839ec6

2021-08-22 17:19

dependabot[bot]

Committer: community


Details Diff
Bump adodb/adodb-php from 5.20.20 to 5.21.2

Bumps [adodb/adodb-php](https://github.com/ADOdb/ADOdb) from 5.20.20 to 5.21.2.
- [Release notes](https://github.com/ADOdb/ADOdb/releases)
- [Changelog](https://github.com/ADOdb/ADOdb/blob/master/docs/changelog.md)
- [Commits](https://github.com/ADOdb/ADOdb/compare/v5.20.20...v5.21.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
mod - composer.lock Diff File

dependabot/composer/phpmailer/phpmailer-6.5.1 a6eba31b

2021-08-18 17:10

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.5.0 to 6.5.1

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.5.0 to 6.5.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.5.0...v6.5.1)

---
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 6f63413f

2021-08-16 03:06

translatewiki.net


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

master 669dfa6c

2021-08-15 23:34

aaribaud

Committer: dregad


Details Diff
Fix gpc_set_cookie ignoring HttpOnly parameter

Fixes 0029027
Affected Issues
0029027
mod - core/gpc_api.php Diff File

dependabot/composer/adodb/adodb-php-5.21.1 34b6353f

2021-08-15 17:25

dependabot[bot]

Committer: community


Details Diff
Bump adodb/adodb-php from 5.20.20 to 5.21.1

Bumps [adodb/adodb-php](https://github.com/ADOdb/ADOdb) from 5.20.20 to 5.21.1.
- [Release notes](https://github.com/ADOdb/ADOdb/releases)
- [Changelog](https://github.com/ADOdb/ADOdb/blob/master/docs/changelog.md)
- [Commits](https://github.com/ADOdb/ADOdb/compare/v5.20.20...v5.21.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
mod - composer.lock Diff File

master f952508e

2021-08-12 03:05

translatewiki.net


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

master 0059a293

2021-08-09 21:14

vboctor


Details Diff
Issue attachments code review feedback

Fixes 0028965
Affected Issues
0028965
mod - bug_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File

master 1b0ac37b

2021-08-09 21:13

vboctor


Details Diff
Fix inconsistency in bug activity api

In the past is used to return a mix of attachment and attachments fields based on the case.
This was due to a bug.

Fixes 0028965
Affected Issues
0028965
mod - core/bug_activity_api.php Diff File

master 9c0b91ea

2021-08-09 03:06

translatewiki.net


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

master cd3d99bb

2021-08-07 20:40

vboctor


Details Diff
Fix where not all issue attachments were included

The activities API returns an attachment in attachment field and the rest in attachments field.
So handling this case correctly.

Fixes 0028965
Affected Issues
0028965
mod - bug_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File

master 91422470

2021-08-07 19:34

vboctor


Details Diff
Show issue attachments with issue header

- Issue attachments displayed with issue header information.
- Issue notes attachments displayed with notes.

Fixes 0028965
Affected Issues
0028965
mod - bug_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - lang/strings_english.txt Diff File

master 63098380

2021-08-07 18:10

vboctor


Details Diff
Remove unused `print_bug_attachments_list` func
mod - core/print_api.php Diff File

issue26148_version_css 17fa9282

2021-08-07 17:12

vboctor


Details Diff
Include cache key when including unversioned css

When including our css files that don't have a version in the name,
include cache key based on Mantis version.

Fixes 0026148
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File

master 015344b2

2021-08-07 08:59

dregad


Details Diff
Dev Guide: use single quotes for Example plugin strings

Double quotes are flagged as errors by test_langs.php script.

Change has been reflected in the plugin repository
https://github.com/mantisbt-plugins/Example/commit/3db9cb9bc6da4ae1d22aa8f7380623efe01ff16e
mod - docbook/Developers_Guide/en-US/Plugins_Building.xml Diff File

master cc4e7e7e

2021-08-07 07:37

dregad

Committer: Damien Regad


Details Diff
Remove obsolete legacy language check script

This script is no longer useful given that language files are generated
by TranslateWiki.

It is replaced by the revamped admin/test_langs.php page.
rm - build/check_lang.php Diff

master 06ab1a71

2021-08-07 07:32

dregad

Committer: Damien Regad


Details Diff
Stricter regex to only match language files

Avoid processing other files in the 'lang' directory.
mod - admin/test_langs.php Diff File

master cec2ada1

2021-08-07 07:30

dregad

Committer: Damien Regad


Details Diff
Report languages missing in config as warnings

This is not critical, it just means the language cannot be used within
MantisBT.
mod - admin/test_langs.php Diff File
 First  Prev  1 2 3 ... 80 ... 98 99 100 101 102 103 104 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last