Re: [sup-devel] Gmail source sync back.

2013-08-22 Thread Gaute Hope
On 03. juli 2013 11:44, Horacio Sanson wrote: Hi, You should use the :update flag like the maildir-sync branch does for messages that have changed, that way it is easier to determine whether the UpdateManager should emit a signal (even if the message already exists). Cheers, Gaute _

Re: [sup-devel] Gmail source sync back.

2013-08-02 Thread Gaute Hope
On 03. juli 2013 11:44, Horacio Sanson wrote: > I finally got the sync back feature of the Gmail source working. The sync > code uses the offlineimap sync algorithm the Matthieu mentioned some emails > ago. > Testing and feedback is greatly appreciated. Further testing; if I check a message to

Re: [sup-devel] Gmail source sync back.

2013-08-02 Thread Gaute Hope
On 03. juli 2013 11:44, Horacio Sanson wrote: > - Sync back iterates over all messages in the Gmail account checking for > differences between message labels. This can take a long time and may not > finish before the next polling starts. How to do this efficiently? By the way, with the source poll

Re: [sup-devel] Gmail source sync back.

2013-08-02 Thread Gaute Hope
On 03. juli 2013 11:44, Horacio Sanson wrote: > - How to refresh the index after polling finishes? When new labels are > synced from Gmail to Sup the index is not updated with the new labels until > I reload sup or press "@" to refresh the index. Is there a callback to > refresh the index when the

Re: [sup-devel] Gmail source sync back.

2013-07-04 Thread Matthieu Rakotojaona
Hello, Excerpts from Horacio Sanson's message of 2013-07-03 11:44:49 +0200: > I finally got the sync back feature of the Gmail source working. Awesome, thank you! I've been using your gmail source branch with success for a while now. There are still a few quirks with the Inbox tag, but overall I