Changesets: MantisBT

master 81bc94cc

2025-03-04 11:36

raspopov

Committer: dregad


Details Diff
Replace the use of http_build_query()

With helper_url_combine().
mod - adm_config_report.php Diff File
mod - admin/check/check_database_inc.php Diff File
mod - admin/check/index.php Diff File
mod - bug_report.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/html_api.php Diff File
mod - login.php Diff File
mod - login_password_page.php Diff File
mod - my_view_inc.php Diff File
mod - print_all_bug_page.php Diff File
mod - query_store.php Diff File
mod - set_project.php Diff File
mod - timeline_inc.php Diff File

master e23e43c3

2025-03-04 11:06

raspopov

Committer: dregad


Details Diff
Add helper_url_combine() test
mod - core/helper_api.php Diff File
add - tests/Mantis/Helper/UrlCombineTest.php Diff File

master fa1df957

2025-03-03 22:50

raspopov

Committer: dregad


Details Diff
Extend the use of the query parameter

Extended the allowed parameter types of helper_url_combine(),
auth_login_page(), auth_credential_page(),
AuthFlags::getCredentialsPage() functions that accepted a query string
to also accept an array of query parameters.

Fixes 0035424
Affected Issues
0035424
mod - core/authentication_api.php Diff File
mod - core/classes/AuthFlags.class.php Diff File
mod - core/helper_api.php Diff File

master 1fc7edc3

2025-03-02 06:03

vboctor


Details Diff
Simplifying the logic for header injection and having better context

Fixes 0035288
Affected Issues
0035288
mod - core/classes/EmailSenderPhpMailer.class.php Diff File

master 197d901a

2025-03-02 05:07

vboctor


Details Diff
Fix missing headers

Fixes 0035288
Affected Issues
0035288
mod - core/email_api.php Diff File

master 18170606

2025-03-02 04:59

vboctor


Details Diff
Allow inheriting from EmailSenderPhpMailer and injecting headers

Fixes 0035288
Affected Issues
0035288
mod - core/classes/EmailSenderPhpMailer.class.php Diff File

master 2a458bb8

2025-03-02 04:49

vboctor


Details Diff
Move pre-processing of headers to core code

Fixes 0035288
Affected Issues
0035288
mod - core/classes/EmailSender.class.php Diff File
mod - core/classes/EmailSenderPhpMailer.class.php Diff File
mod - core/email_api.php Diff File

master e5a5790a

2025-03-02 04:21

vboctor


Details Diff
Added doc in admin guide referring to TestEmailSender plugin

Fixes 0035288
Affected Issues
0035288
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File

master b9e8ba6c

2025-03-02 04:18

vboctor


Details Diff
Remove usage of DIRECTORY_SEPARATOR

Fixes 0035288
Affected Issues
0035288
mod - core/classes/EmailSender.class.php Diff File
mod - core/classes/EmailSenderPhpMailer.class.php Diff File

master 8ddfeea2

2025-03-01 18:36

dregad


Details Diff
Merge tag 'release-2.27.1'

Stable release 2.27.1

# Conflicts:
# core/constant_inc.php
mod - doc/CREDITS Diff File
mod - .mailmap Diff File

release-2.27.1 15dc24c4

2025-03-01 18:16

dregad


Details Diff
Bump version to 2.27.1
mod - core/constant_inc.php Diff File

release-2.27.1 e11a8edf

2025-03-01 18:13

dregad


Details Diff
Update Credits
mod - doc/CREDITS Diff File

release-2.27.1 be1f639a

2025-03-01 18:12

dregad


Details Diff
Update .mailmap
mod - .mailmap Diff File

master b9172717

2025-03-01 18:00

dregad


Details Diff
gpc_get_int() don't remove spaces in middle of string

Keep using preg_match() instead of calling filter_var() as the latter's
interpretation of what an integer is is too strict for our purposes
(e.g. `01` is not considered as an integer).

Code cleanup: remove unnecessary capturing group in the number
validation regex.

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

master fb768e50

2025-03-01 17:51

dregad


Details Diff
Merge branch 'master-2.27'
mod - search.php Diff File
mod - core/gpc_api.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/filter_api.php Diff File

master 7630b32c

2025-02-27 10:09

raspopov

Committer: dregad


Details Diff
Fix more issues detected by Nu Html Checker

In bug_update_page.php:

- Error: The first child `option` element of a `select` element with a
`required` attribute, and without a `multiple` attribute, and without
a `size` attribute whose value is greater than 1, must have either an
empty `value` attribute, or must have no text content.
- Error: Element `option` without attribute `label` must not be empty.

In bug_change_status_page.php:

- Error: Start tag `input` seen in `table`.
- Error: Element `option` without attribute `label` must not be empty.
- Error: End tag `div` seen, but there were open elements.
- Error: Unclosed element `fieldset`.

In bug_report_page.php:

- Error: Element `option` without attribute `label` must not be empty.
- Error: The value of the `for` attribute of the `label` element must be
the ID of a non-hidden form control.

In manage_user_create_page.php:

- Error: Start tag `fieldset` seen in `table`.
- Error: Unclosed element `div`.

In bug_view_inc.php (called via view.php):

- Error: Row 1 of a row group established by a `thead` element has no
cells beginning on it.
- Error: Element `option` without attribute `label` must not be empty.
mod - bug_change_status_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - core/print_api.php Diff File
mod - manage_user_create_page.php Diff File

master 52146e3c

2025-02-27 09:58

raspopov

Committer: dregad


Details Diff
Fix the name of an illegal custom attribute

Fix Nu Html Checker issue:
- Error: Attribute `url` not allowed on element `a` at this point.
mod - bug_update_page.php Diff File
mod - js/common.js Diff File

master ee6b1f65

2025-02-27 09:52

raspopov

Committer: dregad


Details Diff
Fix the page breaks in exported/printed reports

Restored pagination when printing in both HTML and DOC formats.
mod - print_all_bug_page_word.php Diff File

master 4fc3412c

2025-02-26 18:44

dregad


Details Diff
Merge branch 'master-2.27'
mod - set_project.php Diff File
mod - css/ace-mantis.css Diff File
mod - core/layout_api.php Diff File

master 10971ed1

2025-02-26 10:56

raspopov

Committer: dregad


Details Diff
Fix Nu Html Checker issues

Fix various Nu Html Checker issues in dropzone (print_api.php):

- Error: Element img is missing required attribute src.
- Error: An img element must have an alt attribute, except under certain
conditions.

In bug_view_inc.php:

- Error: Element tbody not allowed as child of element table in this
context.
- Error: Duplicate ID history.

In bug_update_page.php and bugnote_view_inc.php:

- Error: The width attribute on the td element is obsolete.
- Warning: A table row was 0 columns wide, which is less than the column
count established by the first row (6).
- Error: Element option without attribute label must not be empty.
- Error: Duplicate ID bugnotes.

In print_all_bug_page.php:

- Error: Stray end tag td.
- Error: Row 2 of a row group established by a tbody element has no
cells beginning on it.
- Warning: A table row was 10 columns wide and exceeded the column count
established by the first row (5).

In print_all_bug_page_word.php:

- Error: The width attribute on the td element is obsolete.
- Error: Row 2 of a row group established by a tbody element has no
cells beginning on it.
Affected Issues
0035644, 0035645
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/print_api.php Diff File
mod - print_all_bug_page.php Diff File
mod - print_all_bug_page_word.php Diff File

master 457c72c7

2025-02-26 10:46

raspopov

Committer: dregad


Details Diff
Add a new function print_table_spacer()

To print table spacer with specified columns.

Fix Nu Html Checker issue in bug_view_inc.php:

- Error: Row * of a row group established by a tbody element has no
cells beginning on it.
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/print_api.php Diff File
mod - manage_overview_page.php Diff File
mod - print_all_bug_page.php Diff File
mod - print_all_bug_page_word.php Diff File

master-2.27 a58cf175

2025-02-26 10:29

raspopov


Details Diff
Fix a regression in the layout_api.php file

Fixes 0035493.

When the `nav-tabs` element is displayed, the active area of the project
selection buttons (displayed when `$g_show_project_menu_bar = ON`) is
overlapped because `nav-tabs` has relative positioning and is attached
to the top of the parent element.

Introduced in https://github.com/mantisbt/mantisbt/pull/2096/commits/4395fad8d05e3808f7820993ae42bea5f7b35eaf

Signed-off-by: raspopov <raspopov@cherubicsoft.com>
Affected Issues
0035493
mod - core/layout_api.php Diff File

master d4bede5c

2025-02-26 10:05

raspopov

Committer: dregad


Details Diff
Update html_print_logo() function

- Added support for link attributes.
- Fixed the element duplicate id in case the logo is inserted more than
once.
- Id replaced with class name.
- Inline style has been removed.
mod - core/html_api.php Diff File

master 5e2ff492

2025-02-26 09:56

raspopov

Committer: dregad


Details Diff
Restore html_print_logo() use in the sample
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File

master-2.27 5dcb6cb1

2025-02-25 19:40

dregad


Details Diff
Fix Undefined array key with Plugin Filters

When following a permalink including a Plugin Filter field, search.php
throws an "Undefined array key" SYSTEM WARNING.

This is due to an incorrect default in gpc_get_*() calls to get the
filter value, introduced in commit a759e186f1f7b0e1f07a182b454131e8b5e6d020
(Issue 0025072).

Fixes 0035179
Affected Issues
0025072, 0035179
mod - search.php Diff File
 First  Prev  1 2 3 4 5 6 7 8 9 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last