Commit Graph

410 Commits

Author SHA1 Message Date
Hivert Quentin a1e8a5c4af Revert "fix(calendar): Flatten cycle change: the day at 00:00 is now used to retrieve all occurrences. This change should resolve the issue where resource availability is not detected if the event is shorter than the occurrence duration in the resource."
This reverts commit 9941e2a04b.
2025-02-17 16:49:42 +01:00
smizrahi 9941e2a04b fix(calendar): Flatten cycle change: the day at 00:00 is now used to retrieve all occurrences. This change should resolve the issue where resource availability is not detected if the event is shorter than the occurrence duration in the resource. 2025-01-07 18:39:02 +01:00
smizrahi c05b331ac0 fix(calendar): Fix SOGoDAVCalendarStartTimeLimit parameter. Events are retrieved when initial sync is done. 2024-12-17 16:35:52 +01:00
smizrahi 581b2c1912 Revert "Revert "fix(calendar): Fix issue where EXDATE removes modified occurence. The behavior is now identical to G Agenda. This fix may reduce the 'missing exception error'.""
This reverts commit ec20ea1b45d35f9d63066baf324fa6726b4e910e.
2024-11-12 16:21:12 +01:00
smizrahi 9a9d968756 Revert "fix(calendar): Fix issue where EXDATE removes modified occurence. The behavior is now identical to G Agenda. This fix may reduce the 'missing exception error'."
This reverts commit 5bab72726a.
2024-11-12 16:21:12 +01:00
smizrahi 5bab72726a fix(calendar): Fix issue where EXDATE removes modified occurence. The behavior is now identical to G Agenda. This fix may reduce the 'missing exception error'. 2024-11-06 09:15:12 +01:00
smizrahi 45fd999010 fix(calendar): Memory optimization on _appendCycleException 2024-05-28 11:22:46 +02:00
smizrahi d9ee884459 fix(calendar): Fix assertion when is_cycle is set but without c_cycleinfo. Fixes #5950. 2024-04-10 15:47:17 +02:00
smizrahi 49e9988b82 fix(calendar): Fix assertion when is_cycle is set but without c_cycleinfo. Fix tests. 2024-04-09 08:59:09 +02:00
smizrahi d4046673ee fix(calendar): Fix assertion when is_cycle is set but without c_cycleinfo 2024-04-08 13:57:07 +02:00
Hivert Quentin adf1117046 fix(event): resource was considered busy for an event he has delegated 2024-03-13 14:42:12 +01:00
smizrahi 5215aa4f41 fix(calendar): Fix NSData returns instead of NSString on c_cycleinfo depending on database issue. CLoses #5940. 2024-03-12 09:45:23 +01:00
smizrahi 3acab3f896 fix(calendar): Fix high memory usage when importing an ics 2024-02-14 11:08:32 +01:00
Hivert Quentin 889fe1eb39 Revert "fix(memory): reduce memory usage when working with events with a lot of alarms defined in the ics file"
This reverts commit ff3c3054a6.
2024-02-13 17:39:41 +01:00
Hivert Quentin ff3c3054a6 fix(memory): reduce memory usage when working with events with a lot of alarms defined in the ics file 2024-02-05 18:01:44 +01:00
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