Skip to main content

An extension of zope.viewlet to support dynamic portlets

Project description

Overview

plone.portlets provides a generic infrastructure for managing portlets.

Portlets are a bit like viewlets, except they can be manipulated at runtime, using local components. This package is used by plone.app.portlets to provide Plone-specific portlets, but should be generic enough to work on other platforms. It should work in a “pure Zope Toolkit” environment.

Changelog

2.0 - 2010-07-16

  • Update license to GPL version 2 only. [hannosch]

  • Make it possible to rely on the __portlet_metadata__ of a portlet renderer to determine its availability. This closes http://dev.plone.org/plone/ticket/10742. [enriquepablo, hannosch]

2.0b3 - 2010-06-13

  • Use the standard libraries doctest module. [hannosch]

  • Use zope.browserpage if available. [hannosch]

2.0b2 - 2010-03-27

  • Protect the exception logging against funky portlets. In error cases even doing a repr() on the portlet might cause an infinite recursion error. [hannosch]

2.0b1 - 2010-01-25

  • Added __portlet_metadata__ attribute to portlet renderers, to make it easier for a portlet to know how it was looked up (and thus reconstruct a URL to itself, for example). [optilude]

2.0a1 - 2009-11-14

  • Avoid a variety of zope.app dependencies in favor of Zope Toolkit packages. [hannosch]

  • Added support for showing/hiding of all portlets (PLIP #9286) [igbun]

1.2 - 2009-06-19

  • Fixed ‘SyntaxError: non-keyword arg after keyword arg’ in unicode call. [maurits]

  • Fix/workaround for http://dev.plone.org/plone/ticket/8128 (UnicodeDecodeError within _coerce() caused by external data with wrong encoding). [ajung]

  • Moved test-only dependencies to a test extra requirement. [hannosch]

  • Clarified license and copyright statements. [hannosch]

  • Specify package dependencies. [hannosch]

  • Replaced direct invocations of interfaces with queryAdapter calls. The former does a suboptimal getattr call internally. [hannosch]

1.1.0 - 2008-04-20

  • Ensure the keys stored in a portlet assignment mapping are always unicode. This is necessary because an OOBTree will, once one unicode key has been added, force all keys to unicode. This can lead to unicode decode errors. Fixes http://dev.plone.org/plone/ticket/6100 [optilude]

  • Changed a type() comparison into a isinstance comparison. [hannosch]

  • PLIPs 205 and 218: Allow registering portlet types to multiple portlet manager interfaces, require portlet types to be explicitly registered for portlet manager interfaces, enable modifying registrations through GenericSetup, and restrict most default Plone portlet types to left/ right/dashboard columns. [sirgarr]

  • PLIP207: Allow custom portlet managers, i.e., allow specifying an alternative portlet manager class through GenericSetup. [sirgarr]

1.0.6

  • Made tests run under Zope 2.11. [hannosch]

1.0.5

  • Added properties to keep track of the manager name, category name and key/name in portlet assignment mappings. [optilude]

1.0.1

  • Adjusted some tests, so they work on both Zope 2.10 and 2.11. [hannosch]

1.0

  • Initial package structure. [zopeskel]

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

plone.portlets-2.0.zip (42.4 kB view details)

Uploaded Source

File details

Details for the file plone.portlets-2.0.zip.

File metadata

  • Download URL: plone.portlets-2.0.zip
  • Upload date:
  • Size: 42.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for plone.portlets-2.0.zip
Algorithm Hash digest
SHA256 8bea7ca3d5b9cd366d88be71c6a5f8b34e306a3bdf17b196a35cefcfa7aed2e5
MD5 4c37d3782f2dfceb2ee46845543c80b2
BLAKE2b-256 15a5175d8a64ca2893ebb3b5fa8b40788b1c176739902b915001d41b17a95d84

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