This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

ftw.statusmap

A plone view listing objects and review states in a tree.

Features

  • Shows objects and review states recursively as tree.
  • Adds CSS-classes per review-state for easy custom styling.
  • Allows to execute workflow transitions for every object which has this transition available.

Usage

  • Add ftw.statusmap to your buildout configuration:
[instance]
eggs +=
    ftw.statusmap
  • Install the generic setup profile.

Constraint Checker

The IConstraintChecker utility is used to check if a transaction can be executed on an object or not.

It’s possible to register multiple IConstraintChecker utilities and all utilities will be executed.

Adding an IConstraintChecker utility

Create your Utility:

from ftw.statusmap.interfaces import IConstraintChecker
from zope.interface import implements


class MyConstraintCheckerUtility(object):
    implements(IConstraintChecker)

    def is_transition_allowed(self, obj, transition):
        return True

Register your utility in zcml.

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:i18n="http://namespaces.zope.org/i18n"
    i18n_domain="ftw.statusmap">

    <utility
      provides="ftw.statusmap.interfaces.IConstraintChecker"
      name="My Constraint Checker"
      factory=".checker.MyConstraintCheckerUtility"
      />

</configure>

Changelog

1.5.0 (2016-12-30)

  • Fix statusmap view when being called on an inactive content. [mbaechtold]

1.4.0 (2016-12-29)

  • Drop support for Plone 4.2. Only Plone 4.3 is supported now. [mbaechtold]

1.3.0 (2016-05-20)

  • Support ftw.lawgiver status translations. [jone]
  • Drop Plone 4.1 support. [elioschmutz]
  • Adds an IConstraintChecker utility to register constraint checks before transition execution. [elioschmutz]

1.2.2 (2016-02-24)

  • Do not show statusmap link on plone root. [mathias.leimgruber]

1.2.1 (2015-12-07)

  • Display the human readable title of the transitions and states instead of their id (this is useful if you have ftw.upgrade >= 1.6.2 installed). [mbaechtold]

1.2.0 (2015-09-30)

  • Add old and new state to the transitions-listing [elioschmutz]
  • Fix status message type. [mbaechtold]
  • Fix portal type title when deviates from FTI id. [jone]
  • Fix contenttype icons by normalizing class. [jone]

1.1.1 (2014-05-01)

  • Fix JavaScript issues - use jQuery properly. [jone]

1.1 (2013-05-24)

  • Translate portal type names with its own i18n domain. [mathias.leimgruber]
  • Fix item order - sort on path. [mathias.leimgruber]

1.0 (2013-01-09)

  • Implementation of basic features.
Release History

Release History

1.5.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.4.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.3.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
ftw.statusmap-1.5.0.tar.gz (21.9 kB) Copy SHA256 Checksum SHA256 Source Dec 30, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting