summaryrefslogtreecommitdiff
path: root/src/leap/mail/imap/service/imap.py
AgeCommit message (Collapse)Author
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
2013-08-16add imap eventsKali Kaneko
2013-08-13avoid logging dummy passwordKali Kaneko
2013-08-08Use 1984 as default port for imapTomás Touceda
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-06refactor recurring fetchKali Kaneko
2013-08-05use the right import pathKali Kaneko
2013-05-23provide a initialization entrypoint for client useKali Kaneko