]> git.donarmstrong.com Git - debbugs.git/log
debbugs.git
8 months agoHandle RFC1522 escaped commas in structured headers (#1041638) master
Don Armstrong [Mon, 24 Jul 2023 23:17:17 +0000 (16:17 -0700)]
Handle RFC1522 escaped commas in structured headers (#1041638)

12 months agoencode addresses before checking if they are valid
Don Armstrong [Sun, 26 Mar 2023 22:52:57 +0000 (15:52 -0700)]
encode addresses before checking if they are valid

14 months agoAllow exporting of debbugs responses to mbox format when requested
Paul Wise [Sun, 13 Nov 2022 01:00:39 +0000 (09:00 +0800)]
Allow exporting of debbugs responses to mbox format when requested

This makes mbox export of response messages consistent with HTML export.

The bts (from devscripts) cache mode of "full" requests all messages from the
bug, including debbugs response mails, in mbox format but debbugs always
ignores those messages when returning an mbox, leading to bts errors.

14 months agoinclude non-free-firmware; thanks to Cyril Brulebois for the patch
Don Armstrong [Sun, 29 Jan 2023 18:53:20 +0000 (10:53 -0800)]
include non-free-firmware; thanks to Cyril Brulebois for the patch

16 months agoUse a checkbox and CSS to show info messages instead of JavaScript
Paul Wise [Sun, 13 Nov 2022 03:09:43 +0000 (11:09 +0800)]
Use a checkbox and CSS to show info messages instead of JavaScript

This works in browsers where users have disabled JavaScript,
such as the Tor Browser in the Security Level called Safest.

Obsoletes: https://salsa.debian.org/debbugs-team/debbugs/-/merge_requests/9

16 months agoPrevent usertags created at submit time from including invalid trailing chars
Paul Wise [Fri, 2 Dec 2022 01:16:49 +0000 (09:16 +0800)]
Prevent usertags created at submit time from including invalid trailing chars

There were two regex validating included characters but the one used at submit
time only checked for valid characters at the start of the usertag string.

Also factor the usertag validity regex into a function to reduce duplication.

Fixes: commit d8c69d152175704304656c19e1da1043fd24491e
2 years agoDo not escape From and use .eml when returning a single message
Don Armstrong [Sun, 10 Apr 2022 13:35:19 +0000 (06:35 -0700)]
Do not escape From and use .eml when returning a single message

 - Address issue with MUAs which don't look at the mime type and instead assume
   mime based on extension, like thunderbird. Closes #1009181

2 years agoSupport 7 digit bugs in bugspam.cgi
Don Armstrong [Wed, 12 Jan 2022 05:14:10 +0000 (21:14 -0800)]
Support 7 digit bugs in bugspam.cgi

3 years agoFix default user for usertags
Paul Wise [Fri, 12 Mar 2021 00:56:36 +0000 (08:56 +0800)]
Fix default user for usertags

It needs to have the same processing as all user addresses,
otherwise it will include the name and spaces etc.

Fixes: commit f13b9b4b919d80e6e90acf905452f8788e2b8c40
3 years agoremove extraneous debugging print statement
Don Armstrong [Thu, 11 Mar 2021 00:46:09 +0000 (16:46 -0800)]
remove extraneous debugging print statement

3 years agofix usertag/usertags typo
Don Armstrong [Thu, 11 Mar 2021 00:46:01 +0000 (16:46 -0800)]
fix usertag/usertags typo

3 years agoAdd support for setting usertags for multiple users in new bugs
Paul Wise [Sun, 28 Feb 2021 02:40:06 +0000 (10:40 +0800)]
Add support for setting usertags for multiple users in new bugs

Store the user/usertags pseudo-headers separately to the others
and then later process them after the new bug has been created.

Implements: https://bugs.debian.org/582171

3 years agoFix pluralising the Tag/Usertag headers
Paul Wise [Sun, 28 Feb 2021 01:59:52 +0000 (09:59 +0800)]
Fix pluralising the Tag/Usertag headers

The match was on the lowercase version header names but
the lowercasing happened after the header name match.

3 years agoFix unescaped From in bugreport (closes: #983847)
Don Armstrong [Sun, 7 Mar 2021 16:38:15 +0000 (08:38 -0800)]
Fix unescaped From in bugreport (closes: #983847)

3 years agofor CGI running out of git, just unshift @INC instead of use lib
Don Armstrong [Sun, 7 Mar 2021 16:29:06 +0000 (08:29 -0800)]
for CGI running out of git, just unshift @INC instead of use lib

3 years agoadd fixme to implement package version loader
Don Armstrong [Sun, 7 Mar 2021 16:27:08 +0000 (08:27 -0800)]
add fixme to implement package version loader

3 years agoonly complain about there not being a db when there should be one
Don Armstrong [Sun, 7 Mar 2021 16:26:55 +0000 (08:26 -0800)]
only complain about there not being a db when there should be one

3 years agothe version_cgi test needs a debbugs configuration file
Don Armstrong [Sun, 7 Mar 2021 16:10:10 +0000 (08:10 -0800)]
the version_cgi test needs a debbugs configuration file

3 years agoDon't print strange-looking "Usertags are now: ." message when removing all usertags.
Chris Lamb [Mon, 5 Aug 2019 08:58:22 +0000 (09:58 +0100)]
Don't print strange-looking "Usertags are now: ." message when removing all usertags.

3 years agoDisplay and link to SVG version graph everywhere
Jessica Clarke [Sat, 6 Jul 2019 11:29:36 +0000 (12:29 +0100)]
Display and link to SVG version graph everywhere

3 years agoadd code to dump the database
Don Armstrong [Sun, 26 Jul 2020 04:18:46 +0000 (21:18 -0700)]
add code to dump the database

4 years agodebugs-spam: output all of folded X-Spam headers
Don Armstrong [Sun, 22 Mar 2020 20:14:17 +0000 (13:14 -0700)]
debugs-spam: output all of folded X-Spam headers

4 years agosupport -done being set in a psuedoheader don/done_psuedoheader
Don Armstrong [Fri, 14 Feb 2020 03:22:52 +0000 (19:22 -0800)]
support -done being set in a psuedoheader

4 years agoaffects packages are part of the related packages we need
Don Armstrong [Sat, 30 Nov 2019 18:39:01 +0000 (10:39 -0800)]
affects packages are part of the related packages we need

4 years agopkgsrc is no longer needed
Don Armstrong [Sat, 30 Nov 2019 18:38:34 +0000 (10:38 -0800)]
pkgsrc is no longer needed

4 years agoit's remove_age not removal_age
Don Armstrong [Thu, 28 Nov 2019 19:05:38 +0000 (11:05 -0800)]
it's remove_age not removal_age

4 years agothe libraries are now in the lib directory
Don Armstrong [Sun, 24 Nov 2019 04:55:28 +0000 (20:55 -0800)]
the libraries are now in the lib directory

4 years agoadd packages for use strictures 2 don/mousify_config
Don Armstrong [Tue, 30 Jul 2019 02:33:02 +0000 (19:33 -0700)]
add packages for use strictures 2

4 years ago$config{database} is the config option, not debbugs_db
Don Armstrong [Tue, 30 Jul 2019 02:07:09 +0000 (19:07 -0700)]
$config{database} is the config option, not debbugs_db

4 years agothe cache directory should always be a temp dir
Don Armstrong [Mon, 29 Jul 2019 00:28:49 +0000 (17:28 -0700)]
the cache directory should always be a temp dir

4 years agomouseify Debbugs configuration
Don Armstrong [Mon, 29 Jul 2019 00:17:52 +0000 (17:17 -0700)]
mouseify Debbugs configuration

 - There is now a config->sendmail style configuration interface.

 - The hash interface ($config) is actually tied, and will error out you when
   you inevitably typo

4 years agofix blockedby/blocks in buginfo template
Don Armstrong [Sun, 11 Aug 2019 03:16:57 +0000 (20:16 -0700)]
fix blockedby/blocks in buginfo template

4 years agomove Debbugs to lib don/move_lib
Don Armstrong [Wed, 24 Jul 2019 03:15:15 +0000 (20:15 -0700)]
move Debbugs to lib

 - We will eventually want to add more modules potentially outside of Debbugs

4 years agoswitch to compatibility level 12
Don Armstrong [Mon, 8 Jul 2019 04:04:18 +0000 (21:04 -0700)]
switch to compatibility level 12

4 years agoUpdate for testing in buster environment (use pq-11-debversion)
Don Armstrong [Mon, 8 Jul 2019 04:02:47 +0000 (21:02 -0700)]
Update for testing in buster environment (use pq-11-debversion)

4 years agoAdd format option to version_url in Debbugs::CGI
Don Armstrong [Sat, 6 Jul 2019 15:33:19 +0000 (08:33 -0700)]
Add format option to version_url in Debbugs::CGI

4 years agoSVG is supported by enough browsers; default to it in version.cgi
Don Armstrong [Sat, 6 Jul 2019 15:19:28 +0000 (08:19 -0700)]
SVG is supported by enough browsers; default to it in version.cgi

 - Thanks to James Clarke for the impetus to make this change

4 years agoMerge branch 'mouseify'
Don Armstrong [Sat, 6 Jul 2019 04:01:33 +0000 (21:01 -0700)]
Merge branch 'mouseify'

4 years agouse CGI::Simple->new()
Don Armstrong [Sat, 6 Jul 2019 03:15:38 +0000 (20:15 -0700)]
use CGI::Simple->new()

4 years agoswitch to IO::File->new
Don Armstrong [Sat, 6 Jul 2019 03:15:23 +0000 (20:15 -0700)]
switch to IO::File->new

4 years agoDocument bug collection a bit more
Don Armstrong [Sat, 6 Jul 2019 03:15:12 +0000 (20:15 -0700)]
Document bug collection a bit more

4 years agoadd messageid to bug status
Don Armstrong [Sat, 6 Jul 2019 03:14:23 +0000 (20:14 -0700)]
add messageid to bug status

4 years agoadd binpkg/srcpkg relation table
Don Armstrong [Sat, 6 Jul 2019 03:14:03 +0000 (20:14 -0700)]
add binpkg/srcpkg relation table

4 years agomake the pkginfo section a table instead of a long sentence
Don Armstrong [Sat, 6 Jul 2019 03:11:49 +0000 (20:11 -0700)]
make the pkginfo section a table instead of a long sentence

4 years agoUse $bug object instead of status in bugreport buginfo
Don Armstrong [Sat, 6 Jul 2019 03:11:17 +0000 (20:11 -0700)]
Use $bug object instead of status in bugreport buginfo

4 years agothe usertags test no longer applies; need to rethink it
Don Armstrong [Mon, 1 Jul 2019 00:30:46 +0000 (17:30 -0700)]
the usertags test no longer applies; need to rethink it

4 years agocall iso8601 instead of stringify
Don Armstrong [Mon, 1 Jul 2019 00:15:20 +0000 (17:15 -0700)]
call iso8601 instead of stringify

4 years agoadd missing dependency on DateTime
Don Armstrong [Sun, 30 Jun 2019 23:09:33 +0000 (16:09 -0700)]
add missing dependency on DateTime

4 years agoit's now submitter->email
Don Armstrong [Sun, 30 Jun 2019 23:07:10 +0000 (16:07 -0700)]
it's now submitter->email

4 years agouse status for found/fixed in shortstatus
Don Armstrong [Sun, 30 Jun 2019 23:00:02 +0000 (16:00 -0700)]
use status for found/fixed in shortstatus

 - Also fixed wrong bug.done.name

4 years agoonly look for source if srcforpkg is defined
Don Armstrong [Sun, 30 Jun 2019 22:58:00 +0000 (15:58 -0700)]
only look for source if srcforpkg is defined

4 years agostop warning if there is no schema
Don Armstrong [Sun, 30 Jun 2019 22:56:37 +0000 (15:56 -0700)]
stop warning if there is no schema

4 years agouse status->package/found/fixed instead of custom code in D::Bug
Don Armstrong [Sun, 30 Jun 2019 22:56:19 +0000 (15:56 -0700)]
use status->package/found/fixed instead of custom code in D::Bug

4 years agoallow apply to return > 1 object per collection member
Don Armstrong [Sun, 30 Jun 2019 22:55:23 +0000 (15:55 -0700)]
allow apply to return > 1 object per collection member

4 years agoadd msid to bug_status VIEW
Don Armstrong [Sun, 30 Jun 2019 22:16:06 +0000 (15:16 -0700)]
add msid to bug_status VIEW

4 years agodefine schema object $s in version.cgi
Don Armstrong [Sun, 30 Jun 2019 22:15:41 +0000 (15:15 -0700)]
define schema object $s in version.cgi

4 years agoDebbugs:;Verison: add count and join methods; only use lazy building
Don Armstrong [Sun, 30 Jun 2019 22:13:44 +0000 (15:13 -0700)]
Debbugs:;Verison: add count and join methods; only use lazy building

4 years agobuild sources directly from the package collection
Don Armstrong [Sun, 30 Jun 2019 17:10:39 +0000 (10:10 -0700)]
build sources directly from the package collection

4 years agoIt's always a source version if the package is a source package
Don Armstrong [Sun, 30 Jun 2019 17:09:42 +0000 (10:09 -0700)]
It's always a source version if the package is a source package

4 years agoUse pkg for the Debbugs::Package and package for the name
Don Armstrong [Sun, 30 Jun 2019 17:07:55 +0000 (10:07 -0700)]
Use pkg for the Debbugs::Package and package for the name

 - Add documentation to Debbugs::Version
 - Debbugs::Version objects should not be created directly

4 years agoIn Debbugs::Package, do not double search for binary packages
Don Armstrong [Sun, 30 Jun 2019 17:04:18 +0000 (10:04 -0700)]
In Debbugs::Package, do not double search for binary packages

When we're given a source package to search for, do not bother to load all of
the data related to all binary packages which correspond to that source package.
[For a complicated source package with 5000 binary packages like linux, that
search can take more than 5 seconds.]

4 years agoIn Debbugs:;Package use valid_version_info instead of versioninfo
Don Armstrong [Sun, 30 Jun 2019 17:03:37 +0000 (10:03 -0700)]
In Debbugs:;Package use valid_version_info instead of versioninfo

4 years agoadd source_names and maintainers to Debbugs:;Package
Don Armstrong [Sun, 30 Jun 2019 17:02:30 +0000 (10:02 -0700)]
add source_names and maintainers to Debbugs:;Package

4 years agoDocumentation of Debbugs::Package
Don Armstrong [Sun, 30 Jun 2019 17:01:28 +0000 (10:01 -0700)]
Documentation of Debbugs::Package

4 years agoResolve issues with get_source_versions{,_distributions}
Don Armstrong [Sun, 30 Jun 2019 16:58:18 +0000 (09:58 -0700)]
Resolve issues with get_source_versions{,_distributions}

 - Add documentation to Debbugs::Collection::Package
 - Add sources and source_names methods
 - Version regex was incorrect; fix it
 - Return Debbugs::Collection::Version now

4 years agoautomatically switch between creating source and binary Debbugs::Versions
Don Armstrong [Sun, 30 Jun 2019 16:57:45 +0000 (09:57 -0700)]
automatically switch between creating source and binary Debbugs::Versions

4 years agohandle source/package being undef in Debbugs::Collection::Bug
Don Armstrong [Sat, 29 Jun 2019 23:44:46 +0000 (16:44 -0700)]
handle source/package being undef in Debbugs::Collection::Bug

4 years agoadd combine method to Debbugs::Collection; fix keys_of_members bug
Don Armstrong [Sat, 29 Jun 2019 23:44:16 +0000 (16:44 -0700)]
add combine method to Debbugs::Collection; fix keys_of_members bug

4 years agouse schema argument in Debbugs::Collection::Package
Don Armstrong [Sat, 29 Jun 2019 23:29:03 +0000 (16:29 -0700)]
use schema argument in Debbugs::Collection::Package

4 years agopending is not a status field
Don Armstrong [Sat, 29 Jun 2019 23:27:58 +0000 (16:27 -0700)]
pending is not a status field

4 years agodocument Debbugs::Collection::Version
Don Armstrong [Sat, 29 Jun 2019 18:34:24 +0000 (11:34 -0700)]
document Debbugs::Collection::Version

4 years agoremove unneeded things from bugreport after mouseify
Don Armstrong [Sun, 2 Jun 2019 04:03:49 +0000 (21:03 -0700)]
remove unneeded things from bugreport after mouseify

4 years agoremove debbuging Data::Printer code which snuck in
Don Armstrong [Sun, 2 Jun 2019 03:40:34 +0000 (20:40 -0700)]
remove debbuging Data::Printer code which snuck in

4 years agoOnly build individual fields from the status when they are needed
Don Armstrong [Sat, 1 Jun 2019 16:03:41 +0000 (09:03 -0700)]
Only build individual fields from the status when they are needed

4 years agodepend on libmousex-nativetraits-perl for Hash trait
Don Armstrong [Tue, 28 May 2019 00:28:02 +0000 (17:28 -0700)]
depend on libmousex-nativetraits-perl for Hash trait

4 years agodepend on libmouse-perl
Don Armstrong [Tue, 28 May 2019 00:22:28 +0000 (17:22 -0700)]
depend on libmouse-perl

4 years agofix short bug status to use is_blocked and correspondent name
Don Armstrong [Tue, 28 May 2019 00:14:29 +0000 (17:14 -0700)]
fix short bug status to use is_blocked and correspondent name

4 years agoonly include users which have bugs
Don Armstrong [Tue, 28 May 2019 00:10:34 +0000 (17:10 -0700)]
only include users which have bugs

4 years agoswitch to get_or_add_by_key
Don Armstrong [Mon, 27 May 2019 23:44:00 +0000 (16:44 -0700)]
switch to get_or_add_by_key

4 years agoUse Debbugs::Bug::Status in Debbugs::Bug
Don Armstrong [Mon, 27 May 2019 23:43:30 +0000 (16:43 -0700)]
Use Debbugs::Bug::Status in Debbugs::Bug

4 years agodocument Debbugs::Collection::Package
Don Armstrong [Mon, 27 May 2019 23:39:19 +0000 (16:39 -0700)]
document Debbugs::Collection::Package

4 years agoadd Debbugs::Bug::Tag, list of tags
Don Armstrong [Mon, 27 May 2019 23:19:30 +0000 (16:19 -0700)]
add Debbugs::Bug::Tag, list of tags

4 years agoadd Debbugs::Bug::Status, interface to .status files
Don Armstrong [Mon, 27 May 2019 23:19:15 +0000 (16:19 -0700)]
add Debbugs::Bug::Status, interface to .status files

4 years agoDocument Debbugs::Collection::Bug
Don Armstrong [Mon, 27 May 2019 23:18:14 +0000 (16:18 -0700)]
Document Debbugs::Collection::Bug

4 years agodocument Debbugs::Collection
Don Armstrong [Mon, 27 May 2019 23:07:27 +0000 (16:07 -0700)]
document Debbugs::Collection

5 years agowe don't necessarily need to deparse the email address for pkg links
Don Armstrong [Sun, 19 Aug 2018 20:38:57 +0000 (13:38 -0700)]
we don't necessarily need to deparse the email address for pkg links

5 years agostop calculating the source for all packages
Don Armstrong [Sun, 19 Aug 2018 20:38:46 +0000 (13:38 -0700)]
stop calculating the source for all packages

5 years agopkgreport already has use warnings, does not need -T
Don Armstrong [Sun, 19 Aug 2018 20:37:18 +0000 (13:37 -0700)]
pkgreport already has use warnings, does not need -T

5 years agouse make_source_versions instead of makesourceversions in version.cgi
Don Armstrong [Sun, 19 Aug 2018 20:36:59 +0000 (13:36 -0700)]
use make_source_versions instead of makesourceversions in version.cgi

5 years agouse package_maintainer in bugreport
Don Armstrong [Sun, 19 Aug 2018 20:36:33 +0000 (13:36 -0700)]
use package_maintainer in bugreport

5 years agoinclude function in instalsql for bin ver/src pkg linking
Don Armstrong [Sun, 19 Aug 2018 20:36:07 +0000 (13:36 -0700)]
include function in instalsql for bin ver/src pkg linking

5 years agouse schema in Debbugs::Status tests
Don Armstrong [Sun, 19 Aug 2018 20:34:51 +0000 (13:34 -0700)]
use schema in Debbugs::Status tests

5 years agoadd bin_pkg to src_pkg convenience linking table with triggers
Don Armstrong [Sun, 19 Aug 2018 20:33:42 +0000 (13:33 -0700)]
add bin_pkg to src_pkg convenience linking table with triggers

5 years agomousify bugreport and short status templates
Don Armstrong [Sun, 19 Aug 2018 20:31:42 +0000 (13:31 -0700)]
mousify bugreport and short status templates

5 years agohandle no srcver/binver in valid version info search
Don Armstrong [Sun, 19 Aug 2018 20:23:52 +0000 (13:23 -0700)]
handle no srcver/binver in valid version info search

5 years agoAdd users to a collection
Don Armstrong [Sun, 19 Aug 2018 20:02:52 +0000 (13:02 -0700)]
Add users to a collection

5 years agothe default bug collection for a bug is the universe
Don Armstrong [Sat, 18 Aug 2018 05:32:40 +0000 (22:32 -0700)]
the default bug collection for a bug is the universe

5 years agoOR is the default for multiple values; remove useless or
Don Armstrong [Sat, 18 Aug 2018 05:31:31 +0000 (22:31 -0700)]
OR is the default for multiple values; remove useless or

5 years agoadd email and url access objects
Don Armstrong [Sat, 14 Jul 2018 08:18:57 +0000 (01:18 -0700)]
add email and url access objects

5 years agosupply schema_arg to get_bug_status
Don Armstrong [Thu, 14 Jun 2018 00:31:35 +0000 (17:31 -0700)]
supply schema_arg to get_bug_status