[Citadel Development] Attachments now download with the appropriate filename.

2023-09-19 Thread rss
This was accomplished by disregarding any REST components to the right of the part number, allowing the filename to be placed there. The filename is sanitized to prevent script injection.

[Citadel Development] view_mail.js: better display of attachment links; attachments are now working

2023-09-19 Thread rss
Displaying each one as a link definitely makes it stand out from the message text. Display the size of each attachment -- _(bytes) is already in the webcit-classic translations Downloads are working, but the wrong file name is derived

[Citadel Development] Attachment download links target to _blank

2023-09-19 Thread rss

[Citadel Development] Re: Write server PID to citadel.lock in addition to locking it.

2023-09-19 Thread IGnatius T Foobar
So here's what is on my mind regarding this. Suggestions are welcome. `/var/run` is a good place to put the PID file, which as previously mentioned is also the lock file. Mounting the same database from two different instances of `citserver` would be A Bad Thing. (Even though I'm still

[Citadel Development] Where gettimeofday() is required, include both time.h and sys/time.h

2023-09-19 Thread rss