Todo List
base
- is this function redundant?
- remove instanceof check, this seems to have been an early php5 bug
- are there file/dir permissions to check for?
- should probably check if callback function exists
- consider the use of debug_backtrace() to track errors more easily
- it seems atleast on OpenLDAP a failed ldap_connect() never returns FALSE, that was a bad server always returns "invalid user or password"
- the Get*() functions should maybe cache their results to avoid reloading objects
- should we validate email addresses?
- ability to use another SMTP than system?
- make it possible to register static class functions
- perhaps some kind of complexity check?
- perhaps some kind of complexity check?
interface
- probably needs to check for non-existent group
- validate the variables when setting config values
- [HTTP_ACCEPT_ENCODING] => gzip,deflate in $GLOBALS could be used to enable/disable gzip compression
- print out read/write for each permission
- can only change group once now
- only load OIDs specified by the group chosen to speed up things
- hosts=värdar isn't a good translation
- only Synchronize() if any services has been run this time
services
- should be able to check for files depending on date, e.g. file040608.txt
- add support for SSL via ftp_ssl_connect(), remember to check if function exists (only does on OpenSSL-enabled PHP installs)
- check for passwords longer than 10-15 characters and warn that connection might fail (see comment on http://se2.php.net/manual/en/function.mssql-connect.php)
- does it matter what domain is specified in HELO?
sql
- test pros and cons of using persistent connections, mysql manual recommends it
- needs to check for numeric-only values
- sql query should have "GROUP BY C.name" but this mysteriously hides two config values?
- is it really safe to use "id LIKE '$group_id'"?
- perhaps user should only get one attempt thus clearing the recovery fields after a failed attempt?
- check for privileges (SHOW PRIVILEGES)?
- probably still a good idea to look for evil SQL queries like DROP DATABASE
- in mysql-4.1 this could probably run regularly using CHECKSUM TABLE to find out if a table changed
- optimize this crap!
- could save lots of sql queries by buffering these inserts and flush them at once
- when removing hosts and groups, this function must be called
- use subqueries when a switch to mysql4.1+ is possible
xml
- make the xml_parse() upon save optional for speed improvement
Documentation generated on Fri, 8 Apr 2005 18:27:46 +0200 by phpDocumentor 1.3.0RC3