summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap
AgeCommit message (Collapse)Author
2014-01-08handle all fetches as sequentialKali Kaneko
* this allows quick testing using telnet, and the use of other less sofisticated MUAs.
2014-01-08Second stage of the new year's storage rewrite.Kali Kaneko
* documents of only three types: * flags * headers * content * add algorithm for walking the parsed message tree. * treat special cases like a multipart with a single part. * modify add_msg to use the walk routine * modify twisted interfaces to use the new storage schema. * tests for different multipart cases * fix multipart detection typo in the fetch This is a merge proposal for the 0.5.0-rc3. known bugs ---------- Some things are still know not to work well at this point (some cases of multipart messages do not display the bodies). IMAP server also is left in a bad internal state after a logout/login.
2014-01-08move utility to its ownKali Kaneko
2014-01-08tests infrastructure for multipartKali Kaneko
2014-01-08fix tests after rewriteKali Kaneko
2014-01-08add documentation to the decorator, fix errorback.Kali Kaneko
* it also fixes the traceback in the errorback, thanks to chiiph, who reads documentation instead of whinning :D * other minor documentation corrections
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!
2013-12-26inlineCallbacks all the things!Kali Kaneko
2013-12-26Move flags and other metadata to a separate doc.Kali Kaneko
This change will allow for quicker access times, and smaller syncs since the fields that change more often will fall in a pretty small document. For the big raw message, we only need to sync once. Also, implemented multipart interface for messages. This will need additional migration helper in --repair-mailboxes.
2013-12-26defer costly operationsKali Kaneko
2013-12-24Fix parsing of IMAP folder names (#4830).drebs
2013-12-20Limit the size of the returned messages from IMAP to MUA to 100Tomás Touceda
2013-12-20fix wrong object callKali Kaneko
2013-12-20Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/kali/bug/use-soledad-writer-for-updates' into develop
2013-12-20safety catch against wrong last_uidKali Kaneko
2013-12-20use soledad_writer for puts alsoKali Kaneko
2013-12-19Only try to fetch keys for multipart signed or encrypted messages when ↵drebs
fetching mail (#4671).
2013-12-19deferToThread unsetting recent flagKali Kaneko
2013-12-18memoize the special methodKali Kaneko
2013-12-13count_foo uses expanded u1db count method.Kali Kaneko
Other fixes in the commit: * Correct the semantic for the recent flag (reset) * Minor unicode fixes. * Use a field for tracking the last_uid In general, this tries to squash all the quick and naive methods that were relying on evaluating all the message objects before returning a result. Further work is still needed, planned also for 0.5 release. get_by_index needs to be indexed too.
2013-12-11consume messages eagerlyKali Kaneko
2013-12-10make exceptions fail the test.Kali Kaneko
right now, the exceptions were visible in the stdout, but the test was not *actually* failing. using nose deferred decorator for this.
2013-12-10pep8Kali Kaneko
2013-12-06pep8 cleanupKali Kaneko
2013-11-28use messageproducer to write messages to soledadKali Kaneko
2013-11-26fix adding msg with empty flagsKali Kaneko
2013-11-26Fix fetch iteration on empty folderKali Kaneko
2013-11-26reduce polling time to one minuteKali Kaneko
2013-11-25Fail gracefully when failing to decrypt incoming messages. Closes #4589.drebs
2013-11-21Add a header that reflects the validity of incoming signatures. Closes #4354.drebs
2013-11-13fix mail UID indexing for non-sequential uidsKali Kaneko
2013-11-12check username on imap authenticationKali Kaneko
2013-11-12Remove 'multipart/encrypted' header after decrypting incoming mail. Closes ↵drebs
#4454.
2013-11-11remove printKali Kaneko
2013-11-07Cleanup code and fix tests.drebs
2013-11-06Make the pkey a propertyKali Kaneko
so we can allow multiple accounts in the imap fetcher.
2013-11-01notify MUA of new mail as it gets added to mailboxKali Kaneko
2013-10-31Refactor out get_email_charset to leap.commonTomás Touceda
2013-10-30Return port and factory from the imap launch methodTomás Touceda
2013-10-23pep8 fix: line too long.Ivan Alejandro
2013-10-23Remove commented imports.Ivan Alejandro
2013-10-23Use correct encoding and data type in mails.Ivan Alejandro
2013-10-23Add encoding exception catch to avoid crashes.Ivan Alejandro
2013-10-23Move charset parser to a utils module.Ivan Alejandro
2013-10-21Default to UTF-8 when there is not charset parsed from the mail contentsTomás Touceda
2013-10-17Do not log mail docs contentTomás Touceda
2013-10-09Make IMAP decryption RFC 3156 compliant.drebs
2013-10-03Improve charset handling for emailTomás Touceda
2013-09-20remove logging that shows cleartext messageKali Kaneko