Commit graph

786 commits

Author SHA1 Message Date
Shaun Amott
f00aeeb94e Revert last change; the PR viewer can handle the old patch format now; but
having delimiters as causes other problems.
2008-01-26 22:49:57 +00:00
Shaun Amott
af21668f45 Catch patches attached via the web submission form (prior to the last update.) 2008-01-26 15:53:55 +00:00
Shaun Amott
b035d48107 Add some delimiters around patches, to match the behaviour of send-pr and make
parsing easier.
2008-01-26 15:22:33 +00:00
Hiroki Sato
20ce64e6e7 Add NetBSD 4.0. 2008-01-17 16:44:52 +00:00
Xin LI
a688a3ffa4 Welcome to 2008 2007-12-31 22:20:54 +00:00
Shaun Amott
1ee594897f Another attempt at giving the browser a real patch name to work with,
since the MIME filename is ignored.
2007-12-17 17:46:05 +00:00
Wolfram Schneider
f016b5a630 remove dead code 2007-12-02 21:21:18 +00:00
Wolfram Schneider
48e5c84ca0 complete last commit. 2007-12-02 21:18:14 +00:00
Wolfram Schneider
0b93848c83 On the help page: print the real RCS revision number of man.cgi script 2007-11-29 21:00:24 +00:00
Hiroki Sato
1fd45305c3 Update manual page entries for the upcoming 6.3R and 7.0R. 2007-11-28 20:36:21 +00:00
Wolfram Schneider
18623acdfb fix link to get the source of man.cgi 2007-08-27 18:41:00 +00:00
Remko Lodder
0eed2951f1 Bump version level for dosendpr.cgi
Requested by:	ceri
2007-08-08 12:06:29 +00:00
Remko Lodder
77c387fca3 Add the X-Notify-GNATS: header when we send a PR through the webinterface,
the GNATS auto assign script uses this to add the maintainer of a port
to the PR.

PR:		115290
Submitted by:	Edwin
2007-08-08 11:30:57 +00:00
Ceri Davies
ad29bd2c03 Try harder to get people to use a .txt extension, since Firefox insists
on sending application/octet-stream otherwise.

Prodded by: 	sem
2007-08-06 12:16:17 +00:00
Wolfram Schneider
37edf79a84 perltidy 2007-08-02 18:30:21 +00:00
Wolfram Schneider
20c3606135 print output in XHTML 1.0
escape HTML output
2007-08-02 18:28:26 +00:00
Wolfram Schneider
b3edeb15d0 Disable option 'Closed reports too:' if no user input is given.
For whatever reasons, the perl script query-pr-summary.cgi is horrible slow
for large output. It take more than 4 CPU minutes to parse 100_000 lines text.

It also doesn't make sense to generate a 20MB large HTML table.
2007-08-01 19:59:28 +00:00
Wolfram Schneider
c4190242c1 Suggest a generic keyword search if no manpage was found 2007-08-01 19:31:49 +00:00
Wolfram Schneider
cded40adbc Use standard FreeBSD CGI Style if available. Otherwise print simple HTML design. 2007-07-30 20:47:40 +00:00
Wolfram Schneider
7e4dddb47a allow ':' in manual page names, e.g. IO::Select 2007-07-30 20:44:47 +00:00
Wolfram Schneider
f6998f2125 on help page: clickable release aliases links 2007-07-30 20:43:32 +00:00
Wolfram Schneider
64f5c1e40b update ports alias to 6.2-RELEASE
add aliases freebsd-release and freebsd-release-ports
2007-07-30 20:42:22 +00:00
Wolfram Schneider
de1c0107e4 add FreeBSD Ports 6.2-RELEASE manual pages 2007-07-29 18:38:56 +00:00
Wolfram Schneider
493ab8e08e add X11R7.2 manual pages 2007-07-29 15:34:16 +00:00
Wolfram Schneider
36c5768312 add new man pages: XFree86 4.5.0, X11R6.8.2, X11R6.9.0 (default for X11) 2007-07-29 15:03:51 +00:00
Wolfram Schneider
fcb30023e4 shut up perl warnings for searching manual pages with spaces (WTF?) 2007-07-28 19:43:01 +00:00
Wolfram Schneider
77555b5faf set LANG=C 2007-07-27 20:22:11 +00:00
Wolfram Schneider
b6fbf357b9 print XHTML for help page
print XHTML for apropos search
minor bugfixes in XHTML output
2007-07-17 17:54:01 +00:00
Wolfram Schneider
368331d6bf Fix PR: docs/35222 getmsg.cgi: mailing list archive URL regexp 2007-07-16 18:12:04 +00:00
Wolfram Schneider
24cea0ffec shutup perl warnings 2007-07-16 17:48:29 +00:00
Wolfram Schneider
932eef450c perltidy 2007-07-16 17:40:22 +00:00
Wolfram Schneider
c68e61f9d1 HTML output conforms to XHTML 1.0 Transitional 2007-07-16 17:36:53 +00:00
Wolfram Schneider
0c3610abbb Fix PR: www/114487 html man pages break with underscore characters
Fix PR: www/67554    man-cgi visual glitch on 3-word titles
disable mailto links
2007-07-16 17:33:41 +00:00
Wolfram Schneider
059bf6754d fix character encoding in referer link
PR: www/114238
2007-07-08 12:28:11 +00:00
Simon L. B. Nielsen
36700687bc Add missing space in From when "building" the PR.
Submitted by:	shaun
PR:		www/113071
Hijacked unrelated PR for patch:	shaun
2007-06-12 20:03:05 +00:00
Simon L. B. Nielsen
09972e0a9b - Send a patch file-name in the HTTP header via the
Content-Disposition header.
- When downloading/referring to a particular patch embed the patch
  number with the PR instead of using two different CGI variables.
  This means that there aren't "&" in the patch URL's anymore which
  makes things simpler for sh(1) like shells, by not requiring quoting
  of URLs when using a command line tool, such as fetch(1), to
  download patches.
- In HTML-ifying of URL's, handle when a URL contains a PR like string
  which can e.g. be seen in PR www/113071.
- Add a comment about how to test script via the command line.

Submitted by:	edwin, shaun
PR:		www/113071
2007-06-12 19:38:30 +00:00
Wolfram Schneider
2d3d75837b A slash is valid character in OS names, eg. OSF1 V4.0/alpha
Submitted by: Warren Block
2007-06-12 19:09:50 +00:00
Ceri Davies
ac8c88109f Accept shar files.
PR:		www/113609
2007-06-12 06:14:34 +00:00
Ceri Davies
6a79bf9903 Correct whitespace issue in error output. 2007-06-12 06:06:41 +00:00
Simon L. B. Nielsen
8e6bba0b80 Fix problem with dosendpr.cgi hanging after a PR has been submitted
where no page was returned to the submitter resulting in many
duplicate PR's.

The pipe to sendmail was just being closed without the nice ".\n" to
tell sendmail this is the end of the mail.  Now we always send "\n.\n"
to be sure the is a standalone "." on a line.

Why this wasn't a problem before, but is now, I'm not really sure, but
it's probably a perl 5.0 -> 5.8 change which triggered this.

If there are still problems after this commit, please report including
PR number(s).

Prodded by:			bugmeister(s)
Co-prodding and testing help:	edwin
Not fixed for far too long by:	simon
2007-05-23 21:53:45 +00:00
Wolfram Schneider
9c74732df0 add OpenBSD 4.0 & OpenBSD 4.1 manual pages. 2007-05-04 21:19:37 +00:00
Wolfram Schneider
84106c53dc fix perl -T warnings for non-standard manual pages releases
like OpenBSD, Solaris & HP-UX
2007-05-04 19:58:59 +00:00
Wolfram Schneider
49fe695819 allow '.' in manual page name, e.g.: 'freebsd-update.conf'
Submitted by: Ernest Sales
2007-03-20 20:03:07 +00:00
Wolfram Schneider
bd2d4b809e shut up perl -T warnings and make this script run again.
Reported by: Iwan
2007-03-19 18:26:27 +00:00
Daniel Gerzo
5433818b11 Bump the copyright year in the footer of cgi scripts.
Approved by: keramida (mentor), trhodes (mentor)
2007-03-19 18:15:27 +00:00
Wolfram Schneider
6521689fb7 shut up perl -T warnings 2007-03-19 18:13:51 +00:00
Wolfram Schneider
99c167417c False [] range "\w-" in regex
Submitted by: perl5.8.8 -cw -T url.cgi
2007-03-19 17:52:39 +00:00
Doug Barton
b4fbce9104 Unhook removed cvsweb.conf-{net|open}bsd files to unbreak
the www build.
2007-03-19 05:44:58 +00:00
Simon L. B. Nielsen
218372c650 Remove CVSweb support config files NetBSD and OpenBSD repositories now
that they have been removed from cvsweb.conf.

Reminded by:	wosch
2007-03-18 20:05:06 +00:00
Simon L. B. Nielsen
bf48230019 Remove the OpenBSD and NetBSD repositories. Both project have their
own CVSweb so there is not really any big reason for us to have CVSweb
for them as well. [1]

Remove the "learn" CVS repository.  It hasn't changed in 9 years... [1]

Remove the German and San Marino CVSweb mirrors from the list since
neither one has a hostname which resolves.

Suggested by:	wosch [1]
2007-03-18 17:12:45 +00:00