Changesets: MantisBT

master 0cfde0c3

2022-06-23 11:53

dregad


Details Diff
Merge branch 'master-2.25'
mod - composer.lock Diff File
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/uploads.xml Diff File
mod - file_download.php Diff File

master 9e0d41e3

2022-06-20 21:16

dependabot[bot]

Committer: dregad


Details Diff
Bump phpmailer/phpmailer from 6.6.2 to 6.6.3

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.2 to 6.6.3.
- [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.2...v6.6.3)

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

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

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

dependabot/composer/phpmailer/phpmailer-6.6.3 91eb095b

2022-06-20 21:16

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.6.2 to 6.6.3

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.2 to 6.6.3.
- [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.2...v6.6.3)

---
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.25 c9eb4900

2022-06-20 21:15

dependabot[bot]

Committer: dregad


Details Diff
Bump guzzlehttp/guzzle from 6.5.7 to 6.5.8

Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.8/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.7...6.5.8)

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

Fixes 0030416, PR https://github.com/mantisbt/mantisbt/pull/1827

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

dependabot/composer/guzzlehttp/guzzle-6.5.8 8f8f1d90

2022-06-20 21:15

dependabot[bot]

Committer: community


Details Diff
Bump guzzlehttp/guzzle from 6.5.7 to 6.5.8

Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.8/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.7...6.5.8)

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

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

master ce89a36b

2022-06-19 10:45

dregad


Details Diff
Merge branch 'master-2.25'
mod - proj_doc_page.php Diff File

master 1e234951

2022-06-16 07:09

translatewiki.net


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

master e189b0c3

2022-06-15 12:38

dregad


Details Diff
Merge branch 'master-2.25' [skip ci]

master 0c4ba874

2022-06-15 12:33

gatis

Committer: dregad


Details Diff
Fixed wrong bugnote_user_edit_threshold on update

Because there was no check for correct $g_project_override in
bugnote_update.php the default value of "bugnote_user_edit_threshold"
was used instead of one set for the project. This caused problem that
when project had lower user rights setting than the default access
denied exception was thrown when editing bugnote.

Fixes 0030533, PR https://github.com/mantisbt/mantisbt/pull/1818

(cherry picked from commit 9596fdc85260eaf29e04a4d8829f4f6fc0f6c5ed)
Affected Issues
0030533
mod - bugnote_update.php Diff File

master 9596fdc8

2022-06-15 12:33

gatis

Committer: community


Details Diff
Fixed wrong bugnote_user_edit_threshold on update

Because there was no check for correct $g_project_override in
bugnote_update.php the default value of "bugnote_user_edit_threshold"
was used instead of one set for the project. This caused problem that
when project had lower user rights setting than the default access
denied exception was thrown when editing bugnote.

Fixes 0030533, PR https://github.com/mantisbt/mantisbt/pull/1818
Affected Issues
0030533
mod - bugnote_update.php Diff File

master-2.25 26676219

2022-06-15 12:28

dregad


Details Diff
Disable SVG files upload by default

SVG files are not just images, they are XML files and as such could
contain inline CSS or scripting which could be used as attack vector
for stored XSS.

Devendra Bhatla and Febin Mon Saji <febinrev811@gmail.com> both and
independently reported this vulnerability.

Fixes 0029135, CVE-2022-33910
Affected Issues
0029135
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/uploads.xml Diff File

master 21d1b6e5

2022-06-15 12:27

dregad


Details Diff
Fix typo
mod - core/file_api.php Diff File

master 0e865caa

2022-06-15 12:20

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.6.0 to 6.6.2 (#1825)

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.0 to 6.6.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.6.0...v6.6.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>

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

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

dependabot/composer/phpmailer/phpmailer-6.6.2 4d78a896

2022-06-14 21:15

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.6.0 to 6.6.2

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.6.0 to 6.6.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.6.0...v6.6.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 e4972d4f

2022-06-14 10:00

dregad


Details Diff
CSS cleanup

- removed redundant 'display: inline-block' declaration, already set
in ace.css for selector '.widget-toolbar > .widget-menu > a'
- merged 2 overlapping rules '.widget-toolbar > .widget-menu a.btn-xs'
and '.widget-toolbar > .widget-menu .btn-xs'
mod - css/ace-mantis.css Diff File

master 4857770f

2022-06-14 09:51

dregad


Details Diff
Use extra-small buttons in widget toolbar menus

Fixes a regresssion introduced by 3d88f6842b0802eea38f545b45e098561d39de52
causing an increase in height of the buttons displayed inside of widget
toolbar menus (e.g. "View issues" button on My View Page boxes).

Using XS buttons instead of Small fixes the problem, and also improves
the display with a slightly bigger font size.

Fixes 0030550
Affected Issues
0030550
mod - admin/test_langs.php Diff File
mod - bug_update_page.php Diff File
mod - my_view_inc.php Diff File

master 9ec018b8

2022-06-13 07:09

translatewiki.net


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

master-2.25 262ecdde

2022-06-13 06:09

dregad


Details Diff
Prevent script execution when viewing SVG files

A cross-site scripting vulnerability allows remote attackers to attach
maliciously crafted SVG files to issue reports or bugnotes. When a user
or an admin clicks on the attachment, file_download.php will it open the
SVG in a browser tab instead of downloading it as a file, causing the
javascript to execute. This risk is mitigated by MantisBT's default
Content Security Policy, which prevents execution of inline scripts.

This fixes the issue by forcing download as attachment for files of
image/svg+xml mime type.

Devendra Bhatla and Febin Mon Saji <febinrev811@gmail.com> both and
independently reported this vulnerability.

Fixes 0030384, CVE-2022-33910
Affected Issues
0030384
mod - file_download.php Diff File

master-2.25 0d1d7b65

2022-06-13 06:03

dregad


Details Diff
Code cleanup: 1 array element per row, sorted

Issue 0030384
Affected Issues
0030384
mod - file_download.php Diff File

master 582d5d50

2022-06-12 16:57

dregad


Details Diff
Fix list.js scrolling regression patch

The list.js patch for the scrolling regression (issue 0030494, commit
7c0e2b8590c1e2c6ab17a566e14839584009a064) introduced another regression,
because preventing the default click event's execution not only applied
to the pagination buttons, but also to the checkboxes and the Apply
button as well, basically making the whole Manage Accounts section
unusable.

To fix the problem, we now only execute preventDefault() when the
pagination buttons are clicked.

Fixes 0030494
Affected Issues
0030494
mod - js/list-2.3.1.js Diff File
mod - js/list-2.3.1.min.js Diff File

master e1af8bac

2022-06-12 09:48

dregad


Details Diff
Project Edit Page improvements

Fixes 0030551, PR https://github.com/mantisbt/mantisbt/pull/1821
Affected Issues
0030551
mod - api/soap/mc_api.php Diff File
mod - core/constant_inc.php Diff File
mod - css/ace-mantis.css Diff File
mod - css/default.css Diff File
rm - js/list-1.5.0.js Diff
rm - js/list-1.5.0.min.js Diff
add - js/list-2.3.1.js Diff File
add - js/list-2.3.1.min.js Diff File
mod - js/manage_proj_edit_page.js Diff File
mod - lang/strings_afrikaans.txt Diff File
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_arabicegyptianspoken.txt Diff File
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_breton.txt Diff File
mod - lang/strings_bulgarian.txt Diff File
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_czech.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_english.txt Diff File
mod - lang/strings_estonian.txt Diff File
mod - lang/strings_finnish.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_hungarian.txt Diff File
mod - lang/strings_icelandic.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_japanese.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_lithuanian.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_norwegian_bokmal.txt Diff File
mod - lang/strings_occitan.txt Diff File
mod - lang/strings_persian.txt Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - lang/strings_romanian.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - lang/strings_serbian.txt Diff File
mod - lang/strings_serbian_latin.txt Diff File
mod - lang/strings_slovak.txt Diff File
mod - lang/strings_slovene.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_swedish.txt Diff File
mod - lang/strings_swissgerman.txt Diff File
mod - lang/strings_tagalog.txt Diff File
mod - lang/strings_turkish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File
mod - lang/strings_urdu.txt Diff File
mod - lang/strings_vietnamese.txt Diff File
mod - lang/strings_volapuk.txt Diff File
mod - library/README.md Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - manage_proj_cat_add.php Diff File
mod - manage_proj_cat_copy.php Diff File
mod - manage_proj_cat_delete.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - manage_proj_cat_update.php Diff File
mod - manage_proj_create.php Diff File
mod - manage_proj_custom_field_add_existing.php Diff File
mod - manage_proj_custom_field_copy.php Diff File
mod - manage_proj_custom_field_remove.php Diff File
mod - manage_proj_custom_field_update.php Diff File
mod - manage_proj_delete.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_page.php Diff File
mod - manage_proj_subproj_add.php Diff File
mod - manage_proj_subproj_delete.php Diff File
mod - manage_proj_update_children.php Diff File
mod - manage_proj_user_add.php Diff File
mod - manage_proj_user_copy.php Diff File
mod - manage_proj_user_update.php Diff File
mod - manage_proj_ver_add.php Diff File
mod - manage_proj_ver_copy.php Diff File
mod - manage_proj_ver_delete.php Diff File
mod - manage_proj_ver_edit_page.php Diff File
mod - manage_proj_ver_update.php Diff File

master 3d88f684

2022-06-12 09:38

dregad


Details Diff
CSS: adjust height of .btn-sm class

Setting the height to 30px allows proper vertical alignment of toolbar
buttons when print_form_button() is used next to a form containing a
select.

Without this, the button's height is 28.9333px, causing a slight offset.

Fixes 0030550
Affected Issues
0030550
mod - css/ace-mantis.css Diff File

master e8993b7e

2022-06-12 09:24

dregad


Details Diff
Move create button after add suproject form

Per @atrol's suggestion [[1]], improve UI consistency by moving the
Create New Subproject button to the right of the Add as Subproject form,
so the project selection drop down is the first element in the toolbar,
like in other sections on the page (Categories, Versions, etc).

[1]: https://github.com/mantisbt/mantisbt/pull/1821#issuecomment-1147325872
mod - manage_proj_edit_page.php Diff File

dependabot/composer/adodb/adodb-php-5.22.2 e6d1663f

2022-06-12 06:10

dependabot[bot]

Committer: community


Details Diff
Bump adodb/adodb-php from 5.21.4 to 5.22.2

Bumps [adodb/adodb-php](https://github.com/ADOdb/ADOdb) from 5.21.4 to 5.22.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.21.4...v5.22.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

master a19acf4b

2022-06-12 06:05

dregad


Details Diff
Further improvements to admin/test_langs.php

This is a follow-up on PR https://github.com/mantisbt/mantisbt/pull/1772.

It includes a bit of code cleanup, and brings a few additional UI
enhancements (related to issue 0027383):

- add missing error messages
- improved visibility for plugin headers in table
- add a TOC for tested plugins, allowing user to scroll straight to a
specific one
- add buttons to navigate between the core and plugin sections

It also implements 2 extra checks for language strings:

- basic syntax check (invalid tags, unexpected end tags, open/end tag
mismatch, etc), fixing 0030447
- Use HTMLPurifier to detect if any unauthorized tags are present, which
is partially fixes #12242

PR https://github.com/mantisbt/mantisbt/pull/1822
Affected Issues
0027383
mod - admin/test_langs.php Diff File
mod - composer.json Diff File
mod - composer.lock Diff File
mod - css/default.css Diff File
 First  Prev  1 2 3 ... 80 ... 88 89 90 91 92 93 94 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last