summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-17defer_to_thread the bulk of write operationsKali Kaneko
and batch the notifications back to the memorystore, within the reactor thread.
2014-02-17two versions of accumulator utilKali Kaneko
2014-02-17separate better dirty/new flags; add cdocsKali Kaneko
2014-02-17remove hdoc copy since it's in its own structure nowKali Kaneko
2014-02-17make fdoc, hdoc, chash 'public' propertiesKali Kaneko
2014-02-17change internal storage and keying scheme in memstoreKali Kaneko
2014-02-17long-due update to unittests!Kali Kaneko
So we're safe under the green lights before further rewriting. :)
2014-02-17make last_uid a defaultdictKali Kaneko
2014-02-17enable memory-only storeKali Kaneko
2014-02-17increase writeback period for debugKali Kaneko
2014-02-17take recent count from memstoreKali Kaneko
2014-02-17defend against empty itemsKali Kaneko
2014-02-17temporarily nuke out the fetch_heders diversionKali Kaneko
2014-02-17do not defer fetches to threadKali Kaneko
I think this is not a good idea now that all is done in the memstore, overhead from passing the data to thread and gathering the result seems to be much higher than just retreiving the data we need from the memstore.
2014-02-17prefetch flag docsKali Kaneko
2014-02-17defer copy and soledad writesKali Kaneko
2014-02-17defer parse to threadKali Kaneko
2014-02-17lock document retrieval/putKali Kaneko
2014-02-17fix get_size callKali Kaneko
2014-02-13Merge remote-tracking branch 'refs/remotes/kali/feature/get-sizes' into developTomás Touceda
2014-02-07Merge remote-tracking branch ↵Kali Kaneko
'drebs/feature/in-memory-store-with-data-flushing' into develop
2014-02-06Flush IMAP data to disk when stopping. Closes #5095.drebs
2014-02-05Merge remote-tracking branch 'refs/remotes/kali/bug/fix-fetch-bodies' into ↵Tomás Touceda
develop
2014-02-05Fix the fallback for the memoized call for bodies/content.Kali Kaneko
Changed to "empty" to consider empty strings too.
2014-02-05Merge remote-tracking branch 'refs/remotes/kali/feature/regression-tests' ↵Tomás Touceda
into develop
2014-02-05fix memoized call returning always NoneKali Kaneko
2014-02-05fix expunge deferreds so they waitKali Kaneko
2014-02-05minimal regression testsKali Kaneko
2014-02-04Rebased dreb's commit to update sizes dictionaryKali Kaneko
for faster calculation of sizes. https://github.com/andrejb/leap_mail/commit/8b88e85fab3c2b75da16b16c8d492c001b8076c6
2014-02-04Merge remote-tracking branch 'kali/feature/in-memory-store' into developIvan Alejandro
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-02re-add expunge deferredKali Kaneko
2014-02-02fix missing content after in-memory addKali Kaneko
because THE KEYS WILL BE STRINGS AFTER ADDED TO SOLEDAD Can I remember that? * Fix copy from local folders * Fix copy when we already have a copy of the message in the inbox, marked as deleted. * Fix also bad deferred.succeed in add_msg when it already exist.
2014-02-02enable manhole for debuggingKali Kaneko
2014-01-31Restore expected TypeError.Kali Kaneko
I must have removed this to get rid of a error with some test sample during the testing of the branch, but it's absolutely needed so that mime attachments get shown properly. If the TypeError raises inapropiately due to some malformed part_map, then we will have to catch it using a workaround somewhere else.
2014-01-31remove wrong unicode conversionKali 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-31prime-uidsKali Kaneko
We pre-fetch the uids from soledad on mailbox initialization
2014-01-30skip notificationsKali Kaneko
2014-01-30fix badly terminated headersKali Kaneko
2014-01-30Fix indexing error that was rendering attachments unusableKali Kaneko
Also, check for empty body-doc
2014-01-30Fix UIDVALIDITY command.Kali Kaneko
thanks to evolution for complaining about this.
2014-01-30allow to pass file as argumentKali Kaneko
2014-01-30Fix copy and deletion problemsKali Kaneko
* reorganize and simplify STORE command processing * add the notification after the processing of the whole sequence
2014-01-30changes fileKali Kaneko
2014-01-30docstring fixesKali Kaneko
Also some fixes for None comparisons.
2014-01-28fix find_charset rebaseKali Kaneko
2014-01-28handle last_uid property in memory storeKali Kaneko
2014-01-28recent-flags use the memory storeKali Kaneko
2014-01-28use enums for dict keysKali Kaneko