#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------+---------------------------------------------------
Reporter: nick | Owner: dom
Type: defect | Status: new
Priority: high | Milestone:
Component: openguides | Version: svn
Severity: major | Keywords: spam commandline
------------------------+---------------------------------------------------
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.
--
Ticket URL: <http://dev.openguides.org/ticket/196>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
Show replies by thread
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------------+---------------------------------------------
Reporter: nick | Owner: dom
Type: defect | Status: new
Priority: high | Milestone:
Component: openguides | Version: svn
Severity: major | Resolution:
Keywords: spam commandline |
------------------------------+---------------------------------------------
Comment (by nick):
For the date one, can use "$wiki->list_last_version_before" from
Wiki::Toolkit
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:1>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------------+---------------------------------------------
Reporter: nick | Owner: dom
Type: defect | Status: new
Priority: high | Milestone:
Component: openguides | Version: svn
Severity: major | Resolution:
Keywords: spam commandline |
------------------------------+---------------------------------------------
Comment (by nick):
One half of this now done in wiki toolkit, see bin/wiki-toolkit-revert-to-
date
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:2>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------------+---------------------------------------------
Reporter: nick | Owner: dom
Type: defect | Status: new
Priority: high | Milestone:
Component: openguides | Version: svn
Severity: major | Resolution:
Keywords: spam commandline |
------------------------------+---------------------------------------------
Comment (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.
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:3>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------------+---------------------------------------------
Reporter: nick | Owner: dom
Type: defect | Status: new
Priority: normal | Milestone:
Component: openguides | Version: svn
Severity: normal | Resolution:
Keywords: spam commandline |
------------------------------+---------------------------------------------
Changes (by nick):
* priority: high => normal
* severity: major => normal
Comment:
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
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:4>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------------+---------------------------------------------
Reporter: nick | Owner: dom
Type: defect | Status: new
Priority: low | Milestone:
Component: openguides | Version: svn
Severity: normal | Resolution:
Keywords: spam commandline |
------------------------------+---------------------------------------------
Changes (by nick):
* priority: normal => low
Comment:
Tests in, but still lacks delete by host. Oh, and the UI might want a bit
of a tweak.
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:5>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
------------------------------+---------------------------------------------
Reporter: nick | Owner: Nobody
Type: defect | Status: new
Priority: low | Milestone:
Component: openguides | Version: svn
Severity: normal | Resolution:
Keywords: spam commandline |
------------------------------+---------------------------------------------
Changes (by dom):
* owner: dom => Nobody
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:6>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
----------------------------------------------------------+-----------------
Reporter: nick | Owner: Nobody
Type: enhancement | Status: new
Priority: low | Milestone:
Component: openguides | Version: svn
Severity: normal | Resolution:
Keywords: spam commandline, hackfestsummer2007-reviews |
----------------------------------------------------------+-----------------
Changes (by Kake):
* keywords: spam commandline => spam commandline,
hackfestsummer2007-reviews
* type: defect => enhancement
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:7>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project
#196: Need "revert all changes by x" tool and "revert guide to state at
yyyy-mm-
dd hh:mm" tool
----------------------------------------------------------+-----------------
Reporter: nick | Owner: Nobody
Type: enhancement | Status: closed
Priority: low | Milestone:
Component: openguides | Version: svn
Severity: normal | Resolution: fixed
Keywords: spam commandline, hackfestsummer2007-reviews |
----------------------------------------------------------+-----------------
Changes (by bob):
* status: new => closed
* resolution: => fixed
Comment:
I think this is fixed as we want it.
--
Ticket URL: <http://dev.openguides.org/ticket/196#comment:8>
OpenGuides <http://openguides.org/>
The OpenGuides city guides project