Collective.cover

Latest version: v3.0.0

Safety actively analyzes 688345 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 6

1.4b1

^^^^^^^^^^^^^^^^^^

- 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

^^^^^^^^^^^^^^^^^^

.. 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

^^^^^^^^^^^^^^^^^^

- 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

^^^^^^^^^^^^^^^^^^

.. 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


History
-------

1.0a12

^^^^^^^^^^^^^^^^^^^

- Tiles that display an image now show their description (or title) in the ``alt`` attribute (closes `559`_).
[rodfersou, hvelarde]

- The ``image`` macro previously included on ``tile_macros.pt`` was removed as it is not used anywhere.
[rodfersou]

- Show more information using title tooltip in content search, to ensure listed content is unambiguous.
[cguardia, alecm]

- Generate tile ids client-side to fix an issue causing duplicated ids on tiles when using IE browsers or proxy caches (fixes `526`_).
[frapell, rodfersou]

- Add new feature to make content of new tiles searchable;
now, besides the RichText tile, Basic and Embed tiles are searchable by default.
Developer documentation was also updated with a new section explaining how to accomplish this.
[lewicki]

- Use "application/javascript" media type instead of the obsolete "text/javascript".
[hvelarde]

- Make package compatible with jQuery 1.9.
[naro]

- Fix issue where page composition layer had side-effects outside cover pages by upgrading plone.app.blocks to 2.2 (fixes `331`_).
[datakurre]

- When fetching image from content object, fetch the tile scale to ensure we get a correct crop from plone.app.imagecropping and don't waste space storing a full sized image.
[alecm]

- Add Cache-Control headers to the configure-tile and edit-tile views to prevent Internet Explorer from caching the XHR GET requests for these views.
What would happen is that you would see the previious (old) field info if you configured or edited a tile, saved and re-opened the same dialog in IE.
[fredvd]

- Fix textlinessortable widget for IE11 where IE11 mangles multiform POST data. This fixes removing items from the Caroussel compose widget in IE11.
[fredvd]

- Create format options for datetime widget (closes `534`_).
[rodfersou]

- Add new permission to restrict code inclussion on the Embed tile;
now, by default, only Managers and Site Administrators are able to insert code in the tile.
The provided upgrade step also fixes the roles assigned to the collective.cover.Setup permission that was broken on the previous release.
(closes `297`_).
[hvelarde]

- Add warning to the developer docs that existing custom grid systems have to be upgraded after release 1.0a11 because of internal data structure changes, otherwise your cover columns will be seem to reset to width "1" (closes `530`_).
[fredvd]

1.0a11

^^^^^^^^^^^^^^^^^^^

- Emit the layout identifier in the body class (closes `216`_).
[hvelarde, djowett]

- Add custom classes for row and columns (closes `504`_).
[rodfersou, djowett]

- Fix the carousel compose edit widget when items have been added that are now expired.
List the items with a red border and a warning text.
This only fixes listing expired content for non-managers (like using having the Editor rol) in compose mode, it doesn't change visibility of items when viewing.
[fredvd]

- Do not purge fields in registry.xml to avoid overwriting information at reinstall time (fixes `465`_).
[hvelarde]

- Add upgrade step to remove orphan annotations left behind.
The bug was fixed in release 1.0a10 but no upgrade step was provided to clean up the objects.
[ericof, hvelarde]

- Ship with support for more than one grid system.
Besides 16-column Deco grid, we now include support for 12-column Bootstrap 2 and Bootstrap 3 grids.
Check developers documentation for more information on how to use them.
[rodfersou]

- Fix performance issues in the content chooser.
Searches only start after the third character and will be delayed by 500ms to wait for the user to stop typing.
Avoid including types not defined as "searchable" in the configlet.
The scope of the search was also changed: instead of searching on SearchableText index (full text), we search on Title index only (fixes `493`_ and `494`_).
[rodfersou]

- Fix the indexing of RichText tiles by manually transform the text/html to text/plain.
[puittenbroek]

- Don't ignore dropped objects on carousel tiles if the image is added to the object using a Dexterity behavior (fixes `473`_).
[fredvd]

- Fix to check if custom attributes were changed from default value (closes `476`_).
[rodfersou]

- Allow new empty carousel tiles to be edited in compose mode (fixes `472`_).
[fredvd]

- Add warning in the developer docs that switching the default grid system also means you should pay extra attention to the preset/saved cover layouts as these can contain invalid grid sizes.
[fredvd]

- Add upgrade step for reverting tiles already migrated to PersistentMapping in 1.0a10
[frapell]

- Extend upgrade step to update the structure of all tiles inheriting from the list tile (fixes `466`_).
Fix upgrade step to use a dict instead of a PersistentMapping.
[hvelarde]

- Fix to show dates for results in collection tile (fixes `463`_).
[kcleong]

- Allow to choose a custom title and description on items in a carousel tile (closes `459`_).
[rodfersou]

- Stop collective.cover breaking Products.TinyMCE's hyperlink upload button (closes `450`_).
[djowett]

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.