summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/fetch.py
AgeCommit message (Collapse)Author
2015-02-11Refactor fetch into leap.mail.incoming IServiceRuben Pollan
2015-02-11New keymanager async APIRuben Pollan
2014-11-04Discover public key via attachmentRuben Pollan
2014-10-13Get keys from OpenPGP email headerRuben Pollan
2014-10-12Update docstringsRuben Pollan
2014-09-16The get_key cache now it's automagicalRuben Pollan
2014-03-26Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/kali/bug/bad-object-in-save-callback' into develop
2014-03-26fix wrong object being passed in the messageSaved callbackKali Kaneko
this was the result of a bad merge during the last fetch refactor.
2014-03-18Signal the UI in case the soledad token is invalid when syncing (#5191).drebs
2014-03-10keep processing after decoding errors during fetchKali Kaneko
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-17Fix encodings usage, use custom json.loads method.Ivan Alejandro
Also remove some unused imports.
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-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-26inlineCallbacks all the things!Kali Kaneko
2013-12-19Only try to fetch keys for multipart signed or encrypted messages when ↵drebs
fetching mail (#4671).
2013-12-18memoize the special methodKali Kaneko
2013-12-10pep8Kali Kaneko
2013-11-28use messageproducer to write messages to soledadKali 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-12Remove 'multipart/encrypted' header after decrypting incoming mail. Closes ↵drebs
#4454.
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-23Use correct encoding and data type in mails.Ivan Alejandro
2013-10-17Do not log mail docs contentTomás Touceda
2013-10-09Make IMAP decryption RFC 3156 compliant.drebs
2013-09-20remove logging that shows cleartext messageKali Kaneko
2013-09-02Signal unread message when msg saved locally.Kali Kaneko
Closes: #3654
2013-08-23refactor imap fetchKali Kaneko
2013-08-22Merge remote-tracking branch ↵Tomás Touceda
'kali/feature/3409_make_imap_fetch_period_configurable' into develop
2013-08-21Make a sensible default for incoming mail fetch period.Kali Kaneko
Setting it to 5 min.
2013-08-21Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/3487-split-soledad-into-common-client-and-server' into develop Conflicts: src/leap/mail/imap/fetch.py src/leap/mail/imap/server.py
2013-08-21Update to new soledad package scheme.drebs
2013-08-20Merge remote-tracking branch 'chiiph/bug/various_fixes' into developKali Kaneko
2013-08-20Merge branch 'develop' of ssh://leap.se/leap_mail into developKali Kaneko
2013-08-19Signal string content instead of bool or intTomás Touceda
2013-08-19Signal unread emailTomás Touceda
2013-08-16add imap eventsKali Kaneko
2013-08-13Ignore empty emailsTomás Touceda
2013-08-08Decrypt double encrypted mailTomás Touceda
2013-08-08Merge remote-tracking branch ↵Tomás Touceda
'drebs/feature/3397-keymanager-should-support-bundled-gpg' into develop
2013-08-08Update use of keymanager API.drebs
2013-08-08Fix incoming processing mail.Kali Kaneko
The deferred was not working properly so messages in the incoming queue were not being processed.
2013-08-07catch exception if tried to stop not running loopKali Kaneko
2013-08-06refactor recurring fetchKali Kaneko
2013-08-05use the right import pathKali Kaneko