summaryrefslogtreecommitdiff
path: root/mail/src/leap
AgeCommit message (Collapse)Author
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-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-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
2014-01-28flags use the memstoreKali 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-28Unset new flag after successful writeKali Kaneko
2014-01-28debug infoKali Kaneko
2014-01-28add soledadstore classKali Kaneko
move parts-related bits to messageparts pass soledad in initialization for memory messages
2014-01-28move utilitiesKali Kaneko
2014-01-28split messagepartsKali Kaneko
2014-01-28move server to its own fileKali Kaneko
2014-01-28memory store for append/fetch/copyKali Kaneko
2014-01-27Use repr() on exceptions, inform if using 'replace'.Ivan Alejandro
2014-01-26Allow passing user and mbox as parametersKali Kaneko
Increase default testing duration to 200 secs.
2014-01-26temporarily remove notify after adding msgKali Kaneko
2014-01-26Script for reproducible imaptest runs.Kali Kaneko
2014-01-23Handle upper and lowercase base64 encoded outgoing attachments.drebs
2014-01-23add check for none in part_map special caseKali Kaneko
2014-01-23add constants to dict keysKali Kaneko
2014-01-22Properly parse apple mailTomás Touceda
2014-01-22Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/drebs/bug/5014_fix-attachment-processing-when-signing' into develop
2014-01-22Handle non-ascii headers. Closes #5021.Ivan Alejandro
2014-01-22Add find_charset helper and use where is needed.Ivan Alejandro
2014-01-21Restrict adding outgoing footer to text/plain messages.drebs
2014-01-21Prevent double base64 encoding of attachments when signing (#5014).drebs
2014-01-21workaround for recursionlimit due to qtreactorKali Kaneko
2014-01-20make the read/write operations over sets atomicKali Kaneko
Fixes: #5009
2014-01-20Fix search command filterTomás Touceda
2014-01-20Fix typo in the signal_unread method. Closes: #5001Kali Kaneko
It had been made public to be called from the overwritten methods in service.imap
2014-01-17Merge remote-tracking branch ↵Tomás Touceda
'refs/remotes/ivan/bug/handle-unicode-characters' into develop
2014-01-17Fix encodings usage, use custom json.loads method.Ivan Alejandro
Also remove some unused imports.
2014-01-17Add custom json.loads method.Ivan Alejandro
This allows us to support the use of an `str` parameter that won't be converted to unicode. So in the case of a string containing bytes with different encodings this won't break.
2014-01-17Add a fetch_headers for mass-header fetch queriesKali Kaneko
2014-01-17refactor common pattern to utility functionKali Kaneko