docker-offlineimap/offlineimap/repository
Nicolas Sebrecht 1410a391bc avoid removing of data when user removed a maildir
When a maildir is removed it must be considered new for the sync. However, the
local cache of the folder remains. This means the sync of the folder removes all
the missing emails.

Avoid loosing of data for users not aware of the local cache by removing any
pre-existing status cache of a folder when we actually want to create the
database.

Improve style.

Github-fix: https://github.com/OfflineIMAP/offlineimap/issues/333
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-06-26 17:00:23 +02:00
..
__init__.py py3: raise exceptions using six module 2016-05-18 01:49:09 +02:00
Base.py avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
Gmail.py do use the XOAUTH2 url if configured 2015-10-12 07:51:05 +02:00
GmailMaildir.py repository: GmailMaildir: fix copyright 2015-01-14 18:01:05 +01:00
IMAP.py require usernames and passwords to be UTF-8 encoded 2016-06-26 16:57:22 +02:00
LocalStatus.py avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
Maildir.py minor code cleanups 2016-06-08 19:03:02 +02:00