X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=TODO;h=4c159338d31b54b6f6a36a99ed49d96c8d7747aa;hb=b0fa813d4e4de771dd4cbd606fe8dfbc2756c670;hp=104db0ec348f22467c910eb49a13a8563d45673f;hpb=0fac7ebea8ea40e9e3882591f946ac08f97a21aa;p=mimedecode.git diff --git a/TODO b/TODO index 104db0e..4c15933 100644 --- a/TODO +++ b/TODO @@ -1,39 +1,41 @@ -Add option -s header:value to set header's value. +Convert mimedecode.py library from global functions to a class. -Add option -S header:param=value to set header parameter's value. +flake8. -Add options --save-headers, --save-body and --save-message to save -decoded headers/bodies/messages of parts to files. -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 http://phdru.name/Software/Python/mimedecode/ . + +Release 3.1. -Add an option -I to completely skip (remove) subparts -- no headers, no body, -nothing. +Installers. -Never touch multipart/encrypted and multipart/signed. +Process message/delivery-status and text/rfc822-headers subparts. -Release 2.6.0. +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-*. -Extend options -eIi to multipart subparts. +Convert dates to the current locale and timezone (with an option?) -Add an option to convert dates to the current locate and timezone. + +Allow -d and -p accept shell-like patterns and/or regular expressions: +-d content-*,-content-*-encoding -Release 2.7.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.