You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b07cc15
Browse filesBrowse the repository at this point in the historyBrowse files
``ical_to_jscal`` no longer emits a ``sendTo`` property on participants, and now emits ``calendarAddress`` instead. Cyrus rejects any participant with ``sendTo`` present, on both create and update, and separately requires ``calendarAddress``, which is not one of RFC 8984's own Participant properties. Stalwart accepts either shape. Any event with ATTENDEE or ORGANIZER previously failed outright against Cyrus.
``ical_to_jscal`` and ``jscal_to_ical`` now use ``recurrenceRule``/``excludedRecurrenceRule`` (singular) instead of RFC 8984's actual ``recurrenceRules``/``excludedRecurrenceRules`` (an array). Neither Cyrus nor Stalwart accept the array shape; both use the older singular property on create, update, and read. Any recurring event previously failed outright against both servers. Only the first RRULE/EXRULE is kept when a VEVENT has more than one, a rare case in practice.
``ical_to_jscal`` no longer writes a non-mailto ORGANIZER/ATTENDEE URI (e.g. ``sip:alice@example.com``) into the Participant ``email`` property, which RFC 8984 defines as an RFC 5322 addr-spec, not an arbitrary URI. Such a participant now has ``calendarAddress`` only, no ``email``, and accepting/declining an invitation for it works correctly via a ``calendarAddress`` match. ``jscal_to_ical`` no longer double-wraps a non-mailto ``calendarAddress`` in a spurious ``mailto:`` prefix on the way back to iCalendar. ``_find_participant_id_by_email`` no longer crashes with an ``AttributeError`` when a participant has an explicitly null ``calendarAddress``.
Added scheduling: ``accept_invitation``, ``decline_invitation``, ``tentatively_accept``, and ``send_invite`` on both ``JMAPClient`` and ``AsyncJMAPClient``. The three response methods take the event id and your own email address, find the matching participant on the live event, and patch just that participant's ``participationStatus``. ``send_invite`` is ``create_event`` with the server told to actually dispatch invitations. ``build_event_set_create``/``build_event_set_update``/``build_event_set_destroy`` gained a ``send_scheduling_messages`` argument for this; ``delete_event`` also gained it, so cancelling an event can send participants an iTIP CANCEL. ``get_event`` gained the same ``account_id`` parameter the other event methods already had, since responding to an invitation on a shared calendar needs it.
0 commit comments