Commit Graph

395 Commits

Author SHA1 Message Date
smizrahi 4f7c73143f fix(calendar): Fix MacOS X Ventura calendar support. Fixes #5639 2023-08-22 18:11:53 +02:00
smizrahi 82178eeba9 fix(calendar): Fix NAME:NSInvalidArgumentException REASON:SOGoAppointmentFolder(instance) does not recognize davCalendarProxyReadFor 2023-08-09 14:44:35 +02:00
smizrahi 87bbba0c8d feat(calendar): Add CALDAV Mac OS X Sonoma (14) support 2023-07-31 09:19:15 +02:00
Hivert Quentin bd8b49d2c9 fix(calendar): Repeated events didn't use the correct timezone in some cases 2023-07-12 15:00:24 +02:00
smizrahi 8a8dcae029 fix(calendar): Add negative timestamp support to use date before 1970-01-01. Fixes #4914 (partial) 2023-06-21 15:51:18 +02:00
smizrahi 139ef15284 fix(calendar): Fix search issue on repeated events when one title is changed the event could not be found 2023-05-22 16:17:32 +02:00
smizrahi ef53f6c809 fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2023-02-01 09:25:39 +01:00
smizrahi ba0d4a51c0 fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2023-01-31 17:39:00 +01:00
smizrahi 7e357f1bc9 fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2023-01-26 17:12:08 +01:00
smizrahi a5347c70aa fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2023-01-17 16:32:53 +01:00
smizrahi 86805369a3 fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2023-01-03 15:24:30 +01:00
smizrahi a7f3daa33f fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2022-12-13 12:33:58 +01:00
smizrahi 6ee8f764e9 fix(calendar): Fix inaccessibility to personal calendar on Mac OS X Ventura. Fixes #5639 2022-12-13 11:08:43 +01:00
Janne Heß 20e4dced40 Fix OOM when having a lot of recurrence rules
We had a broken client that created calendar entries with a lot of
recurrence rule (all of them FREQ=WEEKLY) and a lot of alarms. This led
to SOGo going out of memory.

This patch works around that by filtering out duplicated rules as they
yield the same date ranges and we only need to have them once.
2022-10-18 13:42:13 +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 123964d079 style(calendar): untabify, indentation 2022-06-07 10:24:28 -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 96bb8b4cc2 fix(dav): render DAV exceptions as XML 2022-02-01 14:20:32 -05:00
Francis Lachapelle 7c81e3acec fix(core): only escape "%" with the SQL LIKE operator 2022-01-31 14:53:58 -05:00
Francis Lachapelle 8cec92ea87 fix(calendar): truncate long UIDs to avoid SQL insert error 2021-11-17 16:59:51 -05:00
Francis Lachapelle e43a721f77 fix(calendar): generate missing UID when importing calendar 2021-09-07 14:25:17 -04:00
Francis Lachapelle fef5003d92 style(obj-c): remove unused variable 2021-08-18 13:21:28 -04:00
Francis Lachapelle 5e1a59243c fix(calendar): uncondtionally adjust all-day events dates
Fixes #5045
2020-07-24 15:24:40 -04:00
Francis Lachapelle b8595d7ae6 fix(calendar): return SOGoUser instances when expanding LDAP groups
Fixes #5043
2020-07-01 16:58:16 -04:00
Ludovic Marcotte 2be7bab3ed fix(core): avoid fetching quick records for non-existant users 2020-06-30 13:22:17 -04:00
Ludovic Marcotte 105ca88aef fix(core): improve debugging on invalid group sources 2020-05-28 14:02:09 -04:00
Ludovic Marcotte 5b6096e32c fix(core): improve debbuging when dealing with groups 2020-05-26 09:25:25 -04:00
Francis Lachapelle a4c51a90bb Remove reference to SOGoGroup.h 2020-04-17 15:16:23 -04:00
Francis Lachapelle 6af0058657 fix(calendar): use the calendar owner when generating freebusy information 2020-04-03 12:18:16 -04:00
Extra Fu 62823815a7 Merge pull request #263 from jkanefendt/revise-group-expansion
Revision of the group member expansion interface
2020-04-02 09:52:21 -04:00
root 57bbb255cc fix(calendar): fallback to tz found in ics 2020-01-29 22:18:29 +01:00
Johannes Kanefendt 948c89f5bb - Respect the user domain when dealing with groups
- Renamed protocol MembershipAwareSource to SOGoMembershipSource
2019-12-04 10:37:08 +01:00
Francis Lachapelle 3bb40e4024 fix(calendar): adjust invalid dates when importing a vEvent
Fixes #4845
2019-11-27 17:00:28 -05:00
Johannes Kanefendt 278d4ab4cb Return NSDictionary contact entries from [MembershipAwareSource membersForGroupWithUID] instead of SOGoUser objects.
Optimization for user sources that are capable of fetching lists of group members at once, might save a lot of expensive SOGoUser lookups.
2019-11-26 22:20:28 +01:00
Johannes Kanefendt 2e98929900 Removed tight coupling of group membership expansion and LDAPSource.
Any implementation of SOGoSource may now support group expansion by implementing the protocol MembershipAwareSource.
2019-11-26 15:29:02 +01:00
Ludovic Marcotte e4ad088f0d (fix) avoid exceptions for RRULE with no DTSTART 2019-09-03 13:34:35 -04:00
Francis Lachapelle d8d3c88e98 Fix events search when targeting recurrent events 2019-08-19 16:47:37 -04:00
Francis Lachapelle 398ef4dcde Fix time conflict validation
Fixes #4539
2018-09-13 15:56:31 -04:00
Francis Lachapelle 7f99514744 Add support for events with recurrence dates 2017-12-15 16:18:39 -05:00
Francis Lachapelle 9d45d57cb2 Check range before adding single occurrences 2017-10-25 15:18:28 -04:00
Ludovic Marcotte c35e54e4fc (fix) use NSInteger instead, more clean 2017-08-14 14:26:28 -04:00
Ludovic Marcotte 66685d9f7f (fix) offset can be negative (fixes #4237) 2017-08-14 14:01:39 -04:00
Ludovic Marcotte 032b2fbbd4 (fix) can now invite to exceptions only (fixes #2561) 2017-07-19 11:05:16 -04:00
Francis Lachapelle af2507a689 Newly subscribed calendars are excluded from FB
Fixes #3354
2017-05-30 09:27:27 -04:00
Francis Lachapelle ef5728dcaf Properly honor "include in freebusy"
Fixes #3354
2017-04-27 09:38:07 -04:00
Ludovic Marcotte 588ec2b005 (fix) fixed handling of exdates and proper intersection for fbinfo (fixes #4051) 2017-03-03 14:13:25 -05:00
Francis Lachapelle 831c1bc980 Revert "(fix) properly honor "include in freebusy"
This reverts commit eed5679068.
2017-01-26 11:52:58 -05:00
Ludovic Marcotte 477c06a7ff (fix) fix events in floating time during CalDAV's PUT operation (fixes #2865) 2016-12-30 12:26:31 -05:00
Ludovic Marcotte eed5679068 (fix) properly honor "include in freebusy" (fixes #3354) 2016-12-23 11:36:44 -05:00
Ludovic Marcotte 457fccd5ac (fix) append .ics extension if not present when importing events (fixes #2308) 2016-12-21 11:43:08 -05:00