Lightning Offline Sync: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 292: Line 292:
# CalDAV provider does not handle offline mode at all due to the fact that it performs the same DAV checks every time it's instantiated
# CalDAV provider does not handle offline mode at all due to the fact that it performs the same DAV checks every time it's instantiated
## Calendar properties (organizerCN, organizerCN, imip.identity + CalDAV capabilities + items metadata) should be stored in the cache for offline use + most of those attributes should never be queried anymore
## Calendar properties (organizerCN, organizerCN, imip.identity + CalDAV capabilities + items metadata) should be stored in the cache for offline use + most of those attributes should never be queried anymore
## certain checks should be only performed in a separate method that should be executed when the calendar is created from the calendar creation dialog
## the calDavCalendar does not know its storage counterpart when calICalendar operations are first invoked, this should preferably be done right after instantiation, especially since "cache mode" will become the sole available mode, sooner or later
## the calDavCalendar does not know its storage counterpart when calICalendar operations are first invoked, this should preferably be done right after instantiation, especially since "cache mode" will become the sole available mode, sooner or later
# we should probably merge calIOfflineStorage with calISyncWriteCalendar into a single interface as those are actually part of the same functionality (and choose the former name since it's more significant)
# we should probably merge calIOfflineStorage with calISyncWriteCalendar into a single interface as those are actually part of the same functionality (and choose the former name since it's more significant)
# any calendars that are not available due to network errors should automatically be put in offline mode and enable further operations
# any calendars that are not available due to network errors should automatically be put in offline mode and enable further operations
26

edits