summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/service/imap.py
AgeCommit message (Collapse)Author
2016-04-15[refactor] change IMAPAccount signatureKali Kaneko
for consistency with the previous Account change.
2016-04-07[feature] use same token for imap/stmp authenticationKali Kaneko
This greatly simplifies the handling of the password in the thunderbird extension. Related: #6041
2015-12-18[feat] cred authentication for SMTP serviceKali Kaneko
2015-12-15[feat] credentials handling: use twisted.credKali Kaneko
2015-09-23[feat] disable local-only bind on docker containerIvan Alejandro
- Related: #7471
2015-09-16[feat] use async events apiKali Kaneko
in this way, we're using twisted reactor instead of having another thread with zmq's own copy of tornado ioloop. Resolves: #7274
2015-07-21Updated pep8 and fixed import and line break warningsBruno Wagner
2015-06-05[refactor] move hooks to accountKali Kaneko
2015-06-05[feature] post-sync mail processing hooksKali Kaneko
using the new soledad plugin capablity, mail hooks to the post-sync event by subscribing to the Meta-Doc type of documents. In this way, we can create the uid tables and the uid entries needed to keep local indexes for mail that has been processed in another instance. however, this won't prevent a conflict if a given mail is received and processed in two different instances. that is a problem that we still have to deal with. Resolves: #6996 Releases: 0.4.0
2015-05-14[feat] adapt to new events api on commonIvan Alejandro
- Related: #6359
2015-02-20notify MUA on closing connectionKali Kaneko
2015-02-20fix broken multipart attachment renderingKali 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-11Refactor fetch into leap.mail.incoming IServiceRuben Pollan
2015-02-11Complete IMAP implementation, update testsKali Kaneko
2014-03-05workaround attempt for the recursionlimit bug with qtreactor.Kali Kaneko
Increasing the recursion limit by an order of magnitude here seems to allow a fetch of a mailbox with 500 mails. See #5196 for discussion of alternatives.
2014-02-17add cProfiler instrumentationKali Kaneko
2014-02-17docstring fixesKali Kaneko
2014-02-17suggest bigger threadpool to reactors that honor itKali Kaneko
2014-02-17make the condition optionalKali Kaneko
2014-02-17take recent count from memstoreKali Kaneko
2014-02-06Flush IMAP data to disk when stopping. Closes #5095.drebs
2014-02-04fixes after reviewKali Kaneko
* Some more docstring completion/fixes. * Removed unneeded str coertion. * Handle mailbox name in logs. * Separate manhole boilerplate into its own file.
2014-02-02enable manhole for debuggingKali Kaneko
2014-01-28add soledadstore classKali Kaneko
move parts-related bits to messageparts pass soledad in initialization for memory messages
2014-01-28move server to its own fileKali Kaneko
2014-01-28memory store for append/fetch/copyKali Kaneko
2014-01-21workaround for recursionlimit due to qtreactorKali Kaneko
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-16patch UIDVALIDITY response for conformance to the specKali Kaneko
testimap was choking on this.
2014-01-16Dispatch the flags query if it's the only one.Kali Kaneko
ie, we got something like FETCH 1:* (FLAGS) but not for FETCH 1:* (FLAGS INTERNALDATE)
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-11add offline flagKali Kaneko
2014-01-08add a flag to be able to close the sessionKali Kaneko
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.
2013-12-26Split the near-2k loc file into more handy modules.Kali Kaneko
...aaaand not a single fuck was given that day!
2013-11-26reduce polling time to one minuteKali Kaneko
2013-11-12check username on imap authenticationKali Kaneko
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-30Return port and factory from the imap launch methodTomás Touceda
2013-09-03Make mail services bind to 127.0.0.1 instead of 0.0.0.0Kali Kaneko
Closes: #3627
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 'kali/feature/add_debug_errors' into developTomás Touceda
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-21Add errors in logger so we get them in client.Kali Kaneko
2013-08-19Signal string content instead of bool or intTomás Touceda