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.

Source Distribution

adi.trash-0.6.tar.gz (12.6 kB view details)

Uploaded Source

File details

Details for the file adi.trash-0.6.tar.gz.

File metadata

  • Download URL: adi.trash-0.6.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1

File hashes

Hashes for adi.trash-0.6.tar.gz
Algorithm Hash digest
SHA256 8a6b1b8a1fd67b396c754596344487a4333b679b461d85d27a56111b6d4dd844
MD5 fdc84b6867398f4f491c720daa62381e
BLAKE2b-256 c61691dc8bd321312ce136fbd8106c0824652fa0dd5ca2ea88c6eca18240c5e6

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