Commit graph

19 commits

Author SHA1 Message Date
Drew DeVault a5d2af2c4e Remove "this email was deleted by another client"
I was on the fence about adding this in the first place. The state of an
email being \Deleted but still in this inbox is unusual, and unlikely to
occur unless the user is already somewhat knowledgable about IMAP and
utilizing power-user-level tooling which could cause the situation to
arise. Alps does not target that kind of user, so this can be hidden.
2020-11-19 11:24:58 -05:00
Drew DeVault cb37df882e Add notices on action completion 2020-11-19 11:17:40 -05:00
Drew DeVault 1d0630dde9 Design work for mailbox subscriptions 2020-11-13 13:23:29 -05:00
Drew DeVault 2611bee170 Humanize message list dates 2020-11-13 12:28:46 -05:00
Drew DeVault 2bef9425fb Simplify & fix bugs with select all functionality 2020-10-30 13:10:26 -04:00
Drew DeVault 2d73c882df Link sender name to search for their email address 2020-10-23 11:47:30 -04:00
Drew DeVault d4fd1c1fe2 Add message flags to mailbox page 2020-10-22 13:28:11 -04:00
Drew DeVault 6ba418c9b2 Generalize sidebar categorization logic 2020-10-22 13:03:50 -04:00
Drew DeVault 9e2c420461 Categorize and normalize folder listing 2020-10-22 12:29:55 -04:00
Drew DeVault aaa30ead41 Handle \Deleted emails in message list
This can happen if an email is deleted by an external client, and this
change fixes a template crash in such cases.

I elected to display (deleted email) rather than to hide deleted
messages so that, if the message is unread, it provides an explanation
for your inbox showing $n unread emails where $n > number of non-deleted
emails.

This partially addresses ~migadu/alps#121
2020-10-22 10:40:29 -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
Simon Ser 8589228c73
Replace IMAPMessage.TextPartName with TextPart 2020-05-20 16:25:25 +02:00
Drew DeVault 5a73ca6ebb
alps theme: if there's nothing to show, say so 2020-05-13 20:52:36 +02:00
Drew DeVault 7456c9574c
alps: theme contact list page 2020-05-13 20:52:06 +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 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