<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bitmask-dev.git/src/leap/bitmask/mail/incoming, branch master</title>
<subtitle>[bitmask-dev] 
</subtitle>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/'/>
<entry>
<title>[bug] strip leap headers before processing the icnomming mails</title>
<updated>2017-10-26T16:37:05+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-10-24T10:46:48+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=ec01098129d885911715260f5bffb701fa65028c'/>
<id>ec01098129d885911715260f5bffb701fa65028c</id>
<content type='text'>
- Resolves: #9030
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Resolves: #9030
</pre>
</div>
</content>
</entry>
<entry>
<title>[bug] replace content-type after removing the signature</title>
<updated>2017-08-25T08:29:22+00:00</updated>
<author>
<name>Ruben Pollan</name>
<email>meskio@sindominio.net</email>
</author>
<published>2017-08-22T11:00:09+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=5292016becad94bfe603cdb7c4833b82ac07723a'/>
<id>5292016becad94bfe603cdb7c4833b82ac07723a</id>
<content type='text'>
- Resolves: #9003
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Resolves: #9003
</pre>
</div>
</content>
</entry>
<entry>
<title>[tests] fix tests</title>
<updated>2017-05-24T12:59:55+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-05-24T12:25:19+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=cf610930f7a9b56b0378920bfdd4263f490b5cb3'/>
<id>cf610930f7a9b56b0378920bfdd4263f490b5cb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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] allow incoming mail to be properly notified to pixelated</title>
<updated>2017-05-16T17:28:38+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-05-15T10:46:07+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=1246e25aa2e6acd0e12f145a0330922aa076b683'/>
<id>1246e25aa2e6acd0e12f145a0330922aa076b683</id>
<content type='text'>
If we do fast-notifies with pixelated running, the poll notifications
for new mail on inbox break on pixelated side, because the email is not
ready.

- Related: #8798
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If we do fast-notifies with pixelated running, the poll notifications
for new mail on inbox break on pixelated side, because the email is not
ready.

- Related: #8798
</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>[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] migrate all failures to twisted logger</title>
<updated>2017-04-27T17:33:26+00:00</updated>
<author>
<name>Kali Kaneko (leap communications)</name>
<email>kali@leap.se</email>
</author>
<published>2017-04-24T17:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://leap.se/git/bitmask-dev.git/commit/?id=abf54bcd86efdc4318258ff8e08d0c32e77bf830'/>
<id>abf54bcd86efdc4318258ff8e08d0c32e77bf830</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
