[Zope-PTK] CVS: ZopePTK - DateBound.py:1.1 DateRange.py:1.1 CatalogTool.py:1.5 PortalContent.py:1.52 WorkflowTool.py:1.3

Tres tseaver@zope.org
Wed, 25 Oct 2000 13:15:44 -0700 (PDT)


Update of /cvs-repository/ZopePTK/PTKBase
In directory zope.codeit.com:/tmp/cvs-serv11975/PTKBase

Modified Files:
	CatalogTool.py PortalContent.py WorkflowTool.py 
Added Files:
	DateBound.py DateRange.py 
Log Message:


* Add DateBound, a query-wrapper around DateTime which makes
  "missing" values sort either high or low.

* Add DateRange, which models (possibly open) ranges between dates
  using DateBound.

* Split DublinCore interface into:
 
  - DublinCore, a read-only query interface, whose values are
    suitable for consumption outside of Zope (all strings or
    sequences of strings);  element names are the "classic"
    DCMI names.
 
  - CatalogableDublinCore, an alternate query interface for the
    date elements, which returns either DateTime or DateBound
    instances, for easy querying.

  - MutableDublinCore, an interface for updatable metadata.

* Catalog values from CatalogableDublinCore ('created',
  'effective', 'expires').

* Modify workflow to leave effective_date alone (should be
  managed via the metadata interface).

* Resolve PTK Tracker #46 ("Allow content to expire") and #115
  ("PTK 0.9: Rights for viewing "'News Items'").