X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=8f6df9ecf880c64a70921260c8be1b56e6459493;hb=e7a97d925f692e1340017f96d04e3535dc6f532d;hp=53d09afd54fc7bef03c6aa42265e5f93522cadc2;hpb=cb1f0763841bbeced908b053960baf228b692ca1;p=mimedecode.git diff --git a/TODO b/TODO index 53d09af..8f6df9e 100644 --- a/TODO +++ b/TODO @@ -1,38 +1,41 @@ -Add options --save-headers, --save-body and --save-message to save -decoded headers/bodies/messages of parts to files. +Convert mimedecode.py library from global functions to a class. -Add option -O to set the destination directory. +flake8. -Add an option -B to skip content-transfer-decoding binary attachments (leave it -as base64 or such). +PyPI. -Release 2.5.0. +Release 3.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.