Another milestone on the road to Zen with Ingeniweb components
Latest version : 0.2

PloneDeepTrashcan

> PloneDeepTrashcan allows contents to be trashed in a repository. A trashed content can be restored in its original folder. <

About PloneDeepTrashcan

PloneDeepTrashcan allows contents to be trashed in a repository. A trashed content can be restored in its original folder.

PloneDeepTrashcan has been designed by the INGENIWEB team.

ScreenShots

No screenshots available.

Readme

PloneDeepTrashcan

(c)2004 Ingeniweb

PloneDeepTrashcan keeps documents that were trashed (not deleted) in a central trashcan.

PloneDeepTrashcan keeps a reference to the original folder for all content moved to its trashcan. The reference is not kept for content moved to the member trashcan by PloneTrashcan, but it is simple to extend PloneTrashcan in this direction.

Besides the usual "cut", "copy", "paste" and "delete", users have the possibility to "trash" content. Trashing content will put it in the deep trashcan.

As all trashed documents for all users are kept in one deep trashcan, access is restricted by the "DeepTrashcan: Recover content" permission.

The "contents" tab of the trashcan has a "recover" action. Selecting multiple documents and clicking on "recover" will recover them to their original place after confirmation. Documents that don't have a reference to the original folder they were deleted from can not be recovered like this, but have to be copied and pasted.

Can I also use PloneTrashcan?

Yes. PloneDeepTrashcan does not interfere with the way PloneTrashcan works. Still, it may be confusing for users to have both a global trashcan and their personal trashcan.

For information on this product, have a look at: http://zope.org/Members/mjablonski/PloneTrashcan

How does it work?

Documents are cut and pasted to and from the trashcan, preserving their workflow state and security settings. The trashcan and its content is by default only visible to the Manager. We keep an Archetypes reference to the original folder.

INSTALL

  • Untar it ! :-)

CMF/Plone 'AWARIZATION'

  • Use the QuickInstaller Tool to install.

  • As an alternative, create an external method at your Plone's root with the following information:

    System Message: WARNING/2 (<string>, line 54)

    Literal block expected; none found.

    id: InstallPloneDeepTrashcan

    title: Install PloneDeepTrashcan

    module: PloneDeepTrashcan.Install

    function: install

  • Click the test tab of this External Method and ensure the execution is correct. Double check messages prefixed by '***', they may indicate an error.

    System Message: WARNING/2 (<string>, line 63); backlink

    Inline strong start-string without end-string.

    System Message: WARNING/2 (<string>, line 63); backlink

    Inline emphasis start-string without end-string.

Download

Released versions

Released versions of PloneDeepTrashcan are available from sourceforge, here. Latest version is 0.2.

CVS version

The CVS contains the latest and historised versions of our source code. In order to get the HEAD branch of PloneDeepTrashcan, use :

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ingeniweb co PloneDeepTrashcan
          

You can also browse the CVS with your browser.

Documentation

Readme

Please take time the read the Readme

F.A.Q

No faq available.

Links

History

PloneDeepTrashcan changes

TODO

  • A member should have the right to trash into the trashcan ;-)
  • Content from the root of a Plone site should be trashable.
  • Content for which we can not find an original folder should be put in the clipboard, and the user gets informed that he can paste anywhere in the site.
  • Workflow for the trashcan should ensure that it is hermetique.
  • Before adding stuff to the trashcan, remove any ancient references. This is necessary because someone who copies (not restores) some document, will still have the reference to the original folder. This reference is not removed currently, and therefore we should at least remove the reference once the document is trashed again. It would still be preferable to find a solution for the copy and paste problem.
  • Access to the trashcan on a folder if there are documents that were removed from there. This could be a small icon like the "print" and sendto icons. Clicking on this icon would show a page with all documents that were deleted from this folder. Only users that have the right to delete stuff in the current folder would be allowed to see what can ne recovered for this folder. No other documents that were deleted from other folders are shown.
  • Have a special folder contents view that shows the folder that documents were removed from as well.
  • For sites that use CMFMember, references to the person who deleted the content could be made. This person can then recover content on their own.
  • Extend the behaviour of PloneTrashcan, making it possible to recover documents to their original place.

0.2

  • Fixing member folder trashing.
  • removed test code that would raise "Not referencable" in case

System Message: WARNING/2 (<string>, line 43)

Bullet list ends without a blank line; unexpected unindent.

the Container is not referencable

  • removed test code that would raise "Not referencable" in case

System Message: WARNING/2 (<string>, line 46)

Bullet list ends without a blank line; unexpected unindent.

the Object is not referencable

0.1

  • Created inital version MR

PloneDeepTrashcan ChangeLog is also available for detailled informations.

Contact