X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=TODO;h=d8c3457abf9f6ce9b9b15cd3ce0d265c5a9e7483;hp=fae378bd54c93136e8f8e7a0079a773ad9d9825d;hb=972bae8625e655e34170c588561eed078ceb37d9;hpb=5609ebe933595e091f216abf575c448b514d7cb1 diff --git a/TODO b/TODO index fae378b..d8c3457 100644 --- a/TODO +++ b/TODO @@ -1,72 +1,34 @@ -Change option -d to decode all headers and accept a list of exceptions: --d *,-h1,-h2,... +flake8. -Change option -p to accept lists of headers and parameters: --p h1,h2,h3:p1,p2,p3 -Allow * and exceptions: --p h1,h2,h3:*,-p1,-p2,-p3 --p *,-h1,-h2,-h3:p1,p2,p3 --p *,-h1,-h2,-h3:*,-p1,-p2,-p3 +GitHub, Travis, AppVeyor, PyPI. -Publish docs in html format. +Split mimedecode.py into a library and a small script. +Move formatparam_27.py and mimedecode_version.py to the library. +Rename mimedecode_version.py to __version__.py. -Release 2.4.0. +Move mimedecode to http://phdru.name/Software/Python/mimedecode/ . -Change option -r to accept a list of headers: -r h1,h2,h3,... +Installers. -Change option -r to remove all headers and accept a list of exceptions: --r *,-h1,-h2,... +Process message/delivery-status and text/rfc822-headers subparts. -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 +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-*. -Remove option --remove-params. - - -Release 2.5.0. - - -Add option -s to save decoded headers/bodies/messages of parts to files. - -Add option -O to set the destination directory. - - -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.