summaryrefslogtreecommitdiff
path: root/src/leap/mail
AgeCommit message (Collapse)Author
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
2014-01-17Separate RECENT Flag to a mailbox document.Kali Kaneko
this way we avoid a bunch of writes.
2014-01-16Temporal refactor setting of recent flag.Kali Kaneko
This flag is set way too often, and is damaging performance. Will move it to a single doc per mailbox in subsequente commits.
2014-01-16Fix grave bug with iteration in STOREKali Kaneko
This was in the root for problems with Trash behavior. Closes: #4958 Make use of the refactored utilities for bounding and filtering sequences.
2014-01-16factor out bound and filter for msg seqsKali Kaneko
2014-01-16fix internaldate storageKali Kaneko
2014-01-16reset last uid on expungeKali Kaneko
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-15Update service initialization fileKali Kaneko
This will need to place a configuration file with: * userid * uuid * password (optional) Use it for even faster startup times, and running under the native twisted reactor.
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-15remove use of soledad_writerKali Kaneko
Since the soledad client lock gets us covered with writes now, it makes no sense to enqueue using the messageconsumer. The SoledadWriter is left orphaned by now. We might want to reuse it to enqueue low priority tasks that need a strategy of retries in case of revisionconflicts. the MessageConsumer abstraction should also be useful for the case of the smtp queue.
2014-01-14remove locks (moved to soledad client)Kali Kaneko
2014-01-13Very limited support for SEARCH Commands. Closes: #4209Kali Kaneko
limited to HEADER Message-ID. This is a quick workaround for avoiding duplicate saves in Drafts Folder. but we'll get there!
2014-01-13Restore the encoding of the messages. Fixes: #4956Kali Kaneko
We still are getting wrong output with unicode chars, but this at least avoids breaking the fetch command.
2014-01-13Add check for uniqueness when adding mails.Kali Kaneko
Check by mbox + content-hash
2014-01-13avoid failure if no content-typeKali Kaneko
2014-01-11add offline flagKali Kaneko
2014-01-09Check for none in innerheadersKali Kaneko
This was causing a bug, among other things, when saving to the Sent folder for some messages. Closes #4914
2014-01-09Merge remote-tracking branch 'refs/remotes/kali/bug/walk_check_for_none' ↵Tomás Touceda
into develop
2014-01-09Merge remote-tracking branch 'refs/remotes/ivan/feature/remove-unneded-code' ↵Tomás Touceda
into develop
2014-01-09check for noneKali Kaneko