Search Changesets

MantisBT: master 32e47289

2020-03-28 13:07:08

dregad

Details Diff
Admin Guide: Fix broken links and obsolete info

Fixes 0026617
Affected Issues
0026617
mod - docbook/Admin_Guide/en-US/About.xml Diff File
mod - docbook/Admin_Guide/en-US/Authentication.xml Diff File
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File
mod - docbook/Admin_Guide/en-US/Troubleshooting.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/database.xml Diff File
mod - docbook/Admin_Guide/en-US/config/date.xml Diff File
mod - docbook/Admin_Guide/en-US/config/display.xml Diff File
mod - docbook/Admin_Guide/en-US/config/duedate.xml Diff File
mod - docbook/Admin_Guide/en-US/config/email.xml Diff File
mod - docbook/Admin_Guide/en-US/config/filters.xml Diff File
mod - docbook/Admin_Guide/en-US/config/html.xml Diff File
mod - docbook/Admin_Guide/en-US/config/logging.xml Diff File
mod - docbook/Admin_Guide/en-US/config/misc.xml Diff File
mod - docbook/Admin_Guide/en-US/config/path.xml Diff File
mod - docbook/Admin_Guide/en-US/config/security.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
mod - docbook/Admin_Guide/en-US/config/webserver.xml Diff File
mod - docbook/Admin_Guide/publican.cfg Diff File
mod - docbook/Developers_Guide/en-US/Appendix.xml Diff File
mod - docbook/Developers_Guide/en-US/Contributors.xml Diff File
mod - docbook/Developers_Guide/en-US/Database.xml Diff File
mod - docbook/Developers_Guide/en-US/Integrating.xml Diff File
mod - docbook/Developers_Guide/en-US/Plugins_Building.xml Diff File
mod - docbook/Developers_Guide/publican.cfg Diff File
mod - docbook/README.md Diff File

MantisBT: master c2d6c3dd

2020-03-28 12:51:37

dregad

Details Diff
Fix warning and code cleanup in config_eval()

Issue 0026798
PR https://github.com/mantisbt/mantisbt/pull/1635
Affected Issues
0026798
mod - core/config_api.php Diff File

MantisBT: master 35b1296f

2020-03-26 11:08:34

translatewiki.net

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

MantisBT: master e6e5a878

2020-03-25 06:11:33

realitix

Details Diff
Increase TLD max length when validating usernames

The regex used to validate usernames limits the top-level domain part
to 4 chars. However, a lot of domains exceed this rule. The longest
one is currently 18 chars.

Fixes 0026811

The following python code returns the longest domain:

``` python
import urllib2

def is_ascii(s):
return all(ord(c) < 128 for c in s)

data = urllib2.urlopen("https://publicsuffix.org/list/public_suffix_list.dat")
nb_char = 0
longest_domain = None
for line in data:
if not line.startswith('//') and '.' not in line and is_ascii(line):
d = line.strip()
if len(d) > nb_char:
nb_char = len(d)
longest_domain = d
```
Affected Issues
0026811
mod - config_defaults_inc.php Diff File

MantisBT: master 650df76f

2020-03-23 10:02:40

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
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

MantisBT: master 7fffd663

2020-03-21 13:02:01

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

MantisBT: master f45ea669

2020-03-21 12:53:04

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.
Attach Issues:
mod - core/config_api.php Diff File

MantisBT: master 4800cfb0

2020-03-21 12:46:22

dregad

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

MantisBT: master 5ba56046

2020-03-19 10:08:11

translatewiki.net

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

MantisBT: master 120dbd65

2020-03-16 13:04:59

dependabot-preview[bot]

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

MantisBT: master 62563e86

2020-03-16 12:35:07

dregad

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

MantisBT: master-2.24 82f22737

2020-03-16 12:30:12

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

MantisBT: master 09fe0277

2020-03-16 10:46:18

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
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

MantisBT: dependabot/composer/phpmailer/phpmailer-6.1.5 9ea54109

2020-03-16 02:19:04

dependabot-preview[bot]

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>
Attach Issues:
mod - composer.lock Diff File

MantisBT: master 9fd3b1ff

2020-03-15 15:21:32

vboctor

Details Diff
Update release to 2.25.0-dev

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

MantisBT: master ce308986

2020-03-15 15:02:38

vboctor

Details Diff
Update release to 2.24.0

Signed-off-by: Victor Boctor <victor@mantishub.net>
Attach Issues:
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

MantisBT: master-2.23 09d7434d

2020-03-15 14:59:38

vboctor

Details Diff
Update release to 2.23.1

Signed-off-by: Victor Boctor <victor@mantishub.net>
Attach Issues:
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

MantisBT: master d92b78fa

2020-03-15 13:23:27

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

MantisBT: master 690ae29c

2020-03-14 17:56:28

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

MantisBT: master ed334871

2020-03-13 20:48:31

Sean McBride

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
Attach Issues:
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

MantisBT: master fbb0e8b0

2020-03-12 14:23:51

translatewiki.net

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

MantisBT: master 785bc909

2020-03-09 12:09:37

dregad

Details Diff
Whitespace
Attach Issues:
mod - core/project_hierarchy_api.php Diff File

MantisBT: master 9ce8c690

2020-03-09 11:39:18

translatewiki.net

Details Diff
Localisation updates from https://translatewiki.net.
Attach Issues:
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

MantisBT: master e0a11682

2020-03-09 08:55:11

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.
Attach Issues:
mod - core/project_hierarchy_api.php Diff File

MantisBT: master e8738fc0

2020-03-09 08:26:51

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
1 2 3 4 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 666 667 668  Next  Last