**To do list:**

===== Done =====

===== Check for compatibility with Coppermine 1.5 =====

  * Plugin management: The configuration button disappeared.
  * Upload page:
    * Change category doesn't work (no response from ajax part)
    * Album creation: doesn't work.


===== Short term =====

  * Test compatibility with Coppermine Picture-of-the-Day/Week Plugin
  

  * File debugOut should be on, only if debugLevel is 1 or more (better: add a new applet parameter)

  * Try runkit_function_redefine 
  (would allow to redefine the cg_die function, and use 'standard' Coppermine functions. Would make
  Stramm's modpack integration easy.
->Some things around that:
- runkit_function_redefine allows to redefine a given method. For JUpload integration in Coppermine, this can be used to
override functions when uploading a picture. This allows reuse of Coppermine code, by controlling of the possible errors, and
sending them in the proper format, so that the applet can use them. Method to override would be :
  1) Override cpg_die. This allows to control the Coppermine's behavior, when an error occurs. I want to prevent the HTML Coppermine 
  error page to be displayed, and, instead write a line "ERROR: The error text". This is easy to trap in the applet.
  In case of success, I need to write a line with: "SUCCESS"
  2) Current status: 
  	[JUpload] j_picmgmt.inc.php contains:
  		jupload_cpg_die
  		handle_uploaded_files
  		jupload_add_physical_file
  		after_upload
  		jupload_add_picture. Differences with Coppermine standard add_picture:
  			- [NoDiff] Add of some debug output.
  			- [EasyToChange] Change from cpg_die to jupload_cpg_die.
  			- [Major] If no title and $JUPLOAD_CONFIG['generateDefaultPictureTitle']: a default title is generated from the filename.
  				This hack can be removed, by sending a title parameter to the function. 
  		jupload_resize_image:
  			- [NoDiff] Add of some debug output.
  			- [EasyToChange] Change from cpg_die to jupload_cpg_die.
  	[Coppermine] picmgmt.inc.php contains:
  		add_picture
  		resize_image
  3) Next steps:
  	a) Move specific jupload functions into a specific include. These functions are: jupload_cpg_die, handle_uploaded_files, 
  	jupload_add_physical_file and after_upload.
  	b) Change the way generateDefaultPictureTitle is managed. Must be done before calling add_picture.
  	c) If runkit_function_redefine IS NOT available
  		- Duplicate Stramm's add_picture and resize_image functions, into jupload_stramm_add_picture and jupload_stramm_resize_image.  		 
  		- Rename jupload_add_picture and jupload_resize_image definitions to jupload_standard_add_picture and jupload_standard_resize_image.
  		- Create new jupload_add_picture and jupload_resize_image: they should redirect to the relevant jupload_standard_xxx or
  		jupload_stramm_xxx function.
  			=> HOW TO NOW IF STRAMM'S MODPACK IS INSTALLED ??????  
  	d) If runkit_function_redefine IS available
  		- Standard jupload_add_picture and jupload_resize_image definition are JUpload specific code.
  		- Redefine cpg_die, to call jupload_cpg_die.
  		- Redefine jupload_add_picture to call standard add_picture
  		- Redefine jupload_resize_image to call standard resize_image

  
  * Major: check where files are stored
  Answer to: http://forum.coppermine-gallery.net/index.php/topic,60153.new.html#new
  
  * Make the Wiki work again!
  
  * When a user whose upload must be validated, an alert box is displayed for each file: 
  'your picture needs to be validated by the admin'. Tiring.

  * Answer to: E:\temp2\jupload\bug\Error during upload\index.php.htm

  * java.lang.NullPointerException
  http://forum.coppermine-gallery.net/index.php?topic=58543.msg287996#new
  
  * Integration with Stramm's modpack.
  http://forum.coppermine-gallery.net/index.php?topic=58540.msg287991#new
  
  * Problem with ImageMagick
  http://forum.coppermine-gallery.net/index.php/topic,58155.msg287782.html#new

  * Check the standard upload link, and the linkKeepStandardUpload parameter
  Response to: http://forum.coppermine-gallery.net/index.php/topic,55817.new.html#new
  
  * I'll update the meaning of maxNonTransformedPictureSize. 0 will mean: no transformation at all.
  http://forum.coppermine-gallery.net/index.php/topic,54483.new.html#new
  
  * Reply to DFF
  http://danskfjerkraeforum.dk/test/index.php?action=gallery
  http://forum.coppermine-gallery.net/index.php/topic,53710.0.html

  * First level category should be in bold.
  http://forum.coppermine-gallery.net/index.php/topic,54058.0.html
  * Correct the URL to download a up-to-date java.
  * Precise that JUpload uses Coppermine resizing and quality parameters or specific parameters (quality)
  * Add a width and a height (movie_wd and movie_ht) fields to the upload form, to allow the user to control 
  animation width and height, instead of the default ones, as currently used by the plugin. 
  * Add a postUrl parameter, to be able to override the standard calculated uploaded URL: will be useful when
  someone use frame to redirect to another URL: the real postURL is then 'hidden' to the plugin.
  * Ajax for modification and creation of albums.

===== Longer term =====

  * Use the Coppermine jpeg_qual config parameters in JUpload, instead of the specific JUpload config parameter. Not
  that simple, as Java and GD doesn't compress equaly. Current behaviour is correct.
  * When an upload error occurs, but some pictures are correctly uploaded, the edit_uploaded_pics page should be
  opened (in another page, to avoid loosing the list of non uploaded pictures, that are still in the applet file list)
  * Coppermine 1.5 compatibility check
  * Stramm's modpack compatibility.

