wiki:TicketDeletePlugin

Version 33 (modified by rjollos, 14 months ago) (diff)

Refs comment:3:ticket:8521.

Ticket Change and Ticket Delete Plugin

Note: TicketDeletePlugin is deprecated for Trac 0.12 and later, and will no longer be supported except for critical fixes. Trac 0.12 (t:#3641) added a ticket deleter component, so there is no need to install TicketDeletePlugin if you are using Trac 0.12+. To enable functionality equivalent to TicketDeletePlugin in Trac 0.12 and later, just edit your trac.ini:

[components]
tracopt.ticket.deleter = enabled

The tracopt.ticket.deleter component was written by the Trac team and has essentially the same functionality as TicketDeletePlugin, but the implementation has no direct relation to TicketDeletePlugin. One major difference is that there is no WebAdmin component for the Trac ticket deleter as there was for TicketDeletePlugin.

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 2012-10-05 03:02:08
Refs #10263: Refactored code and added comments. Improved notification messages on delete of a ticket change.
[12108] by rjollos on 2012-10-04 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 2012-10-02 23:40:02
Refs #840, #10263: FIX: the reply buttons were redirecting to the delete page as well.

Author/Contributors

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