Commit graph

37 commits

Author SHA1 Message Date
Ceri Davies
f08bb99ab7 Add an embryonic Gnats.pm that will collect variables and subroutines
related to querying GNATS together, in order to aid with the upgrade to
GNATS 4.

Switch over dosendpr.cgi and query-pr.cgi to use it.
query-pr-summary.cgi to follow.
2004-02-16 16:57:10 +00:00
Ceri Davies
750c390701 Correct some problems formatting links in query-pr.cgi's output.
The patch is from [1], and the problem was reported in both of the
following

PR:		www/51607, www/53530 [1]
Submitted by:	anholt, eik [1]
2003-11-12 20:58:13 +00:00
Ceri Davies
20f599f17e The code in the last commit causes Internal Server Errors when executed;
correct this.
2003-06-09 14:58:00 +00:00
Ceri Davies
8456cf94b7 Complete the error reporting fix that revision 1.32 started:
If gaining the lock fails, then catch that error and explain it to the user.
2003-06-08 20:59:51 +00:00
Ceri Davies
2cdb6fc9e0 We now have sparc64 and ia64 categories in gnats, so update the regex that
searches for possible PR references for urlification.
2003-05-21 18:57:10 +00:00
Ceri Davies
a666faaa33 The output from query-pr.web will never match /^query-pr:/, as we call it
as query-pr.real; fix error reporting by taking this into account.
2003-05-21 18:48:51 +00:00
Dag-Erling Smørgrav
59990dbf67 Speed up PR lookup by about 100% by ignoring the "confidential" field,
which we have never honored anyway.
2003-04-10 09:29:21 +00:00
Wolfram Schneider
2e7126ef95 Call the wrapper query-pr.web 2003-03-06 23:51:58 +00:00
Wolfram Schneider
03423fca73 Increase the value of maximum PR number from 99999 to 499999.
(the current PR number is around 41300 ;-)
2002-08-05 19:05:29 +00:00
Wolfram Schneider
1a242d0d95 Sleep 0.35 seconds to avoid DoS attacks from broken robots. 2002-08-04 22:24:29 +00:00
Maxim Sobolev
6327a9c186 http://www.FreeBSD.org/cgi/cvsweb.cgi/ --> http://cvsweb.FreeBSD.org/ 2001-11-07 16:32:19 +00:00
Dima Dorfman
2a7250b2d0 Put the synopsis in the title for convenience.
PR:		28248
Submitted by:	mikeh
2001-06-18 22:18:11 +00:00
Wolfram Schneider
96e348472b strict pr number checking 2000-12-29 12:43:12 +00:00
Wolfram Schneider
a0a56a50b1 stricter @INC path
forces "taint" checks to be turned on
2000-12-28 13:43:41 +00:00
Paul Saab
3c593c95f5 Terminate subsitution introduced in rev 1.22. 2000-12-06 07:16:59 +00:00
Akinori MUSHA
c28360b875 Plug up a big security hole; never ever pass meta characters to shell!
Submitted by:	Anthony Rubin <tonyr@generalsearch.net>
2000-12-05 16:22:14 +00:00
Akinori MUSHA
52499edf94 Add a link to get the PR in raw text format.
This would help get a PR via web to extract patches/shars in it handily. :)
2000-07-28 21:21:20 +00:00
Chris Costello
8d4363944d Add '<' and '>' symbols around email addresses in the originator line.
It used to look like:

Originator:
	Joe Blow joe@blow.net

and now looks like:

Originator:
	Joe Blow <joe@blow.net>

with the email address being a hypertext link in both cases.
2000-01-16 02:46:36 +00:00
Alexey Zelkin
39224ae67a freebsd.org -> FreeBSD.org 2000-01-05 15:47:46 +00:00
Alexey Zelkin
5ded76c097 s/freebsd/FreeBSD 1999-12-21 17:34:21 +00:00
Peter Wemm
01a61279be $Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
1999-09-06 07:03:31 +00:00
Tim Vanderhoek
90816a2088 When creating the "Submit Followup" link, be more aggressive about
url-encoding unsafe characters.  Instead of a comparing against a list
of unsafe characters, compare against an inverted list of safe characters.
Specifically fixes " " spaces in urls, but probably others, too.

Make the url-encoding that did already exist work.
1999-08-06 05:58:14 +00:00
Wolfram Schneider
e57600a034 Catch i386/* PR's too.
Pointed out by: Carl Mascott <cmascott@world.std.com>
1998-07-01 10:30:47 +00:00
Bill Fenner
a223c13022 Fix a typo causing the "src/" cvsweb referencer to kick in when it
shouldn't.
Save a copy of the un-HTML-ified synopsis for use in the mailto: HREF,
 otherwise you end up with odd things like "%26lt;" instead of "<".
1998-06-24 05:48:30 +00:00
Bill Fenner
dff1a01b8c Don't be coy about confidential PR's; admit that they exist but
are confidential.
1998-06-16 06:46:15 +00:00
Wolfram Schneider
bc607d0c2a Add cvsweb links to source references. A source reference
has the syntax

	 rev 1.8 of src/bin/chmod/chmod.1
	 (the word "of" is optional)

or
        src/bin/chmod/chmod.1 rev 1.7

'rev' and 'revision' are synonym.
If you close a PR you should now include the revision,
for example from PR 6055:

Fixed in src/gnu/usr.bin/as/config/obj-aout.c revision 1.6. [...]
1998-06-08 13:51:30 +00:00
Wolfram Schneider
1bab69a67d Make perl5 happy. 1998-06-05 17:19:04 +00:00
Wolfram Schneider
a537fa0672 The protocol part of an url is case insensitive.
Link FTP URLs too, not only HTTP.
The characters "\)\>,; are not part of an URL.
1998-06-05 17:06:20 +00:00
Wolfram Schneider
5b84f8e2b9 Look for PR references and add links. Currently 290 out of ~7000 PRs
have links to other PRs.
1998-06-05 16:58:07 +00:00
Wolfram Schneider
cafc8fac8f Allow /cgi/query-pr.cgi?<pr> queries. 1998-06-02 13:07:10 +00:00
Wolfram Schneider
a409399b33 Be tolerant to <category>/<PR id> queries. 1998-04-21 14:55:39 +00:00
Bill Fenner
8f4e2716ec Use reply-to if present for originator's email address. 1998-02-19 20:14:53 +00:00
Bill Fenner
8c69aca775 Skip printing empty fields from the PR. This skips the new, unused
GNATS fields like Quarter: and Keywords: (but won't skip them if someone
actually uses them).
1998-01-22 02:31:11 +00:00
Bill Fenner
7eb3e626e9 Properly quote the synopsis and email address to create a legal
mtailto: URL.
1997-03-19 21:25:29 +00:00
Bill Fenner
da7b5cb97e Add "submit followup" link to mailto:freebsd-gnats-submit . 1996-12-17 17:12:00 +00:00
John Fieber
1d00827682 Cosmetic makeover. 1996-09-29 03:14:16 +00:00
John Fieber
dc37032eca Sweep some more web stuff into cvs. 1996-09-28 23:31:12 +00:00