<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_mail.git/src/leap/mail/adaptors/soledad.py, branch 0.4.2</title>
<subtitle>[leap_mail] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/'/>
<entry>
<title>[feat] Use cryptography instead of pycryptopp to reduce dependencies.</title>
<updated>2016-02-11T00:20:33+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2016-02-11T00:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=f2fa5804879f6d7614d05537b042be3586958e7f'/>
<id>f2fa5804879f6d7614d05537b042be3586958e7f</id>
<content type='text'>
* Resolves: #7889
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Resolves: #7889
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed the get_body logic</title>
<updated>2015-12-10T17:38:41+00:00</updated>
<author>
<name>Bruno Wagner</name>
<email>bwagner@riseup.net</email>
</author>
<published>2015-11-04T14:10:56+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=71cf1c4a243181330c0e973b8f69f9143b3d18de'/>
<id>71cf1c4a243181330c0e973b8f69f9143b3d18de</id>
<content type='text'>
It won't break anymore if the body is None, but will
return an empty body in that case
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It won't break anymore if the body is None, but will
return an empty body in that case
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fail gracefully if fetch fails</title>
<updated>2015-09-28T20:03:43+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-09-28T20:03:43+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=20273e82dfb66dcf1d2dac2df217ba835a622c38'/>
<id>20273e82dfb66dcf1d2dac2df217ba835a622c38</id>
<content type='text'>
Related: #7495
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Related: #7495
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] Return the first cdoc if no body found</title>
<updated>2015-07-13T15:55:30+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-07-10T16:01:40+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=7a8e2ad2e6f848098977a78b6cfd8c597df93691'/>
<id>7a8e2ad2e6f848098977a78b6cfd8c597df93691</id>
<content type='text'>
In the case of a message with just one non-text attachment, something
has to be returned for the body payload. (For instance, a message with
only one image).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the case of a message with just one non-text attachment, something
has to be returned for the body payload. (For instance, a message with
only one image).
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] allow mailbox to be notified of collection changes</title>
<updated>2015-06-29T17:12:47+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-06-29T15:57:20+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=0dbf2be49db228e43fe4b196199f82ea281886bf'/>
<id>0dbf2be49db228e43fe4b196199f82ea281886bf</id>
<content type='text'>
in a previous refactor, we decoupled the incoming mail service from the
IMAP layer. However, this left the IMAPMailbox unable to react to
changes in the underlying collection when a new message is inserted.

in this commit, we add a Listener mechanism to the collection itself, so
that IMAPMailbox (and any other object that uses it) can subscribe to
changes on the number of messages of the collection.

Resolves: #7191
Releases: 0.4.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in a previous refactor, we decoupled the incoming mail service from the
IMAP layer. However, this left the IMAPMailbox unable to react to
changes in the underlying collection when a new message is inserted.

in this commit, we add a Listener mechanism to the collection itself, so
that IMAPMailbox (and any other object that uses it) can subscribe to
changes on the number of messages of the collection.

Resolves: #7191
Releases: 0.4.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] avoid KeyError on pending_insert_docs lookup</title>
<updated>2015-06-29T13:53:36+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-06-29T13:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=c0f3a6afa81f93f8d1b078a62e4411b2321ba9f0'/>
<id>c0f3a6afa81f93f8d1b078a62e4411b2321ba9f0</id>
<content type='text'>
in a previous commit, there was a bug inserted in which a key lookup was
being made unconditionally, even when the pending_insert_docs was None.

Releases: 0.4.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in a previous commit, there was a bug inserted in which a key lookup was
being made unconditionally, even when the pending_insert_docs was None.

Releases: 0.4.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] avoid duplication of copies in draft folder</title>
<updated>2015-06-25T20:44:45+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-06-25T14:45:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=cc487c6bc77769079fc4cdc23b6ad2bdd7c22394'/>
<id>cc487c6bc77769079fc4cdc23b6ad2bdd7c22394</id>
<content type='text'>
Although this draft-saving feature seems to be somehow brittle, since it
breaks from time to time, the causes are different and subtle on each
case.

This time the bug is related to having the notify_just_mdoc (or
fast_notifies as I'm tempted to call it in the future for more clarity)
set to True by default in the APPENDS.

Fast notifies break the "save draft" functionality because what
Thunderbird does is an Append of the newest message, followed by
deletion of the old message and a SEARCH by Message-ID. For this we need
the headers-doc to be already inserted in the store.

Since the fast-notify makes a *big* difference in terms of insertion
times for serialized appends, I've opted for using a heuristic for
detecting if it's the case of a Draft message, using a mozilla-specific
header. If this is found, we set the notify_just_mdoc unconditionally to
False. We'll deal with other MUAs on its due time.

Releases: 0.4.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although this draft-saving feature seems to be somehow brittle, since it
breaks from time to time, the causes are different and subtle on each
case.

This time the bug is related to having the notify_just_mdoc (or
fast_notifies as I'm tempted to call it in the future for more clarity)
set to True by default in the APPENDS.

Fast notifies break the "save draft" functionality because what
Thunderbird does is an Append of the newest message, followed by
deletion of the old message and a SEARCH by Message-ID. For this we need
the headers-doc to be already inserted in the store.

Since the fast-notify makes a *big* difference in terms of insertion
times for serialized appends, I've opted for using a heuristic for
detecting if it's the case of a Draft message, using a mozilla-specific
header. If this is found, we set the notify_just_mdoc unconditionally to
False. We'll deal with other MUAs on its due time.

Releases: 0.4.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] saving message to drafts folder hangs</title>
<updated>2015-06-25T15:56:53+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-06-25T13:42:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=9db1529e60cadff872cd3066e837e15413216b71'/>
<id>9db1529e60cadff872cd3066e837e15413216b71</id>
<content type='text'>
the bug consist on a fetch-while-pending-inserts hanging. the pending
insert dict was not being cleaned up because the lookup for the
Message-Id *is* case-sensitive (in the headers dict).

by using a temporary all-keys-lowercase dict the lookup can be performed
right, and the fetch returns successfully.

at this point there's still a pending bug with Drafts, and it is that
the new version is inserted but the MUA (TB) doesn't hide the older
version (although a Delete flag is added).

Resolves: #7189, #7190
Releases: 0.4.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the bug consist on a fetch-while-pending-inserts hanging. the pending
insert dict was not being cleaned up because the lookup for the
Message-Id *is* case-sensitive (in the headers dict).

by using a temporary all-keys-lowercase dict the lookup can be performed
right, and the fetch returns successfully.

at this point there's still a pending bug with Drafts, and it is that
the new version is inserted but the MUA (TB) doesn't hide the older
version (although a Delete flag is added).

Resolves: #7189, #7190
Releases: 0.4.0
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fixes for display attachments and move between folders</title>
<updated>2015-06-22T15:39:20+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-06-19T03:20:45+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=c8dfed5b5f4ccb87003119f14e189566219365bb'/>
<id>c8dfed5b5f4ccb87003119f14e189566219365bb</id>
<content type='text'>
- Add errback handling to catch properly errors that were not allowing
  the complete insertion of the parts for a given message. Fixes blank
  attachments and moving of messages to different folders.
- Force overwritting of mdoc when it is a copy. This was avoiding a
  message to be copied back to a folder from where it already had been
  copied to another (since the mdoc was already existing there, with the
  same doc_id, which was forbidding the creation of the new one).
  This case also needs special care in the indexer, since we have to
  delete the old hash entry first.

Closes: #7178, #7158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add errback handling to catch properly errors that were not allowing
  the complete insertion of the parts for a given message. Fixes blank
  attachments and moving of messages to different folders.
- Force overwritting of mdoc when it is a copy. This was avoiding a
  message to be copied back to a folder from where it already had been
  copied to another (since the mdoc was already existing there, with the
  same doc_id, which was forbidding the creation of the new one).
  This case also needs special care in the indexer, since we have to
  delete the old hash entry first.

Closes: #7178, #7158
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix early append notification</title>
<updated>2015-03-30T18:48:14+00:00</updated>
<author>
<name>Kali Kaneko</name>
<email>kali@leap.se</email>
</author>
<published>2015-03-26T19:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=8e916eeadfcd76d50b54a2621d789e6a296dcce6'/>
<id>8e916eeadfcd76d50b54a2621d789e6a296dcce6</id>
<content type='text'>
There's a workaround for "slow" APPENDS to an inbox, and it is that we
have a flag to allow returning early when JUST the mdoc (the
meta-document) has been written. However, this was givin a problem when
doing a FETCH right after an APPEND (with notify_just_mdoc=True) has
been done.

This commit fixes it by making the FETCH command first check if there's
an ongoing pending write, and queueing itself right after the write
queue has been completed.

This fixes the testFullAppend regression.

Releases: 0.4.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's a workaround for "slow" APPENDS to an inbox, and it is that we
have a flag to allow returning early when JUST the mdoc (the
meta-document) has been written. However, this was givin a problem when
doing a FETCH right after an APPEND (with notify_just_mdoc=True) has
been done.

This commit fixes it by making the FETCH command first check if there's
an ongoing pending write, and queueing itself right after the write
queue has been completed.

This fixes the testFullAppend regression.

Releases: 0.4.0
</pre>
</div>
</content>
</entry>
</feed>
