aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/assets/attachments.js
Commit message (Collapse)AuthorAgeFilesLines
* Rig up button to remove attachmentsDrew DeVault2020-10-301-0/+6
|
* attachments.js: discard unused drag eventsDrew DeVault2020-10-291-0/+9
|
* attachments.js: remove unused variablesDrew DeVault2020-10-291-7/+1
|
* Implement JavaScript UI for attachmentsDrew DeVault2020-10-291-0/+146
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?