Commit graph

16 commits

Author SHA1 Message Date
Simon Ser 4ab5fb7f65
Make message view's Back link set the mailbox page
This allows to go back and forth between the mailbox view and the
message view.

References: https://todo.sr.ht/~sircmpwn/koushin/22
2019-12-03 20:06:43 +01:00
Simon Ser 8de93c50d2
Add basic pagination to message list
References: https://todo.sr.ht/~sircmpwn/koushin/22
2019-12-03 19:49:04 +01:00
Simon Ser b386d1c2bb
Fix mailbox view when empty
This fixes the second part of #14.

References: https://todo.sr.ht/~sircmpwn/koushin/14
2019-12-03 17:52:56 +01:00
Simon Ser c3fd390b1a
Set imap.CharsetReader
This adds support for additional charsets when parsing e.g. subject
lines.
2019-12-03 17:35:04 +01:00
Simon Ser ec03c60dff
Import go-message charsets package
Enables support for non-UTF8 charsets.

Closes: https://todo.sr.ht/~sircmpwn/koushin/18
2019-12-03 17:03:57 +01:00
Simon Ser 1194b98e54
Fix EOF on message view 2019-12-03 15:06:29 +01:00
Simon Ser 2d3cce64da
Fix format string 2019-12-03 14:48:43 +01:00
Simon Ser 96646c8324
Add context to errors 2019-12-03 14:48:11 +01:00
Simon Ser 4c52849539
Show last 50 messages in mailbox view 2019-12-03 13:25:35 +01:00
Simon Ser be14524c33
Display & download any message part 2019-12-03 13:07:25 +01:00
Simon Ser 33b8679f1c
Extract string conversion functions 2019-12-03 11:54:43 +01:00
Simon Ser ed50cef3cf
Linkify message part tree 2019-12-03 11:36:53 +01:00
Simon Ser 4cbe2fde9d
go fmt 2019-12-03 11:12:26 +01:00
Simon Ser 25c63d0530
Add basic message view 2019-12-02 19:53:09 +01:00
Simon Ser 39629b0740
Add basic message list 2019-12-02 18:21:45 +01:00
Simon Ser e9d31b0940
Extract IMAP functions into separate file 2019-12-02 17:58:19 +01:00