Commits
- Commit:
70b47196e34f4f26bce03cb299d75aee2b6e34f6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
build a cache of hashes for each thread
The idea is to use this cache to spot changed threads and re-export
all the mail of the threads that changed. This will allow to add
thread navigation hints on each exported mail and have them up-to-date.
This makes the "skip if already exported" logic in mexp redundant
and incomplete. pe will decide whether to export or not, and mexp
blindly do the work.
- Commit:
75983083f49930cbff74c2bdbbce265dc5302009
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pe: restrict pledge
the children are pre-forked, so at runtime only "stdio" is needed.
- Commit:
b031debf35af538a6bd7d352717aa2ec69e83dd9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set binmode utf8 for the page file handler
avoids the "Wide character in print at ./mkindex line 152, <> line 2751"
warnings.
- Commit:
257d7c99293530caf1a1946dc1c649ce5b6f2966
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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@
- Commit:
debcbab21044d4ed53603bc14f0532ba6b3ba0b5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mkindex: show the latest date/sender per thread
- Commit:
6240f9b84ab152b622940a098379f74513e170a3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
"humanize" the attachment size
- Commit:
09cbeefa6773efae0c0e89e8149e057909f8fc00
- From:
- Omar Polo <op@omarpolo.com>
- Date:
woops, don't extract if already did
- Commit:
5b2f1d8d1cc75a37dda51b06aa2e9c28bdb14b22
- From:
- Omar Polo <op@omarpolo.com>
- Date:
retire filter-export; set everything to filter-ignore
- Commit:
f3481d062eb9757f517e16c8fef8430a19c3a5bb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't rely on filter-export anymore
Instead, parse the output of `mshow -t' and extract, one by one, the
interesting parts. This allows to generate a better listing (we know
name and size!) and to decide how to call the files (the extension is
important for httpd!)
- Commit:
b580c2f17bea00c92c35a0e72d435b910379cbca
- From:
- Omar Polo <op@omarpolo.com>
- Date:
export image/gif, jpeg and png too
- Commit:
8a090a172e23e4181d9fe7b99f357449d1786050
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use (part) of the original file name instead of the message-id
- Commit:
f0fb0f0898465906e605ce59cd2b31d1730d6d8c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
urlencode the mail/thread id
reminded by semarie@, thanks!
- Commit:
890362cd906d770a9ed8af92b2c281c113f9c18e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
270695a375c6af6579a26ccc62cef0be2b98a3e0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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')
- Commit:
d3d07147e45c1d13f2879130149ab354574e0f32
- From:
- Omar Polo <op@omarpolo.com>
- Date:
specify why it's not using tmppath pledge promise
in theory `mexp' could use the tmppath pledge promise and drop
unveil("/tmp/", "rwc") BUT File::Temp checks whether /tmp exists.
Another option would be to unveil("/tmp", "r") and use tmppath, but that
could seem misleading.
(noticed after semarie@ reminded me of `tmppath')