Commits


fix last sender name/date in the index pick up the *latest* From/Date for the indexes, not what happened to be the last mail rendered in that thread. spotted by stsp@


mkindex: show the latest date/sender per thread


urlencode the mail/thread id reminded by semarie@, thanks!


style


use File::Temp for the index pages; specify why it's not using tmppath we can't use the tmppath pledge promise as File::Temp checks whether /tmp exists. We could unveil("/tmp", "r") and use `tmppath', but it seem misleading. (noticed after semarie@ reminded me of `tmppath')


state the license on each file


s/entries/threads/g


drop `next-prev' class; just use `nav' as selector


create temp files in /tmp and don't allow writes to "." there's little point to use pledge/unveil and then allow the program to modify itself...


refactor the "thread header" into a separate function


move index header to separate file and behind a function


refactor how external file are slurped


typo


style


close the old thread in endthread, not in thread_entry