diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-01-09 21:56:56 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-01-09 21:56:56 +0100 |
commit | 5bb3d3fb55bc19823a55c0e48322021a5c556394 (patch) | |
tree | 41b8a33080ead49f6632f4c8c5c71c017f9df757 | |
parent | 0c449e2d96804f6e48d3812b42ccf407fbbeb747 (diff) | |
parent | ed87a68c9fa5c099c79f45bb6f3ab95e42f14002 (diff) | |
download | bugzilla-5bb3d3fb55bc19823a55c0e48322021a5c556394.tar.gz bugzilla-5bb3d3fb55bc19823a55c0e48322021a5c556394.tar.xz |
merge with bugzilla/4.2
-rw-r--r-- | Bugzilla/WebService/Server/JSONRPC.pm | 13 | ||||
-rw-r--r-- | docs/en/xml/administration.xml | 24 | ||||
-rw-r--r-- | template/en/default/account/prefs/prefs.html.tmpl | 3 | ||||
-rw-r--r-- | template/en/default/bug/show-multiple.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/global/code-error.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/pages/release-notes.html.tmpl | 4 |
7 files changed, 45 insertions, 15 deletions
diff --git a/Bugzilla/WebService/Server/JSONRPC.pm b/Bugzilla/WebService/Server/JSONRPC.pm index 8fe724080..3b232aafa 100644 --- a/Bugzilla/WebService/Server/JSONRPC.pm +++ b/Bugzilla/WebService/Server/JSONRPC.pm @@ -22,7 +22,18 @@ package Bugzilla::WebService::Server::JSONRPC; use strict; -use base qw(JSON::RPC::Server::CGI Bugzilla::WebService::Server); +use Bugzilla::WebService::Server; +BEGIN { + our @ISA = qw(Bugzilla::WebService::Server); + + if (eval { require JSON::RPC::Server::CGI }) { + unshift(@ISA, 'JSON::RPC::Server::CGI'); + } + else { + require JSON::RPC::Legacy::Server::CGI; + unshift(@ISA, 'JSON::RPC::Legacy::Server::CGI'); + } +} use Bugzilla::Error; use Bugzilla::WebService::Constants; diff --git a/docs/en/xml/administration.xml b/docs/en/xml/administration.xml index 1630e2e45..f629ee329 100644 --- a/docs/en/xml/administration.xml +++ b/docs/en/xml/administration.xml @@ -2592,6 +2592,11 @@ ReadOnly: ENTRY, NA/NA, CANEDIT <section id="voting"> <title>Voting</title> + <para>All of the code for voting in Bugzilla has been moved into an + extension, called "Voting", in the <filename>extensions/Voting/</filename> + directory. To enable it, you must remove the <filename>disabled</filename> + file from that directory, and run <filename>checksetup.pl</filename>.</para> + <para>Voting allows users to be given a pot of votes which they can allocate to bugs, to indicate that they'd like them fixed. This allows developers to gauge @@ -2648,12 +2653,12 @@ ReadOnly: ENTRY, NA/NA, CANEDIT </para> <para> - Quips are controlled by the <emphasis>enablequips</emphasis> parameter. - It has several possible values: on, approved, frozen or off. - In order to enable quips approval you need to set this parameter - to "approved". In this way, users are free to submit quips for - addition but an administrator must explicitly approve them before - they are actually used. + Quip submission is controlled by the <emphasis>quip_list_entry_control</emphasis> + parameter. It has several possible values: open, moderated, or closed. + In order to enable quips approval you need to set this parameter to + "moderated". In this way, users are free to submit quips for addition + but an administrator must explicitly approve them before they are + actually used. </para> <para> @@ -2668,7 +2673,7 @@ ReadOnly: ENTRY, NA/NA, CANEDIT </para> <para> - Next to each tip there is a checkbox, under the + Next to each quip there is a checkbox, under the "Approved" column. Quips who have this checkbox checked are already approved and will appear next to the search results. The ones that have it unchecked are still preserved in the @@ -2680,6 +2685,11 @@ ReadOnly: ENTRY, NA/NA, CANEDIT Also, there is a delete link next to each quip, which can be used in order to permanently delete a quip. </para> + + <para> + Display of quips is controlled by the <emphasis>display_quips</emphasis> + user preference. Possible values are "on" and "off". + </para> </section> <section id="groups"> diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index 2e7d98c07..2e8b561de 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -40,8 +40,9 @@ title = "User Preferences" subheader = filtered_login style_urls = ['skins/standard/admin.css'] - javascript_urls = ['js/util.js'] + javascript_urls = ['js/util.js', 'js/field.js'] doc_section = "userpreferences.html" + yui = ['autocomplete'] %] [% tabs = [{ name => "settings", label => "General Preferences", diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl index 03ce294c5..7b9c201e6 100644 --- a/template/en/default/bug/show-multiple.html.tmpl +++ b/template/en/default/bug/show-multiple.html.tmpl @@ -173,6 +173,18 @@ </tr> [% END %] + [% IF bug.see_also.size %] + <tr> + <th>[% field_descs.see_also FILTER html %]:</th> + <td colspan="3"> + [% FOREACH see_also = bug.see_also %] + <a href="[% see_also.name FILTER html %]">[% see_also.name FILTER html %]</a> + [% "<br>" IF not loop.last() %] + [% END %] + </td> + </tr> + [% END %] + [% IF Param("usestatuswhiteboard") %] [% PROCESS row cell = "status_whiteboard" fullrow = 1 %] [% END %] diff --git a/template/en/default/global/code-error.html.tmpl b/template/en/default/global/code-error.html.tmpl index 70a345984..5dce16976 100644 --- a/template/en/default/global/code-error.html.tmpl +++ b/template/en/default/global/code-error.html.tmpl @@ -46,7 +46,7 @@ A legal address must contain exactly one '@', and at least one '.' after the @. [% ELSE %] - [%+ Param('emailregexpdesc') %] + [%+ Param('emailregexpdesc') FILTER html_light %] [% END %] It must also not contain any of these special characters: <tt>\ ( ) & < > , ; : " [ ]</tt>, or any whitespace. diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 295f7328f..6521150bc 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -849,7 +849,7 @@ A legal address must contain exactly one '@', and at least one '.' after the @. [% ELSE %] - [%+ Param('emailregexpdesc') %] + [%+ Param('emailregexpdesc') FILTER html_light %] [% END %] It must also not contain any of these special characters: <tt>\ ( ) & < > , ; : " [ ]</tt>, or any whitespace. diff --git a/template/en/default/pages/release-notes.html.tmpl b/template/en/default/pages/release-notes.html.tmpl index 819b22e2d..41396f5ac 100644 --- a/template/en/default/pages/release-notes.html.tmpl +++ b/template/en/default/pages/release-notes.html.tmpl @@ -338,10 +338,6 @@ [%- terms.Bug %] 584742</a>: When viewing [% terms.abug %], WebKit-based browsers can automatically reset a field's selected value when the field has disabled values.</li> - <li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=706753"> - [%- terms.Bug %] 706753</a>: Automatic [% terms.bug %] detection and - user auto-completion do not work with JSON::RPC 1.x due to a backwards - incompatible change. You should install JSON::RPC 0.96 instead.</li> </ul> |