X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=TODO;h=8f6df9ecf880c64a70921260c8be1b56e6459493;hp=dc38ee05dc24c5b08627febde2a506f52841d53d;hb=HEAD;hpb=f445deb79a88e3d81c2fc5bc50e15510d301e0a3 diff --git a/TODO b/TODO index dc38ee0..8f6df9e 100644 --- a/TODO +++ b/TODO @@ -1,75 +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 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.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 -Add an option -I to completely skip (remove) subparts -- no headers, no body, -nothing. - - -Never touch multipart/encrypted and multipart/signed. - - -Release 2.8.0. - - -Extend options -eIi to multipart subparts. - - -Add an option to convert dates to the current locate and timezone. +Add option --save-as='%format' to generate names for --save-* files. Develop +a DSL to conditionally use values of headers, parameters and the counter.