Changesets: MantisBT

master 1c2f8343

2025-03-15 14:09

dregad


Details Diff
Extend the use of the query parameter

Added a new test UrlCombineTest for helper_url_combine().

Fixes 0035424, PR https://github.com/mantisbt/mantisbt/pull/2114
Affected Issues
0035424
mod - adm_config_report.php Diff File
mod - admin/check/check_database_inc.php Diff File
mod - admin/check/index.php Diff File
mod - billing_export_to_excel.php Diff File
mod - bug_report.php Diff File
mod - core/access_api.php Diff File
mod - core/authentication_api.php Diff File
mod - core/classes/AuthFlags.class.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/filter_form_api.php Diff File
mod - core/helper_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 - login.php Diff File
mod - login_anon.php Diff File
mod - login_page.php Diff File
mod - login_password_page.php Diff File
mod - login_select_proj_page.php Diff File
mod - manage_proj_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 - tag_view_page.php Diff File
add - tests/Mantis/Helper/UrlCombineTest.php Diff File
mod - timeline_inc.php Diff File

master 9cdc361a

2025-03-15 14:09

dregad


Details Diff
Fix Login URL from access denied page login button

When access_denied() is called from an admin page, the Login button
returns a 404 because auth_login_page() returns a relative URL and the
login page does not exist under /admin.

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

master 8e1e358a

2025-03-15 10:32

dregad


Details Diff
Print delayed inline warnings on login page

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

master 9dfb34b9

2025-03-15 10:32

dregad


Details Diff
Fix inline warnings showing behind navbar

Improves the delayed printing mechanism implemented in 0035207, replacing
the DELAY_INLINE_ERROR_REPORTING constant by a global variable
($g_errors_delay_reporting), allowing to switch delayed reporting on and
off as needed.

Reporting is delayed by default, and Layout API (layout_page_begin())
switches it off when the page header has been displayed.

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

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
 First  Prev  1 2 3 ... 8 9 10 11 12 13 14 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 736 737 738  Next  Last