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.1 (2021-02-01)

  • Python 3 and Plone 5.2 compatibility fixes [cillianderoiste]

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.1.tar.gz (12.3 kB view details)

Uploaded Source

File details

Details for the file redturtle.historymanager-0.9.1.tar.gz.

File metadata

  • Download URL: redturtle.historymanager-0.9.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for redturtle.historymanager-0.9.1.tar.gz
Algorithm Hash digest
SHA256 7f3181f10d33deb5c59a2a2834ac90afa53cdc0eae60d413e5f7a0ed17120e44
MD5 09eb849ea53accaf5679fd1ffc1791f1
BLAKE2b-256 ddf60b9aa6733499eeefdbe05d1d1ab9b1edbeabb2f3c14ededc413fa806d01c

See more details on using hashes here.

Supported by

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