<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/worker/imap, branch master</title>
<subtitle>Mirror of https://git.sr.ht/~sircmpwn/aerc
</subtitle>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/'/>
<entry>
<title>remove the dirInfoUpdateRequest functionality</title>
<updated>2020-02-29T18:16:33+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-02-29T13:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=f3dbecaaea16fe8956af2bbd29472243f0496995'/>
<id>f3dbecaaea16fe8956af2bbd29472243f0496995</id>
<content type='text'>
The notmuch worker followed suit in handling the dirInfo submission manually.
That removes the last user so we might as well remove the functionality.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The notmuch worker followed suit in handling the dirInfo submission manually.
That removes the last user so we might as well remove the functionality.
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/msgstore: debounce directoryUpdateRequests</title>
<updated>2020-02-25T16:05:26+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-02-24T19:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=5dd0f454c197ccbce369ee88d47d5be8cd5e8265'/>
<id>5dd0f454c197ccbce369ee88d47d5be8cd5e8265</id>
<content type='text'>
Apparently sending an event for every incoming messageInfo slows down
the application significantly.

Therefore this slows down the emmision rate, on the cost of being out of date
in some cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apparently sending an event for every incoming messageInfo slows down
the application significantly.

Therefore this slows down the emmision rate, on the cost of being out of date
in some cases.
</pre>
</div>
</content>
</entry>
<entry>
<title>imap: fix double closing idleStop</title>
<updated>2020-02-16T15:41:11+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-02-15T11:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=30c0a9fba471bcd023c8aeebb3901803bb35d31f'/>
<id>30c0a9fba471bcd023c8aeebb3901803bb35d31f</id>
<content type='text'>
The idle restart code is at the end of handleMessage in the worker.
However if an unsupported msg comes in, we returned early, skipping the re-init.
That lead to a crash due to double closing idleStop in the next iteration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The idle restart code is at the end of handleMessage in the worker.
However if an unsupported msg comes in, we returned early, skipping the re-init.
That lead to a crash due to double closing idleStop in the next iteration.
</pre>
</div>
</content>
</entry>
<entry>
<title>imap: emit messageinfo when changing read state.</title>
<updated>2020-01-24T15:51:09+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-01-24T11:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=df5d9a3ec7564f0d95e3f92afc0e59588de3c4ce'/>
<id>df5d9a3ec7564f0d95e3f92afc0e59588de3c4ce</id>
<content type='text'>
We need to emit the changed msgInfo whenever we modify the state
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to emit the changed msgInfo whenever we modify the state
</pre>
</div>
</content>
</entry>
<entry>
<title>worker/imap: don't decode in FetchFullMessage.</title>
<updated>2020-01-19T00:00:02+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-01-18T23:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=472c421e85fafbd2905e785852d04a7c0ab1e60a'/>
<id>472c421e85fafbd2905e785852d04a7c0ab1e60a</id>
<content type='text'>
Doing that breaks `git am` as it expected the encoded variant.
Same is probably true for any sort of signature validation (gpg / dkim)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing that breaks `git am` as it expected the encoded variant.
Same is probably true for any sort of signature validation (gpg / dkim)
</pre>
</div>
</content>
</entry>
<entry>
<title>imap: decode reader prior to returning them</title>
<updated>2020-01-05T21:02:45+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-01-04T20:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=3d85f75d9c38d2ddd34325ea4343423c9f3431fb'/>
<id>3d85f75d9c38d2ddd34325ea4343423c9f3431fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>decode(RFC 2047) imap headers to fix encoding in subject &amp; filenames</title>
<updated>2019-12-07T19:30:33+00:00</updated>
<author>
<name>Leszek Cimała</name>
<email>ernierasta@zori.cz</email>
</author>
<published>2019-12-06T23:06:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=e84e402e489569b2ab1636ae04016464ec6d46c3'/>
<id>e84e402e489569b2ab1636ae04016464ec6d46c3</id>
<content type='text'>
Me again,
this time fixing encoding of subjects and attachments. It was problem in
IMAP backend. While other backends user MessageInfo() function which
generates MessageInfo decoded via go-message methodes, IMAP worker is
creating MessageInfo directly, so all non-utf8 subjects and filenames
were in raw form.

This patch fixes it. Not sure if we should care about errors (if
DecodeHeader fails it returns raw string back).

&gt;From what I see, this should solve all encoding problem (tested only
IMAP). So, now I can focus on features. ;-)

Have a great weekend!
Leszek
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Me again,
this time fixing encoding of subjects and attachments. It was problem in
IMAP backend. While other backends user MessageInfo() function which
generates MessageInfo decoded via go-message methodes, IMAP worker is
creating MessageInfo directly, so all non-utf8 subjects and filenames
were in raw form.

This patch fixes it. Not sure if we should care about errors (if
DecodeHeader fails it returns raw string back).

&gt;From what I see, this should solve all encoding problem (tested only
IMAP). So, now I can focus on features. ;-)

Have a great weekend!
Leszek
</pre>
</div>
</content>
</entry>
<entry>
<title>worker/imap: Fix seqMap race condition</title>
<updated>2019-11-10T22:19:23+00:00</updated>
<author>
<name>Kevin Kuehler</name>
<email>keur@xcf.berkeley.edu</email>
</author>
<published>2019-11-10T22:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=8a848303fe0f19fde02793024299356bcdb06048'/>
<id>8a848303fe0f19fde02793024299356bcdb06048</id>
<content type='text'>
When deleting a message, sometimes FetchDirectoryContents will fire.
FetchDirectoryContents will return a smaller set of UIDs since messages
have been deleted. This operation races with fetching from the seqMap in
client.ExpungeUpdate. Only recreate the seqMap if it can grow so that
messages will continue to be expunged.

Signed-off-by: Kevin Kuehler &lt;keur@xcf.berkeley.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When deleting a message, sometimes FetchDirectoryContents will fire.
FetchDirectoryContents will return a smaller set of UIDs since messages
have been deleted. This operation races with fetching from the seqMap in
client.ExpungeUpdate. Only recreate the seqMap if it can grow so that
messages will continue to be expunged.

Signed-off-by: Kevin Kuehler &lt;keur@xcf.berkeley.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix: oauthbearer runtime error</title>
<updated>2019-10-16T15:04:41+00:00</updated>
<author>
<name>Frode Aannevik</name>
<email>frode.aa@gmail.com</email>
</author>
<published>2019-10-13T18:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=550ef0bc1f21dfaeb1bf216b28c3fce9a816cb73'/>
<id>550ef0bc1f21dfaeb1bf216b28c3fce9a816cb73</id>
<content type='text'>
Configure an oauthbearer source without a token_endpoint
parameter would panic due to nil pointer dereference

  Example
    source=imaps+oauthbearer://frode.aa%40gmail.com@imap.gmail.com:993
    source-cred-cmd=pass oatuh2 frode.aa@gmail.com

token_endpoint is not required as it will use the provided
password as access_token when it is not set
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Configure an oauthbearer source without a token_endpoint
parameter would panic due to nil pointer dereference

  Example
    source=imaps+oauthbearer://frode.aa%40gmail.com@imap.gmail.com:993
    source-cred-cmd=pass oatuh2 frode.aa@gmail.com

token_endpoint is not required as it will use the provided
password as access_token when it is not set
</pre>
</div>
</content>
</entry>
<entry>
<title>Change search flags</title>
<updated>2019-09-20T19:06:54+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-09-20T16:26:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=d2a18e267c5d8908377d5a73172bd4313edc4891'/>
<id>d2a18e267c5d8908377d5a73172bd4313edc4891</id>
<content type='text'>
This changes the search flags for maildir and imap backends.

They now no longer use -t for searching all text. This seems to make
more sense as being the targeted recipient. I have similarly added Cc
for -c. The text search now resides under -a for all text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the search flags for maildir and imap backends.

They now no longer use -t for searching all text. This seems to make
more sense as being the targeted recipient. I have similarly added Cc
for -c. The text search now resides under -a for all text.
</pre>
</div>
</content>
</entry>
</feed>
