Changes between Version 10 and Version 11 of NukeUserPlugin
- Timestamp:
- Nov 16, 2016, 9:24:28 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NukeUserPlugin
v10 v11 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Delete user plugin3 = Delete users and their tickets and comments 4 4 5 5 == Description … … 7 7 This plugin adds a TracAdmin command for cleaning out spammer accounts and all their tickets and comments. It requires SpamFilterPlugin. 8 8 9 It does not do anything about wiki content or attachments. It does not provide a web UI. Forks and patches welcome. 9 It does not do anything about wiki content or attachments. It does not provide a web user interface. Forks and patches welcome. 10 11 To use it: 12 {{{#!sh 13 $ trac-admin /path/to/trac/environment/ nukeuser username 14 }}} 15 16 If you use it interactively, it does tab-completion of usernames from the auth cookie table in the database. 17 18 This will do all of the following: 19 20 * Remove the user account. 21 * Delete all tickets and comments created by that user. 22 * Train and delete SpamFilterPlugin entries by that user. 10 23 11 24 Motivation: I've been getting some (authenticated) Trac spam lately, some of it getting past SpamFilterPlugin's filters (I'm using all of Akismet, !BlogSpam, and reCaptcha, and they still got through). I was getting tired of doing cleanup manually. … … 37 50 }}} 38 51 39 To use it:40 {{{#!sh41 $ trac-admin /path/to/trac/environment/ nukeuser username42 }}}43 44 If you use it interactively, it does tab-completion of usernames from the auth cookie table in the database.45 46 This will do all of the following:47 48 * Remove the user account.49 * Delete all tickets and comments created by that user.50 * Train and delete SpamFilterPlugin entries by that user.51 52 52 == Recent Changes 53 53