Ticket #196 (new enhancement)

Opened 20 months ago

Last modified 18 months ago

Need "revert all changes by x" tool and "revert guide to state at yyyy-mm-dd hh:mm" tool

Reported by: nick Owned by: Nobody
Priority: low Milestone:
Component: openguides Version: svn
Severity: normal Keywords: spam commandline, hackfestsummer2007-reviews
Cc:

Description

To deal with spam attacks, we need the following two tools:

  • revert all changes by username (be that a name or a ip)
  • revert all changes since a certain date

For the former, grab node id and version, delete those from content and metadata, roll node back one version, then copy content over.

For latter, grab last node id and version before date, delete all versions after on metadata and content, roll node back to last version before data, then copy content over.

Change History

Changed 20 months ago by nick

For the date one, can use "$wiki->list_last_version_before" from Wiki::Toolkit

Changed 20 months ago by nick

One half of this now done in wiki toolkit, see bin/wiki-toolkit-revert-to-date

Changed 20 months ago by nick

The "delete all entries from user" should probably go in the openguides admin. Confirm page would show all versions to delete, and ask for admin password. Could have a link to it from admin changes list.

Changed 20 months ago by nick

  • priority changed from high to normal
  • severity changed from major to normal

Right, initial support for the zap a user's stuff in openguide's svn. Needs tests, support for deleting by host etc, but it's a start

Changed 20 months ago by nick

  • priority changed from normal to low

Tests in, but still lacks delete by host. Oh, and the UI might want a bit of a tweak.

Changed 18 months ago by dom

  • owner changed from dom to Nobody

Changed 18 months ago by Kake

  • keywords commandline, hackfestsummer2007-reviews added; commandline removed
  • type changed from defect to enhancement
Note: See TracTickets for help on using tickets.