summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/mailbox.py
AgeCommit message (Collapse)Author
2014-01-21workaround for recursionlimit due to qtreactorKali Kaneko
2014-01-20Fix search command filterTomás Touceda
2014-01-20Fix typo in the signal_unread method. Closes: #5001Kali Kaneko
It had been made public to be called from the overwritten methods in service.imap
2014-01-17Add a fetch_headers for mass-header fetch queriesKali Kaneko
2014-01-17Separate RECENT Flag to a mailbox document.Kali Kaneko
this way we avoid a bunch of writes.
2014-01-16Temporal refactor setting of recent flag.Kali Kaneko
This flag is set way too often, and is damaging performance. Will move it to a single doc per mailbox in subsequente commits.
2014-01-16Fix grave bug with iteration in STOREKali Kaneko
This was in the root for problems with Trash behavior. Closes: #4958 Make use of the refactored utilities for bounding and filtering sequences.
2014-01-16factor out bound and filter for msg seqsKali Kaneko
2014-01-16reset last uid on expungeKali Kaneko
2014-01-15Performance improvement on FLAGS-only FETCHKali Kaneko
* Compute the intersection set of the uids on a FETCH, so we avoid iterating through the non-existant UIDs. * Dispatch FLAGS query to our specialized method, that fetches all the flags documents and return objects that only specify one subset of the MessagePart interface, apt to render flags quickly with less queries overhead. * Overwrite the do_FETCH command in the imap Server to use fetch_flags. * Use deferLater for a better dispatch of tasks in the reactor.
2014-01-14remove locks (moved to soledad client)Kali Kaneko
2014-01-13Very limited support for SEARCH Commands. Closes: #4209Kali Kaneko
limited to HEADER Message-ID. This is a quick workaround for avoiding duplicate saves in Drafts Folder. but we'll get there!
2014-01-13Add check for uniqueness when adding mails.Kali Kaneko
Check by mbox + content-hash
2014-01-08handle all fetches as sequentialKali Kaneko
* this allows quick testing using telnet, and the use of other less sofisticated MUAs.
2014-01-08tests infrastructure for multipartKali Kaneko
2014-01-08fix tests after rewriteKali Kaneko
2014-01-08First stage of the storage schema rewrite.Kali Kaneko
* Separates between flags, docs, body and attachment docs. * Implement IMessageCopier interface: move and have fun! This little change is known to push forward our beloved architect emotional rollercoster. * Message deduplication. * It also fixes a hidden bug that was rendering the multipart mime interface useless (yes, the "True" parameter in the parsestr method). * Does not handle well nested attachs, includes dirty workaround that flattens them. * Includes chiiph's patch for rc2: * return deferred from addMessage * convert StringIO types to string * remove unneeded yields from the chain of deferreds in fetcher
2013-12-26Split the near-2k loc file into more handy modules.Kali Kaneko
...aaaand not a single fuck was given that day!