Lightning Offline Sync: Difference between revisions
No edit summary |
No edit summary |
||
| Line 171: | Line 171: | ||
<br> | <br> | ||
== Workflows == | |||
=== Offline operations === | |||
=== Reconciliation === | |||
== Efficient model for state updates during offline operations == | == Efficient model for state updates during offline operations == | ||
Revision as of 13:10, 8 June 2011
This page is for tracking the Lightning Offline Sync Feature to be completed as part of the Google Summer of Code 2011 programme.
TODOs
|
Item Name |
Priority |
Owner |
Deadline |
Progress |
Comments |
|---|---|---|---|---|---|
|
Adapt schema initialization and versioning code (calCalendarManager) |
mohit |
Create "offline journal" columns | |||
|
Add search flags "ITEM_FILTER_OFFLINE_DELETED", "ITEM_FILTER_OFFLINE_CREATED" and "ITEM_FILTER_OFFLINE_UPDATED" |
wolfgang |
done | |||
|
|
wolfgang |
cancelled | Not needed since ALL_ITEMS = 0xffff and our flags are = [29..31] | ||
|
Adapt getItems in calStorageCalendar with the above |
mohit |
||||
|
Adapt mSelectNonRecurringEventsByRange and this.mSelectNonRecurringTodosByRange queries |
mohit |
||||
|
Write offline write method (calStorageCalendar::addOfflineItem) |
To be discussed | ||||
|
Write offline delete method (calStorageCalendar::deleteOfflineItem) |
mohit | ||||
|
Write offline update method (calStorageCalendar::updateOfflineItem) |
|
||||
|
Test the above |
wolfgang/mohit | Testing steps should be discussed | |||
|
Write replay method |
|
||||
|
Write "switch code" in calCachedCalendar |
switch code = offline to online mode and back | ||||
|
test the above |
wolfgang/mohit |
Testing steps shud be discussed | |||
|
Adapt code from Lightning 1.0b2 to HEAD |
mohit |
Workflows
Offline operations
Reconciliation
Efficient model for state updates during offline operations
| From/To | Created | Modified | Deleted |
|---|---|---|---|
| (without state) | Mark as "created" | Mark as "modified" | Mark as "deleted" |
| Created | (none) | Keep as "created" | Delete record |
| Modified | (none) | Keep as "modified" | Mark as deleted |
| Deleted | (none) | (none) | (none) |