Changesets: MantisBT

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

master 50ff4dbb

2020-03-09 04:16

dregad


Details Diff
Remove unnecessary array initialization

`$a[] = 1` will initialize the array, so the if block is not needed.
mod - core/project_hierarchy_api.php Diff File

master cccbf422

2020-03-09 04:12

dregad


Details Diff
Store typecast DB values

Instead of repeated typecasts `(int)$t_row['column']`, we store the
value in variables at the start of the loop.

This also improves code readability.
mod - core/project_hierarchy_api.php Diff File

master 74c5394f

2020-03-02 23:37

dregad


Details Diff
Merge remote-tracking branch 'origin/master-2.23'

master d6e85f9c

2020-03-02 23:21

dregad


Details Diff
lang_get_defaulted() fallback to English

Merge PR https://github.com/mantisbt/mantisbt/pull/1625
mod - core/lang_api.php Diff File

master-2.23 76c06716

2020-03-02 23:13

nenadalm

Committer: dregad


Details Diff
Fix bugnote view_state when sending reminder

Fixes 0026757 (follow-up on issue 0010107)
PR https://github.com/mantisbt/mantisbt/pull/1626

(cherry picked from commit 0cc0885a49a311fd67aa1af024d81a1862ee07b1)
Affected Issues
0010107, 0026757
mod - bug_reminder.php Diff File

master 0cc0885a

2020-03-02 23:13

nenadalm

Committer: GitHub


Details Diff
Fix bugnote view_state when sending reminder

Fixes 0026757 (follow-up on issue 0010107)
PR https://github.com/mantisbt/mantisbt/pull/1626
Affected Issues
0010107, 0026757
mod - bug_reminder.php Diff File

master 5e6cc917

2020-02-27 06:15

translatewiki.net


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

master 710a466d

2020-02-20 06:59

dregad


Details Diff
Recursive lang_get_defaulted() for English fallback

Follows the same logic as in lang_get().

Fixes 0021201
Affected Issues
0021201
mod - core/lang_api.php Diff File

master 2115bd0e

2020-02-20 06:58

dregad


Details Diff
More logical sequence in lang_get() if block

Code cleanup: use elseif and negate the test's expression for a more
logical flow (process the error case last).
mod - core/lang_api.php Diff File

master 8d6784e0

2020-02-20 06:55

dregad


Details Diff
lang_ensure_loaded(): load current plugin's strings

Move the code to load the currently active plugin's strings from
lang_get() to lang_ensure_loaded().

This is in preparation for fixing issue 0021201, as this code would then
be duplicated in lang_get_defaulted().
Affected Issues
0021201
mod - core/lang_api.php Diff File

master 70da3ec9

2020-02-20 05:05

translatewiki.net


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

master a1f45450

2020-02-18 00:50

dregad


Details Diff
Fix JSLint warnings
mod - js/adm_config_report.js Diff File

master 762f4edf

2020-02-18 00:49

dregad


Details Diff
Add button to expand all complex options

Fixes 0026712
Affected Issues
0026712
mod - adm_config_report.php Diff File
mod - js/adm_config_report.js Diff File
mod - lang/strings_english.txt Diff File
 First  Prev  1 2 3 ... 70 ... 113 114 115 116 117 118 119 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last