Plone.app.event

Latest version: v5.1.2

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

Scan your dependencies

Page 7 of 15

3.0

----------------

Breaking changes:

.. note::
This release depends on ``plone.app.z3cform >= 2.0.1``, which is only available for Plone 5.1.
This is a backwards incompatible change, which satisfy a major version change for plone.app.event.
Consequently, Plone 4 compatibility code will be removed in this release.

New features:

- Use ``schema.URI`` instead of ``schema.TextLine`` for ``event_url`` field.
[thet]

- Make JavaScript date/time update work with optional start/end dates.
[thet]

- Make use of more generic selectors in JavaScript, so that JavaScript works also for derived classes.
[thet]

- Configure custom css classes for all event behavior fields.
This makes it easier to use same selectors also for derived behaviors.
Needs ``plone.app.z3cform >= 2.0.1``.
[thet]

- Use ``plone.autoform.directives`` for manipulating field widgets instead of overriding the default Fieldwidget adapters.
[thet]

Bug fixes:

- Fixed possible cross site scripting (XSS) attack in location field. [maurits]

- Remove Archetypes based JavaScript code.
[thet]

- Don't validate the ``validate_start_end`` invariant, if start or end are ``None``.
This can happen on non-required, default empty start or end fields during editing.
[thet]

2.0.9

------------------

New features:

- Changed the color of the navigation in the calendar widget to grey(from blue) using inherit.
see https://github.com/plone/Products.CMFPlone/issues/1445
[janga1997]

2.0.8

------------------

New:

- Added short-names for behaviors.
[jensens]

Fixes:

- Don't break ``base.dates_for_display`` and the ``formatted_date`` content provider, if event object has no start or end dates.
It might come from a potential event.
[thet]

2.0.7

------------------

New:

- Translation locales of plone.app.event to Russian [serge73]

Fixes:

- When trying to access an occurrence in the future outside the range of indexed occurrences, do not raise ``StopIteration``.
Instead fall back to raise ``AttributeError``.
[frapell]

- Ensure that unittests reset the timezone information
[do3cc]

2.0.6

------------------

Fixes:

- Change the behaviors text getter to use ``output_relative_to`` with the
current context. This correctly transforms relative links. See:
https://github.com/plone/plone.app.textfield/pull/17
[thet]

2.0.5

------------------

New:

- Show thumbs when leadimage behavior enabled for eventtype:
see https://github.com/plone/Products.CMFPlone/issues/1226
[fgrcon]

Fixes:

- Cleanup tasks: Only install the plone.app.widgets profile for Plone 4.3.
Remove the unnecessary ``plone50`` setup.py extra section. Fix
plone.app.event to also work with plone.app.z3cform versions below < 1.0.
[thet]

- Cleanup buildout: Remove sources.cfg, versions.cfg, test.cfg, test-43.cfg and
test.cfg. Since this package is merged, it doesn't make much sense to
maintain separate version and sources files to extend from. Tests and
development environment is built in the buildout.cfg and buildout-43.cfg
files. Remove bootstrap.py - use ``virtualenv .; ./bin/pip install
zc.buildout`` instead.
[thet]

- In tests, use ``selection.any`` in querystrings.
Issue https://github.com/plone/Products.CMFPlone/issues/1040
[maurits]

Page 7 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.