Skip to main content

Plone integration for the basic plone.portlets package

Project description

Introduction

plone.app.portlets provides a Plone-specific user interface for plone.portlets, as well as a standard set of portlets that ship with Plone.

Changelog

2.1.5 - 2011-06-19

  • Fixed i18n regression caused by the pep8 cleanup. [vincentfretin]

2.1.4 - 2011-05-11

  • Fixed navigation portlet when include top activated and no navigation root selected (bug appears behind apache). [thomasdesvenain]

  • Sort exported portlet types and portlet manager registrations by name to avoid intermittent test failures. [davisagli]

2.1.3 - 2011-04-21

2.1.2 - 2011-02-10

2.1.1 - 2011-01-03

  • Depend on Products.CMFPlone instead of Plone. [elro]

2.0.2 - 2010-12-23

  • Recover from parse error on updated date. [malthe]

  • Display full creator name in review portlet. [thomasdesvenain]

  • Do not display portlets add select list if it is empty. [thomasdesvenain]

  • Recent items and Review list portlets title is got by a title attribute on the renderer. [thomasdesvenain]

  • Fix the IPortletDirective schema’s default edit_permission to match the default that is actually supplied by the directive’s implementation. [davisagli]

  • Fix RSS portlet edge case. The feedparser may not have a ‘bozo’ attribute if libxml2 is not present on the system. [stefan]

  • Fix #11409: use the TTW customized view name if any. [kiorky]

2.0.1 - 2010-09-09

  • Proper checkup for navigation portlet’s title - we don’t show it unless the title is explicitly specified. [spliter]

2.0 - 2010-07-18

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

2.0b11 - 2010-06-13

  • Stop abusing traditional layers to do database changes. [hannosch]

  • Avoid deprecation warnings under Zope 2.13. [hannosch]

  • Avoid using the deprecated five:implements directive. [hannosch]

  • Updated to use five.formlib. [hannosch]

2.0b10 - 2010-06-03

  • Fixed an issue with the portlet calendar cache not being invalidated when adding a new event in the last day of the month. This closes http://dev.plone.org/plone/ticket/10598. [deo]

  • Moved condition for navigation portlet’s title to DT element. We don’t need empty DT in case title is not provided for the portlet. [spliter]

  • Fix GS export of portlets assignments when property is a tuple or a list https://dev.plone.org/plone/ticket/10530 [macadames]

  • Remove deprecated use of tabindex. [edegoute]

  • Fix regressions in date handling in events portlet. Fixes http://dev.plone.org/plone/ticket/10506. [davisagli]

2.0b9 - 2010-05-01

2.0b8 - 2010-04-10

  • Fix the edit manager template to include the manager id again, so that KSS can update the manager when actions take place. Closes http://dev.plone.org/plone/ticket/10404. [davisagli]

  • Catch KeyError in EditPortletManagerRenderer. Now the manage-portlets doesn’t break on invalid portlets any longer. [tom_gross]

2.0b7 - 2010-04-07

  • Convert the root (site) node to use CSS sprites in the navigation portlet. [limi]

  • Use CSS sprites instead of individual images for core content types in the navigation portlet. [limi]

  • Add test coverage for empty type icons in the navigation portlet. [rossp]

2.0b6 - 2010-03-05

  • Added navtree-section-class to li. This closes http://dev.plone.org/plone/ticket/10247. [hpeteragitator]

  • Remove a label for attribute that points to nothing, invalid HTML. [rossp]

  • Fix invalid HTML by moving the xmlns declarations into a tag that will be omitted by TAL. [rossp]

  • Avoid ConstraintNotSatisfied error when GS-importing the default navigation portlet. Fixes http://dev.plone.org/plone/ticket/10232. [WouterVH, hannosch]

2.0b5 - 2010-02-18

  • Updated portlets-pageform.pt to disable columns via REQUEST variable. [spliter]

2.0b4 - 2010-02-17

2.0b3 - 2010-01-28

  • Change group portlets and group dashboard links to point to the new @@usergroup-groupmembership view. [esteele]

2.0b2 - 2010-01-25

  • Don’t create persistent objects during module import – it breaks test cases that are sandboxed into different ZODBs and import this module (leads to ConnectionStateErrors). [davisagli]

  • Rework page templates for group prefs pages so that they match the rest of our prefs pages. Add the group dashboard link to other group prefs pages. Closes http://dev.plone.org/plone/ticket/9732. [esteele]

  • Merged r30179 from branches/1.2 (this is the only fix since 1.2 that was missing in trunk): Some XHTML fixes to be also XHTML Strict compliant. See http://dev.plone.org/plone/ticket/4379 (fix by keul). [maurits]

  • Merge r30771 from branches/1.2: Support for portal-relative paths in portlets.xml keys. Fixes http://dev.plone.org/plone/ticket/9764. [maurits]

2.0b1 - 2010-01-03

  • Fixed edge-case in portlet import handler when using the extend attribute. [hannosch]

  • Removed unhelpful log messages which cluttered the log during upgrades. [hannosch]

2.0a4 - 2009-12-27

  • Adjusted tests to fixed IIDNormalizer semantics. [hannosch]

  • Added missing package dependencies. [hannosch]

2.0a3 - 2009-12-21

2.0a2 - 2009-12-02

  • Point to users to @@register instead of @@join_form. [esteele]

  • Fix the rendering of classic portlets. [davisagli]

  • Remove the BBB code for the old style for= attributes on import of portlets pre-3.1. This was deprecated for 4.0, it now raises an error. [matthewwilkes]

2.0a1 - 2009-11-15

  • Don’t include <q> tag in title_manage_contextual_portlets message. [vincentfretin]

  • Various cleanups, use our own message factory to lighten the dependency on the Plone distribution. [hannosch]

  • Added translations for Show/Hide labels in @@manage-portlets view: label_show_item and label_hide_item. These msgids are shared with @@manage-viewlets view to show/hide viewlets. This closes http://dev.plone.org/plone/ticket/9733 [naro]

  • Introduced a new msgid title_edit_dashboard_group to translate “Edit Dashboard Portlets for $group”. title_edit_dashboard msgid was used twice for different messages. [vincentfretin]

  • Optimize some portlets to avoid unnecessary instructions in their __init__ or available methods. [hannosch]

  • Optimized join_action in the login portlet. [hannosch]

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

  • Add support for viewing blocked portlets in the management interface (PLIP 9285) [igbun]

  • Login portlet: when use_email_as_login is true, make the label ‘E-mail’ instead of ‘Login Name’, as per plip 9214 (Plone 4). Should still work in earlier Plone versions as well. Refs http://dev.plone.org/plone/ticket/9214. [maurits]

  • Added support for group dashboards. [optilude]

  • Removed last zope.app dependencies. [hannosch]

  • Specified package dependencies. [hannosch]

1.2.1 - unreleased

1.2 - July 13, 2009

  • Fix ComponentLookupError on portlet management screen for special use cases such as collective.portletpage, where not all content have the same managers. [optilude]

  • Template cleanup: add missing xmlns declarations and fix invalid markup. [wichert]

1.2rc3 - April 8, 2009

  • Correct import error in editmanager.py. [optilude]

  • Correct case in the feedparser dependency. [wichert]

1.2rc1 - March 27, 2009

1.2b1 - March 7, 2009

  • Fixed the various portlets to no longer use portal_url, but use the navigation_root_url from the plone_portal_state view. Changed the manage-dashboard view to be available on an INavigationRoot. This implements http://plone.org/products/plone/roadmap/234 [calvinhp]

  • Removed portlets/feedparser.py. Added FeedParser as external requirement in setup.py instead of shipping with it. (This is Plip 197: http://plone.org/products/plone/roadmap/197) [maurits]

  • Added title option to the RSS portlet. [davisagli]

  • Clean-up unnecessary variable declarations within navigation_recurse.pt. Let the default view on the Link type decide what’s best [andrewb]

1.1.7 (2011-05-19)

  • Fixed exportimport to support xml CDATA, thanks to lucie [calvinhp]

1.1.6 - 2009-03-07

  • Fixed new portlet template footer so it will validate, fixes http://dev.plone.org/plone/ticket/8769 thanks to bandigarf [calvinhp]

  • Made the test independent of default content created in a site. This allows them to pass in both Plone 3.x and 4.x. [hannosch]

  • Added inherited portlets to manage view. This implements http://dev.plone.org/plone/ticket/8426. [malthe]

  • Modified a macro call in portlets-pageform.pt for forwards compatibility with Zope 2.12. [davisagli]

  • Fixed SyntaxErrors in test_cache and test_configuration. [hannosch]

  • Fixed Review List template that was making a bad call to pretty_title_or_id. This closes http://dev.plone.org/plone/ticket/8401. [dunlapm]

1.1.5 (2008-08-18)

  • Refactored the review portlet a bit and added the review state dependent color coding to it. This closes http://dev.plone.org/plone/ticket/6957. [hannosch]

  • Sort the addable portlets in the management screen by their title. This closes http://dev.plone.org/plone/ticket/8227. [hannosch]

  • Disabled two tests for a not yet implemented feature regarding better i18n support. [hannosch]

1.1.3 (2008-07-07)

  • Fix an accidental bug I introduced earlier: restore portletBottomLeft and portletBottomLeft spans in the news portlets with a more-news link. [wichert]

1.1.2 (2008-06-01)

  • Fixed i18n markup. Fixes http://dev.plone.org/plone/ticket/7068#comment:4 [naro]

  • The portletNavigationTree class was used for both the dl and the top ul. This makes things inconsistent since other levels in the tree used a navTree class for the ul, and uses the same class for two semantically very different items. Fixed by using navTree for the top ul as well. [wichert]

1.1.0 (2008-04-20)

  • Added test for #7942. The fix is in plone.app.layout. [optilude]

  • Fixed #8025 so that the named feeds now work to. Changed the package to use a different field. [mrtopf]

  • ViewPageTemplate is meant to be used as a class variable and only works as instance variable by accident in current Zope. This fixes errors in Philipp and Hanno’s aq refactor branch of Zope2. [wichert]

  • Add a test to demonstrate #6100 and #7860. This is fixed in plone.portlets already. [optilude]

  • Use the new GenericSetup.components blacklist feature when available. This gives our exportimport code full control over all components providing either IPortletType, IPortletManager or IPortletManagerRenderer. This fixes http://dev.plone.org/plone/ticket/7149. [hannosch]

  • Fix invalid leading space in all ‘Up to Site Setup’ links. [wichert]

  • Added tests for the (not yet implemented) i18n markup support in portlets.xml. [hannosch]

  • Added missing i18n markup to portlets.xml. [hannosch]

  • label_group_members was used twice. Renamed the second one to label_group_portlets (which is in plone.pot already). [maurits]

  • Removed last remains of caching for the navigation portlet. This closes http://dev.plone.org/plone/ticket/7726. [hannosch]

  • Added first day of week to calendar portlet cache key. [hannosch]

  • Added option to purge all assignments specified by category and key. [fschulze]

  • Added option to remove individual portal managers and purge global portlet manager assignments as well as assignments to the site root with GS profiles. [fschulze]

  • Added option to purge portlet configuration in extension profiles. [fschulze]

1.1.0a1 (2008-03-09)

  • Fixed bug that caused includeTop not to be set when a navtree portlet was first added. http://dev.plone.org/plone/ticket/7798. [optilude]

  • Made the language portlet’s ‘available’ property work properly, avoiding ugly blank columns. [optilude]

  • Made sure the manage portlets div is not shown to anonymous users. http://dev.plone.org/plone/ticket/7911. [optilude]

  • Optimised the news portlet template. http://dev.plone.org/plone/ticket/7760 [optilude]

  • Made the <plone:portletRenderer /> directive more forgiving. http://dev.plone.org/plone/ticket/7703 [optilude]

  • Fixed a silly bug in the search portlet. http://dev.plone.org/plone/ticket/7388. [optilude]

  • Made it possible to remove single portlet assignments by using the “remove” attribute. [fschulze]

  • PLIP203: Add the ability to export and import portlet assignments and blacklisting. [optilude]

  • 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.7 (UNRELEASED)

1.0.6

  • Sort the languages in the language portlet using their native name. [wichert]

  • Fixed None value in query_string in calendar portlet. This closes http://dev.plone.org/plone/ticket/7331. [hannosch]

  • Fixed logic error in getRootPath in the last change. [hannosch]

  • Only show the language portlet if more than one language is available. This brings it in sync with the language selection viewlet. [wichert]

  • Fix missing variable on the language portlet renderer. This fixes NuPlone which relies on the language selector portlet. [wichert]

  • Fixed undefined variable name introduced in the last change. [hannosch]

  • Correct getRootPath to not add a trailing / to paths if there are no context subelements. This was breaking webcouturier.dropdownmenu in situations where one of the sections was a navigation root. [wichert]

1.0.5

  • Made absolute_url() work properly on the custom adding views. This is necessary for the <base /> URL to be set correctly. [optilude]

  • Handle RSS feed entries which do not have an update timestamp correctly. This fixes http://dev.plone.org/plone/ticket/7515 [wichert]

  • Provide proper ‘id’ implementations for assignment mappings and assignments. This makes absolute_url() work properly. [optilude]

1.0.2

  • Always try to refresh the RSS feed when rendering it instead of waiting for KSS to do trigger an updated. This is needed for the very common situation where most users are anonymous and the the feeds would expire (or never be loaded) and never (re)loaded. [wichert]

  • Add a language selection portlet. [wichert]

  • Fixed i18n markup bug in manage-content-type.pt. [hannosch]

  • Made prevMonth and nextMonth links in calendar portlet to work without KSS. This closes http://dev.plone.org/plone/ticket/7052. [hannosch]

  • Make render_cachekey include the manager and assignment names, otherwise portlets that happen to have the same brains in their _data have the same cachekey. [ldr]

1.0.1

1.0

  • Add footer CSS classes to the search portlet. This fixes http://dev.plone.org/plone/ticket/6908. [wichert]

  • Verified translation of month names on the calendar portlet. Found a bit of missing i18n markup in the process. This closes http://dev.plone.org/plone/ticket/6880. [hannosch]

  • Wrapped cached render results with a xhtml_compress method taken from plone.memoize. This allows you to plug in whitespace removal libraries. [hannosch]

  • Refactored calendar portlet and moved all calculations to the update method instead of doing it in its init. [hannosch]

  • Use relative links on the calendar portlet for the previous and next links, so the portlet can be cached independent of the context. [hannosch]

  • Cleaned up some templates, added missing i18n markup. This closes http://dev.plone.org/plone/ticket/6721. [hannosch]

  • Fixed erroneous wording in add screen for classicportlet. Fixes http://dev.plone.org/plone/ticket/6703 [elvix]

  • Extended the portlet migration machinery to exclude the deprecated related and language portlets. This refs http://dev.plone.org/plone/ticket/6545. [hannosch]

  • Cleaned and speeded up calendar portlet. Extinguished some unneeded uses of the DateTime module. [hannosch]

  • Fixed tests to deal with the new default start_level of the navigation portlet. [hannosch]

  • Made the workflow state to show configurable for the news and events portlets. This closes http://dev.plone.org/plone/ticket/1395. [hannosch]

  • Changed the default navigation tree configuration to start at level 1, thus there is no longer an overlap with the global navigation section at the top. If you want the old behavior back, configure the portlet to start at level 0. [limi]

  • Updated migration code to handle more converted portlets. [hannosch]

  • Do now show the login portlet if there is no login/password PAS extractor configured. [wichert]

  • Changed ‘More news…’ to ‘More…’ on RSS portlet as RSS feeds are not always news related. This closes http://dev.plone.org/plone/ticket/6228. [sparcd]

  • Added <thead> tags to calendar portlet because the <tbody> tags were causing it to fail W3C validation. [sparcd]

  • Duplicate classes in login.pt were causing this to fail W3C HTML checks. Have merged the classes as this has a style=”display:none” on it anyway. This closes http://dev.plone.org/plone/ticket/6241. [sparcd]

  • Replaced getToolByName with getUtility. [hannosch]

  • Moved class name from a to li tag for Cornelius (NuPlone skin). [jvloothuis]

  • Make URLs more ploneish, by removing .html at the end. .html really should be reserved for when people create content that way, e.g. if uploading from WebDAV. :) [optilude]

  • Initial implementation. [optilude]

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

plone.app.portlets-2.1.5.zip (150.3 kB view hashes)

Uploaded Source

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