Commit graph

652 commits

Author SHA1 Message Date
Bill Fenner
546a802f81 Add -T <tag> option, which results in --text=\[tag\].
Put $hr assignment back, since $hr is still used, particularly in
 text mode output.
2005-11-17 04:43:38 +00:00
Bill Fenner
a7613f7a01 Turn the entered code uppercase before looking it up in the database,
to permit entering the code in lowercase (since the generator doesn't
 generate lowercase letters).
Use a relative url to querypr-code.cgi so that mirrors (and test boxes)
 can use the query-pr cgis unmodified.
2005-11-16 23:35:57 +00:00
Ceri Davies
b63c7805f1 Forced commit to note that www/en/cgi/confirm-code.cgi was repocopied
from sendpr-code.cgi at the same path.

querypr-code.cgi and sendpr-code.cgi will be coalesced into the single
script confirm-code.cgi.
2005-11-11 08:58:06 +00:00
Bill Fenner
fc6bc754fe Copy solution for visited links from mailindex.
Requested by:	Dmitry Pryanishnikov in freebsd-www
2005-11-09 22:27:47 +00:00
Bill Fenner
adf473387a End the paragraph before the form, to make it valid xhtml again. 2005-11-09 21:38:31 +00:00
Ceri Davies
34c9d5f217 Remove some debug code. 2005-11-07 10:43:19 +00:00
Ceri Davies
31dfff3531 Don't show the email address of the Originator by default.
There is a link provided whereby users can enter a code to
see the email addresses.

Kind-of requested by:	core
2005-11-06 22:29:45 +00:00
Ceri Davies
5fa4a3cc7b Remove an unused array. 2005-11-06 22:13:05 +00:00
Ceri Davies
23aa9b9807 Correct a bug regarding the expiration of codes.
The test for expired codes was inverted, so emptied the database every
time the test ran.  Due to the time that the sweep was made, this bug
only hit the user if someone else had submitted a PR in the period
between their obtaining the code and submitting the PR.

This is likely the cause of the unexplained failures that some users
were seeing, which we all blamed on misbehaving caches.
2005-11-06 22:07:23 +00:00
Ceri Davies
0f3db6fb0d Split CGI and DATA into multiple lines and sort. 2005-11-06 20:28:56 +00:00
Hiroki Sato
c74fb6935f Bump version numbers for 6.0R. 2005-11-04 17:41:56 +00:00
Ceri Davies
77b1af42c7 Print a link to query-pr-summary.cgi at the end of every page (whether
that be an error or success), as it's not currently easy to find your
way back there.  Suggested in:

PR:		www/88473
Submitted by:	Roman Neuhauser <neuhauser at sigpipe dot cz>
2005-11-04 10:25:42 +00:00
Bill Fenner
86a6cf0387 Remove the explicit $hsty_base='' and let cgi-style.pl take care of the
default.  This has been a little wrong ever since these scripts moved to
 docs.freebsd.org, but became very wrong when the style sheets were added
 since docs.freebsd.org doesn't serve them.
2005-10-31 15:25:05 +00:00
Bill Fenner
164f4a22c6 Add hub to the list of hosts, I forgot that docs cgi scripts actually
run on hub.
2005-10-29 15:11:09 +00:00
Bill Fenner
97fa1675c8 Conditionally set $hsty_base to http://www.FreeBSD.org/:
1. If we're not running under cgi (for the mailindex run out of cron)
 2. If we're running on docs.freebsd.org (because it doesn't have the
    style files, and the "home" link would point to docs home, not
    the home home)
 3. If we're running on people.freebsd.org, to facilitate my testing

Otherwise, keep it relative for the benefit of mirrors.

docs problem pointed out by: Mark Trettin (mkt AT trettin DOT org)
2005-10-29 15:08:21 +00:00
Bill Fenner
f5004e162f Disable the CSS workaround for the <body>/<table> quirk for HTML4 pages.
It looks like Firefox applies the relative size twice, making the fonts
 too small.  Instead, now they'll be too big - just a bit bigger than
 the "Large" web site font.

This only applies to HTML4 pages, which as I mentioned before are
 cvsweb and mailindex, and I don't think that mailindex uses tables.
 This means that this problem should be fixed when someone (no promises)
 imports cvsweb 3 which uses XHTML.

This commit brought to you by CSS, Web Quirks, IE and our favorite IRC channel.
2005-10-28 19:07:36 +00:00
Bill Fenner
8ea2553bc9 Temporary hack for HTML headers with new cgi-style.pl; this should be
really fixed when importing cvsweb 3.
2005-10-28 14:55:57 +00:00
Bill Fenner
3f0bcf7d8f Update cgi-style to match the new web site look.
Add an optional 2nd argument to html_header(); if it's missing or
 supplied and non-zero, html_header returns XHTML doctype; if it's
 supplied and zero, html_header returns HTML 4.01 doctype.
 cvsweb and mailindex are the only HTML4 holdouts.  cvsweb should
 be updated to 3.x which is XHTML, but that's a seperate step.
I left $hsty_home alone, because I couldn't find anything that used
 it or any obvious image to use for it in the new layout.
2005-10-28 14:55:13 +00:00
Wolfram Schneider
8c8d96cf01 support search in FreeBSD manual pages 2005-10-24 20:59:01 +00:00
Wolfram Schneider
f9502a0088 support search in non-english pages,
e.g. database 'www-de' for german pages.
2005-10-23 17:22:51 +00:00
Bill Fenner
3500feba32 Don't set hsty_base to the default, let cgi-style do that. 2005-10-20 20:03:36 +00:00
Bill Fenner
8b20d224d9 Continue the xhtml-ification of cgi scripts.
Assisted by:	simon@, validator.w3.org
2005-10-20 19:54:57 +00:00
Bill Fenner
7ca2f8d8eb Tweak the xhtml-ification.
Assisted by:	validator.w3.org
2005-10-19 15:47:38 +00:00
Remko Lodder
526e1e8250 Remove the old register script. It is no longer used within our website
and all the translations caught up. Except for es/support.sgml and
es/publish.sgml, but they are old. This also fixes a cleanup for
ceri which he started long time ago.
2005-10-06 15:44:08 +00:00
Remko Lodder
1c40c291d1 Fix a problem spotted by pav. The Originator field got split into two lines
making it hard to copy/paste the originator field for PR issues.
Also make query-pr.cgi xhtml compliant.

Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-18 19:32:24 +00:00
Remko Lodder
cd96331876 Another go at making our cgi scripts xhtml compliant.
Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-17 15:48:23 +00:00
Remko Lodder
bc343ef2a8 Remove the now redundant html close tags.
Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-13 18:17:46 +00:00
Remko Lodder
9e46686368 Make our cgi-style xhtml1.0 compliant. With this all our cgi's could
pass the xhtml compliant check, making us conforming to standards.
This also finishes the update to query-pr-summary.cgi which is now
XHTML 1.0 compliant.

Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-13 17:36:15 +00:00
Remko Lodder
f45b9f679d Add coloring support for the summary. This should make it
easier to read when you are using a color capable browser.

This will not impact a text-only browser.

Changes include:

o Code cleanup
o Add CSS style's.
o Use the new CSS style's.
o Move double quotes to quotes where needed.
o Made the HTML (except for the header) html-compliant.

The usage of CSS makes it easy to merge later when/if needed.

Discussed on:		www@
No objections from:	www@
Submitted by:		Daniel Gerzo <danger at rulez dot sk>
2005-09-12 20:30:25 +00:00
Ceri Davies
c03b1a829e Restore r1.40 which was accidentally backed out in the last commit.
Discussed with:	jcamou
2005-08-11 11:47:01 +00:00
Jesus R. Camou
ea89921696 o Add `Query PR' button.
o Clean some tagging.

PR:		www/82379
Noticed by:	Ed Schouten <ed@fxq.nl>
Submitted by:	Daniel Gerzo <danger@rulez.sk>
Reviewed by:	simon
Approved by:	trhodes (mentor)
2005-08-11 01:34:53 +00:00
Remko Lodder
2802fc8f32 Add an space between the PR number and the colon.
Requested by:	pav
2005-07-14 15:02:38 +00:00
Ceri Davies
bc33ecc9ba Add some decent markup to the output of dosendpr.cgi.
The prerror class added to freebsd.css is not currently used; this will
happen once dosendpr.cgi is converted to use cgi-style.pl rather than
html.pl.
2005-07-14 11:26:17 +00:00
Ceri Davies
9cb8dd0d21 Bring CSS to the CGI scripts. 2005-07-14 11:08:54 +00:00
Max Laier
c612f94286 Add a new category 'soc' for Google Summer of Code related reports - which
we hope to receive ;)

Approved by:	brueffer
2005-07-06 11:42:11 +00:00
Wolfram Schneider
1f2b481f7b update to FreeBSD 5.4-RELEASE and Ports 2005-06-27 09:55:49 +00:00
www
5c1ad0698a update to 5.4-stable 2005-06-27 09:52:52 +00:00
Simon L. B. Nielsen
9328650b10 Remove 4.11 from the list (ie. basically revert most of 1.82) since it
does not actually work due to missing INDEX in cvs.

Related to PR:	www/75830
2005-06-14 21:34:44 +00:00
Simon L. B. Nielsen
78dee90b81 OpenSSL man pages are in the base distribution for 5.4, so also
include them for the 5.4 man pages.
2005-05-22 11:52:11 +00:00
Simon L. B. Nielsen
bc1187445e Make the 5.4 man pages point to the actual man pages for 5.4. 2005-05-22 11:38:32 +00:00
www
ae15ebfe5f Hack to get 5.4 manpages (taken from an existing 5.4-STABLE
snapshot) to show up on the Web site.
2005-05-10 05:43:23 +00:00
Giorgos Keramidas
aba859cb13 Change the default recipient address that is recommended at the end
of problem report viewed through the web interface of query-pr to
bug-followup@freebsd.org to reduce the diffs from the problem-reports
articles and the potential for confusing our users.

Submitted by:	Julien Gabel <jpeg@thilelli.net>
2005-04-14 12:26:28 +00:00
Max Laier
c656edf3c8 Add 'bin' category[1], move category-selection to "popup_menu" and add some
hints about formatting[2].

Suggested by:	dds[1], julian[2]
Approved by:	simon
2005-04-10 22:18:44 +00:00
Max Laier
ed3675ae2c monthly.cgi - webform to help with formatting status reports.
Submitted by:	julian (with changes)
Reviewed by:	www
Approved by:	trhodes
2005-04-09 12:45:52 +00:00
Simon L. B. Nielsen
05fd6f7eba Fix cvsweb link for new files.
Submitted by:	tobez
Noticed by:	Phil Regnauld
2005-03-29 20:43:20 +00:00
www
5fa44b9da7 disable non-working troff output format in menu 2005-03-10 18:52:03 +00:00
Ceri Davies
7a3556b080 Remove register.sgml, which lost its original purpose some years ago.
Forced commit also to reg.cgi to note that it can be cvs rm'd once all
of {es,fr,ja,ru}/register.sgml have caught up.

Approved by:	silence on doc-committers@
2005-03-03 22:42:57 +00:00
Wolfram Schneider
5caf673a6d add 4.11-RELEASE 2005-02-16 16:32:17 +00:00
Ceri Davies
5fd819d7b6 Follow revision 1.5 of www/share/sgml/includes.header.sgml:
Use less ambiguous content for the ALT attributes in the image
	map.
2005-02-12 13:13:14 +00:00
Ceri Davies
071edcc955 Remove unused variables. 2005-02-12 13:04:00 +00:00