Changesets: MantisBT

master 650df76f

2020-03-23 06:02

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - plugins/MantisGraph/lang/strings_asturian.txt Diff File
mod - plugins/MantisGraph/lang/strings_catalan.txt Diff File
mod - plugins/MantisGraph/lang/strings_eo.txt Diff File
mod - plugins/MantisGraph/lang/strings_galician.txt Diff File
mod - plugins/MantisGraph/lang/strings_spanish.txt Diff File
mod - plugins/XmlImportExport/lang/strings_spanish.txt Diff File

master-2.24 65d47df8

2020-03-22 19:28

vboctor

Committer: dregad


Details Diff
Fix attachments when notes are private by default

Fixes 0026805

Signed-off-by: Victor Boctor <victor@mantishub.net>
Affected Issues
0026805
mod - bugnote_add_inc.php Diff File

master 7fffd663

2020-03-21 09:02

dregad


Details Diff
Fix warning in config_get_global()

When config_eval() references an unknown config option, the code throws
an ERROR_CONFIG_OPT_NOT_FOUND warning.

To avoid this unwanted behavior, we now check that the config option to
replace actually exists before calling config_get()/config_get_global().
If not, the variable will be left as-is in the returned value.

Fixes 0026798
Affected Issues
0026798
mod - core/config_api.php Diff File

master f45ea669

2020-03-21 08:53

dregad


Details Diff
Refactor config_eval() to use PREG_SET_ORDER

Call preg_match_all() with PREG_SET_ORDER flag instead of the default
PREG_PATTERN_ORDER allows simplification of the replacement loop using
a foreach.

Assign the resulting match array elements to named variables makes the
code self-documenting and easier to read.
mod - core/config_api.php Diff File

master 4800cfb0

2020-03-21 08:46

dregad


Details Diff
Improve PHPDoc for config_eval()
mod - core/config_api.php Diff File

master 572cb1e0

2020-03-21 07:29

atrol

Committer: dregad


Details Diff
Display failed_login_count only if max_failed_login_count is enabled

Issue 0026797
Affected Issues
0026797
mod - manage_user_page.php Diff File
mod - view_user_page.php Diff File

master 5ba56046

2020-03-19 06:08

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_chinese_simplified.txt Diff File

master a541d59a

2020-03-17 14:10

atrol

Committer: dregad


Details Diff
Add failed_login_count to user information

Fixes 0026797
Affected Issues
0026797
mod - lang/strings_english.txt Diff File
mod - manage_user_page.php Diff File
mod - view_user_page.php Diff File

master 120dbd65

2020-03-16 09:04

dependabot-preview[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.1.4 to 6.1.5

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.1.4 to 6.1.5.
- [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.1.4...v6.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>

Fixes 0026784
PR https://github.com/mantisbt/mantisbt/pull/1631
Affected Issues
0026784
mod - composer.lock Diff File

master 62563e86

2020-03-16 08:35

dregad


Details Diff
Merge branch 'master-2.24'
mod - core/project_hierarchy_api.php Diff File

master-2.24 82f22737

2020-03-16 08:30

dregad


Details Diff
Revert "Remove unnecessary ORDER_BY clause"

This reverts commit 2a42ea38e8bf073d8932f0a0c62034357c8883db.

Turns out the ORDER BY was necessary after all...

Fixes 0026781
Affected Issues
0026781
mod - core/project_hierarchy_api.php Diff File

master 09fe0277

2020-03-16 06:46

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_french.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_qqq.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - plugins/MantisGraph/lang/strings_spanish.txt Diff File

dependabot/composer/phpmailer/phpmailer-6.1.5 9ea54109

2020-03-15 22:19

dependabot-preview[bot]

Committer: community


Details Diff
Bump phpmailer/phpmailer from 6.1.4 to 6.1.5

Bumps [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) from 6.1.4 to 6.1.5.
- [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.1.4...v6.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
mod - composer.lock Diff File

master 9fd3b1ff

2020-03-15 11:21

vboctor


Details Diff
Update release to 2.25.0-dev

Signed-off-by: Victor Boctor <victor@mantishub.net>
mod - core/constant_inc.php Diff File

master ce308986

2020-03-15 11:02

vboctor


Details Diff
Update release to 2.24.0

Signed-off-by: Victor Boctor <victor@mantishub.net>
mod - core/constant_inc.php Diff File
mod - docbook/Admin_Guide/en-US/Revision_History.xml Diff File
mod - docbook/Developers_Guide/en-US/Revision_History.xml Diff File

master-2.23 09d7434d

2020-03-15 10:59

vboctor


Details Diff
Update release to 2.23.1

Signed-off-by: Victor Boctor <victor@mantishub.net>
mod - core/constant_inc.php Diff File
mod - docbook/Admin_Guide/en-US/Revision_History.xml Diff File
mod - docbook/Developers_Guide/en-US/Revision_History.xml Diff File

master d92b78fa

2020-03-15 09:23

dregad


Details Diff
New plugin_lang_get_defaulted() API function

Plugin API provides plugin_lang_get(), pairing with lang_get(), but
there was no equivalent to lang_get_defaulted() in Plugin API.

Fixes 0026747
Affected Issues
0026747
mod - core/plugin_api.php Diff File

master 690ae29c

2020-03-14 13:56

vboctor


Details Diff
Retire `bug_change_status_page_fields` config option

Fixes 0026778

Signed-off-by: Victor Boctor <victor@mantishub.net>
Affected Issues
0026778
mod - bug_change_status_page.php Diff File
mod - bug_relationship_graph.php Diff File
mod - bug_reminder_page.php Diff File
mod - bugnote_view_inc.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/obsolete.php Diff File
mod - docbook/Admin_Guide/en-US/config/fields.xml Diff File
mod - view.php Diff File

master ed334871

2020-03-13 16:48

Sean McBride

Committer: dregad


Details Diff
Misc improvements to admin guide after reading through much of it

- be a little softer in "recommending" MD5
- changed note about future adoption of SHA1 since it's obsolete by now
- updated some recommended minimums (PHP, nginx) to currently supported versions
- removed note about PHP 5.3 & 5.4, which aren't even supported anymore
- other minor rewording, clean up
mod - docbook/Admin_Guide/en-US/Authentication.xml Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File
mod - docbook/Admin_Guide/en-US/User_Management.xml Diff File
mod - docbook/Admin_Guide/en-US/config/auth.xml Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File
mod - docbook/Admin_Guide/en-US/config/timezone.xml Diff File
mod - docbook/Admin_Guide/en-US/config/uploads.xml Diff File

master fbb0e8b0

2020-03-12 10:23

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_french.txt Diff File

master 785bc909

2020-03-09 08:09

dregad


Details Diff
Whitespace
mod - core/project_hierarchy_api.php Diff File

master 9ce8c690

2020-03-09 07:39

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_french.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_luxembourgish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File
mod - plugins/Gravatar/lang/strings_french.txt Diff File
mod - plugins/Gravatar/lang/strings_zazaki.txt Diff File
mod - plugins/MantisCoreFormatting/lang/strings_french.txt Diff File
mod - plugins/MantisGraph/lang/strings_french.txt Diff File
mod - plugins/XmlImportExport/lang/strings_french.txt Diff File

master e0a11682

2020-03-09 04:55

dregad


Details Diff
Refactoring project_hierarchy_get_parent()

Renaming foreach variables to self-document their purpose.

Derefencing $g_cache_project_hierarchy is not necessary, since we
already have the child projects in the foreach's value variable.
mod - core/project_hierarchy_api.php Diff File

master e8738fc0

2020-03-09 04:26

dregad


Details Diff
Build project Inheritance cache as a map

project_hierarchy_cache() was inconsistent when processing the
$g_cache_project_inheritance array:

- used as a list when inserting values, which creates sequential numeric
keys (i.e. `$cache[$t_project_id][] = $t_parent_id`)
- treated as a map when checking for value's existence
(i.e. `isset( $cache[$t_project_id][$t_parent_id'] )`

The consequence is that we're effectively comparing apples and oranges
(e.g. project id 1 vs an unrelated array index key 1).

Consistently treating the array as a map (i.e. using the parent id as
key) allows for simpler and more efficient code, as we can just assign
the value without needing to call isset() or in_array() first.

Fixes 0026765
Affected Issues
0026765
mod - core/project_hierarchy_api.php Diff File

master 2a42ea38

2020-03-09 04:17

dregad


Details Diff
Remove unnecessary ORDER_BY clause Affected Issues
0026781
mod - core/project_hierarchy_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 112 113 114 115 116 117 118 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last