Commit fa306daf authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 349423: Release Notes for Bugzilla 3.0

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
parent c1cec451
......@@ -35,6 +35,7 @@ package Bugzilla::Template;
use strict;
use Bugzilla::Constants;
use Bugzilla::Install::Requirements;
use Bugzilla::Util;
use Bugzilla::User;
use Bugzilla::Error;
......@@ -57,7 +58,6 @@ use base qw(Template);
# (which is how Perl implements constants) and ignoring the rest (which, if
# Constants.pm exports only constants, as it should, will be nothing else).
sub _load_constants {
use Bugzilla::Constants ();
my %constants;
foreach my $constant (@Bugzilla::Constants::EXPORT,
@Bugzilla::Constants::EXPORT_OK)
......@@ -820,6 +820,16 @@ sub create {
Bugzilla::BugMail::Send($id, $mailrecipients);
},
# These don't work as normal constants.
DB_MODULE => \&Bugzilla::Constants::DB_MODULE,
REQUIRED_MODULES =>
\&Bugzilla::Install::Requirements::REQUIRED_MODULES,
OPTIONAL_MODULES => sub {
my @optional = @{OPTIONAL_MODULES()};
@optional = sort {$a->{feature} cmp $b->{feature}}
@optional;
return \@optional;
},
},
}) || die("Template creation failed: " . $class->error());
......
Release Notes for Bugzilla version 3.0 and higher are available in HTML
format, either on the bugzilla.org website, or in your current installation,
linked from the index page.
bugzilla.org links for release notes
------------------------------------
3.0: http://www.bugzilla.org/releases/3.0/release-notes.html
***************************************
*** The Bugzilla 2.22 Release Notes ***
***************************************
......
/* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
* implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Initial Developer of the Original Code is Everything Solved.
* Portions created by Everything Solved are Copyright (C) 2006
* Everything Solved. All Rights Reserved.
*
* The Original Code is the Bugzilla Bug Tracking System.
*
* Contributor(s): Max Kanat-Alexander <mkanat@bugzilla.org>
*/
#bugzilla-body {
padding: 0 1em;
}
.req_new {
color: red;
}
.req_table {
border-collapse: collapse;
}
.req_table td, .req_table th {
border: 1px solid black;
padding: .25em;
}
......@@ -77,9 +77,9 @@ foreach my $file (@testitems) {
}
# "Bugzilla"
if (grep /(?<!X\-)Bugzilla(?!_)/, $text) {
# Exclude JS comments, hyperlinks, USE and variable assignment.
unless (grep /(\/\/.*|org.*>|USE |= )Bugzilla/, $text) {
if (grep /(?<!X\-)Bugzilla(?!_|::|-&gt|\.pm)/, $text) {
# Exclude JS comments, hyperlinks, USE, and variable assignment.
unless (grep /(\/\/.*|(org|api).*>|USE |= )Bugzilla/, $text) {
push(@errors, [$lineno, $text]);
next;
}
......
......@@ -95,9 +95,15 @@ function addSidebar() {
<div id="page-index">
<div class="intro"></div>
<p>This is where we put in lots of nifty words explaining all about [% terms.Bugzilla %].</p>
<p>But it all boils down to a choice of:</p>
<p>Welcome to [% terms.Bugzilla %]. To see what's new in this version
of [% terms.Bugzilla %], see the
<a href="page.cgi?id=release-notes.html">release notes</a>!
You may also want to read the
<a href="[% Param('docs_urlbase') FILTER html %]using.html">
[%- terms.Bugzilla %] User's Guide</a> to find out more about
[%+ terms.Bugzilla %] and how to use it.</p>
<p>Most common actions:</p>
<ul>
<li id="query"><a href="query.cgi">Search existing [% terms.bug %] reports</a></li>
<li id="enter-bug"><a href="enter_bug.cgi">Enter a new [% terms.bug %] report</a></li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment