Commit Graph

389 Commits

Author SHA1 Message Date
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
Ludovic Marcotte
340ddf0ae6 (fix) make sure we safely escape all chars 2016-12-09 10:45:44 -05:00
Francis Lachapelle
c3376a4ddf Fix some compilation warnings 2016-11-28 10:14:23 -05:00
Ludovic Marcotte
78045b14be (feat) first pass at support for recurring events/tasks email alarms (fixes #1053) 2016-11-02 18:16:45 -04:00
Francis Lachapelle
1ee7693432 Fix support for recurrent tasks (cont'd)
Fixes #3864
2016-11-01 14:52:18 -04:00
Francis Lachapelle
4d0dcc4978 Fix support for recurrent tasks 2016-10-24 16:31:59 -04:00
Francis Lachapelle
292432df12 Don't remove the "c_component" condition in search
This will fix a bug when we'll support recurrent tasks!
2016-10-07 12:19:19 -04:00