Changesets: MantisBT

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

master a930800e

2024-12-09 07:07

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net. [skip ci]
add - plugins/XmlImportExport/lang/strings_pa.txt Diff File

master 44d3fecc

2024-12-06 11:51

raspopov

Committer: community


Details Diff
Improve plugin_file_path() function

- Automatically detect the current plugin when $p_base_name = ''
- Return the path to the plugin's "files" directory when $p_filename = ''

This will allow plugins to dynamically provide files from their 'files'
directory. Currently, the directory is hard-coded but not easily
accessible.

Fixes 0035082, PR https://github.com/mantisbt/mantisbt/pull/2054

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0035082
mod - core/plugin_api.php Diff File
mod - docbook/Developers_Guide/en-US/Plugins_Building.xml Diff File

master 5771b7b4

2024-12-05 10:50

raspopov

Committer: dregad


Details Diff
New EVENT_LDAP_CACHE_ATTRS event

Allows plugins to extend the LDAP attribute cache.

Fixes 0035070

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

Renamed foreach loop variables, squashed commits.
Affected Issues
0035070
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-2.27 437eb123

2024-12-03 13:29

dregad


Details Diff
Ensure user in manage_config_cookie exists

If a non-existing user id is specified in the cookie, user_get_row()
returns false, resulting in the subsequent user_get_name_from_row() call
triggering a PHP error as the function expects an array but receives a
bool.

Adding a check for the user id's existence after reading the cookie and
defaulting to ALL_USERS if not found fixes the problem.

Fixes 0035064
Affected Issues
0035064
mod - adm_config_report.php Diff File

master-2.27 d0a7bed6

2024-12-03 13:22

dregad


Details Diff
Fix static analysis warnings
mod - adm_config_report.php Diff File

master 66056ffc

2024-11-29 14:21

raspopov

Committer: dregad


Details Diff
Adds Graphviz version checks for SVG format
mod - admin/check/check_display_inc.php Diff File

master babfb630

2024-11-28 13:08

raspopov

Committer: dregad


Details Diff
New $g_graph_format option

Allows selecting output type for images generated by Graphviz, currently
set to 'png' by default.
mod - config_defaults_inc.php Diff File
mod - core/relationship_graph_api.php Diff File
mod - workflow_graph_img.php Diff File

master 5a104a10

2024-11-28 07:07

translatewiki.net


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

master-2.27 a6e8c5c7

2024-11-26 13:51

raspopov

Committer: dregad


Details Diff
Fix Graphviz calls on Windows

Failing due to unescaped spaces in the path and incorrectly escaped
directory delimiter slashes in the proc_open() call.

Use realpath() to set the path to the library, and add escapeshellarg()
in the Graphviz tool call.

Fixes 0035039

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

Original commits squashed.
Affected Issues
0035039
mod - admin/check/check_display_inc.php Diff File
mod - core/graphviz_api.php Diff File

master ff648727

2024-11-26 13:01

raspopov

Committer: dregad


Details Diff
Use SVG for relationship and workflow graphs
mod - core/relationship_graph_api.php Diff File
mod - workflow_graph_img.php Diff File

master a17752a6

2024-11-25 07:07

translatewiki.net


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

master 16ee3edc

2024-11-25 02:34

dregad


Details Diff
Merge branch 'master-2.27'
mod - composer.lock Diff File

dependabot/composer/phpmailer/phpmailer-6.9.3 cbdd8a27

2024-11-25 02:34

dependabot[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.9.2 to 6.9.3

Dependabot couldn't find the original pull request head commit, e21039094ed86ab6fb8477d7b6e7c501dab7b1c4.
mod - composer.lock Diff File

master-2.27 d5780f37

2024-11-25 02:33

dregad


Details Diff
Bump phpmailer/phpmailer from 6.9.2 to 6.9.3

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.9.2 to 6.9.3.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.9.2...v6.9.3)

---
updated-dependencies:
- dependency-name: phpmailer/phpmailer
dependency-type: direct:production
update-type: version-update:semver-patch
...

Fixes 0034845, PR https://github.com/mantisbt/mantisbt/pull/2050

Signed-off-by: dependabot[bot] <support@github.com>
Affected Issues
0034845
mod - composer.lock Diff File
 First  Prev  1 2 3 ... 12 13 14 15 16 17 18 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last