I write code.
For sourcehut support, see the wiki.
Got it in 146.
Filed follow-up tickets for future work: #128, #129
REPORTED RESOLVED IMPLEMENTED
If the user attempts to upload too many attachments at once, we'll error out and offer a button to clean out the unsent attachments first?
Returning to the inbox while processing uploads in the background would be a very intrusive change. It would basically require turning the entire application into an SPA, or some kind of faux-SPA at the least.
The approach I'm working on now (we'll see if it's any good) starts uploading the files as soon as you add them to the file box (or drag and drop them) and shows a little progress bar and such. It'll prevent the user from sending the message until all uploads are completed. It falls back to the same behavior we had before if JS is disabled.
Let's see how this approach feels before trying something which requires a broader overhaul to the application.
I would be interested in at least seeing what a BearSSL-based implementation looks like.
Hm, a more robust solution would probably be to store the index in the client and set the fd to -1 in the pollfd to indicate that it's available.