$Id: TODO,v 1.19 2002/07/24 06:06:06 bene1 Exp $

phpIpacStats - TODO 
===================

 [ ]  make data_dir really variable, string 'data' is hardcoded sometimes
 [ ]  redirect error-ouput from ipacsum to detect missing libgd-perl
      "ipacsum: cant draw png images because perl GD library not found"
 [ ]  implement sorting of rules at the text-summary (for example by traffic, 
      and optionally)
 [X]  fix bug with numbers in rule-names (Frank Trenkamp)
 [X]  transfer cvs repository to sourceforge
 [X]  make news section at phpipacstats-homepage
 [X]  reorganize homepage with some menu
 [X]  add possibility of execute right problem of ipacsum to 
      the error message (ipacsum not executable)
 [ ]  do some more ipacsum diffs and move them to subdirectory
 [ ]  create drop-down fields for date input? see email from frank
      trenkamp. 
 [X]  fix error detection for dates and times
      <bene> done, hope it works :)
 [X]  do not display images if none have been created (ie. no 
      data available for this timeframe)
 [X]  parse ipacsum output and display in a table
 [X]  transparent pngs without imagemagick
      <bene> done by patching ipacsum 
 [~]  translations 
 [ ]  do a clean-up in the data directory before ipacsum-execution?
 [X]  refresh german translation
 [X]  refresh templates (create stylesheet)
 [X]  format-check of dates and times 
 [X]  add support for variable number of rules
 [X]  eliminate shell-script (do it in php)
      and solve problem with different image names
      (because of different rule-names)
 [X]  ipac-ng (iptables)
 [X]  ensure browser reloads graphics every time
      works with:
      (X) Opera: YES
      (X) Netscape 4: YES
      (?) Netscape 6: not tested, can someone test this?
      (X) Mozilla: YES
      (X) IE: YES (v5.0)
      ( ) konqueror: NO! :/
 [X]  remove rules from ipacsum-output that are not in specified 
      config-file
 [ ]  do some nice logo maybe
 [ ]  configuration interface? (configure ipac.conf-file, image size, ...)
 [X]  fix classic and blue themes in mozilla
 [ ]  check performance of image.php, maybe write in some other language?
 [ ]  user --filter | -f option of ipacsum?
 [ ]  check config-file data on correctness and display errors
 [X]  test w3c-compliance of output pages
 [X]  image.php does not work in older apaches (ie. version 1.3.9)
 
---------------------------------------------------------------------------------

ad images-reload:
,----[ groups.google.com ]
| I solved it!  Instead of having the image SRC tag point to a gif file, it points
| to a perl script and passes the name of the file to be used.  The perl script
| gets the GIF, then prints the following headers:
|
| Pragma: no-cache
| Expires: 0
| Content-Type: image/gif
|
| After the headers, it prints out the binary source of the image.  So, the
| browser won't use a cached version because it's told that the image coming in
| shouldn't be cached.  Very different than pointing it to a GIF file sitting on
| the hard disk...
`----
