cjwatson [Thu, 7 Aug 2003 01:45:41 +0000 (17:45 -0800)]
[project @ 2003-08-06 18:45:41 by cjwatson]
Avoid triplication of the format of .status files by creating a separate
makestatus() function which writebug() and bughook() use. bughook() now
takes a status hash rather than the formatted contents so that it can
extract fields more easily.
cjwatson [Wed, 6 Aug 2003 18:00:10 +0000 (10:00 -0800)]
[project @ 2003-08-06 11:00:10 by cjwatson]
Only display the "Closed bugs are archived $gRemoveAge days after the last
related message is received" message if expiry is enabled.
cjwatson [Sun, 3 Aug 2003 16:49:22 +0000 (08:49 -0800)]
[project @ 2003-08-03 09:49:22 by cjwatson]
Initial stab at a script to guess version information from an existing bug
database. This is definitely not the final form: in particular, it uses a
separate tree of .versions files for ease of testing rather than the real
.status files.
cjwatson [Sun, 3 Aug 2003 16:46:30 +0000 (08:46 -0800)]
[project @ 2003-08-03 09:46:30 by cjwatson]
New Debbugs::MIME module. Not sure if this is quite ready for use in
process or service yet, but it's handy for external tools.
[project @ 2003-07-18 14:41:11 by cjwatson]
Move Disabled-Doogie-Reply-To: header into a Perl comment rather than a
"comment" in mail headers; no point in sending it out all the time.
[project @ 2003-07-16 18:13:26 by cjwatson]
Automatically remove the pending tag when a bug is closed, since it's
almost invariably no longer applicable. I haven't done the same for the
addition of the fixed tag to a bug because (a) the semantics are way more
confusing at that point and (b) with any luck NMU-fixing is going to change
soon anyway.
[project @ 2003-07-16 12:01:09 by cjwatson]
Replace mentions of "developers and their mailing list" and the like in
acks with "package maintainers and other interested parties" (#75829).
[project @ 2003-07-15 16:24:47 by cjwatson]
Allow multiple primary search criteria (packages, sources, etc. - although
not maintenc because I don't understand it) separated by commas.
[project @ 2003-07-11 00:29:41 by cjwatson]
Never treat the top-level message part as an attachment, no matter what the
Content-Disposition: says (Daniel Stone).
cjwatson [Thu, 26 Jun 2003 00:51:51 +0000 (16:51 -0800)]
[project @ 2003-06-25 17:51:51 by cjwatson]
CGI scripts now support multiple maintainers for a single package. I'm not
entirely sure about the htmlmaintlinks() interface, but by and large it
seems to work.
cjwatson [Mon, 23 Jun 2003 18:23:35 +0000 (10:23 -0800)]
[project @ 2003-06-23 11:23:35 by cjwatson]
get_addresses() is used in both process and service, and I think I want to
use it from the CGI scripts soon. Move it to errorlib.
cjwatson [Sat, 21 Jun 2003 01:13:01 +0000 (17:13 -0800)]
[project @ 2003-06-20 18:13:01 by cjwatson]
By default, the MIME-tools treat message/* parts as singlepart messages but
nevertheless implement the parts() method for them so that you can drill
down into the nested messages. Until now we were just displaying an
attachment link for message/* but not the actual message, which was a bit
unhelpful. Instead, we now decode and display the inner message within a
<blockquote> tag.
(Test case first spotted at nCipher, but see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93268&msg=60 for an
example.)
cjwatson [Tue, 10 Jun 2003 08:18:59 +0000 (00:18 -0800)]
[project @ 2003-06-10 01:18:59 by cjwatson]
... but do construct bug component filenames that don't exist yet, since
they're probably new bugs. Sigh. That was a rather crucial corner case.
cjwatson [Tue, 10 Jun 2003 07:59:36 +0000 (23:59 -0800)]
[project @ 2003-06-10 00:59:36 by cjwatson]
Avoid accepting mail to archived bugs! The generic getbugcomponent()
function can't be quite as simple as it seems, because CGI scripts are
prepared to accept archived bugs while most of the backend scripts aren't.
This is a somewhat hacky workaround but does the job for now.
cjwatson [Sat, 7 Jun 2003 00:56:05 +0000 (16:56 -0800)]
[project @ 2003-06-06 17:56:05 by cjwatson]
Somewhere along the way we lost compatibility with old non-hashed-directory
spools, despite attempts to keep it. Introduce a getbugcomponent() function
which understands old-style db directories, and use it.
Update nCipher copyright date to include 2003, since this is on work time.
cjwatson [Fri, 6 Jun 2003 09:23:25 +0000 (01:23 -0800)]
[project @ 2003-06-06 02:23:25 by cjwatson]
Update allbugs() for the hashed database layout (not that anything
currently uses allbugs(), but something might in the future, since the old
static HTML interface provided db/ix/full.html). It's now a trivial wrapper
around getbugs().
cjwatson [Thu, 5 Jun 2003 15:54:31 +0000 (07:54 -0800)]
[project @ 2003-06-05 08:54:31 by cjwatson]
getbuglocation() should find bugs in db-h in preference to bugs in db. This
makes migration from older versions easier, since you can just leave the db
directory there until everything works.
cjwatson [Sat, 31 May 2003 18:39:09 +0000 (10:39 -0800)]
[project @ 2003-05-31 11:39:09 by cjwatson]
Avoid using duplicate clone ids in example; they probably happen to work
right now but should be considered undefined behaviour. :)
cjwatson [Tue, 27 May 2003 09:39:17 +0000 (01:39 -0800)]
[project @ 2003-05-27 02:39:17 by cjwatson]
Send blind carbon copies to addresses in $gSubscriptionDomain rather than
normal carbon copies (#169473). Also avoid exposing it in web-viewable
logs. This involves a change to the sendmessage() interface so that ccs and
bccs can be passed separately.
cjwatson [Mon, 26 May 2003 19:30:04 +0000 (11:30 -0800)]
[project @ 2003-05-26 12:30:04 by cjwatson]
The uses of writebug in process shouldn't unfilelock immediately; they go
on to do other things with the bug and need to hold the lock. Remove the
automatic unfilelock from writebug and introduce a new 'unlockwritebug'
function (by analogy with 'lockreadbug'), used in service.
Make unfilelock produce a more sensible error message when the @filelocks
stack is empty, in case this ever happens again.
cjwatson [Sun, 25 May 2003 23:26:24 +0000 (15:26 -0800)]
[project @ 2003-05-25 16:26:24 by cjwatson]
Some people (e.g. #10486) seem to think it's a bright idea to use
"Content-Type: text". Although that's not valid, pretend it's text/plain
anyway since it's unlikely they managed to construct anything particularly
exciting.
joy [Sun, 25 May 2003 20:19:13 +0000 (12:19 -0800)]
[project @ 2003-05-25 13:19:13 by joy]
use internal function to get date and time, rather than forking date(1). also changed format to a less wacky one.
cjwatson [Sun, 25 May 2003 20:13:18 +0000 (12:13 -0800)]
[project @ 2003-05-25 13:13:18 by cjwatson]
Make rebuild actually work (even its command-line processing was broken so
that it could never possibly work ...). Update index format to that
expected by the rest of debbugs.
cjwatson [Sun, 25 May 2003 05:43:55 +0000 (21:43 -0800)]
[project @ 2003-05-24 22:43:55 by cjwatson]
Out, out, brief local hack! bugs.debian.org's but a walking shadow, a poor
player that struts and frets his hour upon the net and then is heard no
more ...
cjwatson [Fri, 23 May 2003 05:40:29 +0000 (21:40 -0800)]
[project @ 2003-05-22 22:40:29 by cjwatson]
Improve display of MIME-encoded bugs. Now you get a link at the top of each
MIME part to the "download attachment" system we've had for a while; each
MIME part is decoded appropriately for display, so no more quoted-printable
rubbish; the actual text of an attachment is not displayed unless you use
the download link, so no more reams of base-64; and an extra "&mime=no"
parameter is provided in case there's anybody who liked the old display.
In addition, this fixes a few small bugs in the existing attachment
download system, such as those mentioned in #160389.
cjwatson [Thu, 22 May 2003 03:55:13 +0000 (19:55 -0800)]
[project @ 2003-05-21 20:55:13 by cjwatson]
repeatmerged=no now does the right thing if the first in the set of merged
bugs isn't in the current query (which can happen for by-submitter queries;
see #167146).
cjwatson [Thu, 22 May 2003 03:28:07 +0000 (19:28 -0800)]
[project @ 2003-05-21 20:28:07 by cjwatson]
Don't be quite so wilfully inaccurate while calculating the year component
of a bug's age. (It still doesn't handle leap years, though.)
cjwatson [Thu, 22 May 2003 02:27:15 +0000 (18:27 -0800)]
[project @ 2003-05-21 19:27:15 by cjwatson]
Actually use the $bug argument passed to update_realtime() rather than some
other random dynamically-scoped variable.
cjwatson [Sat, 17 May 2003 19:56:51 +0000 (11:56 -0800)]
[project @ 2003-05-17 12:56:51 by cjwatson]
Display bugs filed against multiple packages on all the relevant
package/source/maintainer pages rather than just the first one; patch
amended slightly from one by H. S. Teoh, #65773.
cjwatson [Fri, 16 May 2003 05:40:31 +0000 (21:40 -0800)]
[project @ 2003-05-15 22:40:31 by cjwatson]
If there are multiple messages with the same message-id (e.g. sent to nnn@
and nnn-submitter@), consider all but the first as boring.
doogie [Sun, 4 May 2003 03:42:16 +0000 (19:42 -0800)]
[project @ 2003-05-03 20:42:15 by doogie]
* s/quit/quitcgi/, so that we don't get a clash between errorlib's quit.
* Use the helper functions from errorlib to find the bug's location and
path.
[project @ 2003-04-26 00:47:31 by cjwatson]
Only show a link to the source package if it's non-trivial, i.e. isn't just
a single-binary source with the same name.
[project @ 2003-04-24 02:24:55 by cjwatson]
In "Message with no Package: tag cannot be processed!", clarify where
people need to resubmit the report, in the hope that they won't resubmit it
to owner@bugs quite so often.