https://github.com/redturtle/redturtle.historymanager
redturtle.historymanager is a set of views to manage Plone versioning
https://github.com/redturtle/redturtle.historymanager
Last synced: about 1 year ago
JSON representation
redturtle.historymanager is a set of views to manage Plone versioning
- Host: GitHub
- URL: https://github.com/redturtle/redturtle.historymanager
- Owner: RedTurtle
- Created: 2013-09-13T10:40:37.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2021-02-01T08:00:23.000Z (over 5 years ago)
- Last Synced: 2025-04-12T16:48:08.129Z (about 1 year ago)
- Language: Python
- Size: 33.2 KB
- Stars: 1
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
========================
redturtle.historymanager
========================
A Plone add-on that ...
* `Source code @ GitHub `_
* `Releases @ PyPI `_
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