<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/worker/lib, branch shivesh</title>
<subtitle>A pretty good email client (shivesh branch)</subtitle>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/'/>
<entry>
<title>lib/parse: simplify parseAddressList</title>
<updated>2021-02-22T10:47:31+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2021-02-22T10:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=fda424bebc6dedbbcbffe4d330accc70d081b478'/>
<id>fda424bebc6dedbbcbffe4d330accc70d081b478</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/parse: use go-message msgid parsing if it succeeds</title>
<updated>2020-11-14T14:40:13+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-11-08T12:39:51+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=18b0ea571aa1d76af5f250583285a072d2b64c4a'/>
<id>18b0ea571aa1d76af5f250583285a072d2b64c4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>remove models.Address in favor of go-message Address</title>
<updated>2020-11-14T14:40:13+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-11-10T18:57:09+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=fc9ccc30008e564c1dea23b3bfe480ca5a10c070'/>
<id>fc9ccc30008e564c1dea23b3bfe480ca5a10c070</id>
<content type='text'>
We made a new type out of go-message/mail.Address without any real reason.
This suddenly made it necessary to convert from one to the other without actually
having any benefit whatsoever.
This commit gets rid of the additional type
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We made a new type out of go-message/mail.Address without any real reason.
This suddenly made it necessary to convert from one to the other without actually
having any benefit whatsoever.
This commit gets rid of the additional type
</pre>
</div>
</content>
</entry>
<entry>
<title>handle message unknown charset error</title>
<updated>2020-08-31T20:00:28+00:00</updated>
<author>
<name>Jeff Martin</name>
<email>jeffmartin@gmail.com</email>
</author>
<published>2020-08-21T18:58:30+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=0acb28645fe73d488b82d2915add6c262028bbe3'/>
<id>0acb28645fe73d488b82d2915add6c262028bbe3</id>
<content type='text'>
This change handles message parse errors by printing the error when the
user tries to view the message. Specifically only handling unknown
charset errors in this patch, but there are many types of invalid
messages that can be handled in this way.

aerc currently leaves certain messages in the msglist in the pending
(spinner) state, and I'm unable to view or modify the message. aerc also
only prints parse errors with message when they are initially loaded.
This UX is a little better, because you can still see the header info
about the message, and if you try to view it, you will see the specific
error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change handles message parse errors by printing the error when the
user tries to view the message. Specifically only handling unknown
charset errors in this patch, but there are many types of invalid
messages that can be handled in this way.

aerc currently leaves certain messages in the msglist in the pending
(spinner) state, and I'm unable to view or modify the message. aerc also
only prints parse errors with message when they are initially loaded.
This UX is a little better, because you can still see the header info
about the message, and if you try to view it, you will see the specific
error.
</pre>
</div>
</content>
</entry>
<entry>
<title>base models.Address on the mail.Address type</title>
<updated>2020-08-20T17:18:57+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-08-19T10:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=c84630714405a1e93766a6a6c023801302a3ea66'/>
<id>c84630714405a1e93766a6a6c023801302a3ea66</id>
<content type='text'>
This allows us to hook into the std libs implementation of parsing related stuff.
For this, we need to get rid of the distinction between a mailbox and a host
to just a single "address" field.

However this is already the common case. All but one users immediately
concatenated the mbox/domain to a single address.

So this in effects makes it simpler for most cases and we simply do the
transformation in the special case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows us to hook into the std libs implementation of parsing related stuff.
For this, we need to get rid of the distinction between a mailbox and a host
to just a single "address" field.

However this is already the common case. All but one users immediately
concatenated the mbox/domain to a single address.

So this in effects makes it simpler for most cases and we simply do the
transformation in the special case.
</pre>
</div>
</content>
</entry>
<entry>
<title>improve date parsing for notmuch/maildir</title>
<updated>2020-08-10T06:00:52+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-07-26T23:48:22+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=f1a0fd20d6d30fb1203ffa3cb9f4004476acfdb3'/>
<id>f1a0fd20d6d30fb1203ffa3cb9f4004476acfdb3</id>
<content type='text'>
If a message date would fail to parse, the worker would never receive
the MessageInfo it asked for, and so it wouldn't display the message.

The problem is the spec for date formats is too lax, so trying to ensure
we can parse every weird date format out there is not a strategy we want
to pursue. On the other hand, preventing the user from reading and
working with a message due to the error format is also not a solution.

The maildir and notmuch workers will now fallback to the internal date, which
is based on the received header if we can't parse the format of the Date header.

The UI will also fallback to the received header whenever the date header can't
be parsed.

This patch is based on the work done by Lyudmil Angelov &lt;lyudmilangelov@gmail.com&gt;
But tries to handle a parsing error a bit more gracefully instead of just returning
the zero date.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a message date would fail to parse, the worker would never receive
the MessageInfo it asked for, and so it wouldn't display the message.

The problem is the spec for date formats is too lax, so trying to ensure
we can parse every weird date format out there is not a strategy we want
to pursue. On the other hand, preventing the user from reading and
working with a message due to the error format is also not a solution.

The maildir and notmuch workers will now fallback to the internal date, which
is based on the received header if we can't parse the format of the Date header.

The UI will also fallback to the received header whenever the date header can't
be parsed.

This patch is based on the work done by Lyudmil Angelov &lt;lyudmilangelov@gmail.com&gt;
But tries to handle a parsing error a bit more gracefully instead of just returning
the zero date.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove hard coded bodystruct path everywhere</title>
<updated>2020-07-27T07:19:27+00:00</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-06-19T15:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=c574a838fa89bf46bf7188442f400b206b04df95'/>
<id>c574a838fa89bf46bf7188442f400b206b04df95</id>
<content type='text'>
Aerc usually used the path []int{1} if it didn't know what the proper path is.
However this only works for multipart messages and breaks if it isn't one.

This patch removes all the hard coding and extracts the necessary helpers to lib.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Aerc usually used the path []int{1} if it didn't know what the proper path is.
However this only works for multipart messages and breaks if it isn't one.

This patch removes all the hard coding and extracts the necessary helpers to lib.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make it easier to debug date parsing errors</title>
<updated>2020-07-11T11:51:32+00:00</updated>
<author>
<name>Lyudmil Angelov</name>
<email>lyudmilangelov@gmail.com</email>
</author>
<published>2020-07-10T08:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=cc44027545a22fe264c3a928f1645a1479f3ad9f'/>
<id>cc44027545a22fe264c3a928f1645a1479f3ad9f</id>
<content type='text'>
When message dates failed to parse, the error displayed would try to
include the time object it failed to obtain, which would display as
something like 0001-01-01 00:00:00 UTC, which isn't of much help.

Instead, display the text we were trying to parse into a date, which
makes the problem easier to debug.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When message dates failed to parse, the error displayed would try to
include the time object it failed to obtain, which would display as
something like 0001-01-01 00:00:00 UTC, which isn't of much help.

Instead, display the text we were trying to parse into a date, which
makes the problem easier to debug.
</pre>
</div>
</content>
</entry>
<entry>
<title>Guess date from received if not present</title>
<updated>2020-05-06T14:00:33+00:00</updated>
<author>
<name>elumbella</name>
<email>elumbella@posteo.net</email>
</author>
<published>2020-05-05T09:26:43+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=d1600e4666e9efdb3ae45ef2cc01182950a41bb5'/>
<id>d1600e4666e9efdb3ae45ef2cc01182950a41bb5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial support for PGP decryption &amp; signatures</title>
<updated>2020-03-03T21:49:52+00:00</updated>
<author>
<name>Drew DeVault</name>
<email>sir@cmpwn.com</email>
</author>
<published>2020-03-03T21:20:07+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.shivesh.org/aerc/commit/?id=f3158b36f1f210ff54febbe82b571c1379b30c98'/>
<id>f3158b36f1f210ff54febbe82b571c1379b30c98</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
