Prefetch mail in background according to age of message: Closes #6365

This introduces a background account synchronizer into Geary that
prefetches email folder-by-folder to a user-configurable epoch.  The
current default is 15 days.

Additional work to make this user-visible is coming, in particular with

The primary purpose for this feature is to allow "full" conversations
(#4293), which needs more of the mailbox stored locally to do searching.
This commit is contained in:
Jim Nelson 2013-02-25 20:18:37 -08:00
parent 0a453796bc
commit f54f805501
37 changed files with 1172 additions and 331 deletions

9
sql/version-007.sql Normal file
View file

@ -0,0 +1,9 @@
--
-- Gmail has a serious bug: its STATUS command returns a message count that includes chat messages,
-- but the SELECT/EXAMINE result codes do not. That means its difficult to confirm changes to a
-- mailbox without SELECTing it each pass. This schema modification allows for Geary to store both
-- the SELECT/EXAMINE count and STATUS count in the database for comparison.
--
ALTER TABLE FolderTable ADD COLUMN last_seen_status_total;