Changesets: MantisBT

master-2.27 b7b43831

2024-12-27 18:47

dregad


Details Diff
Disable inline error reporting in plugin_file.php

Fixes 0035209
Affected Issues
0035209
mod - plugin_file.php Diff File

master bca481c7

2024-12-27 06:38

dregad


Details Diff
Merge branch 'pr2053'

PR https://github.com/mantisbt/mantisbt/pull/2053
mod - core/events_inc.php Diff File
mod - core/ldap_api.php Diff File
mod - docbook/Developers_Guide/en-US/Events_Reference.xml Diff File

master 353cbd70

2024-12-27 04:36

dregad


Details Diff
Ensure requested extra LDAP attributes are unique

Even if multiple plugins require the same attribute, it should only be
retrieved once.

Note: ldap_search() fails if keys are missing in the attributes list,
so we need to call array_values() after array_unique().

Issue 0035070
Affected Issues
0035070
mod - core/ldap_api.php Diff File

master e3c900fe

2024-12-27 04:30

dregad


Details Diff
Add log_event() call for extra attributes

Issue 0035070
Affected Issues
0035070
mod - core/ldap_api.php Diff File

master 7c45c3f5

2024-12-26 08:51

dregad


Details Diff
Allow changing format of Graphviz-generated images

The format defaults to PNG to maintain backwards compatibility, but it
can be set to any Graphivz-supported format; SVG offers better quality
and avoids text begin cropped, but it is not supported by older versions
of Graphviz.

Fixes 0035038, https://github.com/mantisbt/mantisbt/pull/2051
Affected Issues
0035038
mod - admin/check/check_display_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/relationship_graph_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/relationship.xml Diff File
mod - workflow_graph_img.php Diff File

master 53560af9

2024-12-26 08:39

dregad


Details Diff
Documentation for $g_graph_format
mod - config_defaults_inc.php Diff File
mod - docbook/Admin_Guide/en-US/config/relationship.xml Diff File

master fb8b65c5

2024-12-26 08:07

dregad


Details Diff
Merge branch 'master-2.27'
mod - admin/check/check_display_inc.php Diff File
mod - admin/test_langs.php Diff File
mod - core/graphviz_api.php Diff File

master-2.27 0082f6ba

2024-12-26 07:56

dregad


Details Diff
Merge branch graphviz-windows

PR https://github.com/mantisbt/mantisbt/pull/2052
mod - admin/check/check_display_inc.php Diff File
mod - core/graphviz_api.php Diff File

master 415de27f

2024-12-26 07:07

translatewiki.net


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

master-2.27 1f556e79

2024-12-26 06:34

dregad


Details Diff
Fix test_langs.php processing ./.. as plugins

Since PHP 8.2, dot directories are no longer excluded by default by
FileSystemOperator [1].

Fixes 0035200

[1]: https://www.php.net/manual/en/migration82.incompatible.php#migration82.incompatible.standard
Affected Issues
0035200
mod - admin/test_langs.php Diff File

master 5aadece5

2024-12-24 23:02

vboctor


Details Diff
Fix param type in phpdoc for `custom_field_get_field()`
mod - core/custom_field_api.php Diff File

master a04a2532

2024-12-23 12:43

dregad


Details Diff
Merge branch 'master-2.27'
mod - core/lang_api.php Diff File

master-2.27 36481ac9

2024-12-23 10:42

raspopov

Committer: dregad


Details Diff
Fix lang_load() performance again

Micro-optimization, using string index comparison instead of strncmp(),
as explained in [1].

Fixes 0035198, PR https://github.com/mantisbt/mantisbt/pull/2061

[1]: https://mantisbt.org/bugs/view.php?id=35198#c69600

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0035198
mod - core/lang_api.php Diff File

master b03a310a

2024-12-23 07:08

translatewiki.net


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

master c694aa95

2024-12-22 09:07

dregad


Details Diff
Merge branch 'master-2.27'
mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/lang_api.php Diff File

master-2.27 4e49e931

2024-12-22 08:39

raspopov

Committer: dregad


Details Diff
Add the 'lang' attribute to the '<html>' tag

Uses new function lang_get_current_lang().

Improve PHPDoc for $g_language_auto_map.

Issue 0035180, PR https://github.com/mantisbt/mantisbt/pull/2058

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0035180
mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File
mod - core/lang_api.php Diff File

master 2420d425

2024-12-22 05:47

dregad


Details Diff
Merge branch 'master-2.27'
mod - core.php Diff File
mod - core/lang_api.php Diff File

master 1ce9268c

2024-12-21 15:39

vboctor


Details Diff
Ensured relationship reverse is used for destination issue

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

master-2.27 317abee4

2024-12-21 13:43

raspopov

Committer: dregad


Details Diff
Fix caching when current language is 'auto'

Caching the languages before initializing the plugin API results in a
single call instead of a minimum of five.

Fixes 0035198, PR https://github.com/mantisbt/mantisbt/pull/2060

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0035198
mod - core.php Diff File

master ad5ccf45

2024-12-21 13:05

dregad


Details Diff
Merge branch 'master-2.27'
mod - core/layout_api.php Diff File

master-2.27 9e2b936c

2024-12-21 01:43

raspopov

Committer: dregad


Details Diff
Optimize lang_load() function

Replacing preg_replace() with strncmp() and substr().

Note: the original implementation used str_starts_with() but that
requires PHP 8.0 or later, and we're on 7.4.

Fixes 0035198, PR https://github.com/mantisbt/mantisbt/pull/2059

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0035198
mod - core/lang_api.php Diff File

master-2.27 39e340e4

2024-12-19 15:17

raspopov

Committer: dregad


Details Diff
Fix invalid HTML

A <style> tag was incorrectly placed inside a <body> tag instead of a
<head> tag.

Issue 0035180, PR https://github.com/mantisbt/mantisbt/pull/2057

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0035180
mod - core/layout_api.php Diff File

master 834aaeba

2024-12-19 07:07

translatewiki.net


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

master 2b1a9401

2024-12-16 07:08

translatewiki.net


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

master-2.27 b84319e7

2024-12-09 10:49

raspopov

Committer: dregad


Details Diff
New Graph::graphviz_path() function avoids duplicate code

Issue 0035039
Affected Issues
0035039
mod - admin/check/check_display_inc.php Diff File
mod - core/graphviz_api.php Diff File
 First  Prev  1 2 3 ... 43 44 45 46 47 48 49 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last