Commit graph

20 commits

Author SHA1 Message Date
Drew DeVault 8cc742f45d Fix issues with to/from headers 2020-11-19 13:06:38 -05:00
Drew DeVault 61cdb93e48 s/email/text/ in To & From fields
type="email" does not validate RFC 2822 address lists
2020-11-19 12:40:39 -05:00
Drew DeVault 7b3e580fe4 Workaround for MISSING_MAILBOX@MISSING_DOMAIN 2020-11-13 13:42:27 -05:00
Drew DeVault 1565a335db alps/compose.html: fix autofocus on wrong field 2020-11-13 13:32:07 -05:00
Drew DeVault 1321cea241 Redirect to edit draft after saving message 2020-11-13 11:55:56 -05:00
Drew DeVault 12547e2654 compose.html: add font awesome license 2020-11-13 11:08:04 -05:00
Drew DeVault fe32c53a17 Improve UI while emails are being sent 2020-11-13 11:05:10 -05:00
Drew DeVault 0d1cca191b alps/compose.html: fix message ID 2020-11-13 10:33:16 -05:00
Drew DeVault aad5f44f6c Display server errors on attachment upload 2020-11-12 12:09:41 -05:00
Drew DeVault 231626a31a alps: implement forwarding attachments 2020-11-12 11:21:14 -05:00
Drew DeVault a5fe1e358e Carry Message-ID forward through compose process 2020-11-12 11:21:06 -05:00
Drew DeVault a393429f01 Implement JavaScript UI for attachments
This one is a bit of a doozy. A summary of the changes:

- Session has grown storage for attachments which have been uploaded but
  not yet sent.
- The list of attachments on a message is refcounted so that we can
  clean up the temporary files only after it's done with - i.e. after
  copying to Sent and after all of the SMTP attempts are done.
- Abandoned attachments are cleared out on process shutdown.

Future work:
- Add a limit to the maximum number of pending attachments the user can
  have in the session.
- Periodically clean out abandoned attachments?
2020-10-29 15:18:36 -04:00
Drew DeVault 6ba418c9b2 Generalize sidebar categorization logic 2020-10-22 13:03:50 -04:00
Drew DeVault 79233fa5cb
alps theme: wire up auto-completion in compose 2020-05-20 22:12:37 +02:00
Drew DeVault 7fb2b65eaa
alps theme: unify create/update styles 2020-05-20 22:06:35 +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 6395be6737
themes/alps: add button to save as draft 2020-03-27 11:30:11 +01:00
Simon Ser c182fbde63
themes/alps: new theme 2020-03-19 18:03:13 +01:00