<feed xmlns='http://www.w3.org/2005/Atom'>
<title>leap_mail.git, branch 0.4.0rc1</title>
<subtitle>[leap_mail] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/'/>
<entry>
<title>[pkg] bump dependencies</title>
<updated>2015-07-10T20:11:58+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-07-10T20:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=c4a7bc9b2d19e70565877c4526ba2ff31acbdca1'/>
<id>c4a7bc9b2d19e70565877c4526ba2ff31acbdca1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[pkg] fold in changes</title>
<updated>2015-07-10T20:09:46+00:00</updated>
<author>
<name>Ivan Alejandro</name>
<email>ivanalejandro0@gmail.com</email>
</author>
<published>2015-07-10T20:09:46+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=3e4c030dbcd261028810fec223127d364c1491b3'/>
<id>3e4c030dbcd261028810fec223127d364c1491b3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] notify copied emails</title>
<updated>2015-07-03T21:10:05+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2015-07-03T21:10:05+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=853f4de55705ecba39c552e851057c2b0c66e810'/>
<id>853f4de55705ecba39c552e851057c2b0c66e810</id>
<content type='text'>
When copying emails there was not notification produced, that makes
thunderbird to see messages moved between folders until it gets
restarted. Now the MaillCollection copy does notify the listeners.

* Resolves: #7158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When copying emails there was not notification produced, that makes
thunderbird to see messages moved between folders until it gets
restarted. Now the MaillCollection copy does notify the listeners.

* Resolves: #7158
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] return the message uid after add it to the collection</title>
<updated>2015-07-03T03:37:37+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2015-07-03T03:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=4c63caf644429f8ebc4d9e971bd7afb715dd185d'/>
<id>4c63caf644429f8ebc4d9e971bd7afb715dd185d</id>
<content type='text'>
MessageCollection.add_msg was not returning the uid of the message added
making the incoming service not deleting the emails from the incoming
queue.

* Related: #7158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MessageCollection.add_msg was not returning the uid of the message added
making the incoming service not deleting the emails from the incoming
queue.

* Related: #7158
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] tear down of leap.common.events properly in tests</title>
<updated>2015-07-02T22:39:25+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2015-07-02T22:39:25+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/leap_mail.git/commit/?id=844c9633b7cf24c5cf5785ed7b6a176142b75447'/>
<id>844c9633b7cf24c5cf5785ed7b6a176142b75447</id>
<content type='text'>
The tests where writting their own implementation of env tear down
instead of using leap.common's one. Using it fixes many tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests where writting their own implementation of env tear down
instead of using leap.common's one. Using it fixes many tests.
</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>
</feed>
