summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/memorystore.py
AgeCommit message (Collapse)Author
2014-02-02fix missing content after in-memory addKali Kaneko
because THE KEYS WILL BE STRINGS AFTER ADDED TO SOLEDAD Can I remember that? * Fix copy from local folders * Fix copy when we already have a copy of the message in the inbox, marked as deleted. * Fix also bad deferred.succeed in add_msg when it already exist.
2014-01-31properly implement deferreds in several commandsKali Kaneko
Passing along a deferred as an observer whose callback will be called with the proper result. Returning to thread in the appropiate points. just let's remember that twisted APIs are not thread safe! SoledadStore process_item also properly returned to thread. Changed @deferred to @deferred_to_thread so it results less confusing to read. "know the territory". aha!
2014-01-31prime-uidsKali Kaneko
We pre-fetch the uids from soledad on mailbox initialization
2014-01-30Fix copy and deletion problemsKali Kaneko
* reorganize and simplify STORE command processing * add the notification after the processing of the whole sequence
2014-01-30docstring fixesKali Kaneko
Also some fixes for None comparisons.
2014-01-28handle last_uid property in memory storeKali Kaneko
2014-01-28recent-flags use the memory storeKali Kaneko
2014-01-28use enums for dict keysKali Kaneko
2014-01-28flags use the memstoreKali Kaneko
* add new/dirty deferred dict to notify when written to disk * fix eventual duplication after copy * fix flag flickering on first retrieval.
2014-01-28Unset new flag after successful writeKali Kaneko
2014-01-28add soledadstore classKali Kaneko
move parts-related bits to messageparts pass soledad in initialization for memory messages
2014-01-28memory store for append/fetch/copyKali Kaneko