X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=TODO;h=8f6df9ecf880c64a70921260c8be1b56e6459493;hp=53e5eec28ca1c4426412cb765ac494d73a305ab8;hb=HEAD;hpb=699faef86841ecfba267e32692f4e5a28ee233f2 diff --git a/TODO b/TODO index 53e5eec..8f6df9e 100644 --- a/TODO +++ b/TODO @@ -1,44 +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. -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 +PyPI. -Change option -r to accept a list of headers: -r h1,h2,h3,... +Release 3.0. -Change option -r to remove all headers and accept a list of exceptions: --r *,-h1,-h2,... +Replace getopt with argparse. -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 +Move mimedecode to https://phdru.name/Software/Python/mimedecode/ . -Add option -s to save decoded parts to files. +Release 3.1. -Add option -O to set the destination directory. +Installers. -Add an option to skip content-decoding a binary attachement (leave it as -base64 or such). + +Process message/delivery-status and text/rfc822-headers 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-*. + + +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-*-exncoding +-d content-*,-content-*-encoding -Never touch multipart/encrypted and multipart/signed. +Add option --save-as='%format' to generate names for --save-* files. Develop +a DSL to conditionally use values of headers, parameters and the counter.