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

Uploaded Source

File details

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

File metadata

  • Download URL: adi.trash-0.5.tar.gz
  • Upload date:
  • Size: 12.5 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.5.tar.gz
Algorithm Hash digest
SHA256 ab297c0121dd0457d2bcf2f8031351a9ae4d7d79e5e9420925a26936b71b0de6
MD5 0604c4ca42b5b6eb09dee08adecd487d
BLAKE2b-256 20186d71a3918bfb57ee441418bddba6bb90942d44b3c60a1d8948b8fbef3727

See more details on using hashes here.

Provenance

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