diff options
author | 2016-06-18 13:35:57 +0200 | |
---|---|---|
committer | 2016-06-18 13:35:57 +0200 | |
commit | 5ba92938780af94afd6b9cc5ed5bde4d9f0e85d5 (patch) | |
tree | 123709dae18f3b81a214a2d331fbec2f3c678fdf /template | |
parent | Import Bugzilla::Error for ThrowUserError (diff) | |
parent | Bumped version to 5.0.3 (diff) | |
download | bugzilla-5ba92938780af94afd6b9cc5ed5bde4d9f0e85d5.tar.gz bugzilla-5ba92938780af94afd6b9cc5ed5bde4d9f0e85d5.tar.bz2 bugzilla-5ba92938780af94afd6b9cc5ed5bde4d9f0e85d5.zip |
Merge tag 'release-5.0.3' into bugstest
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/account/auth/login-small.html.tmpl | 48 | ||||
-rw-r--r-- | template/en/default/admin/flag-type/edit.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/admin/flag-type/list.html.tmpl | 4 | ||||
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 10 | ||||
-rw-r--r-- | template/en/default/global/docslinks.html.tmpl | 18 | ||||
-rw-r--r-- | template/en/default/global/header.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/global/js-products.html.tmpl | 5 | ||||
-rw-r--r-- | template/en/default/global/messages.html.tmpl | 11 | ||||
-rw-r--r-- | template/en/default/global/tabs.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 136 | ||||
-rw-r--r-- | template/en/default/pages/release-notes.html.tmpl | 34 | ||||
-rw-r--r-- | template/en/default/request/queue.html.tmpl | 31 | ||||
-rw-r--r-- | template/en/default/search/form.html.tmpl | 2 |
13 files changed, 167 insertions, 141 deletions
diff --git a/template/en/default/account/auth/login-small.html.tmpl b/template/en/default/account/auth/login-small.html.tmpl index 65aa861a1..a1a074372 100644 --- a/template/en/default/account/auth/login-small.html.tmpl +++ b/template/en/default/account/auth/login-small.html.tmpl @@ -27,8 +27,6 @@ <a id="login_link[% qs_suffix %]" href="[% script_url FILTER html %]" onclick="return show_mini_login_form('[% qs_suffix %]')">Log In</a> - [% Hook.process('additional_methods') %] - <form action="[% login_target FILTER html %]" method="POST" class="mini_login bz_default_hidden" id="mini_login[% qs_suffix FILTER html %]"> @@ -56,24 +54,28 @@ <a href="#" onclick="return hide_mini_login_form('[% qs_suffix %]')">[x]</a> </form> </li> -<li id="forgot_container[% qs_suffix %]"> - <span class="separator">| </span> - <a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot" - onclick="return show_forgot_form('[% qs_suffix %]')">Forgot Password</a> - <form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]" - class="mini_forgot bz_default_hidden"> - <label for="login[% qs_suffix FILTER html %]">Login:</label> - <input name="loginname" size="20" id="login[% qs_suffix FILTER html %]" required - [% IF login_not_email %] - placeholder="Your Login" - [% ELSE %] - type="email" placeholder="Your Email Address" - [% END %]> - <input id="forgot_button[% qs_suffix %]" value="Reset Password" - type="submit"> - <input type="hidden" name="a" value="reqpw"> - <input type="hidden" id="token[% qs_suffix FILTER html %]" name="token" - value="[% issue_hash_token(['reqpw']) FILTER html %]"> - <a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a> - </form> -</li> + +[% Hook.process('additional_methods') %] + +[% IF user.authorizer.can_change_password %] + <li id="forgot_container[% qs_suffix %]"> + <span class="separator">| </span> + <a id="forgot_link[% qs_suffix %]" href="[% script_url FILTER html %]#forgot" + onclick="return show_forgot_form('[% qs_suffix %]')">Forgot Password</a> + <form action="token.cgi" method="post" id="forgot_form[% qs_suffix %]" + class="mini_forgot bz_default_hidden"> + <label for="login[% qs_suffix FILTER html %]">Login:</label> + <input name="loginname" size="20" id="login[% qs_suffix FILTER html %]" required + [% IF login_not_email %] + placeholder="Your Login" + [% ELSE %] + type="email" placeholder="Your Email Address" + [% END %]> + <input id="forgot_button[% qs_suffix %]" value="Reset Password" type="submit"> + <input type="hidden" name="a" value="reqpw"> + <input type="hidden" id="token[% qs_suffix FILTER html %]" name="token" + value="[% issue_hash_token(['reqpw']) FILTER html %]"> + <a href="#" onclick="return hide_forgot_form('[% qs_suffix %]')">[x]</a> + </form> + </li> +[% END %] diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 6c0e0cb78..7505ebd8c 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -23,7 +23,7 @@ title = title style_urls = ['skins/standard/admin.css'] onload="var f = document.forms['flagtype_properties']; - selectProduct(f.product, f.component, null, null, '__Any__');" + selectProduct(f.product, f.component, '__Any__');" javascript_urls=["js/productform.js"] doc_section = "administering/flags.html" %] @@ -92,7 +92,7 @@ id => "product" name => "product" add => "__Any__" - onchange => "selectProduct(this, this.form.component, null, null, '__Any__');" + onchange => "selectProduct(this, this.form.component, '__Any__');" products => products %]<br> <select name="component"> diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index b91b49199..b1665c3b0 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -11,7 +11,7 @@ [% PROCESS global/header.html.tmpl title = 'Administer Flag Types' style_urls = ['skins/standard/admin.css'] - onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');" + onload="var f = document.flagtype_form; selectProduct(f.product, f.component, '__All__');" javascript_urls=["js/productform.js"] doc_section = "administering/flags.html" %] @@ -43,7 +43,7 @@ id => "product" name => "product" add => "__Any__" - onchange => "selectProduct(this, this.form.component, null, null, '__Any__');" + onchange => "selectProduct(this, this.form.component, '__Any__');" products => products %] </div> diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index d73d75e13..830a7e7f6 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -49,7 +49,7 @@ the error [% bug.error FILTER html %]. [% ELSIF error == "chart_data_not_generated" %] - [% admindocslinks = {'extraconfig.html' => 'Setting up Charting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Setting up Charting'} %] [% IF product.id %] Charts for the <em>[% product.name FILTER html %]</em> product are not available yet because no charting data has been collected for it since it @@ -290,6 +290,14 @@ a <code>[% param FILTER html %]</code> argument, and that argument was not set. + [% ELSIF error == "param_integer_required" %] + The function <code>[% function FILTER html %]</code> requires + that <code>[% param FILTER html %]</code> be an integer. + + [% ELSIF error == "param_scalar_array_required" %] + The <code>[% param FILTER html %]</code> parameter must be an array of scalars + (integers and/or strings). + [% ELSIF error == "params_required" %] [% title = "Missing Parameter" %] The function <code>[% function FILTER html %]</code> requires diff --git a/template/en/default/global/docslinks.html.tmpl b/template/en/default/global/docslinks.html.tmpl index e33aa3b17..94502aa1f 100644 --- a/template/en/default/global/docslinks.html.tmpl +++ b/template/en/default/global/docslinks.html.tmpl @@ -7,29 +7,29 @@ #%] [%# INTERFACE: - # docslinks: hash. Hash keys will be used as text of the documentation links, - # hash values will be used as links to the document, relative to + # docslinks: hash. Hash values will be used as text of the documentation links, + # hash keys will be used as links to the document, relative to # the main Bugzilla documentation directory. # Example: If you want a 'FAQ' link to point to, the "faq-general" # named anchor on faq.html, assign - # { 'FAQ' => "faq.html#faq-general" } + # { "faq.html#faq-general" => 'FAQ' } # to docslinks. # You may only link to sections by their given ID; it is not allowed # to link to a section which is not given an ID (thus getting # assigned an automatically generated ID). Otherwise, the link # would break on a recompilation of the documentation. # admindocslinks: hash. Same as docslinks, but will only be displayed to - # members of the admin group. + # members of the 'editcomponents' group. #%] -[% IF docslinks.keys.size || (admindocslinks.keys.size && user.in_group('admin')) %] +[% IF docslinks.keys.size || (admindocslinks.keys.size && user.in_group('editcomponents')) %] <div id="docslinks"> <h2>Related documentation</h2> <ul> - [% IF user.in_group('admin') %] - [% PROCESS docslinkslist docstype = admindocslinks %] + [% IF user.in_group('editcomponents') %] + [% PROCESS docslinkslist docstype = admindocslinks admin = 1 %] [% END %] - [% PROCESS docslinkslist docstype = docslinks %] + [% PROCESS docslinkslist docstype = docslinks admin = 0 %] </ul> </div> [% END %] @@ -37,7 +37,7 @@ [% BLOCK docslinkslist %] [% FOREACH docslink = docstype.keys %] <li> - <a href="[% docs_urlbase FILTER html %] + <a href="[% docs_urlbase FILTER html %][% "administering/" IF admin %] [% docslink FILTER none %]">[% docstype.$docslink FILTER html %]</a> </li> [% END %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 3b8dc3a3b..287209582 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -35,6 +35,7 @@ javascript_urls = [] yui = [] generate_api_token = 0 + favicon_url = "images/favicon.ico" %] [% SET yui_css = { @@ -208,7 +209,7 @@ [%# Required for the 'Autodiscovery' feature in Firefox 2 and IE 7. %] <link rel="search" type="application/opensearchdescription+xml" title="[% terms.Bugzilla %]" href="./search_plugin.cgi"> - <link rel="shortcut icon" href="images/favicon.ico" > + <link rel="shortcut icon" href="[% favicon_url FILTER html %]"> [% Hook.process("additional_header") %] </head> diff --git a/template/en/default/global/js-products.html.tmpl b/template/en/default/global/js-products.html.tmpl index e40a3e3ae..940a5e64d 100644 --- a/template/en/default/global/js-products.html.tmpl +++ b/template/en/default/global/js-products.html.tmpl @@ -8,14 +8,13 @@ [%# The javascript block gets used in header.html.tmpl. %] [% javascript = BLOCK %] - var useclassification = false; // No classification level in use var first_load = true; // Is this the first time we load the page? var last_sel = []; // Caches last selection var cpts = new Array(); + [% n = 1 %] [% FOREACH prod = products %] - cpts['[% n %]'] = [ - [%- FOREACH comp = prod.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + cpts['[% n %]'] = [[% FOREACH comp = prod.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%]]; [% n = n+1 %] [% END %] [% END %] diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index 3a8aa1ada..bc8fe5b38 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -879,9 +879,16 @@ [% title = "$terms.Bugzilla is Down" %] [% Param("shutdownhtml") %] [% IF userid %] - <p>For security reasons, you have been logged out automatically. - The cookie that was remembering your login is now gone. + <p> + For security reasons, you have been logged out automatically. + The cookie that was remembering your login is now gone. + </p> [% END %] + <p> + If you are an administrator, you can + <a href="editparams.cgi?section=general">reactivate [% terms.Bugzilla %]</a> + by clearing the <kbd>shutdownhtml</kbd> parameter. + </p> [% ELSIF message_tag == "term" %] [% terms.$term FILTER html %] diff --git a/template/en/default/global/tabs.html.tmpl b/template/en/default/global/tabs.html.tmpl index 9cf5a897b..511640477 100644 --- a/template/en/default/global/tabs.html.tmpl +++ b/template/en/default/global/tabs.html.tmpl @@ -25,7 +25,7 @@ [% tab.label FILTER html %]</td> [% ELSE %] <td id="tab_[% tab.name FILTER html %]" class="clickable_area" - onClick="document.location='[% tab.link FILTER html %]'"> + onClick="document.location='[% tab.link FILTER js FILTER html %]'"> <a href="[% tab.link FILTER html %]">[% tab.label FILTER html %]</a> </td> [% END %] diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index b5d2daf70..cc1ad1994 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -119,7 +119,7 @@ [% ELSIF error == "auth_failure" %] [% title = "Authorization Required" %] - [% admindocslinks = {'groups.html' => 'Group Security'} %] + [% admindocslinks = {'groups.html#groups' => 'Group Security'} %] Sorry, [% IF group %] you aren't a member of the '[% group FILTER html %]' group, @@ -257,12 +257,12 @@ [% ELSIF error == "bug_access_denied" %] [% title = "$terms.Bug Access Denied" %] - [% admindocslinks = {'groups.html' => 'Group Security'} %] + [% admindocslinks = {'groups.html#groups' => 'Group Security'} %] You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. [% ELSIF error == "bug_access_query" %] [% title = "$terms.Bug Access Denied" %] - [% docslinks = {'myaccount.html' => 'Creating an account'} %] + [% docslinks = {'administering/users.html#creating-new-users' => 'Creating an account'} %] You are not authorized to access [% terms.bug %] #[% bug_id FILTER html %]. To see this [% terms.bug %], you must first <a href="show_bug.cgi?id= @@ -304,8 +304,8 @@ [% ELSIF error == "buglist_parameters_required" %] [% title = "Parameters Required" %] - [% docslinks = {'query.html' => "Searching for $terms.bugs", - 'query.html#list' => "$terms.Bug lists"} %] + [% docslinks = {'using/finding.html' => "Searching for $terms.bugs", + 'using/finding.html#bug-lists' => "$terms.Bug lists"} %] You may not search, or create saved searches, without any search terms. [% ELSIF error == "cc_remove_denied" %] @@ -518,7 +518,7 @@ [% ELSIF error == "entry_access_denied" %] [% title = "Permission Denied" %] - [% admindocslinks = {'groups.html' => 'Group Security'} %] + [% admindocslinks = {'categorization.html#product-group-controls' => 'Group Security'} %] Sorry, either the product <em>[% product FILTER html %]</em> does not exist or you aren't authorized to enter [% terms.abug %] into it. @@ -717,10 +717,9 @@ [% ELSIF error == "flag_requestee_unauthorized" %] [% title = "Flag Requestee Not Authorized" %] - [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', - 'groups.html' => 'Group Security'} %] - [% docslinks = {'flags-overview.html' => 'An overview on Flags', - 'flags.html' => 'Using Flags'} %] + [% admindocslinks = {'flags.html' => 'Administering Flags', + 'categorization.html#assigning-group-controls-to-products' => 'Group Security'} %] + [% docslinks = {'using/understanding.html#flags' => 'Using Flags'} %] You asked [% requestee.identity FILTER html %] for <code>[% flag_type.name FILTER html %]</code> on [% terms.bug %] @@ -734,10 +733,9 @@ [% ELSIF error == "flag_requestee_unauthorized_attachment" %] [% title = "Flag Requestee Not Authorized" %] - [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', - 'groups.html' => 'Group Security'} %] - [% docslinks = {'flags-overview.html' => 'An overview on Flags', - 'flags.html' => 'Using Flags'} %] + [% admindocslinks = {'flags.html' => 'Administering Flags', + 'categorization.html#assigning-group-controls-to-products' => 'Group Security'} %] + [% docslinks = {'using/understanding.html#flags' => 'Using Flags'} %] You asked [% requestee.identity FILTER html %] for <code>[% flag_type.name FILTER html %]</code> on @@ -767,7 +765,7 @@ [% ELSIF error == "flag_type_cc_list_invalid" %] [% title = "Flag Type CC List Invalid" %] - [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] + [% admindocslinks = {'flags.html' => 'Administering Flags'} %] The CC list [% cc_list FILTER html %] must be less than 200 characters long. [% ELSIF error == "flag_type_component_without_product" %] @@ -776,12 +774,12 @@ [% ELSIF error == "flag_type_description_invalid" %] [% title = "Flag Type Description Invalid" %] - [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] + [% admindocslinks = {'flags.html' => 'Administering Flags'} %] You must enter a description for this flag type. [% ELSIF error == "flag_type_name_invalid" %] [% title = "Flag Type Name Invalid" %] - [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags'} %] + [% admindocslinks = {'flags.html' => 'Administering Flags'} %] The name <em>[% name FILTER html %]</em> must be 1-50 characters long and must not contain any spaces or commas. @@ -801,17 +799,15 @@ You must specify the type id value to update or add a flag. [% ELSIF error == "flag_type_not_multiplicable" %] - [% docslinks = {'flags-overview.html' => 'An overview on Flags', - 'flags.html' => 'Using Flags'} %] + [% docslinks = {'using/understanding.html#flags' => 'Using Flags'} %] You cannot have several <em>[% type.name FILTER html %]</em> flags for this [% IF attachment %] attachment [% ELSE %] [%+ terms.bug %] [% END %]. [% ELSIF error == "flag_update_denied" %] [% title = "Flag Modification Denied" %] - [% admindocslinks = {'flags-overview.html#flags-admin' => 'Administering Flags', - 'groups.html' => 'Group Security'} %] - [% docslinks = {'flags-overview.html' => 'An overview on Flags', - 'flags.html' => 'Using Flags'} %] + [% admindocslinks = {'flags.html' => 'Administering Flags', + 'categorization.html#assigning-group-controls-to-products' => 'Group Security'} %] + [% docslinks = {'using/understanding.html#flags' => 'Using Flags'} %] You tried to [% IF status == "+" %] grant [% ELSIF status == "-" %] deny [% ELSIF status == "X" %] clear [% ELSE %] request [% END %] <code>[% name FILTER html %] @@ -969,7 +965,7 @@ [% ELSIF error == "illegal_group_control_combination" %] [% title = "Your Group Control Combination Is Illegal" %] - [% admindocslinks = {'groups.html' => 'Assigning Group Controls to Products'} %] + [% admindocslinks = {'categorization.html#assigning-group-controls-to-products' => 'Assigning Group Controls to Products'} %] Your group control combination for group " [% groupname FILTER html %]" is illegal. @@ -986,13 +982,13 @@ <, >, &. [% ELSIF error == "illegal_series_creation" %] - [% admindocslinks = {'groups.html' => 'Group security'} %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% admindocslinks = {'categorization.html#assigning-group-controls-to-products' => 'Group security'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You are not authorized to create series. [% ELSIF error == "illegal_series_edit" %] - [% admindocslinks = {'groups.html' => 'Group security'} %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% admindocslinks = {'categorization.html#assigning-group-controls-to-products' => 'Group security'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You are not authorized to edit this series. To do this, you must either be its creator, or an administrator. @@ -1009,7 +1005,7 @@ The error was: [% dberror FILTER html %]. [% ELSIF error == "insufficient_data_points" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] We don't have enough data points to make a graph (yet). [% ELSIF error == "invalid_attach_id" %] @@ -1214,8 +1210,8 @@ [% ELSIF error == "milestone_already_exists" %] [% title = "Milestone Already Exists" %] - [% admindocslinks = {'products.html' => 'Administering products', - 'milestones.html' => 'About Milestones'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products', + 'categorization.html#milestones' => 'About Milestones'} %] The milestone '[% name FILTER html %]' already exists for product ' [%- product FILTER html %]'. @@ -1225,8 +1221,8 @@ [% ELSIF error == "milestone_is_default" %] [% title = "Default milestone not deletable" %] - [% admindocslinks = {'products.html' => 'Administering products', - 'milestones.html' => 'About Milestones'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products', + 'categorization.html#milestones' => 'About Milestones'} %] Sorry, but [% milestone.name FILTER html %] is the default milestone for the '[% milestone.product.name FILTER html %]' product, and so it cannot be deleted. @@ -1273,8 +1269,8 @@ [% ELSIF error == "missing_component" %] [% title = "Missing Component" %] - [% admindocslinks = {'products.html' => 'Administering products', - 'components.html' => 'Creating a component'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products', + 'categorization.html#milestones' => 'Creating a component'} %] Sorry, the product <em>[% product.name FILTER html %]</em> has to have at least one active component in order for you to enter [% terms.abug %] into it.<br> @@ -1297,26 +1293,26 @@ Sorry, I seem to have lost the cookie that recorded the results of your last search. I'm afraid you will have to start again from the <a href="query.cgi">search page</a>. - + [% ELSIF error == "missing_datasets" %] [% title = "No Datasets Selected" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You must specify one or more datasets to plot. - + [% ELSIF error == "missing_frequency" %] [% title = "Missing Frequency" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You did not specify a valid frequency for this series. - + [% ELSIF error == "missing_name" %] [% title = "Missing Name" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You did not specify a name for this series. - + [% ELSIF error == "missing_query" %] [% title = "Missing Search" %] - [% docslinks = {'query.html' => "Searching for $terms.bugs", - 'query.html#list' => "$terms.Bug lists"} %] + [% docslinks = {'using/finding.html' => "Searching for $terms.bugs", + 'using/finding.html#bug-lists' => "$terms.Bug lists"} %] The search named <em>[% name FILTER html %]</em> [% IF sharer_id && sharer_id != user.id %] has not been made visible to you. @@ -1339,7 +1335,7 @@ [% ELSIF error == "missing_version" %] [% title = "Missing Version" %] - [% admindocslinks = {'versions.html' => 'Defining versions'} %] + [% admindocslinks = {'categorization.html#versions' => 'Defining versions'} %] Sorry, the product <em>[% product.name FILTER html %]</em> has to have at least one active version in order for you to enter [% terms.abug %] into it.<br> @@ -1357,7 +1353,7 @@ [% ELSIF error == "need_quip" %] [% title = "Quip Required" %] - [% docslinks = {'quips.html' => 'About quips'} %] + [% docslinks = {'administering/quips.html' => 'About quips'} %] Please enter a quip in the text field. [% ELSIF error == "new_password_missing" %] @@ -1366,7 +1362,7 @@ [% ELSIF error == "no_axes_defined" %] [% title = "No Axes Defined" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] You didn't define any axes to plot. [% ELSIF error == "no_bugs_chosen" %] @@ -1405,9 +1401,11 @@ [% ELSIF error == "no_products" %] [% title = "No Products" %] - [% admindocslinks = {'products.html' => 'Setting up a product', - 'components.html' => 'Adding components to products', - 'groups.html' => 'Groups security'} %] + [% admindocslinks = { + 'categorization.html#creating-new-products' => 'Setting up a product', + 'categorization.html#components' => 'Adding components to products', + 'categorization.html#product-group-controls' => 'Groups security' + } %] Either no products have been defined to enter [% terms.bugs %] against or you have not been given access to any. @@ -1523,12 +1521,12 @@ [% ELSIF error == "product_name_already_in_use" %] [% title = "Product name already exists" %] - [% admindocslinks = {'products.html' => 'Administering products'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products'} %] The product name '[% product FILTER html %]' already exists. [% ELSIF error == "product_name_diff_in_case" %] [% title = "Product name differs only in case" %] - [% admindocslinks = {'products.html' => 'Administering products'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products'} %] The product name '[% product FILTER html %]' differs from existing product '[% existing_product FILTER html %]' only in case. @@ -1539,8 +1537,8 @@ [% ELSIF error == "product_must_define_defaultmilestone" %] [% title = "Must define new default milestone" %] - [% admindocslinks = {'products.html' => 'Administering products', - 'milestones.html' => 'About Milestones'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products', + 'categorization.html#milestones' => 'About Milestones'} %] You must <a href="editmilestones.cgi?action=add&product=[% product FILTER uri %]"> create the milestone '[% milestone FILTER html %]'</a> before it can be made the default milestone for product '[% product FILTER html %]'. @@ -1551,38 +1549,38 @@ [% ELSIF error == "product_blank_name" %] [% title = "Blank Product Name Not Allowed" %] - [% admindocslinks = {'products.html' => 'Administering products'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products'} %] You must enter a name for the product. [% ELSIF error == "product_disabled" %] [% title = BLOCK %]Product closed for [% terms.Bug %] Entry[% END %] - [% admindocslinks = {'products.html' => 'Administering products'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products'} %] Sorry, entering [% terms.abug %] into the product <em>[% product.name FILTER html %]</em> has been disabled. [% ELSIF error == "product_edit_denied" %] [% title = "Product Edit Access Denied" %] - [% admindocslinks = {'products.html' => 'Administering products', - 'groups.html' => 'Group security'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products', + 'categorization.html#assigning-group-controls-to-products' => 'Group security'} %] You are not permitted to edit [% terms.bugs %] in product [%+ product FILTER html %]. [% ELSIF error == "product_has_bugs" %] [% title = BLOCK %]Product has [% terms.Bugs %][% END %] - [% admindocslinks = {'products.html' => 'Administering products'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products'} %] There are [% nb FILTER html %] [%+ terms.bugs %] entered for this product! You must move those [% terms.bugs %] to another product before you can delete this one. [% ELSIF error == "product_must_have_description" %] [% title = "Product needs Description" %] - [% admindocslinks = {'products.html' => 'Administering products'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products'} %] You must enter a description for this product. [% ELSIF error == "product_must_have_version" %] [% title = "Product needs Version" %] - [% admindocslinks = {'products.html' => 'Administering products', - 'versions.html' => 'Administering versions'} %] + [% admindocslinks = {'categorization.html#products' => 'Administering products', + 'categorization.html#versions' => 'Administering versions'} %] You must enter a valid version to create a new product. [% ELSIF error == "product_unknown_component" %] @@ -1596,7 +1594,7 @@ [% ELSIF error == "query_name_missing" %] [% title = "No Search Name Specified" %] - [% docslinks = {'query.html#list' => "$terms.Bug lists"} %] + [% docslinks = {'using/finding.html#bug-lists' => "$terms.Bug lists"} %] You must enter a name for your search. [% ELSIF error == "query_name_too_long" %] @@ -1705,7 +1703,7 @@ [% ELSIF error == "saved_search_used_by_whines" %] [% title = "Saved Search In Use" %] - [% docslinks = {'whining.html' => 'About Whining'} %] + [% docslinks = {'administering/whining.html' => 'About Whining'} %] The saved search <em>[% search_name FILTER html %]</em> is being used by <a href="editwhines.cgi">Whining events</a> with the following subjects: [%+ subjects FILTER html %] @@ -1739,7 +1737,7 @@ [% ELSIF error == "series_already_exists" %] [% title = "Series Already Exists" %] - [% docslinks = {'reporting.html' => 'Reporting'} %] + [% docslinks = {'using/reports-and-charts.html' => 'Reporting'} %] A series named <em>[% series.category FILTER html %] / [%+ series.subcategory FILTER html %] / [%+ series.name FILTER html %]</em> @@ -1842,7 +1840,7 @@ [% ELSIF error == "version_already_exists" %] [% title = "Version Already Exists" %] - [% admindocslinks = {'versions.html' => 'Administering versions'} %] + [% admindocslinks = {'categorization.html#versions' => 'Administering versions'} %] The version '[% name FILTER html %]' already exists for product ' [%- product FILTER html %]'. @@ -1863,12 +1861,12 @@ [% ELSIF error == "users_deletion_disabled" %] [% title = "Deletion not activated" %] - [% admindocslinks = {'useradmin.html' => 'User administration'} %] + [% admindocslinks = {'users.html#deleting-users' => 'User administration'} %] Sorry, the deletion of user accounts is not allowed. [% ELSIF error == "user_has_responsibility" %] [% title = "Can't Delete User Account" %] - [% admindocslinks = {'useradmin.html' => 'User administration'} %] + [% admindocslinks = {'users.html#deleting-users' => 'User administration'} %] The user you want to delete is set up as the default [% terms.bug %] assignee [% IF Param('useqacontact') %] @@ -1889,7 +1887,7 @@ [% ELSIF error == "user_login_required" %] [% title = "Login Name Required" %] - [% admindocslinks = {'useradmin.html' => 'User administration'} %] + [% admindocslinks = {'users.html' => 'User administration'} %] You must enter a login name for the new user. [% ELSIF error == "user_match_failed" %] diff --git a/template/en/default/pages/release-notes.html.tmpl b/template/en/default/pages/release-notes.html.tmpl index 5bd1608d9..358298bc8 100644 --- a/template/en/default/pages/release-notes.html.tmpl +++ b/template/en/default/pages/release-notes.html.tmpl @@ -43,6 +43,40 @@ <h2 id="point">Updates in this 5.0.x Release</h2> +<h3>5.0.3</h3> + +<p>This release fixes one security issue. See the + <a href="https://www.bugzilla.org/security/4.4.11/">Security Advisory</a> + for details.</p> + +<p>This release also contains the following [% terms.bug %] fixes:</p> + +<ul> + <li>A regression in Bugzilla 5.0.2 caused <kbd>whine.pl</kbd> to be unable + to send emails due to a missing subroutine. + (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1235395">[% terms.Bug %] 1235395</a>)</li> + <li>The <kbd>Encode</kbd> module changed the way it encodes strings, causing + email addresses in emails sent by [%terms.Bugzilla %] to be encoded, + preventing emails from being correctly delivered to recipients. + We now encode email headers correctly. + (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1246228">[% terms.Bug %] 1246228</a>)</li> + <li>Fix additional taint issues with Strawberry Perl. + (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=987742">[% terms.Bug %] 987742</a> and + <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1089448">[% terms.bug %] 1089448</a>)</li> + <li>When exporting a buglist as a CSV file, fields starting with either + "=", "+", "-" or "@" are preceded by a space to not trigger formula + execution in Excel. + (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1259881">[% terms.Bug %] 1259881</a>)</li> + <li>An extension which allows user-controlled data to be used as a link in + tabs could trigger XSS if the data is not correctly sanitized. + [%+ terms. Bugzilla %] no longer relies on the extension to do the sanity + check. A vanilla installation is not affected as no tab is user-controlled. + (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1250114">[% terms.Bug %] 1250114</a>)</li> + <li>Extensions can now easily override the favicon used for the + [%+ terms.Bugzilla %] website. + (<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1250264">[% terms.Bug %] 1250264</a>)</li> +</ul> + <h3>5.0.2</h3> <p>This release fixes two security issues. See the diff --git a/template/en/default/request/queue.html.tmpl b/template/en/default/request/queue.html.tmpl index 7e8c44c8b..101fdd046 100644 --- a/template/en/default/request/queue.html.tmpl +++ b/template/en/default/request/queue.html.tmpl @@ -9,40 +9,17 @@ [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] +[% PROCESS "global/js-products.html.tmpl" %] + [% PROCESS global/header.html.tmpl title="Request Queue" generate_api_token = 1 - onload="var f = document.request_form; selectProduct(f.product, f.component, null, null, 'Any');" + onload="var f = document.request_form; selectProduct(f.product, f.component, 'Any');" javascript_urls=["js/productform.js", "js/field.js"] style_urls = ['skins/standard/buglist.css'] yui = ['autocomplete'] %] -<script type="text/javascript"> - var useclassification = false; // No classification level in use - var first_load = true; // Is this the first time we load the page? - var last_sel = []; // Caches last selection - var cpts = new Array(); - [% n = 1 %] - [% IF Param('useclassification') %] - [% FOREACH clas = user.get_selectable_classifications %] - [% FOREACH prod = user.get_selectable_products(clas.id) %] - [%+ PROCESS js_comp %] - [% END %] - [% END %] - [% ELSE %] - [% FOREACH prod = user.get_selectable_products %] - [%+ PROCESS js_comp %] - [% END %] - [% END %] -</script> - -[% BLOCK js_comp %] - cpts['[% n %]'] = [ - [%- FOREACH comp = prod.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%]]; - [% n = n+1 %] -[% END %] - <p> When you are logged in, only requests made by you or addressed to you are shown by default. You can change the criteria using the form below. @@ -72,7 +49,7 @@ to some group are shown by default. id => "product" name => "product" add => "Any" - onchange => "selectProduct(this, this.form.component, null, null, 'Any');" + onchange => "selectProduct(this, this.form.component, 'Any');" %] </td> <th>Flag:</th> diff --git a/template/en/default/search/form.html.tmpl b/template/en/default/search/form.html.tmpl index 0420811ee..ac8aeaf61 100644 --- a/template/en/default/search/form.html.tmpl +++ b/template/en/default/search/form.html.tmpl @@ -247,7 +247,7 @@ TUI_hide_default('information_query'); [% FOREACH qv = [ { name => "substring", description => "contains" }, { name => "notsubstring", description => "doesn't contain" }, - { name => "exact", description => "is" }, + { name => "equals", description => "is" }, { name => "notequals", description => "is not" }, { name => "regexp", description => "matches regexp" }, { name => "notregexp", description => "doesn't match regexp" } ] %] |