Commit graph

82 commits

Author SHA1 Message Date
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
86579bb478 Remove async SMTP queue 2020-11-13 10:33:19 -05:00
Drew DeVault
0d1cca191b alps/compose.html: fix message ID 2020-11-13 10:33:16 -05:00
Drew DeVault
5268eba101 Notify server when user discards attachment 2020-11-12 12:09:51 -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
e4daf0778d Implement mailbox deletion 2020-10-30 15:21:33 -04:00
Drew DeVault
62e7cf8933 Rig up button to remove attachments 2020-10-30 13:50:43 -04:00
Drew DeVault
417d9bbd64 Implement folder creation UI 2020-10-30 13:41:25 -04:00
Drew DeVault
2bef9425fb Simplify & fix bugs with select all functionality 2020-10-30 13:10:26 -04:00
Drew DeVault
6a6ea3e63b message view: add print button & stylesheet 2020-10-30 12:53:25 -04:00
Drew DeVault
cbeacf9d06 Copy unsent messages to Outbox
This patch:

1. Copies unsent messages to the outbox before attempting to deliver
   them with SMTP
2. Deletes those messages once they're sent, or leaves them if an error
   occured
3. Updates the message list to make it obvious when there are unsent
   messages in the outbox
2020-10-30 11:47:23 -04:00
Drew DeVault
8bd829962f attachments.js: discard unused drag events 2020-10-29 17:38:06 -04:00
Drew DeVault
26e6e66b04 attachments.js: remove unused variables 2020-10-29 15:30:55 -04: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
4904207269 Replace parts tree with attachment list 2020-10-23 16:08:40 -04:00
Drew DeVault
09d19169da alps theme: consoldate tab active/hover styles
Fixes some visual weirdness in an edge case
2020-10-23 15:35:20 -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
8764397b7d alps theme: fix borders on each unread row
This addresses an oversight from when the fifth column (flags) was
introduced.
2020-10-23 12:03:23 -04:00
Drew DeVault
2d73c882df Link sender name to search for their email address 2020-10-23 11:47:30 -04:00
Drew DeVault
0769190180 message list: color \Flagged status yellow 2020-10-22 13:31:41 -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
8de661b3bb Hide caldav/carrdav in nav unless present 2020-10-22 11:36:26 -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
наб
ae9e70b5ad
sourcehut theme: fix nil on emails without a text part
P.a. to 50e131244a which solved
https://todo.sr.ht/~emersion/alps/100

Closes: https://todo.sr.ht/~emersion/alps/102
2020-07-13 17:07:18 +02: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
0a9c246794
plugins/caldav: add basic day view 2020-05-21 17:06:51 +02:00
Drew DeVault
79233fa5cb
alps theme: wire up auto-completion in compose 2020-05-20 22:12:37 +02:00
Drew DeVault
7293b7e8e7
alps theme: add button to load remote content 2020-05-20 22:10:56 +02:00
Drew DeVault
a892251387
alps theme: add event page layout 2020-05-20 22:06:35 +02:00
Drew DeVault
7fb2b65eaa
alps theme: unify create/update styles 2020-05-20 22:06:35 +02:00
Drew DeVault
024cab94f1
alps theme: add layout for calendar event update 2020-05-20 22:06:32 +02:00
Drew DeVault
9465f8db6d
login: set encrypted "remember me" token 2020-05-20 19:07:47 +02:00
Drew DeVault
ee3f66c24c
alps theme: layout settings page 2020-05-20 19:00:40 +02:00
Drew DeVault
7142da950d
alps theme: initial layout for calendar 2020-05-20 18:59:01 +02:00
Drew DeVault
50cb8bef77
alps theme: add contact edit/create 2020-05-20 17:47:52 +02:00
Drew DeVault
e4e410de1e
alps theme: add contact details page 2020-05-20 17:47:52 +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
7ba4275471
alps: improve margin on email bodies 2020-05-20 15:26:42 +02:00
Drew DeVault
5fee600c6e
alps theme: theme the login page 2020-05-13 20:54:15 +02:00
Drew DeVault
5a73ca6ebb
alps theme: if there's nothing to show, say so 2020-05-13 20:52:36 +02:00