plone.portlets


Nameplone.portlets JSON
Version 3.0.1 PyPI version JSON
download
home_pagehttps://github.com/plone/plone.portlets
SummaryAn extension of zope.viewlet to support dynamic portlets
upload_time2024-01-22 19:50:20
maintainer
docs_urlNone
authorPlone Foundation
requires_python>=3.8
licenseGPL version 2
keywords portlet viewlet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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
=========

.. You should *NOT* be adding new change log entries to this file.
   You should create a file in the news directory instead.
   For helpful instructions, please see:
   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst

.. towncrier release notes start

3.0.1 (2024-01-22)
------------------

Internal:


- Update configuration files.
  [plone devs] (237ff4c8)


3.0.0 (2023-04-06)
------------------

Breaking changes:


- Drop support for Plone 5.2 and Python 2.
  Only Plone 6.0 on Python 3.8+ is supported.
  [plone devs] (#9)


Internal:


- Update configuration files.
  [plone devs] (80cf330f)


2.3.3 (2023-03-14)
------------------

Bug fixes:


- Use `ZODB` as dependency rather than the deprecated `ZODB3`.
  [gforcada] (#1)
- Fix deprecation warnings (#5)


2.3.2 (2020-04-21)
------------------

Bug fixes:


- Minor packaging updates. (#1)


2.3.1 (2019-02-08)
------------------

Bug fixes:


- Fixed some deprecation warnings. Code style: black, isort Fix tests, also do
  not leave closed files. [jensens] (#4)


2.3 (2016-11-01)
----------------

New features:

- Support Python 3. [davisagli]


2.2.3 (2016-08-09)
------------------

Fixes:

- Use zope.interface decorator.
  [gforcada]


2.2.2 (2016-02-15)
------------------

Fixes:

- Rerelease to fix problem on test server.  [maurits]


2.2.1 (2016-02-12)
------------------

Fixes:

- Do not break in placeless portlet retriever if there is no underlying code
  available for existing portlet assignment.
  [vipod]

- Prevent possible unicode errors when creating portlet hashes.  [wichert]


2.2 (2012-10-01)
----------------

- Added an adapter and IBlockingPortletManager marker interface which portlet
  managers can provide to block parent contextual portlets by default.
  [elro]

- Delegate to ILocalPortletAssignmentManager for category blacklist retrieval.
  This allows a custom adapter to override the default blacklist settings per
  portlet manager.
  [elro]


2.1 (2012-07-02)
----------------

- Avoid some test dependencies.
  [hannosch]

- Graceful handling of portlets with missing implementation.
  [do3cc]

2.0.2 - 2011-04-21
------------------

- Add MANIFEST.in.
  [WouterVH]

2.0.1 - 2011-01-03
------------------

- Added a method to get unavailable portlets of of a manager.
  This refs http://dev.plone.org/plone/ticket/11343
  [thomasdesvenain]

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]

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/plone/plone.portlets",
    "name": "plone.portlets",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "portlet viewlet",
    "author": "Plone Foundation",
    "author_email": "plone-developers@lists.sourceforge.net",
    "download_url": "https://files.pythonhosted.org/packages/90/f6/0ce857d73ddb5f6a5888357d3f351a2468f37bac8d3b28176efa666c1b71/plone.portlets-3.0.1.tar.gz",
    "platform": null,
    "description": "Overview\n========\n\nplone.portlets provides a generic infrastructure for managing portlets.\n\nPortlets are a bit like viewlets, except they can be manipulated at runtime,\nusing local components. This package is used by plone.app.portlets to provide\nPlone-specific portlets, but should be generic enough to work on other\nplatforms. It should work in a \"pure Zope Toolkit\" environment.\n\nChangelog\n=========\n\n.. You should *NOT* be adding new change log entries to this file.\n   You should create a file in the news directory instead.\n   For helpful instructions, please see:\n   https://github.com/plone/plone.releaser/blob/master/ADD-A-NEWS-ITEM.rst\n\n.. towncrier release notes start\n\n3.0.1 (2024-01-22)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (237ff4c8)\n\n\n3.0.0 (2023-04-06)\n------------------\n\nBreaking changes:\n\n\n- Drop support for Plone 5.2 and Python 2.\n  Only Plone 6.0 on Python 3.8+ is supported.\n  [plone devs] (#9)\n\n\nInternal:\n\n\n- Update configuration files.\n  [plone devs] (80cf330f)\n\n\n2.3.3 (2023-03-14)\n------------------\n\nBug fixes:\n\n\n- Use `ZODB` as dependency rather than the deprecated `ZODB3`.\n  [gforcada] (#1)\n- Fix deprecation warnings (#5)\n\n\n2.3.2 (2020-04-21)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n2.3.1 (2019-02-08)\n------------------\n\nBug fixes:\n\n\n- Fixed some deprecation warnings. Code style: black, isort Fix tests, also do\n  not leave closed files. [jensens] (#4)\n\n\n2.3 (2016-11-01)\n----------------\n\nNew features:\n\n- Support Python 3. [davisagli]\n\n\n2.2.3 (2016-08-09)\n------------------\n\nFixes:\n\n- Use zope.interface decorator.\n  [gforcada]\n\n\n2.2.2 (2016-02-15)\n------------------\n\nFixes:\n\n- Rerelease to fix problem on test server.  [maurits]\n\n\n2.2.1 (2016-02-12)\n------------------\n\nFixes:\n\n- Do not break in placeless portlet retriever if there is no underlying code\n  available for existing portlet assignment.\n  [vipod]\n\n- Prevent possible unicode errors when creating portlet hashes.  [wichert]\n\n\n2.2 (2012-10-01)\n----------------\n\n- Added an adapter and IBlockingPortletManager marker interface which portlet\n  managers can provide to block parent contextual portlets by default.\n  [elro]\n\n- Delegate to ILocalPortletAssignmentManager for category blacklist retrieval.\n  This allows a custom adapter to override the default blacklist settings per\n  portlet manager.\n  [elro]\n\n\n2.1 (2012-07-02)\n----------------\n\n- Avoid some test dependencies.\n  [hannosch]\n\n- Graceful handling of portlets with missing implementation.\n  [do3cc]\n\n2.0.2 - 2011-04-21\n------------------\n\n- Add MANIFEST.in.\n  [WouterVH]\n\n2.0.1 - 2011-01-03\n------------------\n\n- Added a method to get unavailable portlets of of a manager.\n  This refs http://dev.plone.org/plone/ticket/11343\n  [thomasdesvenain]\n\n2.0 - 2010-07-16\n----------------\n\n- Update license to GPL version 2 only.\n  [hannosch]\n\n- Make it possible to rely on the ``__portlet_metadata__`` of a portlet\n  renderer to determine its availability. This closes\n  http://dev.plone.org/plone/ticket/10742.\n  [enriquepablo, hannosch]\n\n2.0b3 - 2010-06-13\n------------------\n\n- Use the standard libraries doctest module.\n  [hannosch]\n\n- Use zope.browserpage if available.\n  [hannosch]\n\n2.0b2 - 2010-03-27\n------------------\n\n- Protect the exception logging against funky portlets. In error cases even\n  doing a repr() on the portlet might cause an infinite recursion error.\n  [hannosch]\n\n2.0b1 - 2010-01-25\n------------------\n\n- Added ``__portlet_metadata__`` attribute to portlet renderers, to make it\n  easier for a portlet to know how it was looked up (and thus reconstruct a URL\n  to itself, for example).\n  [optilude]\n\n2.0a1 - 2009-11-14\n------------------\n\n- Avoid a variety of zope.app dependencies in favor of Zope Toolkit packages.\n  [hannosch]\n\n- Added support for showing/hiding of all portlets (PLIP #9286)\n  [igbun]\n\n1.2 - 2009-06-19\n----------------\n\n- Fixed 'SyntaxError: non-keyword arg after keyword arg' in unicode call.\n  [maurits]\n\n- Fix/workaround for http://dev.plone.org/plone/ticket/8128 (UnicodeDecodeError\n  within _coerce() caused by external data with wrong encoding).\n  [ajung]\n\n- Moved test-only dependencies to a test extra requirement.\n  [hannosch]\n\n- Clarified license and copyright statements.\n  [hannosch]\n\n- Specify package dependencies.\n  [hannosch]\n\n- Replaced direct invocations of interfaces with queryAdapter calls. The\n  former does a suboptimal getattr call internally.\n  [hannosch]\n\n1.1.0 - 2008-04-20\n------------------\n\n- Ensure the keys stored in a portlet assignment mapping are always\n  unicode. This is necessary because an OOBTree will, once one unicode key\n  has been added, force all keys to unicode. This can lead to unicode\n  decode errors.\n  Fixes http://dev.plone.org/plone/ticket/6100\n  [optilude]\n\n- Changed a type() comparison into a isinstance comparison.\n  [hannosch]\n\n- PLIPs 205 and 218: Allow registering portlet types to multiple portlet\n  manager interfaces, require portlet types to be explicitly registered\n  for portlet manager interfaces, enable modifying registrations through\n  GenericSetup, and restrict most default Plone portlet types to left/\n  right/dashboard columns.\n  [sirgarr]\n\n- PLIP207: Allow custom portlet managers, i.e., allow specifying an\n  alternative portlet manager class through GenericSetup.\n  [sirgarr]\n\n1.0.6\n-----\n\n- Made tests run under Zope 2.11.\n  [hannosch]\n\n1.0.5\n-----\n\n- Added properties to keep track of the manager name, category name and\n  key/name in portlet assignment mappings.\n  [optilude]\n\n1.0.1\n-----\n\n- Adjusted some tests, so they work on both Zope 2.10 and 2.11.\n  [hannosch]\n\n1.0\n---\n\n- Initial package structure.\n  [zopeskel]\n",
    "bugtrack_url": null,
    "license": "GPL version 2",
    "summary": "An extension of zope.viewlet to support dynamic portlets",
    "version": "3.0.1",
    "project_urls": {
        "Homepage": "https://github.com/plone/plone.portlets"
    },
    "split_keywords": [
        "portlet",
        "viewlet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e7dbcac21b2a71d88962d36826bbb756853b5ab5552d7600da56c3a16521f7c2",
                "md5": "cad3d1dae54a5f35b307f3904e613026",
                "sha256": "6ed4385002fe9f364f7ff91211abdb80021d6ed5e75b965680df4a177182e3a8"
            },
            "downloads": -1,
            "filename": "plone.portlets-3.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cad3d1dae54a5f35b307f3904e613026",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 32162,
            "upload_time": "2024-01-22T19:50:19",
            "upload_time_iso_8601": "2024-01-22T19:50:19.192799Z",
            "url": "https://files.pythonhosted.org/packages/e7/db/cac21b2a71d88962d36826bbb756853b5ab5552d7600da56c3a16521f7c2/plone.portlets-3.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "90f60ce857d73ddb5f6a5888357d3f351a2468f37bac8d3b28176efa666c1b71",
                "md5": "a4f6ba25b49a104df39904651b1bbb79",
                "sha256": "6dc071a56561af909f8521fc937d694c20419641c8f0c33afbd6f076807972f4"
            },
            "downloads": -1,
            "filename": "plone.portlets-3.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "a4f6ba25b49a104df39904651b1bbb79",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 36859,
            "upload_time": "2024-01-22T19:50:20",
            "upload_time_iso_8601": "2024-01-22T19:50:20.798938Z",
            "url": "https://files.pythonhosted.org/packages/90/f6/0ce857d73ddb5f6a5888357d3f351a2468f37bac8d3b28176efa666c1b71/plone.portlets-3.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-22 19:50:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "plone",
    "github_project": "plone.portlets",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "plone.portlets"
}
        
Elapsed time: 0.24797s