Introduction
============
A portlet that fetches results from a collection.
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
4.0.3 (2023-06-22)
------------------
Bug fixes:
- Fix TypeError with "Select random items" option. @alecpm (#36)
Internal:
- Update configuration files.
[plone devs] (7723aeaf)
4.0.2 (2023-04-14)
------------------
Internal:
- Update configuration files.
[plone devs] (c79ab88f)
4.0.1 (2023-03-21)
------------------
Internal:
- Update configuration files.
[plone devs] (a533099d)
4.0.0 (2022-11-30)
------------------
Bug fixes:
- Final release.
[gforcada] (#600)
4.0.0a4 (2022-05-24)
--------------------
Bug fixes:
- Update ``ICollectionPortlet`` schema.
Set option ``required`` to ``False`` of boolean fields.
[1letter] (#32)
4.0.0a3 (2022-04-08)
--------------------
Breaking changes:
- Update for Plone 6 with Bootstrap markup
[petschki, agitator] (#28)
Bug fixes:
- Use @@iconresolver to display icons
[pbauer] (#31)
4.0.0a2 (2021-04-19)
--------------------
Breaking changes:
- Update for Plone 6 with Bootstrap markup
[petschki, agitator] (#28)
Bug fixes:
- Show start date in portlet if available.
[agitator] (#25)
4.0.0a1 (2021-04-19)
--------------------
Breaking changes:
- Update for Plone 6 with Bootstrap markup
[petschki, agitator] (#28)
Bug fixes:
- Show start date in portlet if available.
[agitator] (#25)
3.3.5 (2020-09-21)
------------------
Bug fixes:
- Removed fallback import of is_default_page.
Fixed various DeprecationWarnings.
[maurits] (#3130)
3.3.4 (2020-09-07)
------------------
Bug fixes:
- Fixed deprecation warning for ``setDefaultRoles``.
[maurits] (#3130)
3.3.3 (2020-04-21)
------------------
Bug fixes:
- Minor packaging updates. (#1)
3.3.2 (2019-08-23)
------------------
Bug fixes:
- Fix deprecated import ``isDefaultPage``.
[jensens]
3.3.1 (2018-11-02)
------------------
Bug fixes:
- Fix tests in Python 3
[davisagli]
3.3.0 (2017-11-24)
------------------
Bug fixes:
- Fix collection selection for Plone 5.1
[agitator]
- Fix test. Portlet renderer no longer mixes in Acquisition.Explicit.
[pbauer]
3.2 (2017-07-03)
----------------
New features:
- add options to suppress icons,
read thumb_scale from registry plus option to override thumb_scale individually
or suppress thumbs.
Replace paper clip (fontello icon) with mimetype icon
from mimetype registry for files
https://github.com/plone/Products.CMFPlone/issues/1734
applied https://github.com/plone/Products.CMFPlone/issues/1483
[fgrcon]
Bug fixes:
- fixed css-classes for thumb scales ...
https://github.com/plone/Products.CMFPlone/issues/2077
[fgrcon]
- Remove unittest2 dependency
[kakshay21]
3.1 (2016-08-15)
----------------
New:
- If collection is default page in parent, link to parent.
[malthe]
Fixes:
- Use zope.interface decorator.
[gforcada]
3.0.6 (2016-01-08)
------------------
Fixes:
- Fixed sometimes failing test due to sorting.
[maurits]
3.0.5 (2015-11-26)
------------------
Fixes:
- Used registry lookup for types_use_view_action_in_listings.
[esteele]
- Cleanup and rework: contenttype-icons and showing thumbnails
for images/leadimages in listings
https://github.com/plone/Products.CMFPlone/issues/1226
[fgrcon]
3.0.4 (2015-09-07)
------------------
- Fix show_dates by calling obj.Date(). This fixes https://github.com/plone/plone.app.contenttypes/issues/263
[timo]
3.0.3 (2015-06-05)
------------------
- Fix test to be more forgiving on matches html
[vangheem]
- This package does not depend on plone.app.form
[tomgross]
- Fix last part of the test: regexp -> lxml
[khink]
- Fix tests. Kids, don't parse HTML with regexps.
[khink]
- Remove DL's from portlet templates.
[khink]
3.0.2 (2015-03-13)
------------------
- ReST fix.
[timo]
3.0.1 (2015-03-13)
------------------
- fix AttributeError: exclude_context on existing portlet assignments, refs #5
[davisagli]
- Add an option for excluding the render context from the collection results
since in most cases it's undesirable to include the current context in a
listing on that context's view.
[rpatterson]
3.0 (2014-04-05)
----------------
- Use z3c.form for portlet forms.
[bosim, davisagli]
- Provide a hook to facilitate overrides that do not include an empty
footer when the more link is turned off.
[anthonygerrard]
2.2.1 (2014-02-22)
------------------
- Include rst files in releases.
[timo]
2.2.0 (2014-02-22)
------------------
- Remove DL's from portlet templates.
https://github.com/plone/Products.CMFPlone/issues/163
[khink]
- plone.portlet.collection should also install plone.app.querystring:default
profile
[garbas]
- Replace deprecated test assert statements.
[timo]
- Use PLONE_APP_CONTENTTYPES_FIXTURE as test layer for Plone 5 compatibility.
[timo]
2.1.5 (2013-04-29)
------------------
- PEP8 cleanup.
[timo]
- Migrate all tests to use the new Collection type instead of the old Topic
type.
[timo]
- Migrate all tests to plone.app.testing.
[timo]
- Fix Archetypes brain rendering.
This fixes http://dev.plone.org/ticket/13518.
[timo]
2.1.4 (2013-03-19)
------------------
- Support for Dexterity-based collections added. Use 'title_or_id' instead of
the AT-specific 'pretty_title_or_id'.
[timo]
- Remove deprecated getIcon() method from collection portlet view.
[timo]
2.1.3 (2013-01-01)
------------------
- Fix for #12274 - missing icons for some contenttypes.
[spereverde]
2.1.2 (2012-10-03)
------------------
- Fix 'This portlet display a'.
[danjacka]
2.1.1 (2012-06-29)
------------------
- accessibility improvements for screen readers regarding "more" links, see
https://dev.plone.org/ticket/11982
[rmattb, applied by polyester]
2.1 (2012-04-15)
----------------
- Support new-style collections a la plone.app.collection.
[davisagli]
2.0.4 (2011-08-29)
------------------
- Portlet is shown when user has View permission for the collection.
Fixes http://dev.plone.org/plone/ticket/12152
[gotcha]
- Fix failing test.
[davisagli]
2.0.3 - 2011-07-04
------------------
- Change the `target_collection` query to use a `portal_type` instead of an
`object_provides` restriction. The data for the former is much more likely
in the ZODB cache as many catalog queries use it.
[hannosch]
- Fix 'Show more...' handling so it doesn't cause portletFooter to disappear.
Fixes http://dev.plone.org/plone/ticket/9415.
[msmith64]
2.0.2 - 2011-05-18
------------------
- Fix memoization of results when randomizing. We only memoize on the instance,
in this case the rendered object, which is created per request and per
portlet.
[hannosch]
- Pass on `limit` setting from the portlet to the `queryCatalog` call, to take
advantage of optimizations inside the catalog.
[hannosch]
- Add MANIFEST.in.
[WouterVH]
- Add metadata.xml to profile.
[WouterVH]
- Added a dynamic dl class, generated from portlet's title. Code taken from
plone.portlet.static.
[zupo]
2.0.1 - 2011-01-03
------------------
- Add Site Administrator to the default roles for the
"plone.portlet.collection: Add collection portlet" permission, for forward
compatibility with Plone 4.1.
[davisagli]
- Removed bug where a resultset with fewer items than limit wasn't randomized.
[jaroel]
- Removed Plone 3 specific implementation in favor of a generic one.
[jaroel]
- Fixed returning optional randomized results in the collection
portlet. This happened on Plone 4; if this makes the portlet too
slow for you, you should switch off the randomizing.
[maurits]
- Fixed wrong exception handling in random collection portlet that
failed to catch an IndexError.
[maurits]
2.0 - 2010-07-18
----------------
- Update license to GPL version 2 only.
[hannosch]
- Add fix for http://dev.plone.org/plone/ticket/9198 so that
typeUseViewActionInListings is respected.
[aaronv]
- Removed msgids in portlets.xml. There is no support for
msgids in the import of portlets.xml implementation.
This allows to extract translatable strings with i18ndude.
[vincentfretin]
- Add fix for http://dev.plone.org/plone/ticket/9184 so that
restrictedTraverse always gets a string and not Unicode.
[amleczko]
1.1.3 - 2008-07-07
------------------
- Added 'Select random items' option.
[davisagli]
1.1.2 - 2008-06-01
------------------
- Use a custom edit permission for the portlet.
[hannosch]
1.1.0 - 2008-04-20
------------------
- Added missing i18n markup to portlets.xml.
[hannosch]
- Changed the i18n domain to `plone`.
[hannosch]
1.0b1 - 2008-03-08
------------------
- Fix a typo in the CSS classes.
[davisagli]
- Set default_query to get something to browse in the UberSelectionWidget from
the start.
[fschulze]
- Code cleanup and make showing of dates for items and a 'Show more...' link
configurable.
[optilude]
0.1.1 - 2007-11-19
------------------
- Set zip-safe flag for the egg to False so zcml can be correctly loaded.
[wichert]
- Remove non-ASCII characters form the description since PyPI can not handle
them.
[wichert]
0.1 - 2007-11-19
----------------
- First public release
[baekholt, wichert]
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/plone.portlet.collection/",
"name": "plone.portlet.collection",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "collection portlet",
"author": "Plone Foundation",
"author_email": "plone-developers@lists.sourceforge.net",
"download_url": "https://files.pythonhosted.org/packages/6e/f5/73e7b228b963b2d5192dd7ed2ec7015eb085f2648f0fee121fe98274ff30/plone.portlet.collection-4.0.3.tar.gz",
"platform": null,
"description": "Introduction\n============\n\nA portlet that fetches results from a collection.\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\n4.0.3 (2023-06-22)\n------------------\n\nBug fixes:\n\n\n- Fix TypeError with \"Select random items\" option. @alecpm (#36)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (7723aeaf)\n\n\n4.0.2 (2023-04-14)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (c79ab88f)\n\n\n4.0.1 (2023-03-21)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (a533099d)\n\n\n4.0.0 (2022-11-30)\n------------------\n\nBug fixes:\n\n\n- Final release.\n [gforcada] (#600)\n\n\n4.0.0a4 (2022-05-24)\n--------------------\n\nBug fixes:\n\n\n- Update ``ICollectionPortlet`` schema.\n Set option ``required`` to ``False`` of boolean fields.\n [1letter] (#32)\n\n\n4.0.0a3 (2022-04-08)\n--------------------\n\nBreaking changes:\n\n\n- Update for Plone 6 with Bootstrap markup\n [petschki, agitator] (#28)\n\n\nBug fixes:\n\n\n- Use @@iconresolver to display icons\n [pbauer] (#31)\n\n\n4.0.0a2 (2021-04-19)\n--------------------\n\nBreaking changes:\n\n\n- Update for Plone 6 with Bootstrap markup\n [petschki, agitator] (#28)\n\n\nBug fixes:\n\n\n- Show start date in portlet if available.\n [agitator] (#25)\n\n\n4.0.0a1 (2021-04-19)\n--------------------\n\nBreaking changes:\n\n\n- Update for Plone 6 with Bootstrap markup\n [petschki, agitator] (#28)\n\n\nBug fixes:\n\n\n- Show start date in portlet if available.\n [agitator] (#25)\n\n\n3.3.5 (2020-09-21)\n------------------\n\nBug fixes:\n\n\n- Removed fallback import of is_default_page.\n Fixed various DeprecationWarnings.\n [maurits] (#3130)\n\n\n3.3.4 (2020-09-07)\n------------------\n\nBug fixes:\n\n\n- Fixed deprecation warning for ``setDefaultRoles``.\n [maurits] (#3130)\n\n\n3.3.3 (2020-04-21)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n3.3.2 (2019-08-23)\n------------------\n\nBug fixes:\n\n- Fix deprecated import ``isDefaultPage``.\n [jensens]\n\n\n3.3.1 (2018-11-02)\n------------------\n\nBug fixes:\n\n- Fix tests in Python 3\n [davisagli]\n\n\n3.3.0 (2017-11-24)\n------------------\n\nBug fixes:\n\n- Fix collection selection for Plone 5.1\n [agitator]\n\n- Fix test. Portlet renderer no longer mixes in Acquisition.Explicit.\n [pbauer]\n\n\n3.2 (2017-07-03)\n----------------\n\nNew features:\n\n- add options to suppress icons,\n read thumb_scale from registry plus option to override thumb_scale individually\n or suppress thumbs.\n Replace paper clip (fontello icon) with mimetype icon\n from mimetype registry for files\n https://github.com/plone/Products.CMFPlone/issues/1734\n applied https://github.com/plone/Products.CMFPlone/issues/1483\n [fgrcon]\n\nBug fixes:\n\n\n- fixed css-classes for thumb scales ...\n https://github.com/plone/Products.CMFPlone/issues/2077\n [fgrcon]\n\n- Remove unittest2 dependency\n [kakshay21]\n\n\n3.1 (2016-08-15)\n----------------\n\nNew:\n\n- If collection is default page in parent, link to parent.\n [malthe]\n\nFixes:\n\n- Use zope.interface decorator.\n [gforcada]\n\n\n3.0.6 (2016-01-08)\n------------------\n\nFixes:\n\n- Fixed sometimes failing test due to sorting.\n [maurits]\n\n\n3.0.5 (2015-11-26)\n------------------\n\nFixes:\n\n- Used registry lookup for types_use_view_action_in_listings.\n [esteele]\n\n- Cleanup and rework: contenttype-icons and showing thumbnails\n for images/leadimages in listings\n https://github.com/plone/Products.CMFPlone/issues/1226\n [fgrcon]\n\n\n3.0.4 (2015-09-07)\n------------------\n\n- Fix show_dates by calling obj.Date(). This fixes https://github.com/plone/plone.app.contenttypes/issues/263\n [timo]\n\n\n3.0.3 (2015-06-05)\n------------------\n\n- Fix test to be more forgiving on matches html\n [vangheem]\n\n- This package does not depend on plone.app.form\n [tomgross]\n\n- Fix last part of the test: regexp -> lxml\n [khink]\n\n- Fix tests. Kids, don't parse HTML with regexps.\n [khink]\n\n- Remove DL's from portlet templates.\n [khink]\n\n\n3.0.2 (2015-03-13)\n------------------\n\n- ReST fix.\n [timo]\n\n\n3.0.1 (2015-03-13)\n------------------\n\n- fix AttributeError: exclude_context on existing portlet assignments, refs #5\n [davisagli]\n\n- Add an option for excluding the render context from the collection results\n since in most cases it's undesirable to include the current context in a\n listing on that context's view.\n [rpatterson]\n\n\n3.0 (2014-04-05)\n----------------\n\n- Use z3c.form for portlet forms.\n [bosim, davisagli]\n\n- Provide a hook to facilitate overrides that do not include an empty\n footer when the more link is turned off.\n [anthonygerrard]\n\n\n2.2.1 (2014-02-22)\n------------------\n\n- Include rst files in releases.\n [timo]\n\n\n2.2.0 (2014-02-22)\n------------------\n\n- Remove DL's from portlet templates.\n https://github.com/plone/Products.CMFPlone/issues/163\n [khink]\n\n- plone.portlet.collection should also install plone.app.querystring:default\n profile\n [garbas]\n\n- Replace deprecated test assert statements.\n [timo]\n\n- Use PLONE_APP_CONTENTTYPES_FIXTURE as test layer for Plone 5 compatibility.\n [timo]\n\n\n2.1.5 (2013-04-29)\n------------------\n\n- PEP8 cleanup.\n [timo]\n\n- Migrate all tests to use the new Collection type instead of the old Topic\n type.\n [timo]\n\n- Migrate all tests to plone.app.testing.\n [timo]\n\n- Fix Archetypes brain rendering.\n This fixes http://dev.plone.org/ticket/13518.\n [timo]\n\n\n2.1.4 (2013-03-19)\n------------------\n\n- Support for Dexterity-based collections added. Use 'title_or_id' instead of\n the AT-specific 'pretty_title_or_id'.\n [timo]\n\n- Remove deprecated getIcon() method from collection portlet view.\n [timo]\n\n\n2.1.3 (2013-01-01)\n------------------\n\n- Fix for #12274 - missing icons for some contenttypes.\n [spereverde]\n\n\n2.1.2 (2012-10-03)\n------------------\n\n- Fix 'This portlet display a'.\n [danjacka]\n\n\n2.1.1 (2012-06-29)\n------------------\n\n- accessibility improvements for screen readers regarding \"more\" links, see\n https://dev.plone.org/ticket/11982\n [rmattb, applied by polyester]\n\n\n2.1 (2012-04-15)\n----------------\n\n- Support new-style collections a la plone.app.collection.\n [davisagli]\n\n\n2.0.4 (2011-08-29)\n------------------\n\n- Portlet is shown when user has View permission for the collection.\n Fixes http://dev.plone.org/plone/ticket/12152\n [gotcha]\n\n- Fix failing test.\n [davisagli]\n\n2.0.3 - 2011-07-04\n------------------\n\n- Change the `target_collection` query to use a `portal_type` instead of an\n `object_provides` restriction. The data for the former is much more likely\n in the ZODB cache as many catalog queries use it.\n [hannosch]\n\n- Fix 'Show more...' handling so it doesn't cause portletFooter to disappear.\n Fixes http://dev.plone.org/plone/ticket/9415.\n [msmith64]\n\n2.0.2 - 2011-05-18\n------------------\n\n- Fix memoization of results when randomizing. We only memoize on the instance,\n in this case the rendered object, which is created per request and per\n portlet.\n [hannosch]\n\n- Pass on `limit` setting from the portlet to the `queryCatalog` call, to take\n advantage of optimizations inside the catalog.\n [hannosch]\n\n- Add MANIFEST.in.\n [WouterVH]\n\n- Add metadata.xml to profile.\n [WouterVH]\n\n- Added a dynamic dl class, generated from portlet's title. Code taken from\n plone.portlet.static.\n [zupo]\n\n\n2.0.1 - 2011-01-03\n------------------\n\n- Add Site Administrator to the default roles for the\n \"plone.portlet.collection: Add collection portlet\" permission, for forward\n compatibility with Plone 4.1.\n [davisagli]\n\n- Removed bug where a resultset with fewer items than limit wasn't randomized.\n [jaroel]\n\n- Removed Plone 3 specific implementation in favor of a generic one.\n [jaroel]\n\n- Fixed returning optional randomized results in the collection\n portlet. This happened on Plone 4; if this makes the portlet too\n slow for you, you should switch off the randomizing.\n [maurits]\n\n- Fixed wrong exception handling in random collection portlet that\n failed to catch an IndexError.\n [maurits]\n\n\n2.0 - 2010-07-18\n----------------\n\n- Update license to GPL version 2 only.\n [hannosch]\n\n- Add fix for http://dev.plone.org/plone/ticket/9198 so that\n typeUseViewActionInListings is respected.\n [aaronv]\n\n- Removed msgids in portlets.xml. There is no support for\n msgids in the import of portlets.xml implementation.\n This allows to extract translatable strings with i18ndude.\n [vincentfretin]\n\n- Add fix for http://dev.plone.org/plone/ticket/9184 so that\n restrictedTraverse always gets a string and not Unicode.\n [amleczko]\n\n\n1.1.3 - 2008-07-07\n------------------\n\n- Added 'Select random items' option.\n [davisagli]\n\n\n1.1.2 - 2008-06-01\n------------------\n\n- Use a custom edit permission for the portlet.\n [hannosch]\n\n\n1.1.0 - 2008-04-20\n------------------\n\n- Added missing i18n markup to portlets.xml.\n [hannosch]\n\n- Changed the i18n domain to `plone`.\n [hannosch]\n\n\n1.0b1 - 2008-03-08\n------------------\n\n- Fix a typo in the CSS classes.\n [davisagli]\n\n- Set default_query to get something to browse in the UberSelectionWidget from\n the start.\n [fschulze]\n\n- Code cleanup and make showing of dates for items and a 'Show more...' link\n configurable.\n [optilude]\n\n\n0.1.1 - 2007-11-19\n------------------\n\n- Set zip-safe flag for the egg to False so zcml can be correctly loaded.\n [wichert]\n\n- Remove non-ASCII characters form the description since PyPI can not handle\n them.\n [wichert]\n\n\n0.1 - 2007-11-19\n----------------\n\n- First public release\n [baekholt, wichert]\n",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "A portlet that fetches results from a collection",
"version": "4.0.3",
"project_urls": {
"Homepage": "https://pypi.org/project/plone.portlet.collection/"
},
"split_keywords": [
"collection",
"portlet"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1039ee7e5d688c51fa72e40d12f46fcc8b1d7e5a6e25a34bd29c2ed2462d3e12",
"md5": "10f851a158af819a044be2c980d4086c",
"sha256": "43a409bd52a97293ff15bda9289df9b2a666798c2455f3625851e6f5fd5dd821"
},
"downloads": -1,
"filename": "plone.portlet.collection-4.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "10f851a158af819a044be2c980d4086c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 18786,
"upload_time": "2023-06-22T19:18:17",
"upload_time_iso_8601": "2023-06-22T19:18:17.174023Z",
"url": "https://files.pythonhosted.org/packages/10/39/ee7e5d688c51fa72e40d12f46fcc8b1d7e5a6e25a34bd29c2ed2462d3e12/plone.portlet.collection-4.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6ef573e7b228b963b2d5192dd7ed2ec7015eb085f2648f0fee121fe98274ff30",
"md5": "153406c07ba44a9d126a2a7a37c58258",
"sha256": "7e432b1937d0da1c880a3e1538a44e2398c4cda85c0a9e4dcf3ab35ac17cedf0"
},
"downloads": -1,
"filename": "plone.portlet.collection-4.0.3.tar.gz",
"has_sig": false,
"md5_digest": "153406c07ba44a9d126a2a7a37c58258",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 27391,
"upload_time": "2023-06-22T19:18:18",
"upload_time_iso_8601": "2023-06-22T19:18:18.821006Z",
"url": "https://files.pythonhosted.org/packages/6e/f5/73e7b228b963b2d5192dd7ed2ec7015eb085f2648f0fee121fe98274ff30/plone.portlet.collection-4.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-22 19:18:18",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "plone.portlet.collection"
}