From 7d1af605344e93b289e46c9d5520532b6f2cad15 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Fri, 25 Oct 2002 10:59:26 +0000 Subject: Bug 162990 Shorthand/wildcard entry for login names in assign, cc, qa, fields patch by not_erik@dasbistro.com r=joel, myk --- defparams.pl | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'defparams.pl') diff --git a/defparams.pl b/defparams.pl index bb5d43df7..a6abf0099 100644 --- a/defparams.pl +++ b/defparams.pl @@ -879,6 +879,39 @@ Reason: %reason% default => '32', checker => \&check_netmask }, + + { + name => 'usermatchmode', + desc => 'Allow match strings to be entered for user names when entering ' . + 'and editing bugs.

' . + '"off" disables matching,
' . + '"wildcard" allows only wildcards,
' . + 'and "search" allows both wildcards and substring (freetext) ' . + 'matches.', + type => 's', + choices => ['off', 'wildcard', 'search'], + default => 'off' + }, + + { + name => 'maxusermatches', + desc => 'Search for no more than this many matches.
'. + 'If set to "1", no users will be displayed on ambiguous matches. '. + 'This is useful for user privacy purposes.
'. + 'A value of zero means no limit.', + type => 't', + default => '1000', + checker => \&check_numeric + }, + + { + name => 'confirmuniqueusermatch', + desc => 'Whether a confirmation screen should be displayed when only ' . + 'one user matches a search entry', + type => 'b', + default => 1, + }, + ); 1; -- cgit v1.2.3-24-g4f1b