Changesets: MantisBT
|
master edb3a02e 2025-01-06 12:17 Details Diff |
PHPDoc | ||
| mod - core/tag_api.php | Diff File | ||
|
master a4ce48fe 2025-01-06 12:14 Details Diff |
Restore tag_stats_related() $p_limit parameter The refactoring of the function in issue 0021913 [1] removed the logic to limit the number of related tags shown on Tag Details page. This adds it back, and allows to get the unlimited list with 0. Fixes 0035219 [1]: commit 8ab8e125a4d49186b32c8006f56de2c0c8126d47 |
Affected Issues 0021913, 0035219 |
|
| mod - core/tag_api.php | Diff File | ||
|
master 75113ccc 2025-01-06 09:41 Committer: dregad Details Diff |
Fix Undefined array key warning in Parsedown 1.8+ SYSTEM WARNING 'Undefined array key "name"' in '...plugins\MantisCoreFormatting\core\MantisMarkdown.php' line 152 Fixes 0035227 |
Affected Issues 0035227 |
|
| mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php | Diff File | ||
|
master a94bae75 2025-01-06 08:09 Details Diff |
Merge branch 'master-2.27' | ||
| mod - adm_config_report.php | Diff File | ||
|
master 29c6e886 2025-01-06 08:02 Committer: community Details Diff |
Improve error reporting in manage_plugin_page.php Merge pull request https://github.com/mantisbt/mantisbt/pull/2066 |
||
| mod - bug_report_page.php | Diff File | ||
| mod - core/classes/MantisPlugin.class.php | Diff File | ||
| mod - core/classes/MissingClassPlugin.class.php | Diff File | ||
| add - core/classes/MissingHooksPlugin.class.php | Diff File | ||
| mod - core/error_api.php | Diff File | ||
| mod - core/event_api.php | Diff File | ||
| mod - core/plugin_api.php | Diff File | ||
| mod - lang/strings_english.txt | Diff File | ||
| mod - manage_plugin_page.php | Diff File | ||
|
master 8448e7a5 2025-01-06 07:59 Committer: community Details Diff |
Fix handling of relative URLs in helper_get_root_domain() Merge PR https://github.com/mantisbt/mantisbt/pull/2067 |
||
| mod - core/config_api.php | Diff File | ||
| mod - core/helper_api.php | Diff File | ||
| mod - core/string_api.php | Diff File | ||
| mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php | Diff File | ||
| mod - tests/Mantis/Helper/GetLinkAttributesTest.php | Diff File | ||
| mod - tests/Mantis/MantisCoreBase.php | Diff File | ||
|
master 829bbe5b 2025-01-02 07:07 translatewiki.net Details Diff |
Localisation updates from https://translatewiki.net. [skip ci] | ||
| mod - plugins/MantisCoreFormatting/lang/strings_luxembourgish.txt | Diff File | ||
|
master 19c09a8b 2024-12-30 05:59 Details Diff |
Coding guidelines | ||
| mod - core/email_api.php | Diff File | ||
| mod - core/summary_api.php | Diff File | ||
| mod - view_all_inc.php | Diff File | ||
|
master f83d1314 2024-12-30 05:57 Details Diff |
PHPDoc | ||
| mod - core/access_api.php | Diff File | ||
| mod - core/bug_group_action_api.php | Diff File | ||
| mod - core/category_api.php | Diff File | ||
| mod - core/classes/BugFilterQuery.class.php | Diff File | ||
| mod - core/classes/DbQuery.class.php | Diff File | ||
| mod - core/custom_function_api.php | Diff File | ||
| mod - core/database_api.php | Diff File | ||
| mod - core/filter_api.php | Diff File | ||
| mod - core/filter_form_api.php | Diff File | ||
| mod - core/gpc_api.php | Diff File | ||
| mod - core/html_api.php | Diff File | ||
| mod - core/print_api.php | Diff File | ||
| mod - view_all_inc.php | Diff File | ||
|
master 9cb002ec 2024-12-29 19:20 Details Diff |
Add tests for external URLs and nofollow - testLinkIsExternal: checks that helper_is_link_external() correctly detects external URLs. - testNoFollow: verifies that helper_get_link_attributes() sets the nofollow attribute (LINKS_NOFOLLOW_EXTERNAL) as appropriate for internal and external links. Issue 0035210 |
Affected Issues 0035210 |
|
| mod - tests/Mantis/Helper/GetLinkAttributesTest.php | Diff File | ||
|
master 8155682b 2024-12-29 19:15 Details Diff |
Add missing data set for LINKS_SAME_WINDOW | ||
| mod - tests/Mantis/Helper/GetLinkAttributesTest.php | Diff File | ||
|
master 9b81fd46 2024-12-29 19:11 Details Diff |
Tests: rename param to $p_value | ||
| mod - tests/Mantis/Helper/GetLinkAttributesTest.php | Diff File | ||
|
master d1760b0e 2024-12-29 19:10 Details Diff |
GetLinkAttributesTest: restore previous config value Fixes 0035212 |
Affected Issues 0035212 |
|
| mod - tests/Mantis/Helper/GetLinkAttributesTest.php | Diff File | ||
|
master 71608cbb 2024-12-29 19:03 Details Diff |
Tests: add methods to set/restore configs - MantisCoreBase::setConfig() sets the given configuration and returns its old value - MantisCoreBase::restoreConfig() restores a configuration to its initial state Fixes 0035212 |
Affected Issues 0035212 |
|
| mod - tests/Mantis/MantisCoreBase.php | Diff File | ||
|
master ef635829 2024-12-29 18:59 Details Diff |
New config_is_set_in_database() API function Same as existing config_is_set(), except that it returns false if there is not override for the config in the database (i.e. it does not check the default value from config files. This is is needed so that PHPUnit tests are able to change config values and then restore the database to its previous state afterwards. Fixes 0035211 |
Affected Issues 0035211 |
|
| mod - core/config_api.php | Diff File | ||
|
master 40f71cf3 2024-12-29 08:49 Details Diff |
Fix nofollow attribute for relative URLs Extract duplicated code in MantisMarkdown::processUrl() and the callback in string_insert_hrefs() into a new helper_is_link_external() function. Add logic to treat relative URLs as internal. Fixes 0035210 Follow-up on issue 0005271, PR https://github.com/mantisbt/mantisbt/pull/2044 |
Affected Issues 0005271, 0035210 |
|
| mod - core/helper_api.php | Diff File | ||
| mod - core/string_api.php | Diff File | ||
| mod - plugins/MantisCoreFormatting/core/MantisMarkdown.php | Diff File | ||
|
master 61f51677 2024-12-29 06:02 Details Diff |
Fix Bug Report Page redirect behavior If an early error occurs when calling bug_report_page.php with ALL_PROJECTS as the current project, a redirection occurs but since handled errors have been logged print_header_redirect() displays a "Proceed" message so the inline errors can be shown, but does not interrupt the script, causing the page layout to be printed twice and cascading errors to occur. Testing print_header_redirect()'s return value and aborting the script if false fixes the problem. Issue #0035208 |
||
| mod - bug_report_page.php | Diff File | ||
|
master 3a483125 2024-12-27 20:33 Details Diff |
Merge branch 'master-2.27' | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - core/plugin_api.php | Diff File | ||
| mod - plugin_file.php | Diff File | ||
|
master-2.27 f5f1c6ad 2024-12-27 20:32 Committer: community Details Diff |
Optimisation of work with plugins files. (0002064) Fix the caching of plugin MIME file types Update common types ($g_plugin_mime_types) used by plugin_file_include() - Replace the old 'text/javascript' with 'application/javascript' - Add modern SVG and WebP image types Performance improvements: - avoid loading the magic database if not needed - Add 'Last-Modified' header and return 304 if unchanged Fixes 0035199, PR https://github.com/mantisbt/mantisbt/pull/2064 Signed-off-by: Damien Regad <dregad@mantisbt.org> |
Affected Issues 0035199 |
|
| mod - config_defaults_inc.php | Diff File | ||
| mod - core/plugin_api.php | Diff File | ||
|
master b2b33a0f 2024-12-27 19:17 Details Diff |
Do not throw error for MissingClass plugin We don't want to throw an error for an invalid plugin when displaying manage_plugin_page.php, as this is the place where information about the problem is displayed. Fixes 0035208 |
Affected Issues 0035208 |
|
| mod - core/plugin_api.php | Diff File | ||
|
master 43635e7e 2024-12-27 19:15 Details Diff |
Improve status messages for MissingClassPlugin Fixes 0035208 |
Affected Issues 0035208 |
|
| mod - core/classes/MissingClassPlugin.class.php | Diff File | ||
| mod - lang/strings_english.txt | Diff File | ||
|
master 90c13845 2024-12-27 19:09 Details Diff |
Catch failing Plugin event hooks and report them New InvalidPlugin child class: MissingHooksPlugin Fixes 0035208 |
Affected Issues 0035208 |
|
| mod - core/classes/MantisPlugin.class.php | Diff File | ||
| add - core/classes/MissingHooksPlugin.class.php | Diff File | ||
| mod - core/plugin_api.php | Diff File | ||
| mod - lang/strings_english.txt | Diff File | ||
|
master 2cf4437c 2024-12-27 19:01 Details Diff |
Return false when Plugin init fails When a Plugin fails to initialize due to hooking a non-existing Event, the APIs now return false, allowing the caller to catch the problem. For backwards compatibility, since these functions previously had no return type, we consider a return value of null as true. Fixes 0035208 |
Affected Issues 0035208 |
|
| mod - core/classes/MantisPlugin.class.php | Diff File | ||
| mod - core/event_api.php | Diff File | ||
| mod - core/plugin_api.php | Diff File | ||
|
master a52bf022 2024-12-27 18:53 Details Diff |
Reduce invalid plugin status message font size | ||
| mod - manage_plugin_page.php | Diff File | ||
|
master ebcd204f 2024-12-27 18:49 Details Diff |
Allow delaying of warning messages Warnings triggered by MantisBT core before the page header has been printed cause the layout to be broken if warnings are configured to be displayed inline. Introduce a new error_delay_reporting() function, which allows to selectively enable the delayed printing of warnings (by defining the DELAY_INLINE_ERROR_REPORTING constant), and use it in event_hook() and in the error_handler() for the E_USER_DEPRECATED error type. Adapt the error handler to delay inline warnings when the constant is defined. Fixes 0035207 |
Affected Issues 0035207 |
|
| mod - core/error_api.php | Diff File | ||
| mod - core/event_api.php | Diff File | ||