Commit graph

771 commits

Author SHA1 Message Date
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
Simon L. B. Nielsen
9f255a118c Hide the "root" directory since it's just an artifact of how the FreeBSD
CVS repositories are exported via CVSup.

Indirectly suggested by:	rafan
2007-03-18 07:52:58 +00:00
Simon L. B. Nielsen
1f08136bd0 Remove 4.4BSD-Lite from the list of repositories - it's not actually
online (so CVSweb doesn't show it in the list anyway), and I don't
recall seeing it online while I have been around.
2007-03-17 23:23:31 +00:00
Simon L. B. Nielsen
47d54316fb Merge CVSweb 3.0.6 into HEAD. This was basically done as a manual merge
the relevant parts onto CVSweb 3.0.6 stock files, so it is not entirely
impossible that some local changes were lost, though I don't think/hope
so.

The use of cgi-style.pl was merged by danger@.  He also, together with
Dan Langille, got CVSweb 3 tested against FreshPorts prior to commit, so
this update should not blow up FreshPorts.  Thanks to both for the help.

Note that this now means that the FreeBSD CGI scripts more or less
require perl 5.8 (or at least something newer than 5.0), to run without
local modifications - but people really shouldn't be running perl 5.0
these days anyway... (no comments on the fact that www.FreeBSD.org did
this until ~2 hours ago... ).
2007-03-17 22:28:31 +00:00
Simon L. B. Nielsen
88f688c0ff Remove the -T option so it iss possible to run cvsweb 2 on Perl 5.8
which has more strict taint checks.

This is a temporary stopgap while upgrading to perl 5.8 and migrating
to cvsweb 3 to get around the catch-22 that cvsweb 3 requires perl
5.8, and perl can't be upgraded to 5.8 if it breaks cvsweb.
2007-03-17 20:53:48 +00:00
Remko Lodder
bf645a9416 Specify what Content-Type we send, and what the script was expecting to
get.

PR:		www/110285
Submitted by:	Devon H. O'Dell <devon dot odell at coyotepoint dot com>
Silence on:	www@
2007-03-16 06:35:54 +00:00
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