Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-21 | Complete IMAP implementation, update tests | Kali Kaneko | |
2015-01-21 | tests for mail.mail module: Message | Kali Kaneko | |
2015-01-21 | cleanup imap implementation | Kali Kaneko | |
2015-01-21 | Serializable Models + Soledad Adaptor | Kali Kaneko | |
2015-01-21 | adapt to soledad 0.7 async API | Kali Kaneko | |
2014-10-13 | Get keys from OpenPGP email header | Ruben Pollan | |
2014-09-03 | remove uid from signature | Kali Kaneko | |
2014-08-21 | Fixed some PEP8 warnings on the messages file | Bruno Wagner Goncalves | |
2014-08-21 | MessageCollection iterators must instantiate LeapMessage with the collection | Bruno Wagner Goncalves | |
2014-02-20 | Fix regression on "duplicate drafts" issue. | Kali Kaneko | |
Not a permanent solution, but it looks for fdoc matching a given msgid to avoid duplication of drafts in thunderbird folders. | |||
2014-02-20 | mail parsing performance improvements | Kali Kaneko | |
Although the do_parse function is deferred to threads, we were actually waiting till its return to fire the callback of the deferred, and hence the "append ok" was being delayed. During massive appends, this was a tight loop contributing as much as 35 msec, of a total of 100 msec average. Several ineficiencies are addressed here: * use pycryptopp hash functions. * avoiding function calling overhead. * avoid duplicate call to message.as_string * make use of the string size caching capabilities. * avoiding the mail Parser initialization/method call completely, in favor of the module helper to get the object from string. Overall, these changes cut parsing to 50% of the initial timing by my measurements with line_profiler, YMMV. | |||
2014-02-20 | catch empty rdoc | Kali Kaneko | |
2014-02-20 | fix rdoc duplication | Kali Kaneko | |
2014-02-17 | avoid unneeded db index updates and rdoc creation | Kali Kaneko | |
2014-02-17 | remove early notification on append for now | Kali Kaneko | |
this can be done to save some msec, but additional measures have to be taken to avoid inconsistencies with reads right after this is done. we could make those wait until a second deferred is done, for example. | |||
2014-02-17 | docstring fixes | Kali Kaneko | |
2014-02-17 | remove all refs during removal, and protect from empty docs | Kali Kaneko | |
2014-02-17 | defer appends too | Kali Kaneko | |
and cut some more time by firing the callback as soon as we've got an UID. | |||
2014-02-17 | defer fetch to thread | Kali Kaneko | |
also, dispatch query for all headers to its own method. | |||
2014-02-17 | fix several bugs in copy/store | Kali Kaneko | |
2014-02-17 | fine grained locks for puts | Kali Kaneko | |
2014-02-17 | separate better dirty/new flags; add cdocs | Kali Kaneko | |
2014-02-17 | remove hdoc copy since it's in its own structure now | Kali Kaneko | |
2014-02-17 | make fdoc, hdoc, chash 'public' properties | Kali Kaneko | |
2014-02-17 | change internal storage and keying scheme in memstore | Kali Kaneko | |
2014-02-17 | long-due update to unittests! | Kali Kaneko | |
So we're safe under the green lights before further rewriting. :) | |||
2014-02-17 | take recent count from memstore | Kali Kaneko | |
2014-02-17 | prefetch flag docs | Kali Kaneko | |
2014-02-17 | defer parse to thread | Kali Kaneko | |
2014-02-04 | fixes after review | Kali Kaneko | |
* Some more docstring completion/fixes. * Removed unneeded str coertion. * Handle mailbox name in logs. * Separate manhole boilerplate into its own file. | |||
2014-02-02 | fix missing content after in-memory add | Kali 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-01-31 | Restore 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-31 | remove wrong unicode conversion | Kali Kaneko | |
2014-01-31 | properly implement deferreds in several commands | Kali 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-31 | prime-uids | Kali Kaneko | |
We pre-fetch the uids from soledad on mailbox initialization | |||
2014-01-30 | fix badly terminated headers | Kali Kaneko | |
2014-01-30 | Fix indexing error that was rendering attachments unusable | Kali Kaneko | |
Also, check for empty body-doc | |||
2014-01-30 | Fix copy and deletion problems | Kali Kaneko | |
* reorganize and simplify STORE command processing * add the notification after the processing of the whole sequence | |||
2014-01-30 | docstring fixes | Kali Kaneko | |
Also some fixes for None comparisons. | |||
2014-01-28 | fix find_charset rebase | Kali Kaneko | |
2014-01-28 | handle last_uid property in memory store | Kali Kaneko | |
2014-01-28 | recent-flags use the memory store | Kali Kaneko | |
2014-01-28 | flags use the memstore | Kali Kaneko | |
* add new/dirty deferred dict to notify when written to disk * fix eventual duplication after copy * fix flag flickering on first retrieval. | |||
2014-01-28 | Unset new flag after successful write | Kali Kaneko | |
2014-01-28 | debug info | Kali Kaneko | |
2014-01-28 | add soledadstore class | Kali Kaneko | |
move parts-related bits to messageparts pass soledad in initialization for memory messages | |||
2014-01-28 | split messageparts | Kali Kaneko | |
2014-01-28 | memory store for append/fetch/copy | Kali Kaneko | |
2014-01-27 | Use repr() on exceptions, inform if using 'replace'. | Ivan Alejandro | |
2014-01-22 | Handle non-ascii headers. Closes #5021. | Ivan Alejandro | |