collective.cover


Namecollective.cover JSON
Version 3.0.0 PyPI version JSON
download
home_pagehttps://github.com/collective/collective.cover
SummaryA sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.
upload_time2023-03-29 21:01:45
maintainer
docs_urlNone
authorCarlos de la Guardia et al.
requires_python>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*
licenseGPLv2
keywords plone cover javascript dexterity
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            ****************
collective.cover
****************

.. contents:: Table of Contents

Life, the Universe, and Everything
----------------------------------

``collective.cover`` is a package that allows the creation of elaborate covers
for website homepages, especially for news portals, government sites and
intranets that require more resources than a simple page or collection can
offer. However, despite offering rich resources to build a cover,
``collective.cover`` also provides a very easy mechanism for managing its
contents, built around a drag-and-drop interface.

``collective.cover`` is based on `Blocks <https://pypi.python.org/pypi/plone.app.blocks>`_ and `Tiles <https://pypi.python.org/pypi/plone.app.tiles>`_,
like `Mosaic <https://pypi.python.org/pypi/plone.app.mosaic>`_,
the new layout solution for Plone.

.. note::
    Starting from version 2.0b1 this package is compatible with Plone 5.1;
    nevertheless, there are some `known issues <https://github.com/collective/collective.cover/issues?q=is%3Aissue+is%3Aopen+label%3A%22plone+5%22>`_.

Demo
^^^^

For impatient types, there is a demo installation of collective.cover on `Heroku <http://collective-cover.herokuapp.com>`_.
It needs about 60 seconds to spin up and it will purge all changes after about an hour of non-usage.

Use cases
^^^^^^^^^

Suppose you are running The Planet, a news portal that has a bunch of editors
focused on getting news on different topics, like Economy, Health or Sports.

If you are the main publisher of the site, you may want to delegate the
construction of the front page of the Economy section to the people working on
that content area, but you might not want them messing around the Sports
section as well.

Also, suppose you have the final game of the World Cup and the match is going
to be defined on penalties: you may want to prepare a couple of cover pages
and publish the right one focused on the team that won in the end.

These are the kind of issues we want to solve with this package; we are still
far from it, but that is the idea.

Who is using it?
^^^^^^^^^^^^^^^^

These are some of the sites using ``collective.cover``:

* `CartaCapital <http://www.cartacapital.com.br/>`_ (BR)
* `Clean Clothes Campaign <http://www.cleanclothes.org/>`_ (NL)
* `Conselho Federal de Administração <http://www.cfa.org.br/>`_ (BR)
* `La Jornada <http://www.jornada.unam.mx/ultimas>`_ (MX)
* `Palácio do Planalto <http://www.planalto.gov.br/>`_ (BR)
* `Portal Brasil <http://www.brasil.gov.br/>`_ (BR)
* `Rede Brasil Atual <http://www.redebrasilatual.com.br/>`_ (BR)
* `Venezolana de Televisión <http://www.vtv.gov.ve/>`_ (VE)
* `European Climate Adaptation Platform <http://climate-adapt.eea.europa.eu/>`_ (EU)

.. figure:: https://raw.github.com/collective/collective.cover/master/cover.png
    :align: center
    :height: 640px
    :width: 490px
    :target: http://www.planalto.gov.br/

    The Presidency of Brazil uses ``collective.cover`` on the front page of its site.

Mostly Harmless
---------------

.. image:: http://img.shields.io/pypi/v/collective.cover.svg
   :target: https://pypi.python.org/pypi/collective.cover

.. image:: https://img.shields.io/github/workflow/status/collective/collective.cover/Plone%20package/master?label=GitHub%20Actions
   :target: https://github.com/collective/collective.cover/actions/workflows/plone-package.yml

.. image:: https://codecov.io/gh/collective/collective.cover/branch/master/graph/badge.svg?token=rQ0kzJU0jt
   :target: https://codecov.io/gh/collective/collective.cover

Got an idea? Found a bug? Let us know by `opening a support ticket <https://github.com/collective/collective.cover/issues>`_.

Known issues
^^^^^^^^^^^^

* `URI validation happens outside modal window <https://github.com/collective/collective.cover/issues/838>`_.
  This is an issue present on Banner and Basic tiles.
* `Package is not compatible with standard Plone tiles <https://github.com/collective/collective.cover/issues/81>`_.
  This will be addressed in a future release, if we get an sponsor.

See the `complete list of bugs on GitHub <https://github.com/collective/collective.cover/labels/bug>`_.

Don't Panic
-----------

We are currently working on the documentation of the package; this is what we have right now (contributions are always welcomed):

* `Quick Tour video on YouTube <https://www.youtube.com/watch?v=h_rsSL1e4i4>`_.
* `End user documentation <https://github.com/collective/collective.cover/blob/master/docs/end-user.rst>`_
* `Developer documentation <https://github.com/collective/collective.cover/blob/master/docs/developer.rst>`_

Installation
^^^^^^^^^^^^

To enable this package in a buildout-based installation:

Edit your buildout.cfg and add the following to it:

.. code-block:: ini

    [buildout]
    ...
    eggs =
        collective.cover

If you want to use the relation field you must use the ``[relations]`` extra in your buildout configuration.

.. code-block:: ini

    [buildout]
    ...
    eggs =
        collective.cover [relations]

After updating the configuration you need to run ''bin/buildout'', which will
take care of updating your system.

Go to the 'Site Setup' page in a Plone site and click on the 'Add-ons' link.

Check the box next to ``collective.cover`` and click the 'Activate' button.

.. note::
    You may have to empty your browser cache and save your resource registries
    in order to see the effects of the product installation.

Development
-----------

We use `webpack <https://webpack.js.org/>`_ to process static resources on this package.
`webpack`_ processes SCSS and JS files, minifies the resulting CSS and JS, and optimizes all images.

To contribute, you should start the instance in one shell and start webpack watcher on another with the following command:

.. code-block:: console

    $ bin/watch-cover

Then go to ``webpack/app`` folder and edit SCSS and JS files;
`webpack`_ watcher will automatically create the final resources in the right place.

There are also other commands added to handle more complex scenarios.

The following command will set the buildout node installation in the system PATH,
this way you can use `webpack`_ as described on their documentation.

.. code-block:: console

    $ bin/env-cover

The following command generates JS and CSS without the minify step (it can be used to check the code being generated in a human readable way).

.. code-block:: console

    $ bin/debug-cover

The following command rebuilds static files and exit (insted of keep watching the changes):

.. code-block:: console

    $ bin/build-cover

Upgrading from 1.x to 2.x
^^^^^^^^^^^^^^^^^^^^^^^^^

In version 2.0b1 we removed a hard dependency on ``plone.app.relationfield``.
You must use the ``[relations]`` extra in your buildout configuration as stated above,
or your site will break with the following error:

.. code-block:: pytb

    AttributeError: type object 'ICatalog' has no attribute '__iro__'

Not entirely unlike
-------------------

Over the years there have been some packages designed to solve the problem of
creating section covers in Plone. We have used and have taken ideas from the
following:

`CompositePack <https://pypi.python.org/pypi/Products.CompositePack>`_
    Very old; the legacy code is so complex that is not maintainable anymore.
    It has (arguably) the best user interface of all. Layouts can not be
    created TTW. Viewlets are just page templates associated with content
    types; you can drag&drop viewlets around the layout. Publishers love it.

`CMFContentPanels <https://pypi.python.org/pypi/Products.CMFContentPanels>`_
    Code is very old, but still maintained (at least works in Plone 4). Allows
    to create complex layouts TTW and use any layout as a template. Easy to
    extend and edit (but is terrible to find a content to use). Needs a lot of
    memory to work and aggressive cache settings.

`Collage <https://pypi.python.org/pypi/Products.Collage>`_
    Allows the creation of layouts TTW but it has (arguably) the worst user
    interface of all. It is easily extended and there are several add-ons
    available that provide new functionality for it.

`Home Page Editor of the Brazilian Chamber of Deputies Site <https://colab.interlegis.leg.br/browser/publico/camara.home>`_
    Strongly based on `Collage`_, this package was presented at the `World Plone Day 2012 Brasilia <http://colab.interlegis.leg.br/wiki/WorldPloneDay>`_.
    It allows editing of home pages and the definition of permissions on blocks of content.
    Works under Plone 3 only.

`collective.panels <https://pypi.python.org/pypi/collective.panels>`_
    A new package that lets site editors add portlets to a set of new
    locations: above and below page contents, portal top and footer. The
    package comes with a number of flexible layouts that are used to position
    the portlets, and locations can be fixed to the nearest site object, to
    facilitate inheritance. In ``collective.cover`` (this package), we don't
    want to use portlets at all.

Releasing using zest.releaser
-----------------------------

Static resources on this package are generated using `webpack`_ and aren't included in VCS.
If you release using zest.releaser you have to `upload manually the files to PyPI <https://github.com/zestsoftware/zest.releaser/issues/261>`_ or you will end with a broken distribution:

* run ``longtest`` and ``fullrelease``, as usually
* answer "no" when asked to upload to PyPI and continue normally
* do a checkout to the tag you're releasing
* run ``bin/build-cover`` to update static files
* create the distribution files using ``python setup.py sdist bdist_wheel`` as usual
* upload the files using ``twine upload dist/*``

In case of errors you will have to create a new release as the PyPI Warehouse `doesn't allow for a filename to be reused <https://upload.pypi.org/help/#file-name-reuse>`_.


Share and Enjoy
---------------

``collective.cover`` would not have been possible without the contribution of
the following people:

- André Nogueira
- Asko Soukka
- Carlos de la Guardia
- Cleber J. Santos
- Daniel Jowett
- Davi Lima
- Denis Krienbühl
- Érico Andrei
- Franco Pellegrini
- Fred van Dijk
- Fulvio Casali
- Giorgio Borelli
- Gonzalo Almeida
- Héctor Velarde
- JeanMichel FRANCOIS
- Juan A. Díaz
- Juan Pablo Giménez
- Kuno Woudt
- Laura Pérez Mayos
- Marcos F. Romero
- Maurits van Rees
- Rodrigo Ferreira de Souza
- Silvestre Huens
- Thiago Curvelo
- Thiago Tamosauskas
- `Launched Pixels`_ (icon)

You can find an updated list of package contributors on `GitHub`_.

Development sponsored by Open Multimedia, Ravvit and `Simples Consultoria`_.

.. _`Launched Pixels`: http://www.launchedpixels.com/
.. _`GitHub`: https://github.com/collective/collective.cover/contributors
.. _`Simples Consultoria`: http://www.simplesconsultoria.com.br/


Changelog
---------

There's a frood who really knows where his towel is.

3.0.0 (2023-03-29)
^^^^^^^^^^^^^^^^^^

- Adds icons for the Cover content type and for the Compose and Layout tabs.
  [wesleybl]

- Fix error when clicking on a folder in Content Tree.
  [idgserpro]

- Fix error when clearing content chooser input (fixes `#942 <https://github.com/collective/collective.cover/issues/942>`_).
  [wesleybl]

- Improve content chooser search input layout.
  [wesleybl]

- Fix layout scroll - impossible to save.
  [idgserpro]

- Remove patch in ``Products.ZCatalog.query.IndexQuery``. ``Products.ZCatalog`` 5.4 fix bug when search parameter is a record.
  [wesleybl]

- Drop suport to Python 3.6.
  [wesleybl]

- Use plone resource instead of browser resource.
  [wesleybl]

- Remove javascript customization that was making ajax calls synchronous.
  [wesleybl]

- Shows selected folder path in Content Tree (fixes `#921 <https://github.com/collective/collective.cover/issues/921>`_).
  [wesleybl]

- Add missing dependencies: ``Products.MimetypesRegistry``, ``Products.ZCatalog``,
  ``persistent``, ``plone.locking``, ``zope.container``, ``zope.traversing``, ``ZODB`` and ``Zope``.
  [wesleybl]

- Remove unused dependencies: ``plone.app.content``, ``plone.app.jquery``, ``cssselect``, ``testfixtures`` and ``transaction``.
  [wesleybl]

- Fix link integrity (fixes `#615 <https://github.com/collective/collective.cover/issues/615>`_).
  [wesleybl]

- Unlock Cover when editor leaves Compose/Layout tabs (fixes `#916 <https://github.com/collective/collective.cover/issues/916>`_).
  [wesleybl]

- Fix PicklingError when editing basic tile that contains an image (fixes `#907 <https://github.com/collective/collective.cover/issues/907>`_).
  [wesleybl]

- Reorganizes the js events register in Compose when we drag content from one tile to
  another, in order to prevent the content from remaining on the source tile.
  [wesleybl]

- In ``PersistentCoverTileDataManager`` set, purge tile after put values into storage to
  prevent old values from being cache, since purge accesses ``tile.data``.
  Also updated the attribute where data is saved for ``self.storage``.
  [wesleybl]

- Show Cover in navbar.
  [wesleybl]

- Remove custom message of onbeforeunload popup. Browsers no longer display the custom
  message.
  [wesleybl]

- Apply patch in ``Products.ZCatalog.query.IndexQuery``, to avoid error when clicking on a day with event in the calendar tile.
  [wesleybl]

- Fix calendar tile in Plone 5.2 (fixes `#633 <https://github.com/collective/collective.cover/issues/633>`_).
  [wesleybl, pbauer]

- Remove old upgrade steps.
  [wesleybl]

- Add suport to Python 3.6, 3.7 and 3.8.
  [pbauer]

- Drop support for Plone 4.x
  [cleberjsantos]

- Add support to Plone 5.2.
  [cleberjsantos]

- Drop PFG support
  [cleberjsantos]

- Fix plone.namedfile scales
  [cleberjsantos]

- Correction of the visualization of the image scales
  [cleberjsantos]

- Fix Js registry with new concepts in Plone 5
  [cleberjsantos]

- Drop Deco grid
  [cleberjsantos]

- Refactor tests
  [cleberjsantos]

2.2.3 (2021-02-02)
^^^^^^^^^^^^^^^^^^

- Fix removing a list tile item.
  [fredvd]

- Fixed changing the order in a list tile by drag and drop.
  [maurits]


2.2.2 (2019-12-27)
^^^^^^^^^^^^^^^^^^

- Fix brown bag release.
  [hvelarde]


2.2.1 (2019-12-24)
^^^^^^^^^^^^^^^^^^

- Fix multiple regressions caused by the migration of JavaScript code to webpack in release 2.2.0 (fixes `#859 <https://github.com/collective/collective.cover/issues/859>`_, `#861 <https://github.com/collective/collective.cover/issues/861>`_, `#868 <https://github.com/collective/collective.cover/issues/868>`_ and `#871 <https://github.com/collective/collective.cover/issues/871>`_).
  [Mubra]


2.2.0 (2019-02-26)
^^^^^^^^^^^^^^^^^^

- Deprecate resource registries; instead, we now use a viewlet in ``plone.htmlhead`` to load JavaScript code.
  This simplifies maintainance of the add-on among multiple Plone versions.
  [rodfersou]

- Process static resources using webpack.
  [rodfersou]


2.1b2 (2018-10-04)
^^^^^^^^^^^^^^^^^^

- Fix behavior of ``remote_url`` field on Basic tiles as populating them from an alternate URL could result on incorrect links stored.
  Remove upgrade step from profile version 22 used to update the field;
  we include a new upgrade step that lists suspicious tiles to help fix any issue by hand (fixes `#839 <https://github.com/collective/collective.cover/issues/839>`_).
  [hvelarde]


2.1b1 (2018-09-28)
^^^^^^^^^^^^^^^^^^

- Fix ``remote_url`` field definition in Banner tile and hide ``a`` tag if no URL is defined.
  [hvelarde]

- Links on Basic tiles are now editable (fixes `#397 <https://github.com/collective/collective.cover/issues/397>`_).
  [hvelarde]

- Avoid ``TypeError`` when a style used on a tile was removed (fixes `#827 <https://github.com/collective/collective.cover/issues/827>`_).
  [rodfersou]

- Avoid ``KeyError`` when tile schema has changed (refs. `brasil.gov.portal#524 <https://github.com/plonegovbr/brasil.gov.portal/issues/524>`_).
  [hvelarde]

- Fix package uninstall.
  [hvelarde]


2.0b1 (2018-08-24)
^^^^^^^^^^^^^^^^^^

.. warning::
    The PFG tile is now deprecated an will be removed in collective.cover 3.
    This version removes the hard dependency on ``plone.app.relationfield``;
    if you're ugrading from a previous version of ``collective.cover`` you must add the extra ``[relations]``.
    Upgrading from versions below 1.2b1 is no longer supported.
    You must upgrade at least to version 1.2b1 before upgrading to this release.

- Update package dependencies.
  [hvelarde]

- Deprecate PFG tile; it will remain available in Plone 4, but not in Plone 5.
  [hvelarde]

- Remove hard dependency on ``plone.app.relationfield``;
  if you're ugrading from a previous version of ``collective.cover`` you must add the extra ``[relations]`` (closes `#684 <https://github.com/collective/collective.cover/issues/684>`_).
  [hvelarde]

- Remove predefined layouts as they were created using Deco grid system and they are broken in Plone 5 (closes `#652 <https://github.com/collective/collective.cover/issues/652>`_).
  You can still create your own layouts using your favorite grid system as usually.
  [rodfersou]

- Remove upgrade steps for old, unsupported releases.
  [hvelarde]

- Remove deprecated adapters ``CollectionUIDsProvider``, ``FolderUIDsProvider`` and ``GenericUIDsProvider``.
  [hvelarde]

- Fix retrieval of available image scales in tile layout configuration for Plone 5 (fixes `#781 <https://github.com/collective/collective.cover/issues/781>`_).
  [rodfersou]

- Fix edit list element in compose tab on Plone 5 (fixes `#770 <https://github.com/collective/collective.cover/issues/770>`_).
  [rodfersou]

- Fix display of tabs in content chooser for Plone 5.
  [cdw9, rodfersou]


1.7b3 (2018-07-09)
^^^^^^^^^^^^^^^^^^

- Review multiple class selection when there are many classes (closes `#785 <https://github.com/collective/collective.cover/issues/785>`_).
  [rodfersou]

- Small code refactor to increase future Python 3 compatibility.
  [hvelarde]


1.7b2 (2018-04-27)
^^^^^^^^^^^^^^^^^^

- Fix multiple CSS class selection in tile configuration for tiles different from basic tile.
  [rodfersou]


1.7b1 (2018-04-27)
^^^^^^^^^^^^^^^^^^

- Update i18n, Brazilian Portuguese and Spanish translations.
  [hvelarde]

- Allow selection of multiple CSS classes in tile configuration.
  [rodfersou]

- Small code refactor to increase future Python 3 compatibility;
  add dependency on `six <https://pypi.python.org/pypi/six>`_.
  [hvelarde]

- Provide alternative text for image fields in tiles (closes `#628 <https://github.com/collective/collective.cover/issues/628>`_).
  [hvelarde]


1.6b5 (2017-11-21)
^^^^^^^^^^^^^^^^^^

- Fix purging of tile annotations when removing tiles from the cover layout.
  This solves exponential growth of cover objects when using versioning,
  leading to check in/check out (plone.app.iterate) timeouts on backends using proxy servers (fixes `#765 <https://github.com/collective/collective.cover/issues/765>`_).
  [rodfersou]

- Do not auto include package dependencies, but declare them explicitly.
  [hvelarde]


1.6b4 (2017-10-30)
^^^^^^^^^^^^^^^^^^

- Revert declaring ``cover_layout`` field in content type schema as ``readonly`` (fixes `#761 <https://github.com/collective/collective.cover/issues/761>`_).
  [hvelarde]


1.6b3 (2017-10-23)
^^^^^^^^^^^^^^^^^^

- Fix edit view of carousel tile when one carousel item has a unicode character in its title (fixes `#757 <https://github.com/collective/collective.cover/issues/757>`_).
  [fulv]

- Explicitly declare ``cover_layout`` field in content type schema as ``readonly``;
  Robot Framework tests pass again with latest version of Plone 4.3 (fixes `#759 <https://github.com/collective/collective.cover/issues/759>`_).
  [hvelarde]


1.6b2 (2017-09-01)
^^^^^^^^^^^^^^^^^^

- Use correct ``image/x-icon`` MIME type for ICO file format (fixes `#750 <https://github.com/collective/collective.cover/issues/750>`_).
  [hvelarde]

- Fix IDatetimeWidget tile override if using plone.app.contenttypes >= 1.1.1:
  collective.z3cform.datetimewidget is merged into plone.formwidget.datetime,
  so the zcml must override the template from plone.formwidget.datetime.z3cform.interfaces.IDatetimeWidget
  as well. (closes `#745`_).
  [idgserpro]

- Review tile refresh using custom event.
  [rodfersou]


1.6b1 (2017-06-23)
^^^^^^^^^^^^^^^^^^

- Fix deprecation of adapters made in previous release, as they were incorrectly removed.
  Code removal will still happen in collective.cover v1.7.
  [idgserpro]

- Use absolute URL for root in content chooser tree (fixes `#733 <https://github.com/collective/collective.cover/issues/733>`_).
  [maurits]

- Fix content chooser clear button to update results (closes `#727`_).
  [rodfersou]

- Drop support for Plone 4.2.
  [hvelarde]

- Fix typo in basic tile template (``is_empty`` is not a property but a function).
  [hvelarde]


1.5b1 (2017-06-12)
^^^^^^^^^^^^^^^^^^

.. Warning::
    If you are upgrading plone.app.tiles note that latests versions of this package no longer depend on plone.app.drafts.
    You should explicitly add plone.app.drafts to the `eggs` part of your buildout configuration to avoid issues.
    You can safely uninstall plone.app.drafts after that, if you are not using it.

    Adapters used to get the items inside a folder or the results of the query in a collection were deprecated.
    The following classes will be removed in collective.cover v1.7: ``ICoverUIDsProvider``, ``CollectionUIDsProvider``, ``FolderUIDsProvider`` and ``GenericUIDsProvider``.

- Information stored on basic tiles populated with private content is no longer shown to users without proper permissions (fixes `#721`_).
  [hvelarde]

- Dropping a folder on a carousel tile no longer populates the tile with the items inside the folder;
  populating the carousel tile with the results of the query in a collection is still supported.
  [rodfersou, hvelarde]

- Dropping a folder or a collection into a list tile previously resulted in the tile being populated with the items inside the folder or the results of the query in the collection,
  making impossible to have folders or collection as items of the list tile themselves (fixes `#713`_).
  [rodfersou, hvelarde]

- Update recommended versions of Blocks dependencies to keep in sync with current Mosaic development.
  [hvelarde]

- Fix order of UUIDs of sorted function in ListTile's 'results' method.
  [idgserpro]

- Review content chooser events to happen just at Compose tab (fixes `#710`_).
  [rodfersou]

- Do not assume all tile types have schemas.
  [alecm]

- Do not declare the ``Cover`` class as an implementer of ``IDAVAware``;
  This makes absolutely no sense and is causing an error when doing a GenericSetup export (fixes `#396`_).
  [hvelarde]


1.4b1 (2016-12-14)
^^^^^^^^^^^^^^^^^^

- Fix ``@@updatetilecontent`` view to avoid rendering outdated data.
  [hvelarde]

- Fix ``TypeError`` when changing default image scale on basic tiles (fixes `#686`_).
  [rodfersou]

- Fixed adding a 'more' link in list tiles.
  Previously you could select an item to use as 'more' link,
  but it did not stick.  [maurits]

- The ``replace_with_objects`` method was removed from the list tile;
  use ``replace_with_uuids`` instead.
  [hvelarde]

- "Add Content" button is now shown also in Plone 5.
  [hvelarde]

- Avoid exceptions while using the content chooser in Plone 5.
  [hvelarde]

- Add helper function to get the human representation of a mime-type on Dexterity-based content types.
  This fixed an ``AttributeError`` that was causing an exception on Plone 5.
  [hvelarde]

- We now get the types that use the view action in listings in Plone 5 also.
  [hvelarde]

- ESI support was refactored; now all tiles inherit from ``ESIPersistentTile`` by default.
  [hvelarde]

- Add plone.protect when save layout (fixes `#651`_).
  [rodfersou]

- Use ``pat-modal`` instead of ``prepOverlay`` for Plone 5 (fixes `#641`_).
  [rodfersou]

- Enforce usage of plone.app.tiles >= 1.1.0 to avoid creation of zillions of empty blob files when using versioning (fixes `#532`_, huge HT @datakurre).
  [hvelarde]


1.3b1 (2016-09-12)
^^^^^^^^^^^^^^^^^^

.. Warning::
    A huge code refactoring was made as part of the removal of the dependency on five.grok.
    The following unused views were removed: ``AddCTWidget``, ``AddTileWidget``, ``SetWidgetMap``, ``UpdateWidget`` and ``RemoveTileWidget``.
    All Compose tab helper views use now ``cmf.ModifyPortalContent`` permission.
    All Layout tab helper views use now ``collective.cover.CanEditLayout`` permission.
    The ``BaseGrid`` class is now located in the ``collective.cover.grids`` module.

- Update Traditional Chinese translation.
  [l34marr]

- Remove dependency on five.grok (closes `#510`_).
  [l34marr, rodfersou]

- Use the `X-Robots-Tag` header to avoid indexing of image scales on default view;
  this will reduce the number of 404 (Not Found) responses generated by crawlers visiting the site in search of volatile content.
  [hvelarde]

- Enforce usage of plone.api >= 1.4.11 to avoid `TypeError` while running upgrade step to profile 14.
  [hvelarde]


1.2b1 (2016-07-04)
^^^^^^^^^^^^^^^^^^

- A new calendar tile was added.
  The tile dislays a calendar that highlights the events taking place on the current month,
  the same way as the standard calendar portlet does.
  [rodfersou]

- Handle `AssertionError` on upgrade step to profile 13 to avoid failures when a cover object has duplicated tiles on it.
  Now, an error message will be logged and the object will be skipped;
  you must manually remove the duplicated tiles (closes #619).
  [hvelarde]


1.1b1 (2016-03-31)
^^^^^^^^^^^^^^^^^^

.. Warning::
    This release removes some packages from the list of dependencies.
    Be sure to read the whole changelog and apply the related changes to your buildout configuration while upgrading.
    Also, note that we have reorganized the static resources contained here;
    as some of them are not registered in Resource Registry tools, you could end with a broken layout if you don't clear your intermediate caches.

- Enforce usage of plone.app.blocks 2.2.1 to avoid issues with tiles breaking the whole cover page.
  [hvelarde]

- Add option to select random items in collection tile (closes `#608`_).
  [rodfersou]

- Carousel tile now uses a relative ratio to set its height (fixes `#414`_).
  [terapyon, hvelarde]

- Remove hard dependency on plone.app.referenceablebehavior as Archetypes is no longer the default framework in Plone 5.
  Under Plone < 5.0 you should now explicitly add it to the `eggs` part of your buildout configuration to avoid issues while upgrading.
  [hvelarde]

- Link integrity was refactored to work on all tiles and under Plone 5;
  a hard dependency on Products.Archetypes was removed (fixes `#578`_).
  [hvelarde, rodfersou]

- Do not use the calendar tool to discover Event-like objects as it was removed on Plone 5.
  Instead, try to guess if an object is an Event by using its catalog metadata.
  [hvelarde]

- Package is now also tested with plone.app.contenttypes installed;
  a few bugs related with API incompatibilities among Archetypes and Dexterity were fixed.
  [hvelarde]

- Remove Grok dependency for vocabularies.
  [l34marr]

- You can now use a collection to populate a carousel tile;
  search results without a lead image will be bypassed (fixes `#574`_).
  [rodfersou]

- Shows message to user if an exception is thrown in a tile in AJAX calls. (closes `#581`_).
  [idgserpro]

- Fix date format in collection tiles (closes `#584`_).
  [tcurvelo]

- RichText tile no longer breaks with plone.app.widgets installed (closes `#543`_).
  [frapell, rodfersou]

- Add missing dependency on collective.z3cform.datetimewidget.
  [hvelarde]

- Remove hard dependency on plone.app.stagingbehavior as that package is no longer needed in Plone 5.
  Under Plone < 5.0 you should now explicitly add it to the `eggs` part of your buildout configuration to avoid issues while upgrading.
  [hvelarde]

- Implement drag and drop among tiles (closes `#487`_).
  [rodfersou]

- Clean up static files.
  [rodfersou]


Previous entries can be found in the HISTORY.rst file.


.. _`#396`: https://github.com/collective/collective.cover/issues/396
.. _`#414`: https://github.com/collective/collective.cover/issues/414
.. _`#487`: https://github.com/collective/collective.cover/issues/487
.. _`#510`: https://github.com/collective/collective.cover/issues/510
.. _`#532`: https://github.com/collective/collective.cover/issues/532
.. _`#543`: https://github.com/collective/collective.cover/issues/543
.. _`#574`: https://github.com/collective/collective.cover/issues/574
.. _`#578`: https://github.com/collective/collective.cover/issues/578
.. _`#581`: https://github.com/collective/collective.cover/issues/581
.. _`#584`: https://github.com/collective/collective.cover/issues/584
.. _`#608`: https://github.com/collective/collective.cover/issues/608
.. _`#641`: https://github.com/collective/collective.cover/issues/641
.. _`#651`: https://github.com/collective/collective.cover/issues/651
.. _`#686`: https://github.com/collective/collective.cover/issues/686
.. _`#710`: https://github.com/collective/collective.cover/issues/710
.. _`#713`: https://github.com/collective/collective.cover/issues/713
.. _`#721`: https://github.com/collective/collective.cover/issues/721
.. _`#727`: https://github.com/collective/collective.cover/issues/727
.. _`#745`: https://github.com/collective/collective.cover/issues/745



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/collective/collective.cover",
    "name": "collective.cover",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*",
    "maintainer_email": "",
    "keywords": "plone cover javascript dexterity",
    "author": "Carlos de la Guardia et al.",
    "author_email": "cguardia@yahoo.com",
    "download_url": "https://files.pythonhosted.org/packages/b3/84/8dc62445d0f7285db99e421354f260cd7e731029596a2d414896a7894347/collective.cover-3.0.0.tar.gz",
    "platform": null,
    "description": "****************\ncollective.cover\n****************\n\n.. contents:: Table of Contents\n\nLife, the Universe, and Everything\n----------------------------------\n\n``collective.cover`` is a package that allows the creation of elaborate covers\nfor website homepages, especially for news portals, government sites and\nintranets that require more resources than a simple page or collection can\noffer. However, despite offering rich resources to build a cover,\n``collective.cover`` also provides a very easy mechanism for managing its\ncontents, built around a drag-and-drop interface.\n\n``collective.cover`` is based on `Blocks <https://pypi.python.org/pypi/plone.app.blocks>`_ and `Tiles <https://pypi.python.org/pypi/plone.app.tiles>`_,\nlike `Mosaic <https://pypi.python.org/pypi/plone.app.mosaic>`_,\nthe new layout solution for Plone.\n\n.. note::\n    Starting from version 2.0b1 this package is compatible with Plone 5.1;\n    nevertheless, there are some `known issues <https://github.com/collective/collective.cover/issues?q=is%3Aissue+is%3Aopen+label%3A%22plone+5%22>`_.\n\nDemo\n^^^^\n\nFor impatient types, there is a demo installation of collective.cover on `Heroku <http://collective-cover.herokuapp.com>`_.\nIt needs about 60 seconds to spin up and it will purge all changes after about an hour of non-usage.\n\nUse cases\n^^^^^^^^^\n\nSuppose you are running The Planet, a news portal that has a bunch of editors\nfocused on getting news on different topics, like Economy, Health or Sports.\n\nIf you are the main publisher of the site, you may want to delegate the\nconstruction of the front page of the Economy section to the people working on\nthat content area, but you might not want them messing around the Sports\nsection as well.\n\nAlso, suppose you have the final game of the World Cup and the match is going\nto be defined on penalties: you may want to prepare a couple of cover pages\nand publish the right one focused on the team that won in the end.\n\nThese are the kind of issues we want to solve with this package; we are still\nfar from it, but that is the idea.\n\nWho is using it?\n^^^^^^^^^^^^^^^^\n\nThese are some of the sites using ``collective.cover``:\n\n* `CartaCapital <http://www.cartacapital.com.br/>`_ (BR)\n* `Clean Clothes Campaign <http://www.cleanclothes.org/>`_ (NL)\n* `Conselho Federal de Administra\u00e7\u00e3o <http://www.cfa.org.br/>`_ (BR)\n* `La Jornada <http://www.jornada.unam.mx/ultimas>`_ (MX)\n* `Pal\u00e1cio do Planalto <http://www.planalto.gov.br/>`_ (BR)\n* `Portal Brasil <http://www.brasil.gov.br/>`_ (BR)\n* `Rede Brasil Atual <http://www.redebrasilatual.com.br/>`_ (BR)\n* `Venezolana de Televisi\u00f3n <http://www.vtv.gov.ve/>`_ (VE)\n* `European Climate Adaptation Platform <http://climate-adapt.eea.europa.eu/>`_ (EU)\n\n.. figure:: https://raw.github.com/collective/collective.cover/master/cover.png\n    :align: center\n    :height: 640px\n    :width: 490px\n    :target: http://www.planalto.gov.br/\n\n    The Presidency of Brazil uses ``collective.cover`` on the front page of its site.\n\nMostly Harmless\n---------------\n\n.. image:: http://img.shields.io/pypi/v/collective.cover.svg\n   :target: https://pypi.python.org/pypi/collective.cover\n\n.. image:: https://img.shields.io/github/workflow/status/collective/collective.cover/Plone%20package/master?label=GitHub%20Actions\n   :target: https://github.com/collective/collective.cover/actions/workflows/plone-package.yml\n\n.. image:: https://codecov.io/gh/collective/collective.cover/branch/master/graph/badge.svg?token=rQ0kzJU0jt\n   :target: https://codecov.io/gh/collective/collective.cover\n\nGot an idea? Found a bug? Let us know by `opening a support ticket <https://github.com/collective/collective.cover/issues>`_.\n\nKnown issues\n^^^^^^^^^^^^\n\n* `URI validation happens outside modal window <https://github.com/collective/collective.cover/issues/838>`_.\n  This is an issue present on Banner and Basic tiles.\n* `Package is not compatible with standard Plone tiles <https://github.com/collective/collective.cover/issues/81>`_.\n  This will be addressed in a future release, if we get an sponsor.\n\nSee the `complete list of bugs on GitHub <https://github.com/collective/collective.cover/labels/bug>`_.\n\nDon't Panic\n-----------\n\nWe are currently working on the documentation of the package; this is what we have right now (contributions are always welcomed):\n\n* `Quick Tour video on YouTube <https://www.youtube.com/watch?v=h_rsSL1e4i4>`_.\n* `End user documentation <https://github.com/collective/collective.cover/blob/master/docs/end-user.rst>`_\n* `Developer documentation <https://github.com/collective/collective.cover/blob/master/docs/developer.rst>`_\n\nInstallation\n^^^^^^^^^^^^\n\nTo enable this package in a buildout-based installation:\n\nEdit your buildout.cfg and add the following to it:\n\n.. code-block:: ini\n\n    [buildout]\n    ...\n    eggs =\n        collective.cover\n\nIf you want to use the relation field you must use the ``[relations]`` extra in your buildout configuration.\n\n.. code-block:: ini\n\n    [buildout]\n    ...\n    eggs =\n        collective.cover [relations]\n\nAfter updating the configuration you need to run ''bin/buildout'', which will\ntake care of updating your system.\n\nGo to the 'Site Setup' page in a Plone site and click on the 'Add-ons' link.\n\nCheck the box next to ``collective.cover`` and click the 'Activate' button.\n\n.. note::\n    You may have to empty your browser cache and save your resource registries\n    in order to see the effects of the product installation.\n\nDevelopment\n-----------\n\nWe use `webpack <https://webpack.js.org/>`_ to process static resources on this package.\n`webpack`_ processes SCSS and JS files, minifies the resulting CSS and JS, and optimizes all images.\n\nTo contribute, you should start the instance in one shell and start webpack watcher on another with the following command:\n\n.. code-block:: console\n\n    $ bin/watch-cover\n\nThen go to ``webpack/app`` folder and edit SCSS and JS files;\n`webpack`_ watcher will automatically create the final resources in the right place.\n\nThere are also other commands added to handle more complex scenarios.\n\nThe following command will set the buildout node installation in the system PATH,\nthis way you can use `webpack`_ as described on their documentation.\n\n.. code-block:: console\n\n    $ bin/env-cover\n\nThe following command generates JS and CSS without the minify step (it can be used to check the code being generated in a human readable way).\n\n.. code-block:: console\n\n    $ bin/debug-cover\n\nThe following command rebuilds static files and exit (insted of keep watching the changes):\n\n.. code-block:: console\n\n    $ bin/build-cover\n\nUpgrading from 1.x to 2.x\n^^^^^^^^^^^^^^^^^^^^^^^^^\n\nIn version 2.0b1 we removed a hard dependency on ``plone.app.relationfield``.\nYou must use the ``[relations]`` extra in your buildout configuration as stated above,\nor your site will break with the following error:\n\n.. code-block:: pytb\n\n    AttributeError: type object 'ICatalog' has no attribute '__iro__'\n\nNot entirely unlike\n-------------------\n\nOver the years there have been some packages designed to solve the problem of\ncreating section covers in Plone. We have used and have taken ideas from the\nfollowing:\n\n`CompositePack <https://pypi.python.org/pypi/Products.CompositePack>`_\n    Very old; the legacy code is so complex that is not maintainable anymore.\n    It has (arguably) the best user interface of all. Layouts can not be\n    created TTW. Viewlets are just page templates associated with content\n    types; you can drag&drop viewlets around the layout. Publishers love it.\n\n`CMFContentPanels <https://pypi.python.org/pypi/Products.CMFContentPanels>`_\n    Code is very old, but still maintained (at least works in Plone 4). Allows\n    to create complex layouts TTW and use any layout as a template. Easy to\n    extend and edit (but is terrible to find a content to use). Needs a lot of\n    memory to work and aggressive cache settings.\n\n`Collage <https://pypi.python.org/pypi/Products.Collage>`_\n    Allows the creation of layouts TTW but it has (arguably) the worst user\n    interface of all. It is easily extended and there are several add-ons\n    available that provide new functionality for it.\n\n`Home Page Editor of the Brazilian Chamber of Deputies Site <https://colab.interlegis.leg.br/browser/publico/camara.home>`_\n    Strongly based on `Collage`_, this package was presented at the `World Plone Day 2012 Brasilia <http://colab.interlegis.leg.br/wiki/WorldPloneDay>`_.\n    It allows editing of home pages and the definition of permissions on blocks of content.\n    Works under Plone 3 only.\n\n`collective.panels <https://pypi.python.org/pypi/collective.panels>`_\n    A new package that lets site editors add portlets to a set of new\n    locations: above and below page contents, portal top and footer. The\n    package comes with a number of flexible layouts that are used to position\n    the portlets, and locations can be fixed to the nearest site object, to\n    facilitate inheritance. In ``collective.cover`` (this package), we don't\n    want to use portlets at all.\n\nReleasing using zest.releaser\n-----------------------------\n\nStatic resources on this package are generated using `webpack`_ and aren't included in VCS.\nIf you release using zest.releaser you have to `upload manually the files to PyPI <https://github.com/zestsoftware/zest.releaser/issues/261>`_ or you will end with a broken distribution:\n\n* run ``longtest`` and ``fullrelease``, as usually\n* answer \"no\" when asked to upload to PyPI and continue normally\n* do a checkout to the tag you're releasing\n* run ``bin/build-cover`` to update static files\n* create the distribution files using ``python setup.py sdist bdist_wheel`` as usual\n* upload the files using ``twine upload dist/*``\n\nIn case of errors you will have to create a new release as the PyPI Warehouse `doesn't allow for a filename to be reused <https://upload.pypi.org/help/#file-name-reuse>`_.\n\n\nShare and Enjoy\n---------------\n\n``collective.cover`` would not have been possible without the contribution of\nthe following people:\n\n- Andr\u00e9 Nogueira\n- Asko Soukka\n- Carlos de la Guardia\n- Cleber J. Santos\n- Daniel Jowett\n- Davi Lima\n- Denis Krienb\u00fchl\n- \u00c9rico Andrei\n- Franco Pellegrini\n- Fred van Dijk\n- Fulvio Casali\n- Giorgio Borelli\n- Gonzalo Almeida\n- H\u00e9ctor Velarde\n- JeanMichel FRANCOIS\n- Juan A. D\u00edaz\n- Juan Pablo Gim\u00e9nez\n- Kuno Woudt\n- Laura P\u00e9rez Mayos\n- Marcos F. Romero\n- Maurits van Rees\n- Rodrigo Ferreira de Souza\n- Silvestre Huens\n- Thiago Curvelo\n- Thiago Tamosauskas\n- `Launched Pixels`_ (icon)\n\nYou can find an updated list of package contributors on `GitHub`_.\n\nDevelopment sponsored by Open Multimedia, Ravvit and `Simples Consultoria`_.\n\n.. _`Launched Pixels`: http://www.launchedpixels.com/\n.. _`GitHub`: https://github.com/collective/collective.cover/contributors\n.. _`Simples Consultoria`: http://www.simplesconsultoria.com.br/\n\n\nChangelog\n---------\n\nThere's a frood who really knows where his towel is.\n\n3.0.0 (2023-03-29)\n^^^^^^^^^^^^^^^^^^\n\n- Adds icons for the Cover content type and for the Compose and Layout tabs.\n  [wesleybl]\n\n- Fix error when clicking on a folder in Content Tree.\n  [idgserpro]\n\n- Fix error when clearing content chooser input (fixes `#942 <https://github.com/collective/collective.cover/issues/942>`_).\n  [wesleybl]\n\n- Improve content chooser search input layout.\n  [wesleybl]\n\n- Fix layout scroll - impossible to save.\n  [idgserpro]\n\n- Remove patch in ``Products.ZCatalog.query.IndexQuery``. ``Products.ZCatalog`` 5.4 fix bug when search parameter is a record.\n  [wesleybl]\n\n- Drop suport to Python 3.6.\n  [wesleybl]\n\n- Use plone resource instead of browser resource.\n  [wesleybl]\n\n- Remove javascript customization that was making ajax calls synchronous.\n  [wesleybl]\n\n- Shows selected folder path in Content Tree (fixes `#921 <https://github.com/collective/collective.cover/issues/921>`_).\n  [wesleybl]\n\n- Add missing dependencies: ``Products.MimetypesRegistry``, ``Products.ZCatalog``,\n  ``persistent``, ``plone.locking``, ``zope.container``, ``zope.traversing``, ``ZODB`` and ``Zope``.\n  [wesleybl]\n\n- Remove unused dependencies: ``plone.app.content``, ``plone.app.jquery``, ``cssselect``, ``testfixtures`` and ``transaction``.\n  [wesleybl]\n\n- Fix link integrity (fixes `#615 <https://github.com/collective/collective.cover/issues/615>`_).\n  [wesleybl]\n\n- Unlock Cover when editor leaves Compose/Layout tabs (fixes `#916 <https://github.com/collective/collective.cover/issues/916>`_).\n  [wesleybl]\n\n- Fix PicklingError when editing basic tile that contains an image (fixes `#907 <https://github.com/collective/collective.cover/issues/907>`_).\n  [wesleybl]\n\n- Reorganizes the js events register in Compose when we drag content from one tile to\n  another, in order to prevent the content from remaining on the source tile.\n  [wesleybl]\n\n- In ``PersistentCoverTileDataManager`` set, purge tile after put values into storage to\n  prevent old values from being cache, since purge accesses ``tile.data``.\n  Also updated the attribute where data is saved for ``self.storage``.\n  [wesleybl]\n\n- Show Cover in navbar.\n  [wesleybl]\n\n- Remove custom message of onbeforeunload popup. Browsers no longer display the custom\n  message.\n  [wesleybl]\n\n- Apply patch in ``Products.ZCatalog.query.IndexQuery``, to avoid error when clicking on a day with event in the calendar tile.\n  [wesleybl]\n\n- Fix calendar tile in Plone 5.2 (fixes `#633 <https://github.com/collective/collective.cover/issues/633>`_).\n  [wesleybl, pbauer]\n\n- Remove old upgrade steps.\n  [wesleybl]\n\n- Add suport to Python 3.6, 3.7 and 3.8.\n  [pbauer]\n\n- Drop support for Plone 4.x\n  [cleberjsantos]\n\n- Add support to Plone 5.2.\n  [cleberjsantos]\n\n- Drop PFG support\n  [cleberjsantos]\n\n- Fix plone.namedfile scales\n  [cleberjsantos]\n\n- Correction of the visualization of the image scales\n  [cleberjsantos]\n\n- Fix Js registry with new concepts in Plone 5\n  [cleberjsantos]\n\n- Drop Deco grid\n  [cleberjsantos]\n\n- Refactor tests\n  [cleberjsantos]\n\n2.2.3 (2021-02-02)\n^^^^^^^^^^^^^^^^^^\n\n- Fix removing a list tile item.\n  [fredvd]\n\n- Fixed changing the order in a list tile by drag and drop.\n  [maurits]\n\n\n2.2.2 (2019-12-27)\n^^^^^^^^^^^^^^^^^^\n\n- Fix brown bag release.\n  [hvelarde]\n\n\n2.2.1 (2019-12-24)\n^^^^^^^^^^^^^^^^^^\n\n- Fix multiple regressions caused by the migration of JavaScript code to webpack in release 2.2.0 (fixes `#859 <https://github.com/collective/collective.cover/issues/859>`_, `#861 <https://github.com/collective/collective.cover/issues/861>`_, `#868 <https://github.com/collective/collective.cover/issues/868>`_ and `#871 <https://github.com/collective/collective.cover/issues/871>`_).\n  [Mubra]\n\n\n2.2.0 (2019-02-26)\n^^^^^^^^^^^^^^^^^^\n\n- Deprecate resource registries; instead, we now use a viewlet in ``plone.htmlhead`` to load JavaScript code.\n  This simplifies maintainance of the add-on among multiple Plone versions.\n  [rodfersou]\n\n- Process static resources using webpack.\n  [rodfersou]\n\n\n2.1b2 (2018-10-04)\n^^^^^^^^^^^^^^^^^^\n\n- Fix behavior of ``remote_url`` field on Basic tiles as populating them from an alternate URL could result on incorrect links stored.\n  Remove upgrade step from profile version 22 used to update the field;\n  we include a new upgrade step that lists suspicious tiles to help fix any issue by hand (fixes `#839 <https://github.com/collective/collective.cover/issues/839>`_).\n  [hvelarde]\n\n\n2.1b1 (2018-09-28)\n^^^^^^^^^^^^^^^^^^\n\n- Fix ``remote_url`` field definition in Banner tile and hide ``a`` tag if no URL is defined.\n  [hvelarde]\n\n- Links on Basic tiles are now editable (fixes `#397 <https://github.com/collective/collective.cover/issues/397>`_).\n  [hvelarde]\n\n- Avoid ``TypeError`` when a style used on a tile was removed (fixes `#827 <https://github.com/collective/collective.cover/issues/827>`_).\n  [rodfersou]\n\n- Avoid ``KeyError`` when tile schema has changed (refs. `brasil.gov.portal#524 <https://github.com/plonegovbr/brasil.gov.portal/issues/524>`_).\n  [hvelarde]\n\n- Fix package uninstall.\n  [hvelarde]\n\n\n2.0b1 (2018-08-24)\n^^^^^^^^^^^^^^^^^^\n\n.. warning::\n    The PFG tile is now deprecated an will be removed in collective.cover 3.\n    This version removes the hard dependency on ``plone.app.relationfield``;\n    if you're ugrading from a previous version of ``collective.cover`` you must add the extra ``[relations]``.\n    Upgrading from versions below 1.2b1 is no longer supported.\n    You must upgrade at least to version 1.2b1 before upgrading to this release.\n\n- Update package dependencies.\n  [hvelarde]\n\n- Deprecate PFG tile; it will remain available in Plone 4, but not in Plone 5.\n  [hvelarde]\n\n- Remove hard dependency on ``plone.app.relationfield``;\n  if you're ugrading from a previous version of ``collective.cover`` you must add the extra ``[relations]`` (closes `#684 <https://github.com/collective/collective.cover/issues/684>`_).\n  [hvelarde]\n\n- Remove predefined layouts as they were created using Deco grid system and they are broken in Plone 5 (closes `#652 <https://github.com/collective/collective.cover/issues/652>`_).\n  You can still create your own layouts using your favorite grid system as usually.\n  [rodfersou]\n\n- Remove upgrade steps for old, unsupported releases.\n  [hvelarde]\n\n- Remove deprecated adapters ``CollectionUIDsProvider``, ``FolderUIDsProvider`` and ``GenericUIDsProvider``.\n  [hvelarde]\n\n- Fix retrieval of available image scales in tile layout configuration for Plone 5 (fixes `#781 <https://github.com/collective/collective.cover/issues/781>`_).\n  [rodfersou]\n\n- Fix edit list element in compose tab on Plone 5 (fixes `#770 <https://github.com/collective/collective.cover/issues/770>`_).\n  [rodfersou]\n\n- Fix display of tabs in content chooser for Plone 5.\n  [cdw9, rodfersou]\n\n\n1.7b3 (2018-07-09)\n^^^^^^^^^^^^^^^^^^\n\n- Review multiple class selection when there are many classes (closes `#785 <https://github.com/collective/collective.cover/issues/785>`_).\n  [rodfersou]\n\n- Small code refactor to increase future Python 3 compatibility.\n  [hvelarde]\n\n\n1.7b2 (2018-04-27)\n^^^^^^^^^^^^^^^^^^\n\n- Fix multiple CSS class selection in tile configuration for tiles different from basic tile.\n  [rodfersou]\n\n\n1.7b1 (2018-04-27)\n^^^^^^^^^^^^^^^^^^\n\n- Update i18n, Brazilian Portuguese and Spanish translations.\n  [hvelarde]\n\n- Allow selection of multiple CSS classes in tile configuration.\n  [rodfersou]\n\n- Small code refactor to increase future Python 3 compatibility;\n  add dependency on `six <https://pypi.python.org/pypi/six>`_.\n  [hvelarde]\n\n- Provide alternative text for image fields in tiles (closes `#628 <https://github.com/collective/collective.cover/issues/628>`_).\n  [hvelarde]\n\n\n1.6b5 (2017-11-21)\n^^^^^^^^^^^^^^^^^^\n\n- Fix purging of tile annotations when removing tiles from the cover layout.\n  This solves exponential growth of cover objects when using versioning,\n  leading to check in/check out (plone.app.iterate) timeouts on backends using proxy servers (fixes `#765 <https://github.com/collective/collective.cover/issues/765>`_).\n  [rodfersou]\n\n- Do not auto include package dependencies, but declare them explicitly.\n  [hvelarde]\n\n\n1.6b4 (2017-10-30)\n^^^^^^^^^^^^^^^^^^\n\n- Revert declaring ``cover_layout`` field in content type schema as ``readonly`` (fixes `#761 <https://github.com/collective/collective.cover/issues/761>`_).\n  [hvelarde]\n\n\n1.6b3 (2017-10-23)\n^^^^^^^^^^^^^^^^^^\n\n- Fix edit view of carousel tile when one carousel item has a unicode character in its title (fixes `#757 <https://github.com/collective/collective.cover/issues/757>`_).\n  [fulv]\n\n- Explicitly declare ``cover_layout`` field in content type schema as ``readonly``;\n  Robot Framework tests pass again with latest version of Plone 4.3 (fixes `#759 <https://github.com/collective/collective.cover/issues/759>`_).\n  [hvelarde]\n\n\n1.6b2 (2017-09-01)\n^^^^^^^^^^^^^^^^^^\n\n- Use correct ``image/x-icon`` MIME type for ICO file format (fixes `#750 <https://github.com/collective/collective.cover/issues/750>`_).\n  [hvelarde]\n\n- Fix IDatetimeWidget tile override if using plone.app.contenttypes >= 1.1.1:\n  collective.z3cform.datetimewidget is merged into plone.formwidget.datetime,\n  so the zcml must override the template from plone.formwidget.datetime.z3cform.interfaces.IDatetimeWidget\n  as well. (closes `#745`_).\n  [idgserpro]\n\n- Review tile refresh using custom event.\n  [rodfersou]\n\n\n1.6b1 (2017-06-23)\n^^^^^^^^^^^^^^^^^^\n\n- Fix deprecation of adapters made in previous release, as they were incorrectly removed.\n  Code removal will still happen in collective.cover v1.7.\n  [idgserpro]\n\n- Use absolute URL for root in content chooser tree (fixes `#733 <https://github.com/collective/collective.cover/issues/733>`_).\n  [maurits]\n\n- Fix content chooser clear button to update results (closes `#727`_).\n  [rodfersou]\n\n- Drop support for Plone 4.2.\n  [hvelarde]\n\n- Fix typo in basic tile template (``is_empty`` is not a property but a function).\n  [hvelarde]\n\n\n1.5b1 (2017-06-12)\n^^^^^^^^^^^^^^^^^^\n\n.. Warning::\n    If you are upgrading plone.app.tiles note that latests versions of this package no longer depend on plone.app.drafts.\n    You should explicitly add plone.app.drafts to the `eggs` part of your buildout configuration to avoid issues.\n    You can safely uninstall plone.app.drafts after that, if you are not using it.\n\n    Adapters used to get the items inside a folder or the results of the query in a collection were deprecated.\n    The following classes will be removed in collective.cover v1.7: ``ICoverUIDsProvider``, ``CollectionUIDsProvider``, ``FolderUIDsProvider`` and ``GenericUIDsProvider``.\n\n- Information stored on basic tiles populated with private content is no longer shown to users without proper permissions (fixes `#721`_).\n  [hvelarde]\n\n- Dropping a folder on a carousel tile no longer populates the tile with the items inside the folder;\n  populating the carousel tile with the results of the query in a collection is still supported.\n  [rodfersou, hvelarde]\n\n- Dropping a folder or a collection into a list tile previously resulted in the tile being populated with the items inside the folder or the results of the query in the collection,\n  making impossible to have folders or collection as items of the list tile themselves (fixes `#713`_).\n  [rodfersou, hvelarde]\n\n- Update recommended versions of Blocks dependencies to keep in sync with current Mosaic development.\n  [hvelarde]\n\n- Fix order of UUIDs of sorted function in ListTile's 'results' method.\n  [idgserpro]\n\n- Review content chooser events to happen just at Compose tab (fixes `#710`_).\n  [rodfersou]\n\n- Do not assume all tile types have schemas.\n  [alecm]\n\n- Do not declare the ``Cover`` class as an implementer of ``IDAVAware``;\n  This makes absolutely no sense and is causing an error when doing a GenericSetup export (fixes `#396`_).\n  [hvelarde]\n\n\n1.4b1 (2016-12-14)\n^^^^^^^^^^^^^^^^^^\n\n- Fix ``@@updatetilecontent`` view to avoid rendering outdated data.\n  [hvelarde]\n\n- Fix ``TypeError`` when changing default image scale on basic tiles (fixes `#686`_).\n  [rodfersou]\n\n- Fixed adding a 'more' link in list tiles.\n  Previously you could select an item to use as 'more' link,\n  but it did not stick.  [maurits]\n\n- The ``replace_with_objects`` method was removed from the list tile;\n  use ``replace_with_uuids`` instead.\n  [hvelarde]\n\n- \"Add Content\" button is now shown also in Plone 5.\n  [hvelarde]\n\n- Avoid exceptions while using the content chooser in Plone 5.\n  [hvelarde]\n\n- Add helper function to get the human representation of a mime-type on Dexterity-based content types.\n  This fixed an ``AttributeError`` that was causing an exception on Plone 5.\n  [hvelarde]\n\n- We now get the types that use the view action in listings in Plone 5 also.\n  [hvelarde]\n\n- ESI support was refactored; now all tiles inherit from ``ESIPersistentTile`` by default.\n  [hvelarde]\n\n- Add plone.protect when save layout (fixes `#651`_).\n  [rodfersou]\n\n- Use ``pat-modal`` instead of ``prepOverlay`` for Plone 5 (fixes `#641`_).\n  [rodfersou]\n\n- Enforce usage of plone.app.tiles >= 1.1.0 to avoid creation of zillions of empty blob files when using versioning (fixes `#532`_, huge HT @datakurre).\n  [hvelarde]\n\n\n1.3b1 (2016-09-12)\n^^^^^^^^^^^^^^^^^^\n\n.. Warning::\n    A huge code refactoring was made as part of the removal of the dependency on five.grok.\n    The following unused views were removed: ``AddCTWidget``, ``AddTileWidget``, ``SetWidgetMap``, ``UpdateWidget`` and ``RemoveTileWidget``.\n    All Compose tab helper views use now ``cmf.ModifyPortalContent`` permission.\n    All Layout tab helper views use now ``collective.cover.CanEditLayout`` permission.\n    The ``BaseGrid`` class is now located in the ``collective.cover.grids`` module.\n\n- Update Traditional Chinese translation.\n  [l34marr]\n\n- Remove dependency on five.grok (closes `#510`_).\n  [l34marr, rodfersou]\n\n- Use the `X-Robots-Tag` header to avoid indexing of image scales on default view;\n  this will reduce the number of 404 (Not Found) responses generated by crawlers visiting the site in search of volatile content.\n  [hvelarde]\n\n- Enforce usage of plone.api >= 1.4.11 to avoid `TypeError` while running upgrade step to profile 14.\n  [hvelarde]\n\n\n1.2b1 (2016-07-04)\n^^^^^^^^^^^^^^^^^^\n\n- A new calendar tile was added.\n  The tile dislays a calendar that highlights the events taking place on the current month,\n  the same way as the standard calendar portlet does.\n  [rodfersou]\n\n- Handle `AssertionError` on upgrade step to profile 13 to avoid failures when a cover object has duplicated tiles on it.\n  Now, an error message will be logged and the object will be skipped;\n  you must manually remove the duplicated tiles (closes #619).\n  [hvelarde]\n\n\n1.1b1 (2016-03-31)\n^^^^^^^^^^^^^^^^^^\n\n.. Warning::\n    This release removes some packages from the list of dependencies.\n    Be sure to read the whole changelog and apply the related changes to your buildout configuration while upgrading.\n    Also, note that we have reorganized the static resources contained here;\n    as some of them are not registered in Resource Registry tools, you could end with a broken layout if you don't clear your intermediate caches.\n\n- Enforce usage of plone.app.blocks 2.2.1 to avoid issues with tiles breaking the whole cover page.\n  [hvelarde]\n\n- Add option to select random items in collection tile (closes `#608`_).\n  [rodfersou]\n\n- Carousel tile now uses a relative ratio to set its height (fixes `#414`_).\n  [terapyon, hvelarde]\n\n- Remove hard dependency on plone.app.referenceablebehavior as Archetypes is no longer the default framework in Plone 5.\n  Under Plone < 5.0 you should now explicitly add it to the `eggs` part of your buildout configuration to avoid issues while upgrading.\n  [hvelarde]\n\n- Link integrity was refactored to work on all tiles and under Plone 5;\n  a hard dependency on Products.Archetypes was removed (fixes `#578`_).\n  [hvelarde, rodfersou]\n\n- Do not use the calendar tool to discover Event-like objects as it was removed on Plone 5.\n  Instead, try to guess if an object is an Event by using its catalog metadata.\n  [hvelarde]\n\n- Package is now also tested with plone.app.contenttypes installed;\n  a few bugs related with API incompatibilities among Archetypes and Dexterity were fixed.\n  [hvelarde]\n\n- Remove Grok dependency for vocabularies.\n  [l34marr]\n\n- You can now use a collection to populate a carousel tile;\n  search results without a lead image will be bypassed (fixes `#574`_).\n  [rodfersou]\n\n- Shows message to user if an exception is thrown in a tile in AJAX calls. (closes `#581`_).\n  [idgserpro]\n\n- Fix date format in collection tiles (closes `#584`_).\n  [tcurvelo]\n\n- RichText tile no longer breaks with plone.app.widgets installed (closes `#543`_).\n  [frapell, rodfersou]\n\n- Add missing dependency on collective.z3cform.datetimewidget.\n  [hvelarde]\n\n- Remove hard dependency on plone.app.stagingbehavior as that package is no longer needed in Plone 5.\n  Under Plone < 5.0 you should now explicitly add it to the `eggs` part of your buildout configuration to avoid issues while upgrading.\n  [hvelarde]\n\n- Implement drag and drop among tiles (closes `#487`_).\n  [rodfersou]\n\n- Clean up static files.\n  [rodfersou]\n\n\nPrevious entries can be found in the HISTORY.rst file.\n\n\n.. _`#396`: https://github.com/collective/collective.cover/issues/396\n.. _`#414`: https://github.com/collective/collective.cover/issues/414\n.. _`#487`: https://github.com/collective/collective.cover/issues/487\n.. _`#510`: https://github.com/collective/collective.cover/issues/510\n.. _`#532`: https://github.com/collective/collective.cover/issues/532\n.. _`#543`: https://github.com/collective/collective.cover/issues/543\n.. _`#574`: https://github.com/collective/collective.cover/issues/574\n.. _`#578`: https://github.com/collective/collective.cover/issues/578\n.. _`#581`: https://github.com/collective/collective.cover/issues/581\n.. _`#584`: https://github.com/collective/collective.cover/issues/584\n.. _`#608`: https://github.com/collective/collective.cover/issues/608\n.. _`#641`: https://github.com/collective/collective.cover/issues/641\n.. _`#651`: https://github.com/collective/collective.cover/issues/651\n.. _`#686`: https://github.com/collective/collective.cover/issues/686\n.. _`#710`: https://github.com/collective/collective.cover/issues/710\n.. _`#713`: https://github.com/collective/collective.cover/issues/713\n.. _`#721`: https://github.com/collective/collective.cover/issues/721\n.. _`#727`: https://github.com/collective/collective.cover/issues/727\n.. _`#745`: https://github.com/collective/collective.cover/issues/745\n\n\n",
    "bugtrack_url": null,
    "license": "GPLv2",
    "summary": "A sane, working, editor-friendly way of creating front pages and other composite pages. Working now, for mere mortals.",
    "version": "3.0.0",
    "split_keywords": [
        "plone",
        "cover",
        "javascript",
        "dexterity"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "97bed97193ab2766f144df02919dc4857948f5ccdb0b0be9acd2d3a8812f8a16",
                "md5": "107dd11aa2669c3c146525f57add5ba9",
                "sha256": "52036cef5ac193d0a389e1505bce6a55095b09453087d46244c388f4cb1075c1"
            },
            "downloads": -1,
            "filename": "collective.cover-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "107dd11aa2669c3c146525f57add5ba9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*",
            "size": 358504,
            "upload_time": "2023-03-29T21:01:39",
            "upload_time_iso_8601": "2023-03-29T21:01:39.483582Z",
            "url": "https://files.pythonhosted.org/packages/97/be/d97193ab2766f144df02919dc4857948f5ccdb0b0be9acd2d3a8812f8a16/collective.cover-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b3848dc62445d0f7285db99e421354f260cd7e731029596a2d414896a7894347",
                "md5": "126feea0f7f91a44b9174680193cae94",
                "sha256": "2f35e93929359c6e13b0d9f06047fe42dcb42cacc2c279cf8fa22cc673a47a95"
            },
            "downloads": -1,
            "filename": "collective.cover-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "126feea0f7f91a44b9174680193cae94",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*",
            "size": 1744597,
            "upload_time": "2023-03-29T21:01:45",
            "upload_time_iso_8601": "2023-03-29T21:01:45.456588Z",
            "url": "https://files.pythonhosted.org/packages/b3/84/8dc62445d0f7285db99e421354f260cd7e731029596a2d414896a7894347/collective.cover-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-29 21:01:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "collective",
    "github_project": "collective.cover",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "tox": true,
    "lcname": "collective.cover"
}
        
Elapsed time: 0.05806s