Commits
- 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
- Commit:
6e04f5f45bb33affc6bd631ee440f5ebbc7f8a58
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop trailing space on Date header values
- Commit:
6797be468ce4469dac459cca3659886abf2f1b52
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix the Date header on the raw email too
while here also drops a useless chomp
- Commit:
1fd8f4545e2a1c086262c34aa03bc9ab1c606616
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add a nav at the end of each mail for raw body and thread link
- Commit:
66e1cf970a0d4c65c3140902532f2b85645aa7d0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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...
- Commit:
9d8482ab3a97d3cd0e22afbf8ae95144a0016e87
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor the "thread header" into a separate function
- Commit:
4ad24540ab5194cdb4b7bd90d56d14c258629faa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor how external file are slurped
- Commit:
de557185bc5f862ef773205dd8fb0f659bb4c1c2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
refactor the parsing into the module
change the mscan format string to siplify the parsing, and refactor
the parsing code into the module for reuse.
pe is an exception in that it doesn't care about the format string, it
just need to decide if the current line starts a new thread or not,
that's why it doesn't use the newly introduced `parse'. The new
format simplifies pe too though.
- Commit:
c971fcee68657ed9c77e081193fe84c1041ac662
- From:
- Omar Polo <op@omarpolo.com>
- Date:
mexp: defer skip test after $tid is set
otherwise we run with an undef $tid when processing new replies to
existing threads.
- Commit:
054f3fd48e662b95ddb20d25898866681971de6e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
pledge and unveil the scripts
- Commit:
a0b3025bee0b61defd97bb1c5b79554a575a47d9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop needless mkdirs