summaryrefslogtreecommitdiff
path: root/src/leap/mail
AgeCommit message (Collapse)Author
2015-03-23[bug] add extra CRLF to avoid bad mime parsing in ThunderbirdKali Kaneko
Thunderbird (as of 37.0b1) will display a blank body (with no attachments) if some conditions are met: * disk synchronization is disabled * mime_part_on_demand = true * msg size is bigger than the parts_on_demand threshold (30000 by default). Comparing the logs with a well behaved imap server (dovecot, on this case), it's easy to see that twisted implementation is lacking an extra line separator at the end of each group of headers that is rendered in response to each of the `BODY.PEEK[X.MIME]` command that the mime_parts_on_demand will issue after getting the BODYSTRUCTURE. This change patches the spew_body command on the body server. We still would have to see if this is a bad behaviour in the thunderbird side. The most similar bug I've found is: https://bugzilla.mozilla.org/show_bug.cgi?id=149771 Which apparently was happening with exchange server. We should send the patch to upstream twisted as well. Note that this fix is not enough: the following commit, about fixing the case of the boundary passed in the BODYSTRUCTURE response is also needed to fix the bug (since a bad parsing happens all the same). Resolves: #6773, #5010 Documentation: #6773 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-03[bug] Fix IllegalMailboxCreateKali Kaneko
We're raising the exception now, not a Failure. Releases: 0.9.0
2015-03-03[refactor] remove dead code in IMAP implementationKali Kaneko
while updating the tests, I found that IMAPMessageCollection was not actually being used: all the work is done in IMAPMailbox, using directly the MessageCollection instance. So, this extra level of abstraction was finally not used. Releases: 0.9.0
2015-03-03cast generator to list; change expected after renameKali Kaneko
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-03[bug] increment: avoid TypeError when there's no entries in tableKali Kaneko
2015-03-03fix MessageTestCase: keep ref to inserted mbox uuidKali 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-03-03properly catch TypeError exceptionKali Kaneko
* fix get_next_uid test * remove duplication of maybe_first_query_item, since get_last_uid also do it now.
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 typo on method nameKali Kaneko
2015-02-20notify MUA on closing connectionKali Kaneko
2015-02-20fix broken multipart attachment renderingKali Kaneko
2015-02-20change environment variable for mail configKali Kaneko
2015-02-18Use MessageCollection instead of IMAPMailbox in IncomingMailRuben Pollan
2015-02-18Add callbacks to inbox insertionsRuben Pollan
2015-02-11Fix incoming email decryption problemsRuben Pollan
2015-02-11Attach key for addresses without known keyRuben Pollan
This seems to fix the problem with some headers dissapearing (#6692)
2015-02-11Add public key as attachmentRuben Pollan
2015-02-11If not signature don't failRuben Pollan
2015-02-11Remove footerRuben Pollan
2015-02-11append/copy performance improvementKali Kaneko
2015-02-11ignore revisionconflicts on puts.Kali Kaneko
we surely already have that part.
2015-02-11implement copy interfaceKali Kaneko
2015-02-11rename lingering , that is ambiguousKali Kaneko
2015-02-11return empty string if we couldn't find bodyKali Kaneko
so the server doesn't choke.
2015-02-11allow text/html for bodiesKali Kaneko
2015-02-11save drafts: search by msg-idKali Kaneko
2015-02-11fix initialization of cdocsKali Kaneko
2015-02-11Fix SMTP async testsRuben Pollan
2015-02-11Fix recent/unseen notificationsKali Kaneko
2015-02-11add TODO to the adaptor interfaceKali Kaneko
2015-02-11re-add support for basic multipart messagesKali Kaneko
2015-02-11fix typoKali 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-11rename confusing attribute for accountKali Kaneko
2015-02-11imap: implement setting of message flagsKali Kaneko
2015-02-11imap: complete FETCH implementationKali Kaneko
2015-02-11bug: fix empty definition; remove threading useKali Kaneko
this fixes a bug by which incoming service was not deleting the message from incoming after correclty saving all the message subparts into soledad.
2015-02-11tests: add link related to trial block with syncKali Kaneko
2015-02-11return the deferred from the incoming.startService() callKali Kaneko
2015-02-11update mail/imap testsKali Kaneko
2015-02-11Refactor fetch into leap.mail.incoming IServiceRuben Pollan
2015-02-11patch cbSelect to accept deferreds for count*Kali Kaneko