Introduction
============
by Florian Schulze <fschulze@jarn.com>.
This component expects you to register storage.ViewletSettingsStorage as a
local utility providing IViewletSettingsStorage (CMFPlone does this). The
viewlet manager in manager.OrderedViewletManager can then get the filter and
order settings. These settings can be configured by 3rd party products and
TTW to customize the viewlets per skin.
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-08-03)
------------------
Bug fixes:
- Fix styles when toolbar is on top.
[petschki] (#29)
- Only show one Hide or Show button per viewlet on the manage-viewlets page.
Make it clear that a viewlet is hidden by making it more subdued / opaque.
[maurits] (#3831)
Internal:
- Update configuration files.
[plone devs] (cfffba8c)
4.0.2 (2023-05-22)
------------------
Bug fixes:
- Remove transitive circular dependency on `plone.app.vocabularies`.
[@jensens] (fix-circular-dependency)
4.0.1 (2023-03-22)
------------------
Internal:
- Update configuration files.
[plone devs] (b2d5d4a5)
4.0.0 (2022-11-14)
------------------
Bug fixes:
- Improve ``manage-viewlets`` usability.
[petschki] (#27)
4.0.0b1 (2022-09-07)
--------------------
Breaking changes:
- Update markup due to disabled Diazo rules for this view.
This change breaks compatibility with Plone 5 because it makes it look ugly.
[santonelli] (#26)
3.1.3 (2022-07-18)
------------------
Bug fixes:
- Change default message for i18n msgid
[erral] (#25)
3.1.2 (2021-06-30)
------------------
Bug fixes:
- tweak wording ("unhide" vs. "show" viewlets), remove old Trac reference (#23)
3.1.1 (2020-04-20)
------------------
Bug fixes:
- Minor packaging updates. (#1)
3.1.0 (2019-06-27)
------------------
New features:
- Add support for Python 3.8 [pbauer] (#21)
3.0.1 (2019-06-19)
------------------
Bug fixes:
- Fix deprecation warning importing ZPublisher.Retry (#19)
3.0.0 (2018-11-02)
------------------
Breaking changes:
- Discontinue Python 2.6 support.
[jensens]
Bug fixes:
- More Python 2 / 3 compatibility
[ale-rt, pbauer]
- Start making code flake8 compliant
[ale-rt]
- Tests are compliant with Products.GenericSetup >= 2.0
- Fix TypeErrors when comparing some viewlet-types in py3.
[pbauer]
2.0.11 (2018-01-30)
-------------------
Bug fixes:
- Add Python 2 / 3 compatibility [jensens]
2.0.10 (2016-08-10)
-------------------
Fixes:
- Use zope.interface decorator.
[gforcada]
- Correctly log exception if viewlet rendering failed.
[jensens]
2.0.9 (2015-09-07)
------------------
- Fix manage-viewlets for Plone 5
[pbauer]
2.0.8 (2015-04-29)
------------------
- Rename ``_uncatched_errors`` to ``_exceptions_handled_elsewhere``
[jean]
2.0.7 (2015-03-13)
------------------
- flake8 fixes and general cleanup.
[gforcada]
- Sort skins and viewletmanagers on exports to create stable exports.
This fixes: https://github.com/plone/plone.app.viewletmanager/issues/7
[gforcada]
2.0.6 (2014-07-10)
------------------
- Use the ``!important`` directive for the ``.hide`` and ``.show`` CSS
declarations on the ``@@manage-viewlets`` view. Twitter Bootstrap is using
``!important`` on these class names too, which made the viewlet management
view unusable.
[thet]
2.0.5 (2014-02-23)
------------------
- Do not catch conflict errors and keywordinterrupt in viewlet manager.
We can programmatically setup the exceptions that are not caught.
[thomasdesvenain]
- If render fails, be more verbose about the exception to know where and how it
happens in the stack. [kiorky]
- refactor JS in template.
[petschki]
2.0.4 (2013-08-13)
------------------
- Handle exception during viewlet rendering process: log the exception and
display an error message. [toutpt]
2.0.3 (2012-12-15)
------------------
- Hiding viewlets for ``skinname="*"`` was not working properly.
Closes http://dev.plone.org/plone/ticket/10903
[garbas, WouterVH]
- Add ``plone.app.vocabularies`` as dependency to get the list of existing skins.
[WouterVH]
- Add MANIFEST.in.
[WouterVH]
2.0.2 - 2011-01-11
------------------
- Depend on ``Products.CMFPlone`` instead of ``Plone``.
[elro]
- Explicitly unregister IViewletSettingsStorage utility to prevent test bleed.
[esteele, cah190]
2.0.1 - 2010-07-18
------------------
- Update license to GPL version 2 only.
[hannosch]
2.0 - 2010-07-15
----------------
- Silence `Nothing to import / export.` log messages.
[hannosch]
2.0b5 - 2010-06-03
------------------
- Removed duplicated class statement in manage-viewlets.pt for compatibility
with Chameleon.
[pilz]
2.0b4 - 2010-05-01
------------------
- Implement IViewView so viewlets registered to this interface can be managed.
[elro]
- Use Unicode up/down arrows in @@manage-viewlets.
[esteele]
2.0b3 - 2010-03-03
------------------
- Provide some basic styling for @@manage-viewlets. Remove the use of
.portletHeader and .portletItem styles and define everything inline.
Closes http://dev.plone.org/plone/ticket/10006
Closes http://dev.plone.org/plone/ticket/10178
[esteele]
- Push @@manage-viewlets css into style_slot instead of css_slot.
[esteele]
2.0b2 - 2010-02-17
------------------
- Updated manage-viewlets.pt to the recent markup conventions.
References http://dev.plone.org/plone/ticket/9981
[spliter]
2.0b1 - 2009-12-27
------------------
- Use the new zope.site package.
[hannosch]
2.0a2 - 2009-12-16
------------------
- Protect forced Acquisition wrapping by an interface check on IAcquirer. This
closes http://dev.plone.org/plone/ticket/9862.
[hannosch]
2.0a1 - 2009-11-14
------------------
- 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]
- Use JS calls to handle show/hide/move actions instead of forcing a page
reload. Will fall back to old method if JavaScript is not available.
[esteele]
1.2.2 - 2009-03-07
------------------
- Specified package dependencies.
[hannosch]
- Made the manager code more tolerant and not fail when no storage is found.
[hannosch]
- Made the @@manage-viewlets screen use the 'managedPortlet' CSS class instead
of 'portlet', so it's more usable with a custom theme. This closes
http://dev.plone.org/plone/ticket/8391.
[davisagli]
1.2.1 - 2008-07-07
------------------
- Fixed bogus AttributeError masking the real ExpatError on syntax errors in
viewlets.xml. (See test in r21161.)
[davisagli]
1.2 - 2008-03-09
----------------
- Separated the base functionality and the parts necessary for TTW
customization into two classes, so we can use this manager in the html
head.
[fschulze]
- Fix a syntax error in the export/import code
[wichert]
- Add a HISTORY.txt file
[wichert]
1.0 - 2007-08-16
----------------
- Initial release
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/plone.app.viewletmanager",
"name": "plone.app.viewletmanager",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "viewlets",
"author": "Plone Foundation",
"author_email": "plone-developers@lists.sourceforge.net",
"download_url": "https://files.pythonhosted.org/packages/a2/0e/82d0583fe997264d4cc0965efae124964da54bd40fa97b762e7b194e4061/plone.app.viewletmanager-4.0.3.tar.gz",
"platform": null,
"description": "Introduction\n============\n\nby Florian Schulze <fschulze@jarn.com>.\n\nThis component expects you to register storage.ViewletSettingsStorage as a\nlocal utility providing IViewletSettingsStorage (CMFPlone does this). The\nviewlet manager in manager.OrderedViewletManager can then get the filter and\norder settings. These settings can be configured by 3rd party products and\nTTW to customize the viewlets per skin.\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-08-03)\n------------------\n\nBug fixes:\n\n\n- Fix styles when toolbar is on top.\n [petschki] (#29)\n- Only show one Hide or Show button per viewlet on the manage-viewlets page.\n Make it clear that a viewlet is hidden by making it more subdued / opaque.\n [maurits] (#3831)\n\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (cfffba8c)\n\n\n4.0.2 (2023-05-22)\n------------------\n\nBug fixes:\n\n\n- Remove transitive circular dependency on `plone.app.vocabularies`.\n [@jensens] (fix-circular-dependency)\n\n\n4.0.1 (2023-03-22)\n------------------\n\nInternal:\n\n\n- Update configuration files.\n [plone devs] (b2d5d4a5)\n\n\n4.0.0 (2022-11-14)\n------------------\n\nBug fixes:\n\n\n- Improve ``manage-viewlets`` usability.\n [petschki] (#27)\n\n\n4.0.0b1 (2022-09-07)\n--------------------\n\nBreaking changes:\n\n\n- Update markup due to disabled Diazo rules for this view.\n This change breaks compatibility with Plone 5 because it makes it look ugly.\n [santonelli] (#26)\n\n\n3.1.3 (2022-07-18)\n------------------\n\nBug fixes:\n\n\n- Change default message for i18n msgid\n [erral] (#25)\n\n\n3.1.2 (2021-06-30)\n------------------\n\nBug fixes:\n\n\n- tweak wording (\"unhide\" vs. \"show\" viewlets), remove old Trac reference (#23)\n\n\n3.1.1 (2020-04-20)\n------------------\n\nBug fixes:\n\n\n- Minor packaging updates. (#1)\n\n\n3.1.0 (2019-06-27)\n------------------\n\nNew features:\n\n\n- Add support for Python 3.8 [pbauer] (#21)\n\n\n3.0.1 (2019-06-19)\n------------------\n\nBug fixes:\n\n\n- Fix deprecation warning importing ZPublisher.Retry (#19)\n\n\n3.0.0 (2018-11-02)\n------------------\n\nBreaking changes:\n\n- Discontinue Python 2.6 support.\n [jensens]\n\nBug fixes:\n\n- More Python 2 / 3 compatibility\n [ale-rt, pbauer]\n\n- Start making code flake8 compliant\n [ale-rt]\n\n- Tests are compliant with Products.GenericSetup >= 2.0\n\n- Fix TypeErrors when comparing some viewlet-types in py3.\n [pbauer]\n\n\n2.0.11 (2018-01-30)\n-------------------\n\nBug fixes:\n\n- Add Python 2 / 3 compatibility [jensens]\n\n\n2.0.10 (2016-08-10)\n-------------------\n\nFixes:\n\n- Use zope.interface decorator.\n [gforcada]\n\n- Correctly log exception if viewlet rendering failed.\n [jensens]\n\n\n2.0.9 (2015-09-07)\n------------------\n\n- Fix manage-viewlets for Plone 5\n [pbauer]\n\n2.0.8 (2015-04-29)\n------------------\n\n- Rename ``_uncatched_errors`` to ``_exceptions_handled_elsewhere``\n [jean]\n\n\n2.0.7 (2015-03-13)\n------------------\n\n- flake8 fixes and general cleanup.\n [gforcada]\n\n- Sort skins and viewletmanagers on exports to create stable exports.\n This fixes: https://github.com/plone/plone.app.viewletmanager/issues/7\n [gforcada]\n\n\n2.0.6 (2014-07-10)\n------------------\n\n- Use the ``!important`` directive for the ``.hide`` and ``.show`` CSS\n declarations on the ``@@manage-viewlets`` view. Twitter Bootstrap is using\n ``!important`` on these class names too, which made the viewlet management\n view unusable.\n [thet]\n\n\n2.0.5 (2014-02-23)\n------------------\n\n- Do not catch conflict errors and keywordinterrupt in viewlet manager.\n We can programmatically setup the exceptions that are not caught.\n [thomasdesvenain]\n\n- If render fails, be more verbose about the exception to know where and how it\n happens in the stack. [kiorky]\n\n- refactor JS in template.\n [petschki]\n\n\n2.0.4 (2013-08-13)\n------------------\n\n- Handle exception during viewlet rendering process: log the exception and\n display an error message. [toutpt]\n\n\n2.0.3 (2012-12-15)\n------------------\n\n- Hiding viewlets for ``skinname=\"*\"`` was not working properly.\n Closes http://dev.plone.org/plone/ticket/10903\n [garbas, WouterVH]\n\n- Add ``plone.app.vocabularies`` as dependency to get the list of existing skins.\n [WouterVH]\n\n- Add MANIFEST.in.\n [WouterVH]\n\n\n2.0.2 - 2011-01-11\n------------------\n\n- Depend on ``Products.CMFPlone`` instead of ``Plone``.\n [elro]\n\n- Explicitly unregister IViewletSettingsStorage utility to prevent test bleed.\n [esteele, cah190]\n\n\n2.0.1 - 2010-07-18\n------------------\n\n- Update license to GPL version 2 only.\n [hannosch]\n\n\n2.0 - 2010-07-15\n----------------\n\n- Silence `Nothing to import / export.` log messages.\n [hannosch]\n\n\n2.0b5 - 2010-06-03\n------------------\n\n- Removed duplicated class statement in manage-viewlets.pt for compatibility\n with Chameleon.\n [pilz]\n\n2.0b4 - 2010-05-01\n------------------\n\n- Implement IViewView so viewlets registered to this interface can be managed.\n [elro]\n\n- Use Unicode up/down arrows in @@manage-viewlets.\n [esteele]\n\n\n2.0b3 - 2010-03-03\n------------------\n\n- Provide some basic styling for @@manage-viewlets. Remove the use of\n .portletHeader and .portletItem styles and define everything inline.\n Closes http://dev.plone.org/plone/ticket/10006\n Closes http://dev.plone.org/plone/ticket/10178\n [esteele]\n\n- Push @@manage-viewlets css into style_slot instead of css_slot.\n [esteele]\n\n\n2.0b2 - 2010-02-17\n------------------\n\n- Updated manage-viewlets.pt to the recent markup conventions.\n References http://dev.plone.org/plone/ticket/9981\n [spliter]\n\n\n2.0b1 - 2009-12-27\n------------------\n\n- Use the new zope.site package.\n [hannosch]\n\n\n2.0a2 - 2009-12-16\n------------------\n\n- Protect forced Acquisition wrapping by an interface check on IAcquirer. This\n closes http://dev.plone.org/plone/ticket/9862.\n [hannosch]\n\n\n2.0a1 - 2009-11-14\n------------------\n\n- Added translations for Show/Hide labels in @@manage-portlets view:\n label_show_item and label_hide_item. These msgids are shared with\n @@manage-viewlets view to show/hide viewlets. This closes\n http://dev.plone.org/plone/ticket/9733\n [naro]\n\n- Use JS calls to handle show/hide/move actions instead of forcing a page\n reload. Will fall back to old method if JavaScript is not available.\n [esteele]\n\n\n1.2.2 - 2009-03-07\n------------------\n\n- Specified package dependencies.\n [hannosch]\n\n- Made the manager code more tolerant and not fail when no storage is found.\n [hannosch]\n\n- Made the @@manage-viewlets screen use the 'managedPortlet' CSS class instead\n of 'portlet', so it's more usable with a custom theme. This closes\n http://dev.plone.org/plone/ticket/8391.\n [davisagli]\n\n\n1.2.1 - 2008-07-07\n------------------\n\n- Fixed bogus AttributeError masking the real ExpatError on syntax errors in\n viewlets.xml. (See test in r21161.)\n [davisagli]\n\n\n1.2 - 2008-03-09\n----------------\n\n- Separated the base functionality and the parts necessary for TTW\n customization into two classes, so we can use this manager in the html\n head.\n [fschulze]\n\n- Fix a syntax error in the export/import code\n [wichert]\n\n- Add a HISTORY.txt file\n [wichert]\n\n\n1.0 - 2007-08-16\n----------------\n\n- Initial release\n",
"bugtrack_url": null,
"license": "GPL version 2",
"summary": "Configurable viewlet manager",
"version": "4.0.3",
"project_urls": {
"Homepage": "https://pypi.org/project/plone.app.viewletmanager"
},
"split_keywords": [
"viewlets"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "89b7559e6f186b4771d21bcddbd4f18edd07cca92a14bb60c3b6e0f7214a4d4e",
"md5": "33847e50bdaf441e67fb79cae5740497",
"sha256": "c577a1626ef867c18f166adb3d90b6b762df1d07fa6ce993110825180db57470"
},
"downloads": -1,
"filename": "plone.app.viewletmanager-4.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "33847e50bdaf441e67fb79cae5740497",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 21269,
"upload_time": "2023-08-03T10:33:35",
"upload_time_iso_8601": "2023-08-03T10:33:35.705143Z",
"url": "https://files.pythonhosted.org/packages/89/b7/559e6f186b4771d21bcddbd4f18edd07cca92a14bb60c3b6e0f7214a4d4e/plone.app.viewletmanager-4.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a20e82d0583fe997264d4cc0965efae124964da54bd40fa97b762e7b194e4061",
"md5": "193db5cf1c919e6b43169970daed015f",
"sha256": "c6d568683ab82ce93c6872e1b3816d6f4909c686c914de100135079a2666db3c"
},
"downloads": -1,
"filename": "plone.app.viewletmanager-4.0.3.tar.gz",
"has_sig": false,
"md5_digest": "193db5cf1c919e6b43169970daed015f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 27822,
"upload_time": "2023-08-03T10:33:37",
"upload_time_iso_8601": "2023-08-03T10:33:37.719996Z",
"url": "https://files.pythonhosted.org/packages/a2/0e/82d0583fe997264d4cc0965efae124964da54bd40fa97b762e7b194e4061/plone.app.viewletmanager-4.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-03 10:33:37",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "plone.app.viewletmanager"
}