Lightning Offline Sync: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
{| border="1" cellpadding="1" cellspacing="1"
{| border="1" cellpadding="1" cellspacing="1"
|-
|-
| '''Item Name'''  
|  
| '''Priority'''  
'''Item Name'''
| '''Owner'''  
 
| '''Deadline'''  
|  
| '''Progress'''  
'''Priority'''
| '''Comments'''
 
|  
'''Owner'''
 
|  
'''Deadline'''
 
|  
'''Progress'''
 
|  
'''Comments'''
 
|-
|-
| Adapt schema initialization and versioning code (calCalendarManager)
|  
|  
| mohit  
Adapt schema initialization and versioning code (calCalendarManager)
 
|  
|
mohit
 
|
|  
|  
|  
|  
| Create "offline journal" table
Create "offline journal" table
 
|-
|-
| Add search flags "ITEM_FILTER_OFFLINE_DELETED"
|  
|  
| wolfgang  
Add search flags "ITEM_FILTER_OFFLINE_DELETED"
 
|  
|
wolfgang
 
|  
|  
|  
|  
|  
|  
|-
|-
| Check whether "ITEM_FILTER_ALL_ITEMS" is used in the views, if so, we need to create "ITEM_FILTER_ALL_ONLINE_ITEMS" ("ITEM_FILTER_ALL_ITEMS" & ~ITEM_FILTER_OFFLINE_DELETED)
|  
|  
| wolfgang  
Check whether "ITEM_FILTER_ALL_ITEMS" is used in the views, if so, we need to create "ITEM_FILTER_ALL_ONLINE_ITEMS" ("ITEM_FILTER_ALL_ITEMS" & ~ITEM_FILTER_OFFLINE_DELETED)
 
|  
|
wolfgang
 
|  
|  
|  
|  
|  
|  
|-
|-
| Adapt getItems in calStorageCalendar with the above and the GUI code if required
|  
|  
| mohit  
Adapt getItems in calStorageCalendar with the above and the GUI code if required
 
|  
|
mohit
 
|  
|  
|  
|  
|  
|  
|-
|-
| Adepte mSelectNonRecurringEventsByRange and this.mSelectNonRecurringTodosByRange queries
|  
|  
| mohit  
Adepte mSelectNonRecurringEventsByRange and this.mSelectNonRecurringTodosByRange queries
 
|  
|
mohit
 
|  
|  
|  
|  
|  
|  
|-
|-
| Write offline write method (calCachedCalendar, calStorageCalendar)
|  
|  
Write offline write method (calCachedCalendar, calStorageCalendar)
|  
|  
|  
|  
|  
|  
| To be discussed
|  
|
To be discussed
 
|-
|-
| Write offline delete method  
|  
Write offline delete method
 
|  
|  
|  
|  
Line 61: Line 101:
|  
|  
|-
|-
| Write offline update method
|  
|  
| mohit  
Write offline update method
 
|  
|
mohit
 
|  
|  
|  
|  
|  
|  
|-
|-
| Test the above  
|  
Test the above
 
|  
|  
|  
|  
Line 75: Line 121:
|  
|  
|-
|-
| Write replay method
|  
|  
| wolfgang/mohit  
Write replay method
 
|  
|
wolfgang/mohit
 
|
|  
|  
|  
|  
| testing steps should be discussed
testing steps should be discussed
 
|-
|-
| Write "switch code" in calCachedCalendar  
|  
Write "switch code" in calCachedCalendar
 
|
|  
|  
|  
|  
|  
|  
|  
|  
| switch code = offline to online mode and back<br>
switch code = offline to online mode and back
 
|-
|-
| test the above
|  
|  
| wolfgang/mohit  
test the above
 
|  
|
wolfgang/mohit
 
|
|  
|  
|  
|  
| Testing steps shud be discussed
Testing steps shud be discussed
 
|-
|-
| Adapt code from Lightning 1.0b2 to HEAD
|  
|  
| mohit  
Adapt code from Lightning 1.0b2 to HEAD
 
|  
|
mohit
 
|  
|  
|  
|  
|  
|  
|}
|}
<br>

Revision as of 19:14, 7 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" table

Add search flags "ITEM_FILTER_OFFLINE_DELETED"

wolfgang

Check whether "ITEM_FILTER_ALL_ITEMS" is used in the views, if so, we need to create "ITEM_FILTER_ALL_ONLINE_ITEMS" ("ITEM_FILTER_ALL_ITEMS" & ~ITEM_FILTER_OFFLINE_DELETED)

wolfgang

Adapt getItems in calStorageCalendar with the above and the GUI code if required

mohit

Adepte mSelectNonRecurringEventsByRange and this.mSelectNonRecurringTodosByRange queries

mohit

Write offline write method (calCachedCalendar, calStorageCalendar)

To be discussed

Write offline delete method

Write offline update method

mohit

Test the above

Write replay method

wolfgang/mohit

testing steps should be discussed

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