X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=TODO;h=8f6df9ecf880c64a70921260c8be1b56e6459493;hp=587eb427a27a11538688f9bd87846e4a000b2ea4;hb=HEAD;hpb=eee83ff25c87ab0f7abb8b77637f8b24a509250b diff --git a/TODO b/TODO index 587eb42..8f6df9e 100644 --- a/TODO +++ b/TODO @@ -1,42 +1,41 @@ -Add option --set-param=header:param=value to set header parameter's value (only -at the top level). +Convert mimedecode.py library from global functions to a class. -Add options --save-headers, --save-body and --save-message to save -decoded headers/bodies/messages of parts to files. +flake8. -Add option -O to set the destination directory. +PyPI. -Add an option -B to skip content-transfer-decoding binary attachments (leave it -as base64 or such). +Release 3.0. -Release 2.5.0. +Replace getopt with argparse. -Allow -d and -p accept shell-like patterns and/or regular expressions: --d content-*,-content-*-encoding + +Move mimedecode to https://phdru.name/Software/Python/mimedecode/ . -Add an option -I to completely skip (remove) subparts -- no headers, no body, -nothing. +Release 3.1. -Never touch multipart/encrypted and multipart/signed. +Installers. -Release 2.6.0. +Process message/delivery-status and text/rfc822-headers subparts. -Extend options -eIi to multipart subparts. +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 to convert dates to the current locate and timezone. +Convert dates to the current locale and timezone (with an option?) -Release 2.7.0. +Allow -d and -p accept shell-like patterns and/or regular expressions: +-d content-*,-content-*-encoding Add option --save-as='%format' to generate names for --save-* files. Develop -a DSL to conditionally use values from headers and parameters. +a DSL to conditionally use values of headers, parameters and the counter.