Skip to main content

Plone addon, changing deletion-behaviour: Moves items into a trash-folder, instead of deleting them.

Project description

Introduction
============

An addon for Plone, which changes the deletion-behaviour.

If a user deletes items, move them to a trashcan-folder named 'trash',
living in the upper next available navigation-root-folder – which is usually
the site-root-folder – instead of really deleting them.

Items inside of 'trash'-folders, or trash-folder themselves, will still
be actually, really, deleted.

Missing trash-folders are created on the fly.

Immediately after installation you won't see any trash-folders,
go on, delete something, they'll appear.

After an item has been trashed, its workflow-state is set to 'private',
so its content is not unintentionally exposed to the public.


Installation
============

Add 'adi.trash' to the eggs-section of your buildout-config,
run buildout, restart instance(s).

Then go to the add-on-controlpanel of your site and activate this add-on.


Contributors
============

Ida Ebkes [ida], [idgspro], Aurore Mariscal [amariscal].


License
=======

GPL2, a copy is attached.


Changelog for adi.trash
=======================


0.6 (2018-10-15)
----------------

- Fix bug on deletion from folder-contents (thanks to 'laulaz' for reporting).
[ida]


0.5 (2018-09-27)
----------------

- Set trashed items' workflow-state to 'private' after trashing,
so trashed content does not get unintentionally exposed. [ida]


- Give temporary Contributor-role to user, for pasting into
trashcan and creating trashcans. Fix #7. [ida]

- Include CHANGES in long-description of this egg, so it gets
displayed on pypi. [ida]


0.4 (2018-03-03)
----------------

- 'ParseResult' object has no attribute 'endswith', fix error. [amariscal]


0.3 (2017-07-27)
----------------

- Regard URL can contain parameters, fixes #3. [idgserpro]

- Add plone.api as a dependency. [idgserpro]


0.2 (2017-04-12)
----------------

- Merge PR from idgserpro, correct repo-URL. [ida]


0.1 (2015-11-01)
---------------

- Initial commit.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
adi.trash-0.6.tar.gz (12.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page