SmartSieve - TODO


TODO for 0.6

* allow user to switch script into direct edit mode
* fix mcrypt.php: MCRYPT_DEV_RANDOM->MCRYPT_RAND, keep IV, and mcrypt_generic_deinit
* add support for cram-md5 authentication
* remove dependency on c-client by adding hardcoded pure-php imap functions
* fix mailbox list for proxy authorization
* do HAVESPACE before doing a PUTSCRIPT as the spec demands. HAVESPACE is broken up to 
  cyrus-2.0.16, so will need to handle this according to timsieved version
* move functions to SmartSieve class: rule.php:checkRule(),vacation.php:checkRule(), 
* make use of sieve redirect, reject, etc configurable
* make it possible to supply other server options from login.php
* call getMailboxName from retrieveMailboxList
* write a getScriptLine function to do rtrim, stripslashes, etc. to read script safely
* add checks to make sure no HTML/javascript is written to a sieve script (htmlspecialchars strip_tags())
* make checkRule() checkVacation() more generic and call from updateScript()
* include file/line number to log messages
* make sure unixhierarchysep is handled properly

TODO for 0.7.0

* major rewrite of meta-indexing code
* implement rule as an object
* write a generic error class similar to pearError

Miscellaneous TODOs

* more htmlspecialchars()
* add $servers->imapflags value to conf/servers.php (?).
* add view raw script option to main.php
* add drop down list for rule position on create rule page
* handle magic_quotes_runtime = 'On'
* abbreviate vacation and reject text in summary lines on main.php
* investigate using STARTTLS or fsockopen('ssl://server...


$Id: TODO,v 1.59 2004/12/03 14:37:36 stephengrier Exp $
