Commits
- Commit:
4ad9fe9bbeb113cab0fddb1d670252ad6192d589
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo
- Commit:
a1d28a6284f703d26df5e35bb4bbfba42bd5ad55
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unnecessary unveil(".", "r")
These programs don't need to read files in the current directory:
GotMArc loads in memory some files at load time, at that point no
other accesses to "." are needed.
- Commit:
bd3babdf4467a7c440dd4fd8c66d8bbd1392d3ff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
dedup thread entry generation code
- Commit:
85fd8f63257c3c52f77790fd8e823737c9640b3b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add the thread excerpt at the bottom of each mail to ease navigation
- Commit:
1edd511a76a93626b5d324cb508bfec023ba4fc5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
print prev/next link in mail page
- Commit:
6b36ff28e431165968013873f5f6ceac19d8aea4
- From:
- Omar Polo <op@omarpolo.com>
- Date:
change GotMArc::parse to take the line instead of $_
- Commit:
bbdbef1aa611793df3db28ba27fa2ef8bb34cfad
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make GotMArc::parse return an hash reference instead of a list of strings
- Commit:
53bed50154a249d1263a3066d28500b3541539d5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use $mid.$partno.$ext for attachments rather than random strings
Keeps the attachment file names stable while it also allows to drop
the dep on Tempfile, the unveil of /tmp and the fattr pledge promise
too.
- 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:
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:
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:
f0fb0f0898465906e605ce59cd2b31d1730d6d8c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
urlencode the mail/thread id
reminded by semarie@, thanks!
- 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')
- Commit:
1bcb98996d9263f4db8045d0b71c8029749ca0bf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
state the license on each file