<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aerc/lib/templates, branch master</title>
<subtitle>mirror of ~rjarry's aerc fork - a pretty good email client
</subtitle>
<id>https://git.tilde.institute/akspecs/aerc/atom?h=master</id>
<link rel='self' href='https://git.tilde.institute/akspecs/aerc/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/'/>
<updated>2021-11-05T09:21:45Z</updated>
<entry>
<title>go.mod: change base git url</title>
<updated>2021-11-05T09:21:45Z</updated>
<author>
<name>Robin Jarry</name>
<email>robin@jarry.cc</email>
</author>
<published>2021-11-05T09:19:46Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=0d645bcebda8d764c4f21f71ded1e3627d6e8837'/>
<id>urn:sha1:0d645bcebda8d764c4f21f71ded1e3627d6e8837</id>
<content type='text'>
I'm not sure what are the implications but it seems required.

Link: https://github.com/golang/go/issues/20883
Signed-off-by: Robin Jarry &lt;robin@jarry.cc&gt;
</content>
</entry>
<entry>
<title>compose: use a proper header instead of a string map</title>
<updated>2020-11-14T14:40:13Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-11-10T19:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=20ec2c8eeb2e071f28358814935a0f56672a9f49'/>
<id>urn:sha1:20ec2c8eeb2e071f28358814935a0f56672a9f49</id>
<content type='text'>
Prior to this commit, the composer was based on a map[string]string.
While this approach was very versatile, it lead to a constant encoding / decoding
of addresses and other headers.

This commit switches to a different model, where the composer is based on a header.
Commands which want to interact with it can simply set some defaults they would
like to have. Users can overwrite them however they like.

In order to get access to the functions generating / getting the msgid go-message
was upgraded.
</content>
</entry>
<entry>
<title>templates: Remove ParseTemplate as it's unused</title>
<updated>2020-11-14T14:40:13Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-11-02T21:33:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=03fa9ad99bc36e09e489f2a7a588ef745f323801'/>
<id>urn:sha1:03fa9ad99bc36e09e489f2a7a588ef745f323801</id>
<content type='text'>
</content>
</entry>
<entry>
<title>templates: better error message</title>
<updated>2020-11-11T12:58:05Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-11-11T12:57:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=a9ae91c2d8d106ec85650fc0534c9cdffa8541eb'/>
<id>urn:sha1:a9ae91c2d8d106ec85650fc0534c9cdffa8541eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix dates in reply/forward commands.</title>
<updated>2020-06-26T07:25:53Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-06-26T07:25:53Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=8f1c6c46ff1de2d94377c0cf20fdc8bbdba59fef'/>
<id>urn:sha1:8f1c6c46ff1de2d94377c0cf20fdc8bbdba59fef</id>
<content type='text'>
The data was passed around as a string for some reason, which led to time
precision loss and wrong dates being displayed.
Simply pass the time as is to fix that.
</content>
</entry>
<entry>
<title>templates: add version func</title>
<updated>2020-05-06T14:00:59Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-05-02T12:06:02Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=6bd6690d80931062210d18f3e9855074707b03a8'/>
<id>urn:sha1:6bd6690d80931062210d18f3e9855074707b03a8</id>
<content type='text'>
Fixes #316
</content>
</entry>
<entry>
<title>Remove ability to specify headers in the editor</title>
<updated>2020-04-24T16:59:21Z</updated>
<author>
<name>Reto Brunner</name>
<email>reto@labrat.space</email>
</author>
<published>2020-04-23T18:55:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=acf69b7490f4848066f2df4b3c2f675a8d57661a'/>
<id>urn:sha1:acf69b7490f4848066f2df4b3c2f675a8d57661a</id>
<content type='text'>
Due to headers being essentially free text, we constantly run into issues
with parts of the body being interpreted as headers.

Remove the ability to overwrite headers to avoid that, while keeping the ability
to specify headers in the template files.

Fixes #383
</content>
</entry>
<entry>
<title>toLocal template function</title>
<updated>2020-02-25T16:05:41Z</updated>
<author>
<name>sqwishy</name>
<email>somebody@froghat.ca</email>
</author>
<published>2020-02-24T23:38:20Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=2fcd77f101003b65590f6ab103d0b633b219587b'/>
<id>urn:sha1:2fcd77f101003b65590f6ab103d0b633b219587b</id>
<content type='text'>
Hi. This adds a template function to convert a time to the local time zone. And modifies
the default quoted_reply template to use it and show the time zone when formatting the
timestamp of the quoted message.

Previously, the quoted message timestamp was UTC and it would format it without the time
zone. And I thought it might be a little confusing or weird to some normal people when I
email them and I don't want normal people to be confused or think that I'm weird.
</content>
</entry>
<entry>
<title>template: add exec and wrap</title>
<updated>2020-01-09T19:31:19Z</updated>
<author>
<name>Leszek Cimała</name>
<email>ernierasta@zori.cz</email>
</author>
<published>2020-01-08T20:44:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=bf0f72a533d5c1868b9819f769836ea22d5fa583'/>
<id>urn:sha1:bf0f72a533d5c1868b9819f769836ea22d5fa583</id>
<content type='text'>
</content>
</entry>
<entry>
<title>template: remove last \n to fix additional new lines after quote</title>
<updated>2020-01-09T19:31:19Z</updated>
<author>
<name>Leszek Cimała</name>
<email>ernierasta@zori.cz</email>
</author>
<published>2020-01-08T20:44:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/akspecs/aerc/commit/?id=fe9ec67eca201c75c09f1ef7ff51ac189de3a4d4'/>
<id>urn:sha1:fe9ec67eca201c75c09f1ef7ff51ac189de3a4d4</id>
<content type='text'>
</content>
</entry>
</feed>
