Commit Graph
47 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
Hadrien Blanc 82e49b5eab fix(mail): replace the previous signature when switching identity
setFromIdentity located the previous signature by embedding its HTML
in a regular expression. Metacharacters, plain text and CKEditor's
<br> serialization made the search miss, and the regex-too-large
fallback appended the new signature.

The delimiter is now matched with a fixed-size pattern. The signature
body is compared as text, from the end of the break that follows the
dash. A missed match is null. One missing blank line before the
delimiter is still recognized.

Fixes #6168
Fixes #6214
Fixes #5695
2026-11-13 16:54:27 +01:00
Hivert Quentin 17403a5a81 fix(tests): fix spec test v2 2026-11-11 20:32:58 +01:00
Hivert Quentin 0a57b95cfc fix(tests): fix spec test 2026-11-10 09:10:20 +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
Hivert Quentin 528d178256 chore(packaging): debian 12 2023-08-02 11:36:36 +02:00
Francis Lachapelle 95eecc402a fix(dav): return 405 when collection already exists
See https://datatracker.ietf.org/doc/html/rfc4918#section-9.3.1
2022-08-09 12:17:55 -04:00
Francis Lachapelle 5452cd7396 fix(calendar): filter by matching property values
Added test for calendar-query DAV request
2022-05-24 17:29:56 -04:00
Francis Lachapelle 5d2877cf0a test: add plus sign to timezone in Sieve script 2022-03-24 15:26:37 -04:00
Francis Lachapelle 896fe27c61 test: handle DST change in CalDAVSchedulingSpec.js 2022-03-11 10:28:44 -05:00
Francis Lachapelle 04ffc01768 test: temporary fix for CardDAVSpec.js 2022-03-01 17:48:29 -05:00
Francis Lachapelle d15e3b949f test: fix CardDAVSpec.js 2022-03-01 16:38:30 -05:00
Francis Lachapelle 7f31686bc5 test: fix CardDAVSpec.js 2022-03-01 07:52:53 -05:00
Francis Lachapelle 7faab9117a fix(addressbook(dav)): improve handling of addressbook-query 2022-02-28 17:07:39 -05:00
Francis Lachapelle e513a7242a test: fix DAVCalendarSuperUserAclTest 2022-01-24 08:29:59 -05:00
Francis Lachapelle bf36279e0e test: improve functions names related to sync-collection 2022-01-21 16:56:54 -05:00
Francis Lachapelle 2ecd441f32 feat(mail): enable autoreply on specific days or at a specific time
Fixes #5328
2021-12-02 14:20:47 -05:00
Francis Lachapelle e62dd42d2b test: simplify MailDAV test of mailboxes creation 2021-11-29 13:51:40 -05:00
Francis Lachapelle d70486f983 test: print response when MKCOL fails for a mailbox 2021-11-26 11:08:52 -05:00
Francis Lachapelle 71b67259c6 test: migration from Python to JavaScript 2021-11-16 21:51:13 -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 ae637c49d5 test: migration from Python to JavaScript 2021-11-10 02:27:09 -05:00
Francis Lachapelle 7474967c4f test: migration from Python to JavaScript 2021-11-10 01:54:35 -05:00
Francis Lachapelle 54dae3bc28 test: migration from Python to JavaScript 2021-11-09 22:38:50 -05:00
Francis Lachapelle 8d294467ef test: migration from Python to JavaScript 2021-11-09 22:35:05 -05:00
Francis Lachapelle c860bf4f58 test: migration from Python to JavaScript 2021-11-09 21:56:11 -05:00
Francis Lachapelle d7fde6d2bb test: migration from Python to JavaScript 2021-11-09 17:13:18 -05:00
Francis Lachapelle 620d8a0a2a test: migration from Python to JavaScript 2021-11-09 13:35:50 -05:00
Francis Lachapelle 78d0410400 test: migration from Python to JavaScript 2021-11-09 12:56:47 -05:00
Francis Lachapelle 5afb659dc0 test: migration from Python to JavaScript 2021-11-09 11:13:23 -05:00
Francis Lachapelle 2f739fdc21 test: migration from Python to JavaScript 2021-11-08 16:49:23 -05:00
Francis Lachapelle d43b28ca73 test: migration from Python to JavaScript 2021-11-05 16:47:31 -04:00
Francis Lachapelle 262400a92e test: migration from Python to JavaScript 2021-11-04 16:43:35 -04:00
Francis Lachapelle d6c3c4b1a3 test: migration from Python to JavaScript 2021-11-01 16:46:48 -04:00
Francis Lachapelle fa68c864f1 test: migration from Python to JavaScript 2021-10-12 16:24:47 -04: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 6ae787c4a4 test: migration from Python to JavaScript 2021-09-01 11:09:16 -04:00
Francis Lachapelle 5622eda04b test: migration from Python to JavaScript 2021-08-26 17:33:50 -04:00
Francis Lachapelle 05ad7a8d6d test: migration from Python to JavaScript 2021-08-20 17:36:05 -04:00
Francis Lachapelle 96aa444051 test: migration from Python to JavaScript 2021-08-20 15:15:46 -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