]>
git.donarmstrong.com Git - debbugs.git/log
Don Armstrong [Mon, 24 Jul 2023 23:17:17 +0000 (16:17 -0700)]
Handle RFC1522 escaped commas in structured headers (#
1041638 )
Don Armstrong [Sun, 26 Mar 2023 22:52:57 +0000 (15:52 -0700)]
encode addresses before checking if they are valid
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.
Don Armstrong [Sun, 29 Jan 2023 18:53:20 +0000 (10:53 -0800)]
include non-free-firmware; thanks to Cyril Brulebois for the patch
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
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
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
Don Armstrong [Wed, 12 Jan 2022 05:14:10 +0000 (21:14 -0800)]
Support 7 digit bugs in bugspam.cgi
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
Don Armstrong [Thu, 11 Mar 2021 00:46:09 +0000 (16:46 -0800)]
remove extraneous debugging print statement
Don Armstrong [Thu, 11 Mar 2021 00:46:01 +0000 (16:46 -0800)]
fix usertag/usertags typo
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
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.
Don Armstrong [Sun, 7 Mar 2021 16:38:15 +0000 (08:38 -0800)]
Fix unescaped From in bugreport (closes: #983847)
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
Don Armstrong [Sun, 7 Mar 2021 16:27:08 +0000 (08:27 -0800)]
add fixme to implement package version loader
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
Don Armstrong [Sun, 7 Mar 2021 16:10:10 +0000 (08:10 -0800)]
the version_cgi test needs a debbugs configuration file
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.
Jessica Clarke [Sat, 6 Jul 2019 11:29:36 +0000 (12:29 +0100)]
Display and link to SVG version graph everywhere
Don Armstrong [Sun, 26 Jul 2020 04:18:46 +0000 (21:18 -0700)]
add code to dump the database
Don Armstrong [Sun, 22 Mar 2020 20:14:17 +0000 (13:14 -0700)]
debugs-spam: output all of folded X-Spam headers
Don Armstrong [Fri, 14 Feb 2020 03:22:52 +0000 (19:22 -0800)]
support -done being set in a psuedoheader
Don Armstrong [Sat, 30 Nov 2019 18:39:01 +0000 (10:39 -0800)]
affects packages are part of the related packages we need
Don Armstrong [Sat, 30 Nov 2019 18:38:34 +0000 (10:38 -0800)]
pkgsrc is no longer needed
Don Armstrong [Thu, 28 Nov 2019 19:05:38 +0000 (11:05 -0800)]
it's remove_age not removal_age
Don Armstrong [Sun, 24 Nov 2019 04:55:28 +0000 (20:55 -0800)]
the libraries are now in the lib directory
Don Armstrong [Tue, 30 Jul 2019 02:33:02 +0000 (19:33 -0700)]
add packages for use strictures 2
Don Armstrong [Tue, 30 Jul 2019 02:07:09 +0000 (19:07 -0700)]
$config{database} is the config option, not debbugs_db
Don Armstrong [Mon, 29 Jul 2019 00:28:49 +0000 (17:28 -0700)]
the cache directory should always be a temp dir
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
Don Armstrong [Sun, 11 Aug 2019 03:16:57 +0000 (20:16 -0700)]
fix blockedby/blocks in buginfo template
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
Don Armstrong [Mon, 8 Jul 2019 04:04:18 +0000 (21:04 -0700)]
switch to compatibility level 12
Don Armstrong [Mon, 8 Jul 2019 04:02:47 +0000 (21:02 -0700)]
Update for testing in buster environment (use pq-11-debversion)
Don Armstrong [Sat, 6 Jul 2019 15:33:19 +0000 (08:33 -0700)]
Add format option to version_url in Debbugs::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
Don Armstrong [Sat, 6 Jul 2019 04:01:33 +0000 (21:01 -0700)]
Merge branch 'mouseify'
Don Armstrong [Sat, 6 Jul 2019 03:15:38 +0000 (20:15 -0700)]
use CGI::Simple->new()
Don Armstrong [Sat, 6 Jul 2019 03:15:23 +0000 (20:15 -0700)]
switch to IO::File->new
Don Armstrong [Sat, 6 Jul 2019 03:15:12 +0000 (20:15 -0700)]
Document bug collection a bit more
Don Armstrong [Sat, 6 Jul 2019 03:14:23 +0000 (20:14 -0700)]
add messageid to bug status
Don Armstrong [Sat, 6 Jul 2019 03:14:03 +0000 (20:14 -0700)]
add binpkg/srcpkg relation table
Don Armstrong [Sat, 6 Jul 2019 03:11:49 +0000 (20:11 -0700)]
make the pkginfo section a table instead of a long sentence
Don Armstrong [Sat, 6 Jul 2019 03:11:17 +0000 (20:11 -0700)]
Use $bug object instead of status in bugreport buginfo
Don Armstrong [Mon, 1 Jul 2019 00:30:46 +0000 (17:30 -0700)]
the usertags test no longer applies; need to rethink it
Don Armstrong [Mon, 1 Jul 2019 00:15:20 +0000 (17:15 -0700)]
call iso8601 instead of stringify
Don Armstrong [Sun, 30 Jun 2019 23:09:33 +0000 (16:09 -0700)]
add missing dependency on DateTime
Don Armstrong [Sun, 30 Jun 2019 23:07:10 +0000 (16:07 -0700)]
it's now submitter->email
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
Don Armstrong [Sun, 30 Jun 2019 22:58:00 +0000 (15:58 -0700)]
only look for source if srcforpkg is defined
Don Armstrong [Sun, 30 Jun 2019 22:56:37 +0000 (15:56 -0700)]
stop warning if there is no schema
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
Don Armstrong [Sun, 30 Jun 2019 22:55:23 +0000 (15:55 -0700)]
allow apply to return > 1 object per collection member
Don Armstrong [Sun, 30 Jun 2019 22:16:06 +0000 (15:16 -0700)]
add msid to bug_status VIEW
Don Armstrong [Sun, 30 Jun 2019 22:15:41 +0000 (15:15 -0700)]
define schema object $s in version.cgi
Don Armstrong [Sun, 30 Jun 2019 22:13:44 +0000 (15:13 -0700)]
Debbugs:;Verison: add count and join methods; only use lazy building
Don Armstrong [Sun, 30 Jun 2019 17:10:39 +0000 (10:10 -0700)]
build sources directly from the package collection
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
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
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.]
Don Armstrong [Sun, 30 Jun 2019 17:03:37 +0000 (10:03 -0700)]
In Debbugs:;Package use valid_version_info instead of versioninfo
Don Armstrong [Sun, 30 Jun 2019 17:02:30 +0000 (10:02 -0700)]
add source_names and maintainers to Debbugs:;Package
Don Armstrong [Sun, 30 Jun 2019 17:01:28 +0000 (10:01 -0700)]
Documentation of Debbugs::Package
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
Don Armstrong [Sun, 30 Jun 2019 16:57:45 +0000 (09:57 -0700)]
automatically switch between creating source and binary Debbugs::Versions
Don Armstrong [Sat, 29 Jun 2019 23:44:46 +0000 (16:44 -0700)]
handle source/package being undef in Debbugs::Collection::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
Don Armstrong [Sat, 29 Jun 2019 23:29:03 +0000 (16:29 -0700)]
use schema argument in Debbugs::Collection::Package
Don Armstrong [Sat, 29 Jun 2019 23:27:58 +0000 (16:27 -0700)]
pending is not a status field
Don Armstrong [Sat, 29 Jun 2019 18:34:24 +0000 (11:34 -0700)]
document Debbugs::Collection::Version
Don Armstrong [Sun, 2 Jun 2019 04:03:49 +0000 (21:03 -0700)]
remove unneeded things from bugreport after mouseify
Don Armstrong [Sun, 2 Jun 2019 03:40:34 +0000 (20:40 -0700)]
remove debbuging Data::Printer code which snuck in
Don Armstrong [Sat, 1 Jun 2019 16:03:41 +0000 (09:03 -0700)]
Only build individual fields from the status when they are needed
Don Armstrong [Tue, 28 May 2019 00:28:02 +0000 (17:28 -0700)]
depend on libmousex-nativetraits-perl for Hash trait
Don Armstrong [Tue, 28 May 2019 00:22:28 +0000 (17:22 -0700)]
depend on libmouse-perl
Don Armstrong [Tue, 28 May 2019 00:14:29 +0000 (17:14 -0700)]
fix short bug status to use is_blocked and correspondent name
Don Armstrong [Tue, 28 May 2019 00:10:34 +0000 (17:10 -0700)]
only include users which have bugs
Don Armstrong [Mon, 27 May 2019 23:44:00 +0000 (16:44 -0700)]
switch to get_or_add_by_key
Don Armstrong [Mon, 27 May 2019 23:43:30 +0000 (16:43 -0700)]
Use Debbugs::Bug::Status in Debbugs::Bug
Don Armstrong [Mon, 27 May 2019 23:39:19 +0000 (16:39 -0700)]
document Debbugs::Collection::Package
Don Armstrong [Mon, 27 May 2019 23:19:30 +0000 (16:19 -0700)]
add Debbugs::Bug::Tag, list of tags
Don Armstrong [Mon, 27 May 2019 23:19:15 +0000 (16:19 -0700)]
add Debbugs::Bug::Status, interface to .status files
Don Armstrong [Mon, 27 May 2019 23:18:14 +0000 (16:18 -0700)]
Document Debbugs::Collection::Bug
Don Armstrong [Mon, 27 May 2019 23:07:27 +0000 (16:07 -0700)]
document Debbugs::Collection
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
Don Armstrong [Sun, 19 Aug 2018 20:38:46 +0000 (13:38 -0700)]
stop calculating the source for all packages
Don Armstrong [Sun, 19 Aug 2018 20:37:18 +0000 (13:37 -0700)]
pkgreport already has use warnings, does not need -T
Don Armstrong [Sun, 19 Aug 2018 20:36:59 +0000 (13:36 -0700)]
use make_source_versions instead of makesourceversions in version.cgi
Don Armstrong [Sun, 19 Aug 2018 20:36:33 +0000 (13:36 -0700)]
use package_maintainer in bugreport
Don Armstrong [Sun, 19 Aug 2018 20:36:07 +0000 (13:36 -0700)]
include function in instalsql for bin ver/src pkg linking
Don Armstrong [Sun, 19 Aug 2018 20:34:51 +0000 (13:34 -0700)]
use schema in Debbugs::Status tests
Don Armstrong [Sun, 19 Aug 2018 20:33:42 +0000 (13:33 -0700)]
add bin_pkg to src_pkg convenience linking table with triggers
Don Armstrong [Sun, 19 Aug 2018 20:31:42 +0000 (13:31 -0700)]
mousify bugreport and short status templates
Don Armstrong [Sun, 19 Aug 2018 20:23:52 +0000 (13:23 -0700)]
handle no srcver/binver in valid version info search
Don Armstrong [Sun, 19 Aug 2018 20:02:52 +0000 (13:02 -0700)]
Add users to a collection
Don Armstrong [Sat, 18 Aug 2018 05:32:40 +0000 (22:32 -0700)]
the default bug collection for a bug is the universe
Don Armstrong [Sat, 18 Aug 2018 05:31:31 +0000 (22:31 -0700)]
OR is the default for multiple values; remove useless or
Don Armstrong [Sat, 14 Jul 2018 08:18:57 +0000 (01:18 -0700)]
add email and url access objects
Don Armstrong [Thu, 14 Jun 2018 00:31:35 +0000 (17:31 -0700)]
supply schema_arg to get_bug_status