]> git.donarmstrong.com Git - debbugs.git/log
debbugs.git
11 years agodefault charset to UTF-8 when it isn't defined don/cookies
Don Armstrong [Fri, 15 Mar 2013 22:23:32 +0000 (15:23 -0700)]
default charset to UTF-8 when it isn't defined

11 years agofix output of handle email message so that it handles the new type of scalars and...
Don Armstrong [Fri, 15 Mar 2013 22:16:45 +0000 (15:16 -0700)]
fix output of handle email message so that it handles the new type of scalars and outputs proper utf8

11 years agooutput to perl scalars must be in octets, apparently; warn if the scalar is improperl...
Don Armstrong [Fri, 15 Mar 2013 22:16:08 +0000 (15:16 -0700)]
output to perl scalars must be in octets, apparently; warn if the scalar is improperly encoded

11 years agotest for double encoding of index.db
Don Armstrong [Fri, 15 Mar 2013 18:23:37 +0000 (11:23 -0700)]
test for double encoding of index.db

11 years agothe old index has to be open in encoding mode too
Don Armstrong [Fri, 15 Mar 2013 17:27:50 +0000 (10:27 -0700)]
the old index has to be open in encoding mode too

11 years agoadd gitignore
Don Armstrong [Fri, 15 Mar 2013 00:06:41 +0000 (17:06 -0700)]
add gitignore

11 years agomerge fix_encoding
Don Armstrong [Thu, 14 Mar 2013 22:20:28 +0000 (15:20 -0700)]
merge fix_encoding

11 years agoadd overflow:auto to avoid having avatars outside of the header box
Don Armstrong [Thu, 14 Mar 2013 22:15:16 +0000 (15:15 -0700)]
add overflow:auto to avoid having avatars outside of the header box

11 years agoMerge branch 'master' of git+ssh://git.donarmstrong.com/srv/git/debbugs
Don Armstrong [Thu, 14 Mar 2013 22:04:07 +0000 (15:04 -0700)]
Merge branch 'master' of git+ssh://git.donarmstrong.com/srv/git/debbugs

11 years agoactually; scalars shouldn't encode anyway. Not sure what I was thinking.
Don Armstrong [Thu, 14 Mar 2013 22:03:47 +0000 (15:03 -0700)]
actually; scalars shouldn't encode anyway. Not sure what I was thinking.

11 years agofor some reason, encoding(UTF-8) doesn't work for globified scalars. Use utf8 instead.
Don Armstrong [Thu, 14 Mar 2013 21:57:54 +0000 (14:57 -0700)]
for some reason, encoding(UTF-8) doesn't work for globified scalars. Use utf8 instead.

11 years agoMerge branch 'don/fix_encoding'
Don Armstrong [Thu, 14 Mar 2013 21:29:23 +0000 (14:29 -0700)]
Merge branch 'don/fix_encoding'

11 years agoencode recips in Control too
Don Armstrong [Thu, 14 Mar 2013 21:28:59 +0000 (14:28 -0700)]
encode recips in Control too

11 years agoMerge remote-tracking branch 'origin/don/fix_encoding'
Don Armstrong [Thu, 14 Mar 2013 21:23:05 +0000 (14:23 -0700)]
Merge remote-tracking branch 'origin/don/fix_encoding'

11 years agomake the submitter be in utf8 to catch more problems
Don Armstrong [Thu, 14 Mar 2013 21:20:55 +0000 (14:20 -0700)]
make the submitter be in utf8 to catch more problems

11 years agomap recips to utf8 octets
Don Armstrong [Thu, 14 Mar 2013 21:20:38 +0000 (14:20 -0700)]
map recips to utf8 octets

11 years agothe datastructure needs to be encoded before gen-indices uses it
Don Armstrong [Thu, 14 Mar 2013 21:20:22 +0000 (14:20 -0700)]
the datastructure needs to be encoded before gen-indices uses it

11 years agothe realtime file needs to be in UTF-8
Don Armstrong [Thu, 14 Mar 2013 21:16:46 +0000 (14:16 -0700)]
the realtime file needs to be in UTF-8

11 years agowarn if recips is in the wrong encoding
Don Armstrong [Thu, 14 Mar 2013 21:16:25 +0000 (14:16 -0700)]
warn if recips is in the wrong encoding

11 years agodocument that libravatar support has been added
Don Armstrong [Thu, 14 Mar 2013 20:15:01 +0000 (13:15 -0700)]
document that libravatar support has been added

11 years agomerge libravatar support into master
Don Armstrong [Thu, 14 Mar 2013 20:13:56 +0000 (13:13 -0700)]
merge libravatar support into master

11 years agoMerge branch 'don/fix_encoding'
Don Armstrong [Thu, 14 Mar 2013 20:00:54 +0000 (13:00 -0700)]
Merge branch 'don/fix_encoding'

11 years agoMerge branch 'don/fix_encoding'
Don Armstrong [Thu, 14 Mar 2013 19:59:41 +0000 (12:59 -0700)]
Merge branch 'don/fix_encoding'

11 years agoadd Debbugs configuration support for libravatar
Don Armstrong [Thu, 14 Mar 2013 17:11:05 +0000 (10:11 -0700)]
add Debbugs configuration support for libravatar

11 years agofix wrong encoding of $fwd; put the debug handle into utf8 encoding mode
Don Armstrong [Thu, 14 Mar 2013 16:13:05 +0000 (09:13 -0700)]
fix wrong encoding of $fwd; put the debug handle into utf8 encoding mode

11 years agotest utf8 mail with a utf8 containing header
Don Armstrong [Thu, 14 Mar 2013 16:12:39 +0000 (09:12 -0700)]
test utf8 mail with a utf8 containing header

11 years agodecode_rfc1522 returns strings in perl's internal encoding
Don Armstrong [Thu, 14 Mar 2013 16:12:22 +0000 (09:12 -0700)]
decode_rfc1522 returns strings in perl's internal encoding

11 years agothe fake control mesage must have its headers escaped
Don Armstrong [Thu, 14 Mar 2013 16:11:47 +0000 (09:11 -0700)]
the fake control mesage must have its headers escaped

11 years agoMerge branch 'master' into don/fix_encoding
Don Armstrong [Thu, 14 Mar 2013 15:34:09 +0000 (08:34 -0700)]
Merge branch 'master' into don/fix_encoding

11 years agoMerge branch 'master' into don/fix_encoding
Don Armstrong [Thu, 14 Mar 2013 15:33:30 +0000 (08:33 -0700)]
Merge branch 'master' into don/fix_encoding

11 years agoadd libravatar support to the bts
Don Armstrong [Thu, 14 Mar 2013 01:12:12 +0000 (18:12 -0700)]
add libravatar support to the bts

11 years agoreturn perl-internal encoding even if MIME::Parser fails don/processcleanup
Don Armstrong [Tue, 12 Mar 2013 21:55:24 +0000 (14:55 -0700)]
return perl-internal encoding even if MIME::Parser fails

11 years agofix item typo
Don Armstrong [Tue, 12 Mar 2013 21:21:29 +0000 (14:21 -0700)]
fix item typo

11 years agoproperly test pod files
Don Armstrong [Tue, 12 Mar 2013 21:21:16 +0000 (14:21 -0700)]
properly test pod files

11 years agoadd test rule to run individual tests more easily
Don Armstrong [Tue, 12 Mar 2013 21:21:03 +0000 (14:21 -0700)]
add test rule to run individual tests more easily

11 years agoconvert_to_utf8 now returns perl's internal encoding
Don Armstrong [Tue, 12 Mar 2013 21:16:34 +0000 (14:16 -0700)]
convert_to_utf8 now returns perl's internal encoding
add decode_utf8_safely
fix return of encode_utf8_safely

11 years agoswitch away from using MIME::WordDecoder and do the encoding ourselves using decode_m...
Don Armstrong [Tue, 12 Mar 2013 21:15:42 +0000 (14:15 -0700)]
switch away from using MIME::WordDecoder and do the encoding ourselves using decode_mimewords

11 years agoeverything should be in perl's internal encoding
Don Armstrong [Tue, 12 Mar 2013 21:13:12 +0000 (14:13 -0700)]
everything should be in perl's internal encoding

11 years agoencode_utf8_structure is in Debbugs::UTF8 now
Don Armstrong [Tue, 12 Mar 2013 21:12:42 +0000 (14:12 -0700)]
encode_utf8_structure is in Debbugs::UTF8 now

11 years agodecode_rfc1522 returns perl internal encoding instead of octets
Don Armstrong [Tue, 12 Mar 2013 21:11:23 +0000 (14:11 -0700)]
decode_rfc1522 returns perl internal encoding instead of octets

11 years agouse debbugs::utf8
Don Armstrong [Tue, 12 Mar 2013 20:50:18 +0000 (13:50 -0700)]
use debbugs::utf8

11 years agodecode_utf8 the html record before calling decode_rfc1522; use Debbugs::UTF8
Don Armstrong [Tue, 12 Mar 2013 20:48:11 +0000 (13:48 -0700)]
decode_utf8 the html record before calling decode_rfc1522; use Debbugs::UTF8

11 years agoswitch STDOUT to raw first, then use encoding(UTF-8)
Don Armstrong [Tue, 12 Mar 2013 20:47:32 +0000 (13:47 -0700)]
switch STDOUT to raw first, then use encoding(UTF-8)

11 years agoswitch to encoding(UTF-8) from utf8
Don Armstrong [Tue, 12 Mar 2013 20:46:51 +0000 (13:46 -0700)]
switch to encoding(UTF-8) from utf8

11 years agouse encode_utf8_safely in Debbugs::MIME
Don Armstrong [Fri, 8 Mar 2013 01:09:42 +0000 (17:09 -0800)]
use encode_utf8_safely in Debbugs::MIME

11 years agomove UTF8 routines out of Debbugs::Common and into Debbugs::UTF8 so Debbugs::Config...
Don Armstrong [Fri, 1 Mar 2013 05:56:28 +0000 (21:56 -0800)]
move UTF8 routines out of Debbugs::Common and into Debbugs::UTF8 so Debbugs::Config isn't loaded early

11 years agodecode_rfc1522 now returns utf8 octets
Don Armstrong [Thu, 28 Feb 2013 17:17:12 +0000 (09:17 -0800)]
decode_rfc1522 now returns utf8 octets

11 years agouse encode_utf8_safely instead of just encode_utf8
Don Armstrong [Thu, 28 Feb 2013 17:16:32 +0000 (09:16 -0800)]
use encode_utf8_safely instead of just encode_utf8

11 years agoWe now return UTF8 octets from parse instead of whatever the message encoding was
Don Armstrong [Thu, 28 Feb 2013 17:16:02 +0000 (09:16 -0800)]
We now return UTF8 octets from parse instead of whatever the message encoding was
convert_to_utf8 is now in Debbugs::Common
handle message bodies and headers being in perl's internal encoding

11 years agoMake convert_to_utf8 use Text::Iconv and fallback to Encode; move convert_to_utf8...
Don Armstrong [Thu, 28 Feb 2013 17:12:52 +0000 (09:12 -0800)]
Make convert_to_utf8 use Text::Iconv and fallback to Encode; move convert_to_utf8 to Debbugs::Common.pm

11 years agoadd encode_utf8_safely function
Don Armstrong [Thu, 28 Feb 2013 16:45:31 +0000 (08:45 -0800)]
add encode_utf8_safely function

11 years agoWe should only delete a version in found if it's not already a fully qualified source...
Don Armstrong [Wed, 27 Feb 2013 20:09:38 +0000 (12:09 -0800)]
We should only delete a version in found if it's not already a fully qualified source version.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=20;bug=701350 for the failure.

11 years agoimport encode_utf8
Don Armstrong [Thu, 7 Feb 2013 16:44:53 +0000 (08:44 -0800)]
import encode_utf8

11 years ago- carp if the a log text record is in perl's internal encoding instead of octets
Don Armstrong [Thu, 7 Feb 2013 16:37:20 +0000 (08:37 -0800)]
- carp if the a log text record is in perl's internal encoding instead of octets
- attempt to encode the text to fix the problem after complaining

11 years agoadd templating for pkgindex.cgi
Don Armstrong [Thu, 6 Dec 2012 20:13:28 +0000 (12:13 -0800)]
add templating for pkgindex.cgi

11 years agofix another htmlize_maintlinks
Don Armstrong [Wed, 5 Dec 2012 01:55:20 +0000 (17:55 -0800)]
fix another htmlize_maintlinks

11 years agohandle non-existant Message-Id: properly
Don Armstrong [Tue, 4 Dec 2012 00:52:06 +0000 (16:52 -0800)]
handle non-existant Message-Id: properly

11 years agohandle the maintainer being undef properly
Don Armstrong [Tue, 4 Dec 2012 00:50:18 +0000 (16:50 -0800)]
handle the maintainer being undef properly

11 years agocall package_links instead of maintainer_links
Don Armstrong [Tue, 4 Dec 2012 00:23:53 +0000 (16:23 -0800)]
call package_links instead of maintainer_links

11 years agoFix set_found bug which cleared partially matching versions; thanks to Andreas Beckma...
Don Armstrong [Tue, 4 Dec 2012 00:18:42 +0000 (16:18 -0800)]
Fix set_found bug which cleared partially matching versions; thanks to Andreas Beckmann for noticing this.

12 years agoabstract out bug number regex; fix clone regex to allow negative bugs
Don Armstrong [Thu, 15 Nov 2012 08:21:08 +0000 (00:21 -0800)]
abstract out bug number regex; fix clone regex to allow negative bugs

12 years agooutput errors to the transcript if we are parsing control operations
Don Armstrong [Thu, 15 Nov 2012 08:11:19 +0000 (00:11 -0800)]
output errors to the transcript if we are parsing control operations

12 years agodocument the fix of #670456 origin/spacefun origin/spacefun.zobel
Don Armstrong [Thu, 8 Nov 2012 22:38:40 +0000 (14:38 -0800)]
document the fix of #670456

12 years agoif there is a non-source qualified version with a corresponding source
Don Armstrong [Thu, 8 Nov 2012 22:38:28 +0000 (14:38 -0800)]
if there is a non-source qualified version with a corresponding source
qualified version, we only want to merge the source qualified
version(s)

This fixes #670456

12 years agochanges is a hash of arrayrefs; properly handle it when merge fails
Don Armstrong [Thu, 8 Nov 2012 22:14:59 +0000 (14:14 -0800)]
changes is a hash of arrayrefs; properly handle it when merge fails

12 years agodocument fix of #691573 in acb6e
Don Armstrong [Mon, 29 Oct 2012 11:40:49 +0000 (04:40 -0700)]
document fix of #691573 in acb6e

12 years agocontrol: print message to transcript when command is unrecognized
Jonathan Nieder [Mon, 29 Oct 2012 06:46:12 +0000 (23:46 -0700)]
control: print message to transcript when command is unrecognized

We accidentally dropped this error message in 56704088 (call
Debbugs::Control::service for all services, 2012-07-12).
Closes: #691573
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoFix lack of archive support in pkgindex.cgi.
Don Armstrong [Fri, 19 Oct 2012 16:42:03 +0000 (09:42 -0700)]
Fix lack of archive support in pkgindex.cgi.

12 years agoOnly remove list headers if the message appears to have traversed a mailing list...
Don Armstrong [Sun, 14 Oct 2012 00:41:51 +0000 (17:41 -0700)]
Only remove list headers if the message appears to have traversed a mailing list to get to us. (closes: #690408)

12 years agochange how $generalbcc is assigned
Don Armstrong [Fri, 28 Sep 2012 17:23:45 +0000 (10:23 -0700)]
change how $generalbcc is assigned

12 years agoadd Debian BTS closures to /debian/changelog
Mike Gabriel [Fri, 28 Sep 2012 12:55:14 +0000 (14:55 +0200)]
add Debian BTS closures to /debian/changelog

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoUse locale independent date format for mail processing and service mail generation.
Mike Gabriel [Fri, 28 Sep 2012 12:29:00 +0000 (14:29 +0200)]
Use locale independent date format for mail processing and service mail generation.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoMake sure that mails to gSubscriptionDomain and gBugSubscriptionDomain are only sent...
Mike Gabriel [Fri, 21 Sep 2012 19:57:14 +0000 (21:57 +0200)]
Make sure that mails to gSubscriptionDomain and gBugSubscriptionDomain are only sent out if the variables in config are defined and have a lenght < 0.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoProvide gStrongList configuration option in config file to make a site admin aware...
Mike Gabriel [Fri, 21 Sep 2012 19:14:05 +0000 (21:14 +0200)]
Provide gStrongList configuration option in config file to make a site admin aware of its existence.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoUpdate postfix section in Readme.mail. Closes: #688109.
Mike Gabriel [Wed, 19 Sep 2012 20:06:17 +0000 (22:06 +0200)]
Update postfix section in Readme.mail. Closes: #688109.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoRemove mailing list markers of the form [<list-name>] from the subject line to avoid...
Mike Gabriel [Wed, 12 Sep 2012 09:42:05 +0000 (11:42 +0200)]
Remove mailing list markers of the form [<list-name>] from the subject line to avoid duplication (and more) of the bug number when replying to bug postings.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoAdd empty $gBugSubscriptionDomain variable to config file template.
Mike Gabriel [Wed, 12 Sep 2012 09:09:37 +0000 (11:09 +0200)]
Add empty $gBugSubscriptionDomain variable to config file template.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agochangelog cleanup for last commits
Mike Gabriel [Wed, 12 Sep 2012 07:10:46 +0000 (09:10 +0200)]
changelog cleanup for last commits

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoAllow directory index for /var/lib/debbugs/www to be shown TTW (in apache.conf example).
Mike Gabriel [Wed, 12 Sep 2012 06:31:13 +0000 (08:31 +0200)]
Allow directory index for /var/lib/debbugs/www to be shown TTW (in apache.conf example).

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoLet generated index pages load css file.
Mike Gabriel [Mon, 10 Sep 2012 11:09:29 +0000 (13:09 +0200)]
Let generated index pages load css file.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoExtend examples/apache.conf, add directory rules. Esp. allow Indexes to be overridden...
Mike Gabriel [Mon, 10 Sep 2012 11:05:18 +0000 (13:05 +0200)]
Extend examples/apache.conf, add directory rules. Esp. allow Indexes to be overridden in /var/lib/debbugs/www/db to allow mod_expires apache configuration options in .htaccess.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years ago/debian/control: Add ${misc:Depends} to Depends.
Mike Gabriel [Mon, 10 Sep 2012 10:16:44 +0000 (12:16 +0200)]
/debian/control: Add ${misc:Depends} to Depends.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoFix pkgindex.cgi concerning several issues: load proper Perl modules, replace usage...
Mike Gabriel [Wed, 12 Sep 2012 07:04:49 +0000 (09:04 +0200)]
Fix pkgindex.cgi concerning several issues: load proper Perl modules, replace usage of src_url and pkg_url by package_links, use html_tail from templates, use count_bugs everywhere, load bugs.css, fix global variable usage in html header.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoBe more generic, comment out rewrite rule that directly redirects http://<debbugs...
Mike Gabriel [Sat, 8 Sep 2012 20:41:23 +0000 (22:41 +0200)]
Be more generic, comment out rewrite rule that directly redirects http://<debbugs-webhost>/ to http://www.debian.org/Bugs.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoFix sani function in scripts/errorlib. Generate html entities correctly (prepend...
Mike Gabriel [Sat, 8 Sep 2012 20:34:11 +0000 (22:34 +0200)]
Fix sani function in scripts/errorlib. Generate html entities correctly (prepend ampersand, append semicolon).

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoRewrite rule example: http://<webhost>/<nnn> -> show bug report for bug <nnn>.
Mike Gabriel [Sat, 8 Sep 2012 20:31:15 +0000 (22:31 +0200)]
Rewrite rule example: http://<webhost>/<nnn> -> show bug report for bug <nnn>.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoAssure in apache.conf example that documentation html pages get loaded.
Mike Gabriel [Sat, 8 Sep 2012 20:27:51 +0000 (22:27 +0200)]
Assure in apache.conf example that documentation html pages get loaded.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agoLoad bugs.css file in documentation html pages.
Mike Gabriel [Sat, 8 Sep 2012 20:24:04 +0000 (22:24 +0200)]
Load bugs.css file in documentation html pages.

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agomark package as unreleased to make dch work correctly
Mike Gabriel [Sat, 8 Sep 2012 20:22:47 +0000 (22:22 +0200)]
mark package as unreleased to make dch work correctly

Signed-off-by: Don Armstrong <don@donarmstrong.com>
12 years agofix missing +
Don Armstrong [Mon, 17 Sep 2012 22:04:04 +0000 (15:04 -0700)]
fix missing +

12 years agowork around broken .debinfo files by faking the binarch from the
Don Armstrong [Mon, 17 Sep 2012 21:54:09 +0000 (14:54 -0700)]
work around broken .debinfo files by faking the binarch from the
filename if there are only four fields.

12 years agoFix installation of templates (closes: #686928). Thanks to Mike Gabriel.
Don Armstrong [Fri, 7 Sep 2012 17:43:39 +0000 (10:43 -0700)]
Fix installation of templates (closes: #686928). Thanks to Mike Gabriel.

12 years agoDocument what Debbugs::Status::get_bug_status returns
Don Armstrong [Thu, 6 Sep 2012 22:23:43 +0000 (15:23 -0700)]
Document what Debbugs::Status::get_bug_status returns

12 years agoclose directory after reading from it
Don Armstrong [Tue, 24 Jul 2012 17:53:32 +0000 (10:53 -0700)]
close directory after reading from it

12 years agosummary and outlook actually accept any text
Don Armstrong [Fri, 20 Jul 2012 22:47:16 +0000 (15:47 -0700)]
summary and outlook actually accept any text

12 years agoApply fix for ! in owner et al; fixes #681853 Thanks to jwilk for reporting
Don Armstrong [Tue, 17 Jul 2012 17:16:56 +0000 (10:16 -0700)]
Apply fix for ! in owner et al; fixes #681853 Thanks to jwilk for reporting

12 years agofix undefined value in print (should be $version, not $2)
Don Armstrong [Mon, 16 Jul 2012 23:31:04 +0000 (16:31 -0700)]
fix undefined value in print (should be $version, not $2)

12 years agofix lack of unlocking in process before we start control
Don Armstrong [Sun, 15 Jul 2012 23:00:45 +0000 (16:00 -0700)]
fix lack of unlocking in process before we start control

12 years agooutput outlook in bugreport outlook
Don Armstrong [Sat, 14 Jul 2012 21:40:10 +0000 (14:40 -0700)]
output outlook in bugreport

12 years agoAdd support for outlook in control
Don Armstrong [Sat, 14 Jul 2012 21:37:56 +0000 (14:37 -0700)]
Add support for outlook in control