Changesets: MantisBT

master 83a0e56c

2020-01-23 14:23

cproensa

Committer: dregad


Details Diff
Fix filter by relationship

Fix scenario when filtering by "none" relation to a given issue id.

Fixes: 26621
Affected Issues
0026621
mod - core/classes/BugFilterQuery.class.php Diff File

master-2.23 28336ef3

2020-01-23 06:45

dregad


Details Diff
Use ldap_realname_from_username()

Since we already know the username, we can avoid calling the id-based
ldap_realname() wrapper.
mod - core/ldap_api.php Diff File

master-2.23 2ed3e3ef

2020-01-23 06:43

dregad


Details Diff
Log LDAP bind dn account name
mod - core/ldap_api.php Diff File

master-2.23 709fb78e

2020-01-23 06:32

dregad


Details Diff
Reduce number of LDAP searches

Prior to this, retrieving user information required 1 LDAP search each
time a user was referenced on a page (possibly 2 if Mantis is configured
to show the realname). This could have a significant performance impact
when displaying pages containing a large number of users (e.g. viewing
an Issue having a long history, as described in issue 0026600).

Implement a new ldap_cache_user_data() function to retrieve all needed
LDAP attributes in a single search, and cache them.

This way, we only need to query the LDAP server once per user,
subsequent calls only need to access the cache which drastically
improves performance.

Fixes 0026622, 0026600
Affected Issues
0026600, 0026622
mod - core/ldap_api.php Diff File

master-2.23 461faac7

2020-01-23 06:01

dregad


Details Diff
Move caching to ldap_get_field_from_username()

Having the logic to cache LDAP data in ldap_email_from_username() and
ldap_realname_from_username() introduced code duplication.

Since both functions rely on ldap_get_field_from_username() to retrieve
data from LDAP, it makes more sense to process the cache there.
mod - core/ldap_api.php Diff File

master 71a8380b

2020-01-23 05:13

translatewiki.net


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

master 26ad5e59

2020-01-21 21:15

atrol


Details Diff
Merge branch 'master-2.23'
mod - bug_view_inc.php Diff File
mod - core/commands/IssueViewPageCommand.php Diff File

master 6ce5af33

2020-01-21 10:29

Sean McBride

Committer: dregad


Details Diff
Replaced all https://www.mantisbt.org with https://mantisbt.org
mod - docbook/Admin_Guide/en-US/About.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/publican.cfg Diff File
mod - docbook/Developers_Guide/en-US/Contributors.xml Diff File
mod - docbook/Developers_Guide/publican.cfg Diff File
mod - docbook/README.md Diff File

master-2.23 806486d3

2020-01-21 02:33

dregad


Details Diff
LDAP cache realname also

Until now, the cache was only storing e-mail, realname was always
fetched from the LDAP server.

The $g_cache_ldap_email global variable was renamed $g_cache_ldap_data
to reflect its more general purpose.
mod - core/ldap_api.php Diff File

master-2.23 91205d2d

2020-01-21 02:30

dregad


Details Diff
LDAP cache by username instead of id

Until now, LDAP API was caching users' e-mail based on their ID.

Since LDAP API works with username (the ID-based functions are simple
wrappers for their username-based counterparts), it makes more sense to
change the cache to use the username as key.
mod - core/ldap_api.php Diff File

master 83640b9e

2020-01-20 00:36

translatewiki.net


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

master e26eabfb

2020-01-19 13:33

cproensa

Committer: dregad


Details Diff
Improve MantisColumn sort support

Allow including select elements from the sort method in MantisColumn
when building the filter sql query.

Fixes: 0026612
Affected Issues
0026612
mod - core/classes/BugFilterQuery.class.php Diff File

master 6fd3aa63

2020-01-19 06:51

cproensa

Committer: dregad


Details Diff
Clean up code and comments
mod - core/classes/BugFilterQuery.class.php Diff File

master ec75a98d

2020-01-19 06:49

cproensa

Committer: dregad


Details Diff
BugFilterQuery check for later modifications

The internal sql query is built and ready after the constructor method,
and regenerated after changing query type with set_query_type().
However, if externally adding clauses throguh add_join(), add_where(),
etc, those new parts are not translated to the final query
automatically.

Add a flag that keeps track of the modified state, so if the query is
executed after modifications, the internal sql is rebuilt.

Fixes: 0024600
Affected Issues
0024600
mod - core/classes/BugFilterQuery.class.php Diff File

master 55fb5721

2020-01-18 09:52

atrol


Details Diff
Correct log message in function ldap_simulatiom_realname_from_username
mod - core/ldap_api.php Diff File

master-2.23 9bb87b04

2020-01-18 06:30

atrol


Details Diff
Fix history_default_visible regression in View Issue Details page

Fixes 0026610
Affected Issues
0026610
mod - bug_view_inc.php Diff File
mod - core/commands/IssueViewPageCommand.php Diff File

master 43174b11

2020-01-16 04:33

translatewiki.net


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

master d822fd7c

2020-01-15 06:51

dregad


Details Diff
Merge branch 'master-2.23'
mod - admin/install.php Diff File
mod - js/install.js Diff File

master 4e8f5a6f

2020-01-15 06:09

dependabot-preview[bot]

Committer: dregad


Details Diff
Bump adodb/adodb-php from 5.20.15 to 5.20.16

Bumps [adodb/adodb-php](https://github.com/ADOdb/ADOdb) from 5.20.15 to 5.20.16.
- [Release notes](https://github.com/ADOdb/ADOdb/releases)
- [Changelog](https://github.com/ADOdb/ADOdb/blob/master/docs/changelog.md)
- [Commits](https://github.com/ADOdb/ADOdb/compare/v5.20.15...v5.20.16)

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

Fixes 0026598, https://github.com/mantisbt/mantisbt/pull/1610
Affected Issues
0026598
mod - composer.lock Diff File

master f850ce4b

2020-01-13 05:26

translatewiki.net


Details Diff
Localisation updates from https://translatewiki.net.
mod - lang/strings_belarusian_tarask.txt Diff File
mod - lang/strings_latvian.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - plugins/MantisGraph/lang/strings_belarusian_tarask.txt Diff File

dependabot/composer/adodb/adodb-php-5.20.16 baf637a1

2020-01-12 20:21

dependabot-preview[bot]

Committer: GitHub


Details Diff
Bump adodb/adodb-php from 5.20.15 to 5.20.16

Bumps [adodb/adodb-php](https://github.com/ADOdb/ADOdb) from 5.20.15 to 5.20.16.
- [Release notes](https://github.com/ADOdb/ADOdb/releases)
- [Changelog](https://github.com/ADOdb/ADOdb/blob/master/docs/changelog.md)
- [Commits](https://github.com/ADOdb/ADOdb/compare/v5.20.15...v5.20.16)

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

master 025210a3

2020-01-12 11:06

atrol

Committer: dregad


Details Diff
Standardize access of option database_version

Fixes 0026821
Affected Issues
0026821
mod - admin/index.php Diff File
mod - admin/install.php Diff File
mod - admin/upgrade_unattended.php Diff File
mod - core/html_api.php Diff File
mod - login_page.php Diff File
mod - login_password_page.php Diff File
mod - manage_overview_page.php Diff File

master 4bb86527

2020-01-12 05:16

atrol


Details Diff
Merge branch 'master-2.23'
mod - bug_view_inc.php Diff File

master 449844ce

2020-01-10 14:32

dregad


Details Diff
Specific final message when generating SQL

Remind user that DB has not been created/upgraded, and that they should
do so.

Fixes 0026663
Affected Issues
0026663
mod - admin/install.php Diff File

master da2394cc

2020-01-10 12:54

dregad


Details Diff
Admin guide: remove obsolete $g_lap_port config

Config was actually obsoleted in 1.2.0a2
(commit 46f632602d31088fe74659cbb6a110496ddf5cf9) but was still
referenced in the documentation.

Fixes 0026589
Affected Issues
0026589
mod - docbook/Admin_Guide/en-US/config/auth.xml Diff File
 First  Prev  1 2 3 ... 70 ... 115 116 117 118 119 120 121 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last