[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.
[project @ 2003-04-10 20:16:55 by cjwatson]
Clarify when -forwarded sets the forwarded-to address. See
http://lists.debian.org/debian-mentors-0304/msg00126.html.
cjwatson [Fri, 28 Mar 2003 08:24:50 +0000 (00:24 -0800)]
[project @ 2003-03-28 00:24:50 by cjwatson]
Add X-$gProject-PR-Package and X-$gProject-PR-Keywords headers to as many
mails as possible (#28862, #124311).
cjwatson [Fri, 28 Mar 2003 07:29:19 +0000 (23:29 -0800)]
[project @ 2003-03-27 23:29:19 by cjwatson]
Add "Precedence: bulk" to the mail headers of all acks, defined as anything
that's sent back to $replyto (#36413).
cjwatson [Fri, 28 Mar 2003 03:37:21 +0000 (19:37 -0800)]
[project @ 2003-03-27 19:37:21 by cjwatson]
Don't send "Info received" acks for Precedence: bulk|junk|list mail, to
prevent mail loops. (Maybe we should ignore such mail altogether, as it's
probably just an ack from another bug tracking system? Not sure, but this
approach is safe for now.)
cjwatson [Wed, 26 Mar 2003 04:13:11 +0000 (20:13 -0800)]
[project @ 2003-03-25 20:13:11 by cjwatson]
Exit silently if a mail loop is detected, rather than spamming
$gMaintainerEmail with "looping detected" messages and leaving droppings
all over the incoming queue. These are rather frequent due to Reply-To:
headers pointing back to the bug.
cjwatson [Thu, 20 Mar 2003 23:03:51 +0000 (15:03 -0800)]
[project @ 2003-03-20 15:03:51 by cjwatson]
Joey's home directory should not be mentioned in CVS. This is just a local
change on master (actually /org/bugs.debian.org/joeyh-old now).