Manage link integrity in Plone.
Project description
Overview
This package tries to integrate PLIP 125, link integrity checking, into Plone. It is making use of the zope3 event system in order to modify Plone itself as little as possible.
Status
The code handles one of the two use cases of PLIP 125, deleting an item. Whenever an object that is referred to by another one via an <a> or <img> tag is going to be deleted, Plone’s regular flow of actions is “interrupted” and a confirmation form is presented to the user. If they then decide to indeed delete the object, the original request will be replayed and this time followed through, thereby breaching link integrity of the site.
This process is implemented independently of how the object is deleted (as long as OFS.ObjectManager’s _delObject is used ultimatively) and what request is used to do it. A more detailed — albeit slightly outdated — explanation of how this works can be found in NOTES.txt.
The second use case of PLIP 125, which provides better handling of moved items, is implemented by plone.app.redirector.
Changelog
(name of developer listed in brackets)
1.0.11 Released November 15, 2008
Fix code to not silently swallow ConflictErrors. [witsch]
Fix issue with dangling references to already removed objects. Fixes http://dev.plone.org/plone/ticket/8349 and http://dev.plone.org/plone/ticket/8390. [witsch]
1.0.10 Released July 7, 2008
Fixed the recognizing of links to files (or any object) with a space in the id. Fixes #8167. [maurits]
Updated tests to work with LinguaPlone by unmarking the creation flag on new objects. [maurits]
1.0.9 Released May 8, 2008
Use acquisition API to support the “philikon-aq” branch. [witsch]
Fix a problem with updating link integrity references during a request which trying to delete multiple other objects. [witsch]
1.0.8 Released April 21, 2008
Added missing i18n markup to confirmation.pt, also fixing http://dev.plone.org/plone/ticket/7995. [witsch]
1.0.7 Released March 27, 2008
Fixed accidental removal of references not related to link integrity. [dunny]
1.0.6 Released March 8, 2008
Added missing namespace declaration to avoid the warning about it. [wiggy]
1.0.5 Released February 13, 2008
Added missing i18n markup to confirmation.pt. This closes http://dev.plone.org/plone/ticket/7688. [hannosch]
1.0.4 Released January 3, 2008
Handle IObjectRemovedEvents with no attached request object. [witsch]
Updated tests to work with Plone 4.0. [hannosch]
Referencing items are now listed in alphabetical order [witsch]
1.0.3 Released December 5, 2007
Fixed setting up the test layer after GenericSetup update [witsch]
1.0.2 Released November 7, 2007
Fixed parser error when handling malformed HTML [witsch]
Fixed security issue due to using pickles (see CVE-2007-5741) [witsch]
1.0.1 Released September 10, 2007
Added view for updating link integrity information for all site content [witsch]
Made code in info.py more tolerant when encountering missing property sheets. [hannosch]
1.0 Released August 16, 2007
Minor bug fixes and enhancements [witsch]
1.0rc1.1 Released July 12, 2007
Bug and test fixes after upgrade to Zope 2.10.4 [witsch]
1.0rc1 Released July 8, 2007
Bugfixes & additional tests [witsch]
1.0b3 Released May 4, 2007
1.0b2 Released April 30, 2007
Integration of Plone’s “delete confirmation” page [witsch]
1.0b1 Released March 3, 2007
Fix tests in regard to changed folder_contents and unicode issues [witsch]
Updates to the monkey patch needed for five exceptions [wiggy]
1.0a2 Released February 7, 2007
Bugfixes & other minor enhancements [witsch]
Eggification and move into plone.app namespace [optilude]
Proof of concept & initial version [witsch]
Initial package structure. [zopeskel]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for plone.app.linkintegrity-1.0.11.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | b912f915abd3b92b63ecd4001d2f4c0b67ae35c7bedfe377dd16108c974a156d |
|
MD5 | afb518e46f1840d74a309c0c34a854ab |
|
BLAKE2b-256 | 1e8087bd8a7fc56eaeacb4ac06ed9b070956b79bcd1b7b183769075f858f7fd9 |