Skip to main content

RedTurtle History Manager

Project description

A Plone add-on that …

Caveat: developed for Plone 3.2.2

How it works

It gives you some management views you can play with to clean your Data.fs from old versions.

Installation

To install redturtle.historymanager you simply add redturtle.historymanager to the list of eggs in your buildout, to the zcml run buildout and restart Plone.

Available views

historymanager-dereference

Calls the dereference method from Products.CMFEditions.utilities on the view context and returns the history_id

historymanager-purge-this

Purge all the revisions for this context.

historymanager-purge-thispath

Purge all the revisions for the objects in the subtree of context. It accepts two parameter to limit the effect of this view:

  • portal_type: a string identifying a portal type to be purged

  • date_limit: a string that can be converted to a DateTime, e.g.:

    • 2013/09/20

    • 2013/09/20 11:37:04.178 GMT+2

historymanager-purge-deleted

This will delete all the revisions for the deleted stuff Changelog =========

0.9.0 (2014-05-06)

  • Added a logger

  • Committing after each history item is cleaned

  • The cleaning view catches exceptions and logs them [ale-rt]

0.1.2 (2014-03-04)

  • Fix typo

  • Deleting version_id [ale-rt]

0.1.1 (2013-10-16)

  • Fixed OOBTree not initialized [ale-rt]

0.1.0 (2013-10-08)

  • Initial release. [ale-rt]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redturtle.historymanager-0.9.0.zip (20.7 kB view details)

Uploaded Source

File details

Details for the file redturtle.historymanager-0.9.0.zip.

File metadata

File hashes

Hashes for redturtle.historymanager-0.9.0.zip
Algorithm Hash digest
SHA256 ec74ce4d60ff1301de8958cf5f09fa897e20c010e6f983117044040b2ebc8123
MD5 81367bb745174965fb9aa1aa7bd62ab5
BLAKE2b-256 80b18c4342518352a94f684bfaba3a29111a19f6cfb219101610b8cda7627fb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page