Commit graph

677 commits

Author SHA1 Message Date
Wolfram Schneider
6f52fc8a70 Update Darwin manual pages: Darwin 1.3.1/x86, Darwin 1.4.1/x86, Darwin 6.0.2/x86, Darwin 7.0.1, Darwin 8.0.1/ppc, OpenDarwin 20030208pre4/ppc, OpenDarwin 6.6.1/x86, OpenDarwin 6.6.2/x86, OpenDarwin 7.2.1 2006-02-03 13:17:29 +00:00
Ceri Davies
c6bcb337a8 Use more current manpages now that we have them. 2006-01-19 19:53:38 +00:00
Bill Fenner
415d223176 Make <h3> bigger and give it a horizontal rule, to provide better
visual seperation for categories.

Suggested by:	Jon Strait
2005-12-05 21:16:19 +00:00
Bill Fenner
6a28570df9 Make the "Skip site navigation" link point to #content; cgi scripts
have no section navigation so I removed the redundant #contentwrap
 div but didn't do anything about this link.

Pointed out by:	Jeff Brown
2005-12-05 04:26:20 +00:00
Simon L. B. Nielsen
b2b866fde8 Try to find cgi-lib.pl in the current directory since the script cannot
find cgi-lib.pl otherwise on www.FreeBSD.org.
2005-12-04 23:20:42 +00:00
Simon L. B. Nielsen
451acb67a8 Move the sendpr verification "database" to a non world-writeable
directory.

OK'ed by:	ceri
2005-12-04 22:25:20 +00:00
Simon L. B. Nielsen
5aaa666a2b Correct the xmlns attribute http://w3.org/1999/xhtml ->
http://www.w3.org/1999/xhtml, which is the namespace used by the XHTML
DTD's.

This fixes layout/rendering of output from the CGI scripts when using
Opera.
2005-12-04 21:52:42 +00:00
Simon L. B. Nielsen
514f262291 - Make output XHTML compliant.
- Remove the searchbox, since there is already a searchbox included on
  the page now, due to the new page design.
2005-12-04 21:45:45 +00:00
Simon L. B. Nielsen
f982a5362c Remove trailing whitespace. 2005-12-04 21:15:34 +00:00
Ceri Davies
e9f6345562 Use the strict pragma. 2005-12-04 16:36:51 +00:00
Ceri Davies
251299c4db Refactor the "confirmation code" stuff into a general purpose script.
confirm-code.cgi contains a preconfigured list of databases and their
parameters.  When a request comes in, the database in the request's 'db'
parameter is checked for validity, and a code is generated, stored in
the appropriate database and returned.

Use this new script in send-pr.sgml and remove sendpr-code.cgi which is
now superceded.
2005-12-04 16:18:40 +00:00
Ceri Davies
2863055355 Spit out an Expires: header to try to avoid caching problems some more.
Add myself to the Copyright now.
2005-12-04 13:33:16 +00:00
Ceri Davies
5183913e78 Back out the highly unpopular email address blocking. 2005-12-04 12:50:17 +00:00
Jesus R. Camou
e02a65178b Use uppercase X on FreeBSD versions for consistency. 2005-12-01 03:19:22 +00:00
Bill Fenner
d890334c6b Fix manpath for 6.0-stable to use man and openssl/man subdirectories. 2005-11-30 22:03:10 +00:00
Pav Lucistnik
0a59b16890 - Fix when no section parameter is passed 2005-11-30 09:23:48 +00:00
Pav Lucistnik
134c334194 - Fix 500 Internal server error at my place (doesn't seem to exist on
www.FreeBSD.org)
2005-11-29 23:24:52 +00:00
Pav Lucistnik
b69ff142f1 - Apply new design to it (really, convert to use cgi-style.pl)
- Reshuffle to look as much as possible like ports listings
- Make it a valid HTML
2005-11-29 23:10:59 +00:00
Pav Lucistnik
d6d17f7e19 - More XHTML/HTML fixes: <html> element 2005-11-29 22:57:21 +00:00
Pav Lucistnik
66d862e577 - Change title to something sensible
- Update FAQ
- Remove more dead code related to new/updated view
2005-11-29 22:19:31 +00:00
Pav Lucistnik
4b04fb5699 - Autodetect available INDEX/INDEX-5/INDEX-6 and use the highest 2005-11-29 22:09:53 +00:00
Pav Lucistnik
d15c3969f1 - Remove release/arch pulldown from the form
- Check for package existence and link package from i386/packages-6-stable
2005-11-29 22:02:43 +00:00
Pav Lucistnik
3462ec6458 - Fix ../ports/categories reading after recent format change
- Remove dead code to print new/updated form
- Revive one form element from that, "Section", and make it do per category
  search.
2005-11-29 21:33:33 +00:00
Pav Lucistnik
ba4c4794c7 - Update release pulldown with package sets which exists on mirrors today 2005-11-29 20:45:47 +00:00
Pav Lucistnik
80c1ce3c80 - Remove all cvs operations. They are less and less useful every day, as we
stopped checking in INDEX into CVS long time ago. Last useful releases were
  4.10 and 5.3.
- Remove code to display new/updated ports, it relies on periodical INDEX
  updates in CVS (which we don't do anymore) and was disabled long time ago
  anyway.
2005-11-29 20:39:37 +00:00
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