alps/plugins/base
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
..
public base HTML: fix nil on emails without a text part 2020-07-13 17:07:18 +02:00
imap.go Replace parts tree with attachment list 2020-10-23 16:08:40 -04:00
plugin.go Rename project to alps 2020-05-13 14:07:44 +02:00
routes.go Implement JavaScript UI for attachments 2020-10-29 15:18:36 -04:00
search.go Implement broader search functionality 2020-10-23 11:45:00 -04:00
smtp.go Implement JavaScript UI for attachments 2020-10-29 15:18:36 -04:00
strconv.go Rename project to alps 2020-05-13 14:07:44 +02:00
template.go Workaround template functions not loaded 2020-06-10 22:46:42 +02:00
viewer.go Rename project to alps 2020-05-13 14:07:44 +02:00