Commit graph

20 commits

Author SHA1 Message Date
Drew DeVault 2fb78cad97 Fix name of HTML tab in HTML-only emails 2020-11-19 10:43:18 -05:00
Drew DeVault 6a6ea3e63b message view: add print button & stylesheet 2020-10-30 12:53:25 -04:00
Drew DeVault 4904207269 Replace parts tree with attachment list 2020-10-23 16:08:40 -04:00
Drew DeVault 3db443c1df message.html: add tab to view raw email 2020-10-23 15:32:59 -04:00
Drew DeVault bd91b3eacf Fix errors arising from short-circuit assumption
The and/or operators in text/template don't short-circuit, so this
seemingly benign change caused a breakage when not fully tested.
2020-10-23 15:19:16 -04:00
Drew DeVault 64b16f4a50 message.html: add tabs to select html/plaintext 2020-10-23 15:15:46 -04:00
Drew DeVault 6ba418c9b2 Generalize sidebar categorization logic 2020-10-22 13:03:50 -04:00
Eyal Sawady 50e131244a
alps theme: fix nil on emails without a text part
Closes: https://todo.sr.ht/~emersion/alps/100
2020-06-29 16:37:41 +02:00
Simon Ser 9a7acd2791
Add INBOX unread count on mailbox/message pages 2020-05-21 19:19:17 +02:00
Drew DeVault 7293b7e8e7
alps theme: add button to load remote content 2020-05-20 22:10:56 +02:00
Simon Ser 8589228c73
Replace IMAPMessage.TextPartName with TextPart 2020-05-20 16:25:25 +02:00
Simon Ser ac7a3fb156
Always reply to plain-text part, if any
Closes: https://todo.sr.ht/~emersion/alps/51
2020-05-20 16:18:24 +02:00
Drew DeVault 7456c9574c
alps: theme contact list page 2020-05-13 20:52:06 +02:00
Drew DeVault 02bc8f68c9
message view: add part switcher
This also makes the appearance of HTML emails more consistent with
plaintext ones.
2020-05-13 20:40:57 +02:00
Drew DeVault e39879ec9a
alps theme: overhaul tables and action lists
This patch contains a whole lot of layout improvements for the alps
theme, mainly replacing the table soup with flexbox and CSS grids, and
fixing up a number of loose ends. This gives us a lot more flexibility
over how the page is laid out. I also cleaned up a lot of other
low-hanging fruit in the layout & styles.
2020-05-13 19:55:41 +02:00
Drew DeVault 1cf95af41e
Add <meta refresh> to mailbox view
This causes the mailbox to automatically reload the page every 60
seconds, without JavaScript.

This also updates the base template data to include the full URL, and
replaces the earlier "Path" field with a pre-split array of path
components, which is more immediately useful to most templates given the
limitations of string munging with text/template primitives.
2020-05-13 16:58:48 +02:00
Simon Ser c053b7332e
themes/alps: add link to edit drafts 2020-03-27 11:25:07 +01:00
Simon Ser f079bcc704
themes/alps: fix hardcoded mailbox list in message view 2020-03-27 10:50:58 +01:00
Simon Ser 81f52cc906
themes/alps: better redirect after performing message operations
Go back to the right page.
2020-03-27 10:46:32 +01:00
Simon Ser c182fbde63
themes/alps: new theme 2020-03-19 18:03:13 +01:00