Commit graph

731 commits

Author SHA1 Message Date
Ceri Davies
19c86109a0 Update to 6.2-RELEASE, move stable to 6.2-stable. 2007-02-23 21:09:54 +00:00
Wolfram Schneider
1071aaef4a No double slashes in URL path, please! 2007-02-19 19:20:35 +00:00
Wolfram Schneider
99b2aab5cc The man.cgi wrapper was replaces by the real man.cgi script. 2007-02-18 20:19:45 +00:00
Wolfram Schneider
bcbdc8c334 small cleanup:
- /faq.html -> /help.html
 - merge /copyright.html into help.html
 - section title without link and logo
 - no logo in footer
 - minor bugfixes in layout & design
 - remove 'Quick Reference Categories'
2007-02-11 11:39:20 +00:00
Simon L. B. Nielsen
35f8a80bcb Change the default man pages to FreeBSD 6.2. 2007-01-27 21:37:10 +00:00
Tom Rhodes
a709ce875f Commit a fix provided by danger to fix issues with the query-pr cgi scripts.
Submitted by:	danger
Reviewed by:	keramida, trhodes
2007-01-11 00:17:29 +00:00
Daniel Gerzo
62076a45d1 Merge query-by-number and multi-field query forms.
This work included:

- move a few functions out of query-pr-summary.cgi into a new file -
  query-pr-lib.pl, which now provides a procedure to display forms
- include query-pr-lib.pl in both query-pr.cgi and query-pr-summary.cgi
  scripts

PR: www/35647
Approved by: trhodes (mentor), keramida (mentor)
Silence from: www@
2007-01-10 17:47:39 +00:00
Shaun Amott
36b304ee28 - Add MIME, base64 and quoted-printable support.
- Don't over-pad patches in viewer.
- URL-ifiy PR references.
- Misc fixes.

Approved by:	simon
2006-12-09 15:46:06 +00:00
Wolfram Schneider
382d335ee1 Old archive files contains a dot. 2006-12-01 21:58:22 +00:00
Wolfram Schneider
2e48c6cb17 taint mode fixes 2006-11-30 20:36:31 +00:00
Shaun Amott
5e5c996a1b - Differentiate between "busy" and "no PRs matched", and display the
appropriate message.
- Add some logic to deal with manually inserted / unexpected text within
  the Audit-Trail.
- Extend URL regex.

Approved by:	pav
2006-11-27 17:12:50 +00:00
Bruce A. Mah
5a328ff280 Update for new CURRENT manpages from November 2006 snapshot build. 2006-11-18 22:44:28 +00:00
www
566e02e9c3 Add entries for FreeBSD 6.2-RELEASE and 6-stable. 2006-11-16 19:10:29 +00:00
Wolfram Schneider
2d52c41841 add trustedbsd-* to valid mailing lists 2006-11-12 18:37:34 +00:00
Simon L. B. Nielsen
1fd366d976 Use the locked version of the query-pr program to avoid running
www.FreeBSD.org out of memory.
2006-11-03 12:32:59 +00:00
Yaroslav Tykhiy
d01457cf1d Decode query components. Without this, one
couldn't specify full PR ID, e.g., bin/12345, in the
"PR number" field of the web form because the slash
was encoded as %2F by many browsers.  Of course,
decoding the query is a must for a cgi in general.
2006-10-26 11:13:34 +00:00
Daniel Gerzo
f49984172c - Let this script generate valid XHTML
- Also allow queries like query-pr.cgi?q= and query-pr.cgi?cat/num
- Fix comment
- Display query form when no results found
- Allow some other characters to be part of the URL [1]

PR: www/103628 [1]
Reviewed by: simon, remko
Approved by: keramida (mentor)
2006-10-11 21:02:58 +00:00
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