<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/worker/imap, branch 0.3.0</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>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>
<entry>
<title>Add new search behaviour for imap</title>
<updated>2019-09-11T16:24:27+00:00</updated>
<author>
<name>Jeffas</name>
<email>dev@jeffas.io</email>
</author>
<published>2019-09-09T20:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=32381592fc335bc26a06cee847df926b9f6e6c06'/>
<id>32381592fc335bc26a06cee847df926b9f6e6c06</id>
<content type='text'>
This patch adds search behaviour to allow searching in the body of the
messages, the entire text (body + header), and searching just the from
header.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds search behaviour to allow searching in the body of the
messages, the entire text (body + header), and searching just the from
header.
</pre>
</div>
</content>
</entry>
<entry>
<title>extract search criteria parsing into the backends</title>
<updated>2019-08-28T23:44:10+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2019-08-28T04:39:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=94b9d557dee0fd13853b1883cc2730c5cbdbcd3f'/>
<id>94b9d557dee0fd13853b1883cc2730c5cbdbcd3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>imap worker: do not copy mailbox status mutex</title>
<updated>2019-08-26T00:54:57+00:00</updated>
<author>
<name>Wagner Riffel</name>
<email>wgrriffel@gmail.com</email>
</author>
<published>2019-08-22T12:53:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=90453b5db4a187b47756029615b012f165dc3ef3'/>
<id>90453b5db4a187b47756029615b012f165dc3ef3</id>
<content type='text'>
Signed-off-by: Wagner Riffel &lt;wgrriffel@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wagner Riffel &lt;wgrriffel@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't print imap errors to ui</title>
<updated>2019-08-08T00:47:15+00:00</updated>
<author>
<name>Jelle Besseling</name>
<email>jelle@pingiun.com</email>
</author>
<published>2019-08-04T20:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=aeca428c14e542b23774e3fa6ec27dc08271ba71'/>
<id>aeca428c14e542b23774e3fa6ec27dc08271ba71</id>
<content type='text'>
This fixes ~sircmpwn/aerc2#245. This sets up the imap client to send
error messages to the logger of the worker. Errors now end up in the
bottom status line.

https://todo.sr.ht/~sircmpwn/aerc2/245
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes ~sircmpwn/aerc2#245. This sets up the imap client to send
error messages to the logger of the worker. Errors now end up in the
bottom status line.

https://todo.sr.ht/~sircmpwn/aerc2/245
</pre>
</div>
</content>
</entry>
<entry>
<title>Register worker in init.</title>
<updated>2019-07-19T19:37:55+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2019-07-18T04:25:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=6fed04bb9fa43d3886d47d0c845d32fff11569b5'/>
<id>6fed04bb9fa43d3886d47d0c845d32fff11569b5</id>
<content type='text'>
This allows backends which can't always be compiled due to missing
dependencies (say libnotmuch) to be compiled conditionally with buildflags.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows backends which can't always be compiled due to missing
dependencies (say libnotmuch) to be compiled conditionally with buildflags.
</pre>
</div>
</content>
</entry>
<entry>
<title>#190 Handle gmail duplicate folder</title>
<updated>2019-07-11T23:38:40+00:00</updated>
<author>
<name>Daniel Bridges</name>
<email>bridges2@gmail.com</email>
</author>
<published>2019-07-11T04:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=06da4512b98e6dd0526522f5350d22555d7e5d83'/>
<id>06da4512b98e6dd0526522f5350d22555d7e5d83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Support imaps with oauthbearer authentication (Gmail)</title>
<updated>2019-07-11T23:36:14+00:00</updated>
<author>
<name>Frode Aannevik</name>
<email>frode.aa@gmail.com</email>
</author>
<published>2019-07-10T19:00:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.benburwell.com/mirrors/aerc/commit/?id=b0eaf5191c9bc5b128e347625b7eef998ba63c41'/>
<id>b0eaf5191c9bc5b128e347625b7eef998ba63c41</id>
<content type='text'>
    imaps+oauthbearer://user:token@host?token_endpoint=...

 - the config Source password is used as access token if
   no token_endpoint parameter is set
 - the config Source password is used as refresh token if
   token_endpoint parameter is set, and used to exchange
   with an access token

The implementation has only been tested with Gmail.

    source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \
    client_id=XX&amp;\
    client_secret=XX&amp;\
    token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken

client credentials created with

    https://console.developers.google.com/apis/credentials

refresh token created with

    https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py

rel: https://todo.sr.ht/~sircmpwn/aerc2/42
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    imaps+oauthbearer://user:token@host?token_endpoint=...

 - the config Source password is used as access token if
   no token_endpoint parameter is set
 - the config Source password is used as refresh token if
   token_endpoint parameter is set, and used to exchange
   with an access token

The implementation has only been tested with Gmail.

    source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \
    client_id=XX&amp;\
    client_secret=XX&amp;\
    token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken

client credentials created with

    https://console.developers.google.com/apis/credentials

refresh token created with

    https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py

rel: https://todo.sr.ht/~sircmpwn/aerc2/42
</pre>
</div>
</content>
</entry>
</feed>
