Commit graph

12 commits

Author SHA1 Message Date
Drew DeVault
8cc742f45d Fix issues with to/from headers 2020-11-19 13:06:38 -05:00
Drew DeVault
51498a2dc3 JS enhancements to encourage bottom-posting 2020-11-19 11:41:47 -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
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
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
Jesse Olson
456d183ebc
Set Message-Id header 2020-08-05 14:56:19 +02:00
Simon Ser
b891a95fcf
Rename project to alps 2020-05-13 14:07:44 +02:00
Simon Ser
85c01b87a9
plugins/base: support attachments in drafts
References: https://todo.sr.ht/~sircmpwn/koushin/16
2020-01-28 12:30:07 +01:00
Simon Ser
d31c56ec98
plugins/base: edit drafts
Note that attachments will be lost. This is a TODO.
2020-01-24 20:07:29 +01:00
Simon Ser
08b259bd50
Add attachments support to composer
Closes: https://todo.sr.ht/~sircmpwn/koushin/13
2019-12-16 15:40:30 +01:00
Simon Ser
d897eeee5c
Introduce base plugin
This plugin offers base IMAP/SMTP functionality.

References: https://todo.sr.ht/~sircmpwn/koushin/39
2019-12-16 12:52:44 +01:00