X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=4c159338d31b54b6f6a36a99ed49d96c8d7747aa;hb=e5ae9cbc87c7fab8fe8070e14118e78b2311c5d6;hp=da13a02ef28cdd05db98de44a08739d2247f6db4;hpb=132782e4926381f746dd9ea6b03e3feaaf52579a;p=mimedecode.git diff --git a/TODO b/TODO index da13a02..4c15933 100644 --- a/TODO +++ b/TODO @@ -1,66 +1,41 @@ -Allow * and exceptions for -p: --p h1,h2,h3:*,-p1,-p2,-p3 --p *,-h1,-h2,-h3:p1,p2,p3 --p *,-h1,-h2,-h3:*,-p1,-p2,-p3 +Convert mimedecode.py library from global functions to a class. -Publish docs in html format. +flake8. -Release 2.4.0. +PyPI. -Change option -r to accept a list of headers: -r h1,h2,h3,... +Release 3.0. -Change option -r to remove all headers and accept a list of exceptions: --r *,-h1,-h2,... +Replace getopt with argparse. -Change option -R to accept lists of headers and parameters: --R h1,h2,h3:p1,p2,p3 -Allow * and exceptions: --R h1,h2,h3:*,-p1,-p2,-p3 --R *,-h1,-h2,-h3:p1,p2,p3 --R *,-h1,-h2,-h3:*,-p1,-p2,-p3 +Move mimedecode to http://phdru.name/Software/Python/mimedecode/ . -Remove option --remove-params. +Release 3.1. -Release 2.5.0. +Installers. -Add option -s to save decoded headers/bodies/messages of parts to files. +Process message/delivery-status and text/rfc822-headers subparts. -Add option -O to set the destination directory. +Never decode subparts of multipart/encrypted and multipart/signed messages but +allow processing of headers of the top-level part, ignoring the top-level part +with -I, aborting it with -e or saving the part or subparts with --save-*. -Add an option -B to skip content-transfer-decoding binary attachments (leave it -as base64 or such). - -Release 2.6.0. +Convert dates to the current locale and timezone (with an option?) Allow -d and -p accept shell-like patterns and/or regular expressions: -d content-*,-content-*-encoding -Add an option -I to completely skip (remove) subparts -- no headers, no body, -nothing. - - -Never touch multipart/encrypted and multipart/signed. - - -Release 2.7.0. - - -Extend options -eIi to multipart subparts. - - -Add an option to convert dates to the current locate and timezone. - - -Release 2.8.0. +Add option --save-as='%format' to generate names for --save-* files. Develop +a DSL to conditionally use values of headers, parameters and the counter.