Changesets: MantisBT

master 4857cf29

2025-03-14 19:37

dregad


Details Diff
Fix PHP deprecation warning

htmlspecialchars(): Passing null to parameter 0000001 ($string) of type
string is deprecated

Thrown when calling layout_page_header() without parameters.

Fixes 0035568
Affected Issues
0035568
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File

master dbb1fd03

2025-03-14 19:10

dregad


Details Diff
Refactor and improve log_print_to_page()

Merge PR https://github.com/mantisbt/mantisbt/pull/2119
mod - core/logging_api.php Diff File
mod - css/default.css Diff File
mod - lang/strings_english.txt Diff File

master 5ae0ba0e

2025-03-13 08:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_slovene.txt Diff File

master ec7784aa

2025-03-11 11:50

raspopov

Committer: dregad


Details Diff
Fix error message page layout

For the anonymous user, the layout was broken and the footer was
overlapping the page content.

Fixes 0035562.
Affected Issues
0035562
mod - core/error_api.php Diff File

master 8eeb3953

2025-03-11 11:41

raspopov

Committer: dregad


Details Diff
Fix layout of Access Denied message page

The page layout for the anonymous user has been restored, and the admin
layout has been replaced with the normal one.

Fixes 0035561.
Affected Issues
0035561
mod - core/access_api.php Diff File

master 42ae1262

2025-03-10 08:05

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_luxembourgish.txt Diff File

master 3049371d

2025-03-09 13:35

dregad


Details Diff
Fix HTML errors and warnings 2

Fixes 0035503, PR https://github.com/mantisbt/mantisbt/pull/2110
Affected Issues
0035503
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 - bugnote_view_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/print_api.php Diff File
mod - js/common.js Diff File
mod - manage_overview_page.php Diff File
mod - manage_user_create_page.php Diff File
mod - print_all_bug_page.php Diff File
mod - print_all_bug_page_word.php Diff File

master 0b267b4c

2025-03-09 13:04

dregad


Details Diff
Print message when debug log is empty

Fixes 0035551
Affected Issues
0035551
mod - core/logging_api.php Diff File
mod - lang/strings_english.txt Diff File

master 785c169a

2025-03-09 12:53

dregad


Details Diff
Add missing 'debuglog' id

Fixes 0035551
Affected Issues
0035551
mod - core/logging_api.php Diff File

master 501d5f7c

2025-03-09 12:18

dregad


Details Diff
Email Sending Providers

Issue 0035288, PR https://github.com/mantisbt/mantisbt/pull/2088
Affected Issues
0035288
mod - config_defaults_inc.php Diff File
add - core/classes/EmailMessage.class.php Diff File
add - core/classes/EmailSender.class.php Diff File
add - core/classes/EmailSenderPhpMailer.class.php Diff File
mod - core/email_api.php Diff File
mod - core/events_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference_Notify.xml Diff File

master 810303b0

2025-03-07 18:56

dregad


Details Diff
Prevent internal application error in url_get()

When allow_url_fopen = OFF, curl extension is not installed, url_get()
falls back to a shell_exec() call to run curl, but if shell_exec()
function is disabled in php.ini, then an internal application error is
thrown.

This checks that shell_exec() function exists before calling it, and
returns null if not.

Fixes 0035540
Affected Issues
0035540
mod - core/url_api.php Diff File

master 26224a15

2025-03-07 14:28

raspopov

Committer: dregad


Details Diff
Fix incomplete layout of admin pages

Fixes 0022098
Affected Issues
0022098
mod - admin/email_queue.php Diff File
mod - core/layout_api.php Diff File

master 0b9dd984

2025-03-07 13:17

dregad


Details Diff
Fix error when updating category on PostgreSQL

Updating a category results in APPLICATION ERROR 401
Database query failed. Error received from database was #-1:
ERROR: invalid input syntax for type integer: "FALSE"

This is due to internally handling the category's status as a boolean,
while the underlying database column is an integer.

Typecasting the Checkbox post variable to int prevents the problem.

Fixes 0035544
Affected Issues
0035544
mod - manage_proj_cat_update.php Diff File

master eac6a68c

2025-03-07 08:08

raspopov

Committer: dregad


Details Diff
Remove extra check in access_has_global_level()

The code was already present in the access_get_global_level() function.
mod - core/access_api.php Diff File

master c7067342

2025-03-07 08:04

raspopov

Committer: dregad


Details Diff
Add Debug Log event counter indicator

Fixes 0035551

Co-authored-by Damien Regad <dregad@mantisbt.org>
Affected Issues
0035551
mod - core/logging_api.php Diff File

master 043229c3

2025-03-06 10:14

raspopov

Committer: dregad


Details Diff
Make Debug Log section collapsible

Fixes 0035551

Co-authored-by Damien Regad <dregad@mantisbt.org>
Affected Issues
0035551
mod - core/logging_api.php Diff File

master 5dd6d006

2025-03-06 07:06

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
mod - lang/strings_dutch.txt Diff File

master 7117608f

2025-03-06 06:48

dregad


Details Diff
Fix PHPDoc / static analysis warnings
mod - core/logging_api.php Diff File

master bcf56408

2025-03-06 06:47

dregad


Details Diff
Localize 'Debug Log' string

Fixes 0035551
Affected Issues
0035551
mod - lang/strings_english.txt Diff File

master 8203d185

2025-03-06 06:46

dregad


Details Diff
Identify duplicate DB queries in Debug Log to page

Commit b795b259463deca6e15806369a070c3b2fa45322 removed the CSS class
`duplicate-query`.

This restores the formatting, selected color matches the section title
(widget-color-red).

Fixes 0035551
Affected Issues
0035551
mod - css/default.css Diff File

master d3948320

2025-03-06 06:39

dregad


Details Diff
Refactor log_print_to_page()

- use HEREDOC instead of individual echo statements
- Fix invalid HTML
- Use helper_log_to_page()
- Use a single loop instead of 2 to process log events

Fixes 0022098, 0035551
Affected Issues
0022098, 0035551
mod - core/logging_api.php Diff File

master 2ebef4ea

2025-03-05 12:56

dregad


Details Diff
Restore included pages functionality

- Restored working of top_include_page and bottom_include_page options.
- Restored generation of EVENT_LAYOUT_PAGE_HEADER event.
- Added dynamic footer resizing.

The top_include_page file is included within the navbar element, which
is fixed at the top of the page; the bottom_include_page file is
included within an existing footer or as a footer itself (on login
pages), which is also fixed at the bottom of the page. Because of this,
the include template must contain, for example, a div element with a
solid background.

Fixes 0035402, 0022250, 0022098, 0021113
PR https://github.com/mantisbt/mantisbt/pull/2102
Affected Issues
0021113, 0022098, 0022250, 0035402
mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/layout_api.php Diff File
mod - css/ace-mantis.css Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File
mod - js/common.js Diff File

master c076bc56

2025-03-05 12:33

dregad


Details Diff
Fix PHP TypeError calling gpc_get_string_array()

Argument 2 passed to gpc_get_string_array() must be of the type array,
null given, called in .../core/gpc_api.php on line 213

Regression introduced by c939e5574556a2986bdd23d2ba9369d03595c269.

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

master e5e4dfb7

2025-03-04 11:45

raspopov

Committer: dregad


Details Diff
Replace use of extra string_url()

With powerful helper_url_combine().

Signed-off-by: Damien Regad <dregad@mantisbt.org>

Fixed merge conflict in access_api.php / access_denied() function due to
merging PR https://github.com/mantisbt/mantisbt/pull/2121 (commit
8eeb3953ebe8dfbeb7beffa660bc6d40676c9681) first.
mod - core/access_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/string_api.php Diff File
mod - login_anon.php Diff File
mod - login_page.php Diff File
mod - login_select_proj_page.php Diff File

master 5393a566

2025-03-04 11:42

raspopov

Committer: dregad


Details Diff
Replace the use of urlencode()/rawurlencode()

With string_url() and helper_url_combine().
mod - billing_export_to_excel.php Diff File
mod - core/csv_api.php Diff File
mod - core/excel_api.php Diff File
mod - core/filter_api.php Diff File
mod - core/html_api.php Diff File
mod - core/http_api.php Diff File
mod - core/install_helper_functions_api.php Diff File
mod - core/layout_api.php Diff File
mod - core/print_api.php Diff File
mod - core/string_api.php Diff File
mod - core/summary_api.php Diff File
mod - excel_xml_export.php Diff File
mod - manage_proj_page.php Diff File
mod - tag_view_page.php Diff File
 First  Prev  1 2 3 4 5 6 7 8 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last