Commit Graph
12 Commits
Author SHA1 Message Date
Héctor Luaces 0f937186ae fix(calendar): check all changes before sending any
When one save changes several occurrences, each change is sent to the
attendees in turn. If a later change was refused, for example because a
resource was already booked, the earlier changes had already reached the
attendees while the organizer's calendar was left unchanged.

Run the booking and availability checks for all changes first, and send
nothing if one of them fails. A save with a single change skips this step,
because the normal check already covers it.
2026-11-20 09:35:53 +01:00
Héctor Luaces 5c6a8fc8ee fix(calendar): send every organizer change to the attendees
When an organizer saves a recurring event from a CalDAV client and the save
changes several occurrences, SOGo sends only one of those changes to the
attendees. The other changes are stored in the organizer's calendar, but
the attendees never receive them and no error is reported. Which change is
sent depends on the order of the occurrences in the request.

Send every change instead: first the removed occurrences, then the added or
changed occurrences, and last the main event if it changed. The main event
goes last because attendees then receive the whole series, which must
already include the updated occurrences.

The checks on the organizer and on delegated senders are unchanged.

Reported to Alinto support as ticket 6099.
2026-11-20 09:35:53 +01:00
smizrahi 64f17880c7 fix(tests): Add timeout on all async tests 2024-09-26 21:02:50 +02:00
smizrahi 1c93796ae1 test(timeout): Change some timeouts fo tests 2023-08-17 11:27:04 +02:00
Francis Lachapelle 896fe27c61 test: handle DST change in CalDAVSchedulingSpec.js 2022-03-11 10:28:44 -05:00
Francis Lachapelle a3e21cbf9d test: migration from Python to JavaScript 2021-11-16 17:14:36 -05:00
Francis Lachapelle 8eb255ad61 test: migration from Python to JavaScript 2021-11-16 15:23:55 -05:00
Francis Lachapelle 92820db3bb test: migration from Python to JavaScript 2021-11-10 06:31:25 -05:00
Francis Lachapelle 2b101a87b8 test: migration from Python to JavaScript 2021-10-04 13:47:02 -04:00
Francis Lachapelle 2feee5f3a2 test: migration from Python to JavaScript 2021-09-02 10:29:27 -04:00
Francis Lachapelle 595b93eafc test: migration from Python to JavaScript 2021-08-19 15:37:49 -04:00
Francis Lachapelle 54dff23682 test: migration from Python to JavaScript 2021-07-16 14:42:15 -04:00