Ticket Change and Ticket Delete Plugin

Note: The functionality of this plugin has been incorporated into Trac 0.12 t:#3641. There is no need to follow the installation steps below if you are using Trac 0.12. Just edit your trac.ini:

[components]
tracopt.ticket.deleter = enabled

Description

This is a small plugin to allow deleting tickets from within Trac. Though I don't advocate this as a method of dealing with tickets very often, it is a commonly requested feature, and it is needed on rare occasions (generally dealing with spam).

It also supports deleting individual changes, including comments.

Bugs/Feature Requests

Existing bugs and feature requests for TicketDeletePlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here

Source

You can check out TicketDeletePlugin from here using Subversion, or browse the source with Trac. Select the subdirectory corresponding to your trac version.

Installation

Just follow the normal egg installation procedures.

Do not forget to enable the plugin by adding the following to the components section of your trac configuration:

[components]
ticketdelete.* = enabled

There will be new WebAdmin sub-pages in the Ticket category called Delete Ticket and Delete Changes.

Recent Changes

[12114] by rjollos on 10/05/12 03:02:08

Refs #10263: Refactored code and added comments. Improved notification messages on delete of a ticket change.

[12108] by rjollos on 10/04/12 05:57:07

Refs #10263: Made notice for deletion of a field different than notice for deletion of a ticket change, to aid in debugging.

[12099] by rjollos on 10/02/12 23:40:02

Refs #840, #10263: FIX: the reply buttons were redirecting to the delete page as well.

[12098] by rjollos on 10/02/12 22:44:49

Refs #840, #10263:

  • Added check of Trac version. The plugin won't install in Trac 0.12 and later. In Trac 0.12 and later, enable the equivalent functionality by setting tracopt.ticket.deleter = enabled.
  • When a "change" checkbox is selected, all of the child "field" checkboxes will be selected.
  • Improved warning that is issued when an invalid ticket ID is entered. The left # characters in case the user enters #100 for a ticket ID, rather than 100.
  • Fixed some regressions introduced in #840, when migrating from the javascript version of the plugin, to the genshi version.
    • Alert confirmation dialog has been restored.
    • Changes sort chronlogically.

Please test and report back, if you can.

Author/Contributors

Author: coderanger
Maintainer: none
Contributors: k0s, daniel, rjollos, asmodai, mgood
License: 3-Clause BSD