Changes between Initial Version and Version 1 of NukeUserPlugin


Ignore:
Timestamp:
Apr 4, 2011, 3:18:51 PM (8 years ago)
Author:
Paul Winkler
Comment:

New hack NukeUserPlugin, created by slinkp

Legend:

Unmodified
Added
Removed
Modified
  • NukeUserPlugin

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= nukeuser plugin =
     4
     5== Description ==
     6
     7A tiny plugin that adds a trac-admin command for cleaning out spammer accounts, and all their tickets and comments.
     8
     9It requires SpamFilterPlugin.
     10
     11It does not do anything about wiki content or attachments.  Forks and
     12patches welcome.
     13
     14It does not provide a web UI. Forks and patches welcome :)
     15
     16
     17
     18== Bugs/Feature Requests ==
     19
     20Existing bugs and feature requests for NukeUserPlugin are
     21[report:9?COMPONENT=NukeUserPlugin here].
     22
     23If you have any issues, create a
     24[http://trac-hacks.org/newticket?component=NukeUserPlugin&owner=slinkp new ticket].
     25
     26== Download ==
     27
     28Download the zipped source from [download:nukeuserplugin here].
     29
     30== Source ==
     31
     32You can check out NukeUserPlugin from [http://trac-hacks.org/svn/nukeuserplugin here] using Subversion, or [source:nukeuserplugin browse the source] with Trac.
     33
     34== Example ==
     35
     36To configure it, first you need SpamFilterPlugin installed. Then put this in your trac.ini:
     37{{{
     38[components]
     39nukeuserplugin.* = enabled
     40}}}
     41
     42To use it:
     43
     44{{{
     45 $ trac-admin /path/to/trac/environment/  nukeuser username
     46}}}
     47
     48
     49(If you use it interactively, it does tab-completion of usernames from
     50the auth cookie table in the database.)
     51
     52This will do all of the following:
     53
     54 * Remove the user account.
     55 * Delete all tickets and comments created by that user.
     56 * Train and delete SpamFilterPlugin entries by that user.
     57
     58Motivation: I've been getting some (authenticated) Trac spam lately,
     59some of it getting past SpamFilterPlugin's filters (I'm using all of
     60Akismet, BlogSpam, and reCaptcha, and they still got through).  I was
     61getting tired of doing cleanup manually.
     62
     63
     64== Recent Changes ==
     65
     66[[ChangeLog(nukeuserplugin, 3)]]
     67
     68== Author/Contributors ==
     69
     70'''Author:''' [wiki:slinkp] [[BR]]
     71'''Maintainer:''' [wiki:slinkp] [[BR]]
     72'''Contributors:'''