Commit graph

714 commits

Author SHA1 Message Date
Ceri Davies
ed46521e4b Allow '/' in the search filter so that people can search for stuff like
'games/robotfindskitten'.

PR:		www/104131
Reviewed by:	simon
2006-10-08 17:00:12 +00:00
Ceri Davies
e76f60e1c6 We really don't have a recent perl on www, despite things I have read to
contrary.
2006-10-08 10:09:39 +00:00
Ceri Davies
8759cd186a Bump version number and move a newline back to where it came from. 2006-10-07 18:12:16 +00:00
Ceri Davies
9231a0d249 Allow patches to be attached via the web page.
Thanks to Marius Nuennerich for submitting the idea and for never giving
up on nagging me about it.

PR:		www/83397
2006-10-07 18:08:04 +00:00
Ceri Davies
56affaf295 There are no more consumers of html.pl, so kill it. 2006-10-07 14:08:11 +00:00
Ceri Davies
54ca30ff53 Convert dosendpr.cgi from html.pl to CGI.pm.
This will allow us to use multipart forms without rolling our own MIME
parser.
2006-10-07 14:07:46 +00:00
Daniel Gerzo
6f856aa7f2 Change the default behavior of this script to display query form instead
of generating full list of all open PRs in GNATS.  I hope this change
will at least a bit decrease the load of GNATS.

Reviewed by: www@
Approved by: keramida (mentor)
2006-09-24 13:34:55 +00:00
Simon L. B. Nielsen
12ce8b2a67 Note which port gives us Convert::UU in a comment. 2006-09-23 14:02:27 +00:00
Shaun Amott
eaea0ff8ac Fix a few bugs in the processing of the Audit-Trail:
- A multi-line mail header wrapping on a space wasn't handled correctly.
- My attempt at finding the end of patches with no delimiter inside
  replies wasn't working in some cases; I've disabled it for now.
2006-09-19 13:20:42 +00:00
Shaun Amott
2212fec61a Introducing the new GNATS web interface.
This was written from scratch, and offers numerous enhancements over the
old script; notably:

- Patches are parsed, coloured, uudecoded, and downloadable.
- Cleaner, clearer layout.
- Easier-to-read Audit-Trail.

Reviewed by:	freebsd-www (well, I tried...)
Approved by:	simon
2006-09-18 21:25:38 +00:00
Daniel Gerzo
010290f0f9 Make query-pr-summary.cgi to work with perl 5.8.
This is required for new www server setup.

Reviewed by: simon
Approved by: trhodes (mentor), keramida (mentor)
2006-09-12 21:53:18 +00:00
Simon L. B. Nielsen
56cf075388 Retire the ftp.cgi script. It's redundant due to the the mirror list in
the Handbook, and I can't find any references to it from anywhere.

I strongly suspect that nobody actually knows ftp.cgi exist, at least I
didn't :-).
2006-08-29 19:46:27 +00:00
Simon L. B. Nielsen
fa2123fbc2 - Remove link to source of the CGI script. It doesn't work and people
can find the source via cvsweb in any case.
- Use $hsty_base more places for better compatibility with
  cgi.FreeBSD.org (IE. when the static FreeBSD.org web pages are
  somewhere other that the site running the CGI's).
2006-08-19 21:40:25 +00:00
Simon L. B. Nielsen
bc748f54ed Don't define $hsty_base, since that prevents cgi-style.pl from
overriding it when needed (e.g. when run on cgi.FreeBSD.org).
2006-08-19 21:18:18 +00:00
Simon L. B. Nielsen
c8947cbfad Be a bit more strict with what we extract from the query string. This
fixes use of the script with Perl 5.8.

This should match all characters of current ports.  If somebody finds
some new characters to use in a port name the matching regex will need
to be updated.
2006-08-19 21:03:12 +00:00
Simon L. B. Nielsen
36412ae061 Remove gallery.cgi. It was scheduled for removal over two years ago. 2006-07-23 23:47:34 +00:00
Simon L. B. Nielsen
eee4df9058 When checking HTTP_HOST to determine if we should use relative or
absolute base path, do the check case insensitive to handle if
HTTP_HOST e.g. comes in as FreeBSD.org.

Break a rather long line (being changed anyway) to improve
readability.
2006-07-23 22:35:12 +00:00
Simon L. B. Nielsen
db89ca035d Also use absolute base path on cgi.FreeBSD.org.
More hacks may be required later to really get this to work (due to
other magic involved in the setup).
2006-07-23 18:36:53 +00:00
www
c40d94a3b5 NetBSD 3.0 is the default NetBSD release 2006-07-11 12:10:38 +00:00
www
bbf92a5f81 add NetBSD 2.0.2, NetBSD 2.1, NetBSD 3.0 2006-07-11 11:50:34 +00:00
www
db2e0778b5 OpenBSD 3.9 is the default OpenBSD release 2006-07-11 09:19:45 +00:00
www
df356fb21a added OpenBSD 3.7, 3.8, 3.9 2006-07-11 09:18:49 +00:00
www
fae98388ec add FreeBSD Ports 6.1-RELEASE 2006-07-11 08:30:05 +00:00
www
5f3cd2718d cleanup FreeBSD ports 2006-06-23 10:17:08 +00:00
www
7a37a49d44 remove 4.11-stable
update to 5.5-stable
cleanup ports releases
2006-06-23 10:12:01 +00:00
Bruce A. Mah
72579354a0 Make the default manpath use 6.1-RELEASE manpages. 2006-05-23 20:12:17 +00:00
Bruce A. Mah
ae644d64c8 Make manpage hyperlinks from FreeBSD 5.5 release documentation
work correctly.  Relies on some creative use of symbolic
links, as usual.
2006-05-15 20:25:59 +00:00
Bruce A. Mah
f24b759ee5 Change manpath for FreeBSD 6.1 to reflect the "real" set of manpages
loaded from the FreeBSD 6.1-RELEASE/i386 distribution.

Approved by:	doceng (blackend)
2006-05-15 16:27:54 +00:00
Bruce A. Mah
e633836564 Hack for 6.1-RELEASE; make it use an (old, pre-existing) snapshot
of FreeBSD 6.0-stable.  This isn't the correct solution but at
least it prevents (some of) the broken links reported to the doc@
list.
2006-05-15 01:21:53 +00:00
Jun Kuriyama
82308ccf20 Finally, launch new logo header and resource page.
Legal page at freebsdfoundation.org will be available in a few days.

Thanks to:	Anton Gural (designer), Deb Goodkin (legal coordinate)
2006-05-08 23:15:38 +00:00
Wolfram Schneider
efde1ab6fc added Solaris 5.10 2006-05-06 19:36:29 +00:00
Jun Kuriyama
e18d44d6b3 Define $PATH explicitly. 2006-03-24 06:24:41 +00:00
Jun Kuriyama
3cd6041c0a Add more taint check. 2006-03-24 01:51:18 +00:00
Jun Kuriyama
766012b017 More taint handling. 2006-03-15 04:07:54 +00:00
Jun Kuriyama
820880ff0e Perl taint mode seems more strict than past.
Reported by:	jkim
2006-03-15 01:24:29 +00:00
Wolfram Schneider
4e9f7d8b47 set GROFF_TMAC_PATH for a release-specific mdoc.local file
this fix the problem with wrong release number in footer
Submitted by: Jeremy C. Reed <reed@reedmedia.net>
2006-02-17 09:03:50 +00:00
Jesus R. Camou
565e970504 Bump copyright year.
Approved by:	trhodes (mentor)
2006-02-16 14:34:06 +00:00
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