Commit graph

491 commits

Author SHA1 Message Date
John Fieber
2944f9fd66 Send out a last-modified HTTP header field to enhance the cachability
of messages.
1998-02-27 02:56:26 +00:00
John Fieber
5bc2104342 Oops, left a bit of debugging stuff turned on. 1998-02-27 01:34:07 +00:00
John Fieber
bb0d79615f Some change how messages are retrieved after a search is done.
1. Retrievals should be much faster and put much less load on hub,
   particularly for complex searches.

2. URLs for messages are no longer query dependent, so when a message
   you have already looked at pops up in a different search, you your
   browser history mechanism can recognize it and color the link
   appropriately.

3. Messages are potentially cachable; I may have to tweak the
   HTTP header to make it really work though.
1998-02-26 23:49:58 +00:00
Bill Fenner
8f4e2716ec Use reply-to if present for originator's email address. 1998-02-19 20:14:53 +00:00
Wolfram Schneider
6f6b9e531a Update copyright to 1998. 1998-02-15 16:03:21 +00:00
Wolfram Schneider
ef27a45de7 Mail header fields are case insensitive. 1998-02-12 11:09:44 +00:00
Wolfram Schneider
7dae10b5d4 Use html_header and html_footer functions from cgi-style.pl. 1998-02-12 11:04:03 +00:00
Wolfram Schneider
26a9aa4ccc perl quote typo which prevent the evaluation of some variables
int the html footer.
1998-02-12 10:55:18 +00:00
Wolfram Schneider
91ec59b0c3 My homepage moved. 1998-02-12 10:38:35 +00:00
John Fieber
7fe7414396 Use the waisq in /usr/local/www/bin instead of /usr/local/bin. 1998-02-09 14:35:00 +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
John Fieber
5f75a31d38 Waisq lives in /usr/local/bin now. 1998-01-17 05:07:53 +00:00
Wolfram Schneider
9d5e50905a Append timezone "UTC" to the date output. RCS display all times
in Coordinated  Universal  Time (UTC) by default.
1998-01-12 16:27:14 +00:00
Wolfram Schneider
3fe7f2a8d0 Someone deleted the 2.2.2 packages from ftp.freeebsd.org and
renamed the directory packages-2.1.6 to packages-2.1.7.
1998-01-06 19:43:58 +00:00
Wolfram Schneider
1eb6447aed Add BSD style copyright notice. 1997-12-23 18:39:47 +00:00
Bill Fenner
816413359b Fix module name parsing (e.g. cvsweb.cgi/sys_netinet works again) 1997-11-19 19:20:22 +00:00
Bill Fenner
4d77a0857c Make dolog a function, to clean up the body of the "big switch".
Make the "$CVSROOT missing" message seem like a temporary error, to
 reduce email to webmaster when freefall is down.
Only display Attic button when there's an Attic present
Consolidate style of &cvsroot additions
1997-11-19 19:07:18 +00:00
Wolfram Schneider
8bb843408c Add a new function `get_the_source' which print the source
of the current cgi script as plain text if called with the
path `/get_the_source'. E.g.

        http://www.foo.com/cgi/foobar.cgi/get_the_source

print the source of the script foobar.cgi.
1997-11-17 00:29:53 +00:00
Wolfram Schneider
82ceb2d953 Source the config file /usr/local/etc/cvsweb and
/usr/local/etc/cvsweb-$cvsroot if exists. The config files
are perl scripts.

This make it possible to define local cvs roots, help messages,
navigation bar and E-Mail addresses without changing the
original cvsweb.cgi script.
1997-11-15 16:48:07 +00:00
Wolfram Schneider
c97e6997ab Add support for multiple cvs root directories. This allow
to use one script for different cvs trees, e.g.

learn:
cvsweb.cgi?cvsroot=learn

freebsd:
cvsweb.cgi?cvsroot=freebsd

openbsd:
cvsweb.cgi/src/bin/cat/cat.c?cvsroot=openbsd

The default cvs root is `freebsd'.
1997-11-14 17:36:47 +00:00
Wolfram Schneider
243e91422b Add sort by knob for freebsd mailinglists search. Values are author, date,
subject and score. Score is the default sort option.
1997-11-08 18:22:27 +00:00
Wolfram Schneider
98aa89eea4 Add link to the sources of a port at the bottom of the description page 1997-11-08 14:21:32 +00:00
Wolfram Schneider
7b590c20f9 The characters )>,; are not part of an URL
Submitted by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1997-11-04 13:00:05 +00:00
Bill Fenner
d5095625d8 Quote arguments to query-pr so that multi-word arguments
can be used in the query.
1997-10-27 05:10:43 +00:00
Wolfram Schneider
9b3e1564d3 Disable on-the-fly compression, not supported by ftp.freebsd.org 1997-10-24 13:50:01 +00:00
Wolfram Schneider
2376b1a8ff Update release date of 2.2.5R.
Switch to international date format for cvs -D<date>.
1997-10-13 22:30:18 +00:00
Wolfram Schneider
5ba4a59590 Verify the recipient address. 1997-10-13 22:27:37 +00:00
Wolfram Schneider
492bfc51f5 Use url.cgi for DESCR link. 1997-10-11 15:58:38 +00:00
Wolfram Schneider
0dc3227592 url.cgi - make plain text URLs clickable 1997-10-11 15:58:11 +00:00
Wolfram Schneider
798ebfd9f5 Add releases '2.2.5' and 'stable'.
Make 'stable' the default release for searching.
1997-10-06 13:44:23 +00:00
Wolfram Schneider
75d0d78863 Print RUN_DEPENDS in `Requires' field too, not only BUILD_DEPENDS.
Pointed out by: Thomas Gellekum <tg@ihf.rwth-aachen.de>
1997-10-06 11:38:27 +00:00
Wolfram Schneider
274c3c80b7 switch to international standard date notation 1997-10-03 16:04:25 +00:00
Wolfram Schneider
3ac239060c Add ending '/' to Browse link, we moved from ftp to http protocol. 1997-10-03 14:09:25 +00:00
Wolfram Schneider
56f2129c34 Update man.cgi URL. 1997-09-28 09:24:40 +00:00
Wolfram Schneider
29e6e1fbbb Redirect FreeBSD man script. 1997-09-27 21:27:18 +00:00
Wolfram Schneider
b329b3e87b Install ports.cgi pds.cgi 1997-09-19 20:45:48 +00:00
Wolfram Schneider
57bc7f5e4f ports.cgi - search engine for FreeBSD ports
o search for a port by name or description
		o search for new or updated ports

pds.cgi - FreeBSD Ports download sources cgi script
		print a list of source files for a port
1997-09-19 16:47:40 +00:00
Wolfram Schneider
fb32a4963d Install missing_handler.cgi 1997-09-09 17:51:04 +00:00
Bill Fenner
2437b7a96d Hide Attic directories by default; show files that are in the Attic in their
old location with an "(in the Attic)" notation.
Make queries sticky so that only_on_branch &c can live across directory
 traversals.
Learn about file death.
1997-07-19 00:54:40 +00:00
Wolfram Schneider
499820461d missing_handler.cgi - User friendly error response (Apache style)
default apache message:
----------------------------------------------------------------------
File Not found
The requested URL /~wosch/test/bla was not found on this server.
----------------------------------------------------------------------

missing_handler.cgi message:
----------------------------------------------------------------------
                      FreeBSD.org - Document not found

  The file

     http://www.FreeBSD.org/~wosch/test/bla

  does not exist at this server. You are coming from

     http://www.freebsd.org/~wosch/test/error.html.

  The closest match to your request is http://www.freebsd.org.
  Please contact the server administrator wosch@FreeBSD.org.

  Thank you very much!

    _________________________________________________________________

<footer>
----------------------------------------------------------------------
1997-07-17 17:30:20 +00:00
Bill Fenner
519481482d Teach cvsweb about the "branch:" RCS header
Print out information about branch points as well as branches.
Don't use user input in regexp's (e.g. turned /^${module}\s+(\S+)/o
    into /^(\S+)\s+(\S+)/o && $module eq $1) to avoid "foo.c++"
    regex error
Add to safeglob() a little (although it's still not used yet)
1997-07-01 22:19:57 +00:00
Masafumi Max NAKANE
d80b44fe93 Add $Id$. 1997-07-01 05:38:16 +00:00
Megan McCormack
ec757edec8 Made registration to announce@freebsd.org immediate. 1997-06-24 03:20:57 +00:00
John Fieber
977fa4e1c7 Make cgi scripts inherit the new "look and feel". 1997-06-10 12:47:11 +00:00
Megan McCormack
7a7698c3c3 Shiny new logo for FreeBSD web pages. New index.html made from defunct welcome.html.
Navigaton bars on index.html and second level pages. Registration page added.
1997-06-10 04:48:09 +00:00
Bill Fenner
92aaee87ef Stefan's cvsweb commit made me realize that I forgot to committed this
stuff after testing it, since I had fixed that bug already.  Oops!

- Added "?only_on_branch=RELENG_2_2" (e.g.) support and form to select
- Make diff requests refer to foo.diff so browsers don't tend to overwrite
  source files with diff's
- Get rid of content-transfer-encoding: x-gzip since it's not sufficiently
  standard
- Parse PR references in log messages
- Add side-by-side as a diff option (?f=s)
- Use &html_header() to get consistent look for error messages
- Make checkout and diff into functions for flexibility
1997-04-30 18:25:05 +00:00
Stefan Bethke
98fe3939f7 When entering a path starting with a valid module name, but ending in an
non-existing  file or directory, a redirect to exactly the same locations
was issued, instead of an error messages.
Reported by Jan Schreiber <akira@loopback.org>
1997-04-30 07:35:11 +00:00
Bill Fenner
3d32f310e8 Allow module name followed by a filename, e.g.
http://www.freebsd.org/cgi/cvsweb.cgi/mrouted/main.c
Fix the revision comparison function; diff's between branch and head
	are no longer reversed.
1997-03-20 01:36:20 +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
Andrey A. Chernov
bb99a36216 Fix ftp2.ru 1997-03-11 15:23:27 +00:00
Bill Fenner
81d2c6707f Add tags and branches to the list of things that get anchors, e.g.
you can also say things like #RELENG_2_2 or #RELENG_2_1_6_1_RELEASE

Allow specifying a module name, e.g. http://.../cvsweb.cgi/mrouted
will give you a redirect to .../cvsweb.cgi/src/usr.sbin/mrouted
1997-02-03 20:47:12 +00:00
Peter Wemm
2db504acb3 Add missing semicolon from rev 1.10 1997-02-03 18:20:27 +00:00
Martin Cracauer
14c342489f Adds a <a NAME="..."> tag for each revision, so that outside
programs can add links to individual revisions.
i.e: http://www.freebsd.org/cgi/cvsweb.cgi/src/Makefile#1.117
1997-02-03 15:14:22 +00:00
Paul Traina
334292f2a1 Whoops, missed one sub-patch... use new category list 1997-02-02 22:07:01 +00:00
Paul Traina
90b58e3bf8 Make it easier to re-use this code for other gnats databases:
Get bug categories from gnats directly (remove hard coding)
    Create project/mailing list definitions and use them.

Make some of the perl code cleaner (my fault for bad original coding styles).
1997-02-02 22:03:29 +00:00
Bill Fenner
e3f90072ac Make the query formulator into a table, which looks much nicer.
It still looks OK ('tho a teeny bit weird) on browsers that
don't support tables (well, at least an old version of lynx)
1997-02-02 17:50:04 +00:00
Andrey A. Chernov
c8a9a1e1ca Add 3rd Russian mirror 1997-01-28 05:49:43 +00:00
Jordan K. Hubbard
fa665aa4c8 Point curator at gallery@freebsd.org alias so we can simply manipulate
it at will to deal with changing circumstances.
1997-01-12 05:13:22 +00:00
Andrey A. Chernov
e489f7ae50 Add yet one Russian mirror 1997-01-08 13:18:12 +00:00
Ade Barkah
021691a1ae Added dosendpr.cgi, freebsd.def, html.pl into the build process. 1997-01-05 20:06:23 +00:00
Ade Barkah
5a1cd24daa Add required CGI support files. 1997-01-04 20:02:46 +00:00
Ade Barkah
cae4a77425 To unify all the cgi scripts under one directory in the repository. 1997-01-04 19:54:51 +00:00
Ade Barkah
3b526e6e76 Backout from adding sendpr.cgi. It was dosendpr.cgi which needed to
be added.
1997-01-04 19:53:30 +00:00
Ade Barkah
9184657d4d Added this file to unify all cgi scripts into one repository. 1997-01-04 19:48:28 +00:00
Bill Fenner
da7b5cb97e Add "submit followup" link to mailto:freebsd-gnats-submit . 1996-12-17 17:12:00 +00:00
Peter Wemm
181191f157 remove (apparently) unused variable $query_state;
add -c option for text mode only - allow confidential PR's in report.
add -C option for text mode only - only show confidential PR's in report.
1996-12-17 04:07:33 +00:00
Peter Wemm
92a876be7a Missing \n in text mode 1996-12-17 04:03:41 +00:00
Peter Wemm
583b3f8ad3 Kill a case where it spits out HTML while running in text mode 1996-12-17 03:58:53 +00:00
John Fieber
bc238af7bd Change Charles' address. 1996-12-13 16:24:32 +00:00
John Fieber
6a7b328bcd Duh. Perl likes semicolons at the end of statements. 1996-12-12 23:53:55 +00:00
John Fieber
7db5b123c8 &i.new; shouldn't have been here. 1996-12-12 23:13:50 +00:00
John Fieber
fab64d4e74 Charles A. Wimmer is now the curator. 1996-12-12 23:10:52 +00:00
John Fieber
2606a52cc6 Wais databases now live (actually or symbolically) in /usr/local/www/db 1996-12-10 18:25:19 +00:00
Bill Fenner
706b0bd73a Allow querying based upon any of query-pr's possible arguments.
Add a form to formulate queries, get it with ?query .
Don't truncate PR descriptions in html_mode.
1996-11-13 03:02:37 +00:00
John Fieber
c0feec673c A first cut at searching the web pages (including FAQ and handbook). 1996-10-28 18:51:02 +00:00
John Fieber
b5100e1602 Finally squashed the nasty bug that caused requests for documents higher
than #40 to return nothing. Still not sure why the solution works, but
I'll work on that later...
1996-10-28 16:09:13 +00:00
John Fieber
89e931fc48 Month in timestamp generation was off by one. 1996-10-26 17:32:43 +00:00
Bill Fenner
46da85739d Only call query-pr once, and keep PR's in memory.
Add sort={lastmod,category,responsible}, category={summary,*} and
fixed up responsible=summary.  Also add references to (some of) the
different possible views.
1996-10-22 23:12:08 +00:00
John Fieber
39d40ffd7b Fix lots of typos, add $Id$s.
Submitted by:	Wolfram "typo police" Schneider <wosch@cs.tu-berlin.de>
1996-10-06 20:17:19 +00:00
John Fieber
b2bae4bc6a Record the posting host.
Automatically add a "New!" icon.
1996-10-06 14:14:27 +00:00
John Fieber
ba67687523 Cosmetic fixes to page headers -- center the top bar. It looked
pretty hideous if the display was wider than the graphic.
Fix a couple things that looked less than stunning when viewed with Lynx.
1996-10-06 03:49:09 +00:00
Alexander Langer
8de5a401fa Be more consistent about ending sentences with periods.
Spelling correction (postponsed --> postponed).
1996-10-04 00:36:59 +00:00
John Fieber
6d506c215b Fix some bad HTML generation. 1996-10-01 19:46:14 +00:00
John Fieber
a1e7f7b814 Make calling this script obliterate any existing frames in Netscrape. 1996-10-01 18:59:10 +00:00
John Fieber
1d00827682 Cosmetic makeover. 1996-09-29 03:14:16 +00:00
John Fieber
7458bcc2b4 Cosmetic tweaks for the search interface. 1996-09-29 02:34:21 +00:00
John Fieber
15be435f08 Hook up cvsweb.cgi to cgi-style.pl so it inherits the proper
"look and feel".
1996-09-29 02:19:30 +00:00
John Fieber
b06868a781 Make cgi-style.pl not dependent on cgi-lib.pl. 1996-09-29 01:40:53 +00:00
John Fieber
dc37032eca Sweep some more web stuff into cvs. 1996-09-28 23:31:12 +00:00
John Fieber
0e5565f258 Begin bringing in some stylistic changes from http://www.freebsd.org/~mpcd. 1996-09-24 20:51:06 +00:00
John Fieber
38df6f51c6 Web pages, may I introduce you to CVS. CVS, these are the web pages.
Yes, this is supposed to be a new top level in the repository.

For the moment any changes to this area must be cleared by myself
or Jordan.  Once the kinks are worked out, the policy will probably
be relaxed.
1996-09-24 17:46:04 +00:00