From 9d50d636beb981d8c8c194bba818f17f3e9aceb5 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Wed, 24 Jul 2013 10:19:05 -0400 Subject: Bug 880653 - Add POD for Bug.possible_duplicates webservice r=LpSolit,a=sgreen --- Bugzilla/WebService/Bug.pm | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/Bugzilla/WebService/Bug.pm b/Bugzilla/WebService/Bug.pm index 8c59be2a9..9ccd84cc2 100644 --- a/Bugzilla/WebService/Bug.pm +++ b/Bugzilla/WebService/Bug.pm @@ -2018,6 +2018,59 @@ The same as L. =back +=head2 possible_duplicates + +B + +=over + +=item B + +Allows a user to find possible duplicate bugs based on a set of keywords +such as a user may use as a bug summary. Optionally the search can be +narrowed down to specific products. + +=item B + +=over + +=item C (string) B - A string of keywords defining +the type of bug you are trying to report. + +=item C (array) - One or more product names to narrow the +duplicate search to. If omitted, all bugs are searched. + +=back + +=item B + +The same as L. + +Note that you will only be returned information about bugs that you +can see. Bugs that you can't see will be entirely excluded from the +results. So, if you want to see private bugs, you will have to first +log in and I call this method. + +=item B + +=over + +=item 50 (Param Required) + +You must specify a value for C containing a string of keywords to +search for duplicates. + +=back + +=item B + +=over + +=item Added in Bugzilla B<4.0>. + +=back + +=back =head2 search -- cgit v1.2.3-24-g4f1b From 3b04f80a84856823023400a28793d0c4b8ca561e Mon Sep 17 00:00:00 2001 From: Sunil Joshi Date: Wed, 7 Aug 2013 15:29:13 +1000 Subject: Bug 901620 - Grammar error in the documentation r=sgreen, a=glob --- docs/en/xml/administration.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/xml/administration.xml b/docs/en/xml/administration.xml index 844053996..8ba95da9e 100644 --- a/docs/en/xml/administration.xml +++ b/docs/en/xml/administration.xml @@ -1056,7 +1056,7 @@ Login Name: This is generally the user's full email address. However, if you - have are using the emailsuffix parameter, this may + are using the emailsuffix parameter, this may just be the user's login name. Note that users can now change their login names themselves (to any valid email address). -- cgit v1.2.3-24-g4f1b From 2322f835d1f43ad8f709d784bfcf140710ae2bae Mon Sep 17 00:00:00 2001 From: Simon Green Date: Fri, 9 Aug 2013 13:57:38 +1000 Subject: Bug 897264 - letters_numbers_specialchars password restriction is incorrect r=LpSolit, a=sgreen --- Bugzilla/User.pm | 2 +- template/en/default/global/user-error.html.tmpl | 30 ++++++++++++------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 878daea60..0bc49d9b1 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -2070,7 +2070,7 @@ sub validate_password { my $complexity_level = Bugzilla->params->{password_complexity}; if ($complexity_level eq 'letters_numbers_specialchars') { ThrowUserError('password_not_complex') - if ($password !~ /\w/ || $password !~ /\d/ || $password !~ /[[:punct:]]/); + if ($password !~ /[[:alpha:]]/ || $password !~ /\d/ || $password !~ /[[:punct:]]/); } elsif ($complexity_level eq 'letters_numbers') { ThrowUserError('password_not_complex') if ($password !~ /[[:lower:]]/ || $password !~ /[[:upper:]]/ || $password !~ /\d/); diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 2341cd58f..8de412413 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1334,21 +1334,21 @@ [%+ constants.USER_PASSWORD_MIN_LENGTH FILTER html %] characters long. [% ELSIF error == "password_not_complex" %] - [% title = "Password Fails Requirements" %] - [% passregex = Param('password_complexity') %] - The password must contain at least one: -
    - [% IF passregex.search('letters') %] -
  • UPPERCASE letter
  • -
  • lowercase letter
  • - [% END %] - [% IF passregex.search('numbers') %] -
  • digit
  • - [% END %] - [% IF passregex.search('specialchars') %] -
  • special character
  • - [% END %] -
+ [% title = "Password Fails Requirements" %] + [% passregex = Param('password_complexity') %] + The password must contain at least one: +
    + [% IF passregex == 'letters_numbers_specialchars' %] +
  • letter
  • +
  • special character
  • + [% ELSIF passregex.search('letters') %] +
  • UPPERCASE letter
  • +
  • lowercase letter
  • + [% END %] + [% IF passregex.search('numbers') %] +
  • digit
  • + [% END %] +
[% ELSIF error == "product_access_denied" %] [% title = "Product Access Denied" %] -- cgit v1.2.3-24-g4f1b From 6161e5ca40d5aeca9005a4d85e950f9ef8bdf7ec Mon Sep 17 00:00:00 2001 From: Sunil Joshi Date: Fri, 9 Aug 2013 14:02:41 +1000 Subject: Bug 868330 - Password creation directions incomplete r=sgreen, a=sgreen --- .../account/password/set-forgotten-password.html.tmpl | 15 ++++++++++++--- template/en/default/admin/params/auth.html.tmpl | 2 +- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/template/en/default/account/password/set-forgotten-password.html.tmpl b/template/en/default/account/password/set-forgotten-password.html.tmpl index a2ae517c8..3bc16cbc0 100644 --- a/template/en/default/account/password/set-forgotten-password.html.tmpl +++ b/template/en/default/account/password/set-forgotten-password.html.tmpl @@ -20,10 +20,20 @@ [% title = "Change Password" %] [% PROCESS global/header.html.tmpl %] - +[% password_complexity = Param('password_complexity') %]

- To change your password, enter a new password twice: + To change your password, enter a new password twice:

+
    +
  • Password must be at least [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters long.
  • + [% IF password_complexity == "mixed_letters" %] +
  • Password must contain at least one UPPER and one lowercase letter.
  • + [% ELSIF password_complexity == "letters_numbers" %] +
  • Password must contain at least one UPPER and one lower case letter and a number.
  • + [% ELSIF password_complexity == "letters_numbers_specialchars" %] +
  • Password must contain at least one letter, a number and a special character.
  • + [% END %] +
@@ -33,7 +43,6 @@ New Password: - (minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters) diff --git a/template/en/default/admin/params/auth.html.tmpl b/template/en/default/admin/params/auth.html.tmpl index 2e11dffbc..c757d9140 100644 --- a/template/en/default/admin/params/auth.html.tmpl +++ b/template/en/default/admin/params/auth.html.tmpl @@ -136,6 +136,6 @@ "
  • letters_numbers - Passwords must contain at least one UPPER and one " _ "lower case letter and a number.
  • " _ "
  • letters_numbers_specialchars - Passwords must contain at least one " _ - "UPPER or one lower case letter, a number and a special character.
  • " + "letter, a number and a special character." } %] -- cgit v1.2.3-24-g4f1b From 340442e3d77fb2e8e180e1a541bae293d5cd6b18 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Fri, 9 Aug 2013 11:30:58 +0200 Subject: Bug 902515: Internet Explorer 11 receives multipart/x-mixed-replace content from buglist.cgi r=dkl a=sgreen --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buglist.cgi b/buglist.cgi index b5604d2bd..c93e185f8 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -140,7 +140,7 @@ my $serverpush = && exists $ENV{'HTTP_USER_AGENT'} && $ENV{'HTTP_USER_AGENT'} =~ /Mozilla.[3-9]/ && (($ENV{'HTTP_USER_AGENT'} !~ /[Cc]ompatible/) || ($ENV{'HTTP_USER_AGENT'} =~ /MSIE 5.*Mac_PowerPC/)) - && $ENV{'HTTP_USER_AGENT'} !~ /WebKit/ + && $ENV{'HTTP_USER_AGENT'} !~ /(?:WebKit|Trident)/ && !$agent && !defined($cgi->param('serverpush')) || $cgi->param('serverpush'); -- cgit v1.2.3-24-g4f1b From e651ee9c34ca40afdd4582902c1656ea577a4fc3 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 10 Aug 2013 02:45:28 +0200 Subject: Back out bug 868330 for the 4.2 branch. This is not a security fix --- .../account/password/set-forgotten-password.html.tmpl | 15 +++------------ template/en/default/admin/params/auth.html.tmpl | 2 +- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/template/en/default/account/password/set-forgotten-password.html.tmpl b/template/en/default/account/password/set-forgotten-password.html.tmpl index 3bc16cbc0..a2ae517c8 100644 --- a/template/en/default/account/password/set-forgotten-password.html.tmpl +++ b/template/en/default/account/password/set-forgotten-password.html.tmpl @@ -20,20 +20,10 @@ [% title = "Change Password" %] [% PROCESS global/header.html.tmpl %] -[% password_complexity = Param('password_complexity') %] +

    - To change your password, enter a new password twice:
    + To change your password, enter a new password twice:

    -
      -
    • Password must be at least [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters long.
    • - [% IF password_complexity == "mixed_letters" %] -
    • Password must contain at least one UPPER and one lowercase letter.
    • - [% ELSIF password_complexity == "letters_numbers" %] -
    • Password must contain at least one UPPER and one lower case letter and a number.
    • - [% ELSIF password_complexity == "letters_numbers_specialchars" %] -
    • Password must contain at least one letter, a number and a special character.
    • - [% END %] -
    @@ -43,6 +33,7 @@ New Password: + (minimum [% constants.USER_PASSWORD_MIN_LENGTH FILTER none %] characters) diff --git a/template/en/default/admin/params/auth.html.tmpl b/template/en/default/admin/params/auth.html.tmpl index c757d9140..2e11dffbc 100644 --- a/template/en/default/admin/params/auth.html.tmpl +++ b/template/en/default/admin/params/auth.html.tmpl @@ -136,6 +136,6 @@ "
  • letters_numbers - Passwords must contain at least one UPPER and one " _ "lower case letter and a number.
  • " _ "
  • letters_numbers_specialchars - Passwords must contain at least one " _ - "letter, a number and a special character.
  • " + "UPPER or one lower case letter, a number and a special character." } %] -- cgit v1.2.3-24-g4f1b