<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bitmask-dev.git/src/leap/bitmask/mail/imap, branch 0.10a3</title>
<subtitle>[bitmask-dev] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/'/>
<entry>
<title>[refactor] simplify wrapper create and add_msg</title>
<updated>2017-05-24T12:59:50+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-05-24T12:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=37b25fd88400df8cc726470b5d897111f2373b96'/>
<id>37b25fd88400df8cc726470b5d897111f2373b96</id>
<content type='text'>
- remove premature optimization for fast-notifies. blobs will cover
that, no point in maintaning the optimization at the price of creeping
complexity.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- remove premature optimization for fast-notifies. blobs will cover
that, no point in maintaning the optimization at the price of creeping
complexity.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix sending mail error from pixelated</title>
<updated>2017-05-24T12:35:43+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-05-23T23:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=0bba2d84a584396e888d1f4cd0d0011f5137ab8b'/>
<id>0bba2d84a584396e888d1f4cd0d0011f5137ab8b</id>
<content type='text'>
- Create the 'Sent folder' ourselves to avoid pixelated hitting a bug in
  mailbox creation.
- I believe there's still a problem with bitmask desing for the adaptor
  (in get-or-create mailbox). This needs further tests.
- Case manipualation to avoid having a 'Sent' and 'SENT' folder when
  Thunderbird and Pixelated write to those.
- Further hacks to monkeypatch the leap-mail-adapter that Pixelated
  uses (make them reuse the account instance!). This is getting insane,
  I am really looking forward to the fork.
- Duly note our technical debt in the area of Pixelated integration.
  Keeping the Pixelated codebase untouched for a long time will
  backfire. As far as I've noticed, we have a basic violation of the
  assumptions about a single-instance writes and notifications to all
  listeners. As commented in the commit, this should go either for a
  guarantee that only one account object is created per user (creating
  it in the bootstrapping process in bitmask), or for the opposite
  direction in which the listeners are communicated in some other way
  (zmq events, for instance).
- In any case, it's strongly recommended to deduplicate the Pixelated
  libraries as soon as possible and make Pixelated use a better defined
  set of Bitmask's public apis.
- Modify the wrapper create methods so that they return the modified
  wrapper itself.

- Resolves: #8903, #8904
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Create the 'Sent folder' ourselves to avoid pixelated hitting a bug in
  mailbox creation.
- I believe there's still a problem with bitmask desing for the adaptor
  (in get-or-create mailbox). This needs further tests.
- Case manipualation to avoid having a 'Sent' and 'SENT' folder when
  Thunderbird and Pixelated write to those.
- Further hacks to monkeypatch the leap-mail-adapter that Pixelated
  uses (make them reuse the account instance!). This is getting insane,
  I am really looking forward to the fork.
- Duly note our technical debt in the area of Pixelated integration.
  Keeping the Pixelated codebase untouched for a long time will
  backfire. As far as I've noticed, we have a basic violation of the
  assumptions about a single-instance writes and notifications to all
  listeners. As commented in the commit, this should go either for a
  guarantee that only one account object is created per user (creating
  it in the bootstrapping process in bitmask), or for the opposite
  direction in which the listeners are communicated in some other way
  (zmq events, for instance).
- In any case, it's strongly recommended to deduplicate the Pixelated
  libraries as soon as possible and make Pixelated use a better defined
  set of Bitmask's public apis.
- Modify the wrapper create methods so that they return the modified
  wrapper itself.

- Resolves: #8903, #8904
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] fix notification for incoming mail with several listeners registered</title>
<updated>2017-05-16T17:28:35+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-04-27T13:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=c980cae46d101c0def23bf3398b65b2e0c614d2a'/>
<id>c980cae46d101c0def23bf3398b65b2e0c614d2a</id>
<content type='text'>
When setting the listeners in the IMAP Folder, we avoid setting more
than one listener for the same imap mailbox (because in some situations
we were registering way too many listeners).

this was making the pixelated inbox registering the notification and
therefore the imap mailbox not being registered.

this MR also refactors the way pixelated is initialized, so that it
avoid creating a second Account instance. In this way, we make sure that
the pixelated mua and the imap server share the same collections for a
given mailbox, and therefore any of the two is able to get a
notification whenever the other adds a message to the mailbox.

- Resolves: #8846, #8798
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When setting the listeners in the IMAP Folder, we avoid setting more
than one listener for the same imap mailbox (because in some situations
we were registering way too many listeners).

this was making the pixelated inbox registering the notification and
therefore the imap mailbox not being registered.

this MR also refactors the way pixelated is initialized, so that it
avoid creating a second Account instance. In this way, we make sure that
the pixelated mua and the imap server share the same collections for a
given mailbox, and therefore any of the two is able to get a
notification whenever the other adds a message to the mailbox.

- Resolves: #8846, #8798
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] remove remanents of IMAP profiling code</title>
<updated>2017-05-01T14:25:15+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-05-01T11:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=2ec7cc559846327439ba4c44dec0c3507d0d703e'/>
<id>2ec7cc559846327439ba4c44dec0c3507d0d703e</id>
<content type='text'>
- Resolves: #8870
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Resolves: #8870
</pre>
</div>
</content>
</entry>
<entry>
<title>[feature] streamline and move manhole into core</title>
<updated>2017-05-01T14:13:13+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-04-27T17:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=5009f2c227ab55d70022f24f7f32299e26fd11ea'/>
<id>5009f2c227ab55d70022f24f7f32299e26fd11ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[style] pep8 fixes</title>
<updated>2017-04-27T17:33:31+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-04-26T17:32:35+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=43931f3c8a5d4bbaf7f7986b3981d698d987d7a8'/>
<id>43931f3c8a5d4bbaf7f7986b3981d698d987d7a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] unify logging style using class attr</title>
<updated>2017-04-27T17:33:28+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-04-25T16:00:12+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=9f95446a55533c8cdceec7c4430be5cad752ecb1'/>
<id>9f95446a55533c8cdceec7c4430be5cad752ecb1</id>
<content type='text'>
I changed most of the logger statements to use a class attribute, in
this way it's easier to identify which class it's logging them.

in some cases I leave a module-level logger, when we're either using
functions or when the module it's too small.

at the same time I did a general review and cleanup of the logging
statements.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I changed most of the logger statements to use a class attribute, in
this way it's easier to identify which class it's logging them.

in some cases I leave a module-level logger, when we're either using
functions or when the module it's too small.

at the same time I did a general review and cleanup of the logging
statements.
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] remove offline toggle</title>
<updated>2017-03-12T19:08:57+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-03-12T19:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=7f0ff6a52119a423c1539c2122318b767eddf220'/>
<id>7f0ff6a52119a423c1539c2122318b767eddf220</id>
<content type='text'>
The offline toggle added a race condition in which the client could end
up offline forever. We decided to remove it for now and then decide if
soledad client needs to know about network connectivity (check:
https://0xacab.org/leap/soledad/issues/8789).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The offline toggle added a race condition in which the client could end
up offline forever. We decided to remove it for now and then decide if
soledad client needs to know about network connectivity (check:
https://0xacab.org/leap/soledad/issues/8789).
</pre>
</div>
</content>
</entry>
<entry>
<title>[refactor] use new soledad client parameter</title>
<updated>2017-02-27T19:55:01+00:00</updated>
<author>
<name>drebs</name>
<email>drebs@riseup.net</email>
</author>
<published>2017-02-23T22:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=06e8b6f6b0b758866c053762be4716d7050c1943'/>
<id>06e8b6f6b0b758866c053762be4716d7050c1943</id>
<content type='text'>
- Resolves: #8721
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Resolves: #8721
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] message can also be a BytesIO</title>
<updated>2016-11-03T13:28:15+00:00</updated>
<author>
<name>Victor Shyba</name>
<email>victor1984@riseup.net</email>
</author>
<published>2016-10-31T03:12:34+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=b160ee5776f16b4ea59e5c07918b21b14550ad71'/>
<id>b160ee5776f16b4ea59e5c07918b21b14550ad71</id>
<content type='text'>
Twisted 16.5 sends a BytesIO as message, which was unexpected in this
types list.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Twisted 16.5 sends a BytesIO as message, which was unexpected in this
types list.
</pre>
</div>
</content>
</entry>
</feed>
