summaryrefslogtreecommitdiff
path: root/src/leap/mail/mail.py
AgeCommit message (Collapse)Author
2015-05-14[feat] adapt to new events api on commonIvan Alejandro
- Related: #6359
2015-03-30[bug] fix early append notificationKali Kaneko
There's a workaround for "slow" APPENDS to an inbox, and it is that we have a flag to allow returning early when JUST the mdoc (the meta-document) has been written. However, this was givin a problem when doing a FETCH right after an APPEND (with notify_just_mdoc=True) has been done. This commit fixes it by making the FETCH command first check if there's an ongoing pending write, and queueing itself right after the write queue has been completed. This fixes the testFullAppend regression. Releases: 0.4.0
2015-03-30[bug] move creation_ts to mail generic apiKali Kaneko
This also fixes a bug in which INBOX wasn't being given a creation timestamp, and therefore always being identified with the same UIDVALIDITY = 1, which could be confusing MUAs since this value should be unique, and it's relied on to uniquely identifying a given message. Releases: 0.4.0
2015-03-30[bug] re-add fix for multiple headersKali Kaneko
This fix stores as multi-line headers that are repeated, and that were being discarded when storing them in a regular dict. It had been removed during the last refactor. I also store headers now as a case-insensitive dict, which solves other problems with the implementation of the twisted imap. Releases: 0.4.0
2015-03-23[bug] report the correct size for mime partsKali Kaneko
The MIME size is the size of the body, w/o counting the headers. Releases: 0.4.0
2015-03-05[bug] catch null doc_id error, and log it as suchKali Kaneko
Catch null doc_id so that we don't interrupt server This bug needs further investigation Related: #6769 ?
2015-03-05[feature] Keep mapping of collectionsKali Kaneko
it is a weakref dictionary so that the collections can be garbage collected when out of scope. Releases: 0.4.0
2015-03-03[bug] Fix testExpunge testsKali Kaneko
this test was failing randomly because we were returning the deferred before all the documents were saved into soledad store. changed also the delete_msg deferred chaining for better readability. Releases: 0.9.0
2015-03-03pass date explicitely, fix partial_append testKali Kaneko
it is interpreted as "tags" otherwise.
2015-03-03fix rename_mailbox implementation, make test passKali Kaneko
2015-03-03fix delete_msg testKali Kaneko
bug: delete_msg was still passing the mbox_name instead of the mbox_uuid as it should.
2015-02-25undo duplication of add_msg method in mail apiKali Kaneko
* Set the internal date from within the incoming mail service.
2015-02-24move notifications cb to mail moduleKali Kaneko
2015-02-23factor out unicode formattingKali Kaneko
2015-02-20fix broken multipart attachment renderingKali Kaneko
2015-02-18Use MessageCollection instead of IMAPMailbox in IncomingMailRuben Pollan
2015-02-11append/copy performance improvementKali Kaneko
2015-02-11implement copy interfaceKali Kaneko
2015-02-11return empty string if we couldn't find bodyKali Kaneko
so the server doesn't choke.
2015-02-11save drafts: search by msg-idKali Kaneko
2015-02-11Fix recent/unseen notificationsKali Kaneko
2015-02-11re-add support for basic multipart messagesKali Kaneko
2015-02-11lots of little fixes after meskio's reviewKali Kaneko
mostly having to do with poor, missing or outdated documentation, naming of confusing things and reordering of code blocks for improved readability.
2015-02-11imap: implement setting of message flagsKali Kaneko
2015-02-11imap: complete FETCH implementationKali Kaneko
2015-02-11update mail/imap testsKali Kaneko
2015-02-11Refactor fetch into leap.mail.incoming IServiceRuben Pollan
2015-02-11Complete IMAP implementation, update testsKali Kaneko
2015-02-11Use mailbox uuidsKali Kaneko
The previous implementation is naive, since it imposes a burden when renaming mailboxes. We're using uuids in the local uid tables instead, which is more cryptic but way more efficient. * receive mbox uuid instead of name * use mailbox uuid in identifiers
2015-02-11tests for mail.mail module: AccountKali Kaneko
2015-02-11tests for mail.mail module: MessageCollectionKali Kaneko
2015-02-11tests for mail.mail module: MessageKali Kaneko
2015-02-11cleanup imap implementationKali Kaneko
2015-02-11MessageCollections + MailboxIndexerKali Kaneko
2015-02-11Serializable Models + Soledad AdaptorKali Kaneko