Commit graph

894 commits

Author SHA1 Message Date
Shaun Amott
e26fab83a9 Modify a basic assumption about GNATS: > is allowed on the first line if
a space follows it.
2011-08-02 13:19:32 +00:00
Shaun Amott
aee39333ee - Decode patches in the PR body.
- Detect base64 attachments (in the PR).
- Grab the filename from UU patches.
2011-07-29 22:59:32 +00:00
Shaun Amott
86e3e13767 Content-Type header should be case-insensitive. 2011-07-29 21:27:44 +00:00
Shaun Amott
1a5d974bc9 Correct the field used as a single/multi-line section divide. This
caused 'Organization' and 'Environment' to be considered single
line fields, and as a result, not displayed.

Noticed by:	eadler
2011-07-29 20:37:43 +00:00
Hiroki Sato
11bd242bdf Use bsd.subdir.mk for sub-directory handling.
Discussed with:	shaun
2011-07-25 07:35:42 +00:00
Shaun Amott
bfac757e9e - Send "utf-8" as the charset for the page to match what we actually
output.

- Properly decode MIME parts from their source charset (in the case of
  a single-part message, we haven't got the relevant headers thanks to
  GNATS. Sigh.)

- Don't strip the trailing newline on MIME parts, as this breaks encoded
  Quoted-Printable newlines (if there happened to be one at the end).
2011-07-23 02:42:59 +00:00
Shaun Amott
d73bc5af84 Make output charset configurable so UTF-8 can be used in query-pr.cgi. 2011-07-23 00:06:42 +00:00
Shaun Amott
f2ea3e0f43 - Elide inline HTML MIME parts when there is a plaintext part available.
- Don't display S/MIME signatures [1]; reduce to the attachment link.

- Make the self-referencing-URL removal regex case insensitive.

Suggested by:	gavin [1]
2011-07-22 23:38:59 +00:00
Shaun Amott
37f41bb769 Content-size value shouldn't be quoted. 2011-07-21 14:31:41 +00:00
Shaun Amott
eeb78bf5c8 Don't output the Content-type header twice.
Submitted by:	gavin
2011-07-21 12:37:17 +00:00
Shaun Amott
37f918722e Fix header output (extra newline required). 2011-07-21 03:27:58 +00:00
Shaun Amott
1e10341242 Another fix: print -> printf (header wasn't being output correctly) 2011-07-21 03:06:06 +00:00
Shaun Amott
6049f21bd8 Fix URL used for self-referencing links. 2011-07-21 02:44:20 +00:00
Shaun Amott
e906e0ff03 Some small fixes that I overlooked. 2011-07-21 02:09:02 +00:00
Shaun Amott
d10065df76 Run variables through quotemeta as an extra security layer to appease
Perl's taint mode.
2011-07-21 01:25:28 +00:00
Shaun Amott
ac6b2c914e Make sure the local modules can be found. 2011-07-21 01:07:13 +00:00
Shaun Amott
ff586348e5 Hook up files (Perl modules) for the new query-pr.cgi script. A bit of
extra code to handle the fact that the files are in subdirectories was
required.
2011-07-20 23:52:12 +00:00
Shaun Amott
defc87e9c4 Introducing the 3rd generation PR viewer.
This is a significant improvement over the previous version, with more
robust patch handling, better encoding/charset handling, numerous
long-overdue bug fixes and a generally more maintainable codebase.
2011-07-20 22:23:23 +00:00
Wolfram Schneider
53eb646069 remove stale -stable releases 2011-03-29 21:54:40 +00:00
Chin-San Huang
a0e13c95f5 - add FreeBSD 8.2-R, 7.4-R to fix some issues.
For examples:

Browse http://www.freebsd.org/releases/8.2R/relnotes.html
Then click xen(4) for manual page, it'll say "Sorry, no data found for `xen(4)'."

- use FreeBSD 8.2 as the default release.
2011-03-04 18:20:15 +00:00
Wolfram Schneider
80de397703 update copyright year to 2011 2011-01-08 14:58:27 +00:00
Wolfram Schneider
595059c45e sort by OS release number 2010-12-29 15:20:51 +00:00
Wolfram Schneider
a4c99a9bbb The path for /favicon.ico must be absolute, otherwise CGI scripts with
a path info will fail (e.g. http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/adodb/ )
2010-12-29 13:08:41 +00:00
Wolfram Schneider
fefb995efd upgrade from FreeBSD 6 (sic!) to FreeBSD 9, PR #153319 2010-12-29 12:48:29 +00:00
Wolfram Schneider
7fcd1d8061 cpio(1) no longer supports -H tar, PR #152561 2010-12-27 12:30:56 +00:00
Wolfram Schneider
401c6eb7be add NetBSD 5.1 2010-11-22 21:24:40 +00:00
Simon L. B. Nielsen
8fb3387486 When enabling compression send 'gzip' as Content-Encoding instead of the
deprecated 'x-gzip'. Acording to RFC2616 clients should handle "x-gzip"
but it seems that at least some Android devices does not.

In general the webserver instead of the CGI should probably do
compression, but this is an easy fix.

PR:		www/152202
Reported by:	Tom Judge <tom@tomjudge.com>
2010-11-13 16:37:18 +00:00
Wolfram Schneider
32532cf026 add CentOS-5.5 2010-09-26 15:29:49 +00:00
Wolfram Schneider
f5bee74b4d don't display URLs in error message 2010-08-28 19:15:22 +00:00
Wolfram Schneider
3ded040939 check for valid mirror URLs 2010-08-28 18:54:09 +00:00
Wolfram Schneider
46ca4cb408 Add a OpenSearch plugin for latest FreeBSD RELEASE and Ports 2010-08-09 19:37:14 +00:00
Wolfram Schneider
b60675e254 FreeBSD 8.1 is the default release 2010-08-04 17:17:58 +00:00
Wolfram Schneider
e564a9b034 add FreeBSD Ports 8.1-RELEASE 2010-08-04 17:16:10 +00:00
Wolfram Schneider
0fe2277b17 Fix "RELEASE and Ports" config. PR: www/149093 2010-08-03 15:28:38 +00:00
Wolfram Schneider
4042207c2b do not search for quotes
Submitted by: Shunsuke Taniguchi
2010-07-26 10:30:51 +00:00
Hiroki Sato
853bd5b533 Add FreeBSD 8.1-RELEASE and 8.1-stable. 2010-07-23 23:44:33 +00:00
Hiroki Sato
90046dab37 Add FreeBSD-8.1-RELEASE. 2010-07-23 23:16:03 +00:00
Gavin Atkinson
5688e491f9 Add a "team" category for the monthly/quarterly reports.
Approved by:	danger
2010-07-17 18:02:12 +00:00
Wolfram Schneider
d2f41e5f35 add SuSE Linux/i386 11.3 2010-07-16 22:41:29 +00:00
Wolfram Schneider
1c5d90621f upgrade freebsd-stable7 links 2010-05-23 23:55:51 +00:00
Wolfram Schneider
f9b0336399 Add 'FreeBSD Ports 8.0-RELEASE' and 'FreeBSD Ports 7.3-RELEASE' manual pages 2010-05-23 23:18:58 +00:00
Wolfram Schneider
3d4c6ddc3b add OpenBSD 4.7 manual pages 2010-05-23 23:14:46 +00:00
Hiroki Sato
31cf034d20 Use 7.3-RELEASE directory for 7.3-stable temporarily. 2010-03-26 02:44:48 +00:00
Hiroki Sato
55a461f6aa Add 7.3R manpages. 2010-03-23 17:55:05 +00:00
Wolfram Schneider
8c3904654c fix date output
Submitted by: Robert Bonomi
2010-02-25 09:50:44 +00:00
Wolfram Schneider
57557b35c7 update copyright year 2009-12-31 16:37:18 +00:00
Wolfram Schneider
44202b5ec7 Happy New Year 2010! 2009-12-31 16:32:32 +00:00
Wolfram Schneider
61e84db4b2 add FreeBSD 8 and FreeBSD 9, update search for old releases 2009-12-21 17:59:03 +00:00
Wolfram Schneider
314fe16b1a update copyright 2009-12-21 11:10:20 +00:00
Wolfram Schneider
0bc138bec5 fix FreeBSD 8.0-stable manual path 2009-12-21 10:18:57 +00:00