X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=8f6df9ecf880c64a70921260c8be1b56e6459493;hb=e7a97d925f692e1340017f96d04e3535dc6f532d;hp=cfab629eafce1a8518f2586f40f897b396a17da6;hpb=0078b13ee38abb36f877491f12dd336464aa5ea1;p=mimedecode.git diff --git a/TODO b/TODO index cfab629..8f6df9e 100644 --- a/TODO +++ b/TODO @@ -1,65 +1,41 @@ -Change option -d to accept a list of headers: -d h1,h2,h3,... +Convert mimedecode.py library from global functions to a class. -Change option -d to decode all headers and accept a list of exceptions: --d *,-h1,-h2,... +flake8. -Publish docs in html format. +PyPI. -Release 2.4.0. +Release 3.0. -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 +Replace getopt with argparse. -Release 2.5.0. +Move mimedecode to https://phdru.name/Software/Python/mimedecode/ . -Change option -r to accept a list of headers: -r h1,h2,h3,... +Release 3.1. -Change option -r to remove all headers and accept a list of exceptions: --r *,-h1,-h2,... +Installers. -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 +Process message/delivery-status and text/rfc822-headers subparts. -Remove option --remove-params. +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-*. -Release 2.6.0. - - -Add option -s to save decoded parts to files. - -Add option -O to set the destination directory. - - -Add an option to skip content-decoding a binary attachment (leave it as base64 -or such). - - -Release 2.7.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 -Never touch multipart/encrypted and multipart/signed. - - -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.