Portlet assignment fix. Now both - calendar and event portlet - are
Add the calendar portlet by default when installing plone.app.event.
Backport changes from "merge plip-10888-kss branch" in plone.app.portlets.
KSS attributes still left in place for backwards compatibility.
Buildout infrastructure update.
Icalendar export of attendees almost according to the RFC5545 standard. At
the moment, we do not distinguish between CN and CAL-ADDRESS in Plone, so we
just put the attendee value to the CN and CAL-ADDRESS parameter. Fixes #24.
Support microseconds for DateTime conversions. For recurrence rules,
timezones are not supported due to a python-datetime limitation.
Don't allow ambiguous timezones like 'CET', which also have implementation
errors in DateTime. Force them to another zone. Timezones should be set
Let EventOccurrenceAccessor return its own URL instead of its parent.
Once again fixes #58.
Fix calendar portlet header, which day names were shifted by one day since a
incompatibility between the calendar module (0 is Monday) and the strftime
function (0 is Sunday).
Create an formated_date content provider, which takes an occurrence or event
object when called and formats the start/end date and times for display. This
content provider can be overridden for other contexts. E.g. the events
portlet uses just shows the start date and not the end date.
Let IRecurrenceSupport adapter's occurrences method return as first
occurrence the event object itself instead of an Occurrence object.
Include plone.event's new configure.zcml.
For the ATEvent type, use a more specific IATEvent interface with IEvent and
P.ATCT's IATEvent as bases. So we can provide adapters, overriding more
general IEvent adapting adapters.
Don't show start occurrence in "More occurrences" section in event_view.
Create adapter ICalendarLinkbase which returns links to calendar views and
can be overridden through a more specific implementation by addon products.
For example, the portlet_calendar and portlet_events links to the @@search
view can be changed to URLs to a real calendar view, if one is installed.
For portlet_calendar and portlet_events configuration, make the workflow
state selection optional. If nothing is selected, all states are searched.
Add search_base (select path to search for events) and state (select review
state for events to search) to portlet_calendar settings and search_base to
Limit the amount of occurrences in the event view if the event yields
more than 7 occurrences. Show only 6 occurrences and the last
More minor fixes.
Don't force DateTime conversion in query parameters of get_portal_events.
The catalog index uses Python's datetime anyways.
Only set end date in _prepare_range to next day, if it's a date and not
Register the Archetypes postprocessing event subscribers also for
Fix #51, logical error with range_end parameter in get_portal_events.
Fix test startup by not depending on getSite().translate, which is a
Backport changes from davilima: Add safety check for False all_events_links.
Make get_occurrences_by_date work for events which do not have
IRecurrenceSupport (e.g. Dexterity events without the recurrence behavior).
Don't run event handlers for ATEvent, if it doesn't provide IEvent.
Fix utf-8 encoding problem with icalendar export.
Unregister ics_view for ATFolder and ATBTreeFolder as well in
Rebind portlet_calendar tooltips after ajax calendar reloads.
Allow the refreshCalendar kss view also on Occurrence objects.
Let portlet_events link to @@search for future and previous events for sites
without the standard events folder.
Moved docs/HISTORY.rst to CHANGES.txt.
Calendar portlet search links now use @@search (from plone.app.search)
instead of (since Plone 4.2) deprecated ./search (search.pt). Requires
recent plone.app.search changes.
Integrate the plone.app.event-ploneintegration functionality for Plone
versions without plone.app.event core integration (all current version)
into this package for simplification.
IEventSummary behavior added for body text on Dexterity event type,
as well as a SearchableText indexer adapter for the Dexterity event
Filter calendar portlet search URLs for each day to a whitelist of
event portal_type values. Prevents non-event add-on types with
start/end fields from showing up in calendar, as defense against
unintended consequences (add-ons could explicitly override this
template if they define additional Event types).
* Move all generic interfaces to plone.event,
* Extend IEventAccessor adapters to also be able to set attributes.
Copy plonetheme.sunburst styles for the calendar portlet to event.css. This
way, the calendar portlet is nicely styled, even without sunburst theme
For Dexterity behaviors, use IEventRecurrence adapter to store attributes
directly on the context. This fixes that recurrence occurrences start and
end dates were not indexed, because the DateRecurringIndex had not access to
the recurrence attribute.
IRecurrence adapter returns now acquisition-wrapped occurrence
Event portlet is now showing occurrences, sorted by start date.
Moved whole_day field in directly after the end date to get a more logical
Added dedicated timezone validator with fallback zone.
Added traverser for occurrences. The event view is used to show
Broken paging in the calendar portlet has been fixed (#11).
Make the start DateTime timezone aware and fix an issue where the start date
was after the end date. Fixes: #8.
Add portlet GenericSetup registration for calendar and event portlet.
API CHANGE: Use zope.annotation for behaviors, remove unnecessary factories,
create IRecurrence adapter for access to occurrences.