Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
fa306daf
Commit
fa306daf
authored
Feb 23, 2007
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 349423: Release Notes for Bugzilla 3.0
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
parent
c1cec451
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
66 additions
and
7 deletions
+66
-7
Template.pm
Bugzilla/Template.pm
+11
-1
rel_notes.txt
docs/rel_notes.txt
+8
-0
release-notes.css
skins/standard/release-notes.css
+35
-0
009bugwords.t
t/009bugwords.t
+3
-3
index.html.tmpl
template/en/default/index.html.tmpl
+9
-3
release-notes.html.tmpl
template/en/default/pages/release-notes.html.tmpl
+0
-0
No files found.
Bugzilla/Template.pm
View file @
fa306daf
...
...
@@ -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
());
...
...
docs/rel_notes.txt
View file @
fa306daf
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 ***
***************************************
...
...
skins/standard/release-notes.css
0 → 100644
View file @
fa306daf
/* 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
;
}
t/009bugwords.t
View file @
fa306daf
...
...
@@ -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(?!_
|::|->|\.pm
)/
,
$text
)
{
# Exclude JS comments, hyperlinks, USE
,
and variable assignment.
unless
(
grep
/(\/\/.*|
(org|api)
.*>|USE |= )Bugzilla/
,
$text
)
{
push
(
@errors
,
[
$lineno
,
$text
]);
next
;
}
...
...
template/en/default/index.html.tmpl
View file @
fa306daf
...
...
@@ -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>
...
...
template/en/default/pages/release-notes.html.tmpl
0 → 100644
View file @
fa306daf
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment