update
[mir.git] / doc / TODO.txt
index d8dae10..b9cd511 100755 (executable)
@@ -1,46 +1,47 @@
-[Updated 23.03.2002. -mh]
+[Updated $Date: 2002/11/30 00:44:07 $]
 
 General/Forever valid:
 
 a) watch performance.. mimimize SQL
-b) try to use more freemarker feature like transformations when possible
+b) try to use more freemarker features like transformations when possible
 instead of putting it in Java code. i.e make it more localizable.
+c) translating the templates/code-comments to english (underway, mir-coders)
 
 Version 1.0: 
 
 Bugfixes/Improvements: 
 a) installation-procedure 
-- templates-directory should be splittet in two directories: "internal"- (openmir and mir templates) and "external"-templates (producer-templates) 
-- build.sh should be more intelligent. (underway, convert to build.xml, mj)
+- templates-directory should be splittet in two directories: "internal"- (openmir and mir templates) and "external"-templates (in upcoming v1.1, producer-templates) 
+- build.sh should be more intelligent. (done, convert to build.xml, mj)
 b) code-cleaning 
 - the variable-names for the freemarker should be better: the same name for the same thing
 c) We have to make sure that all errors are handled intelligently. e.g. if an 
 article is corrupt, do we just ignore it, etc.. (done, mh)
-d) Admin interface needs to be made aware of media handlers (mh, tob)
+d) Admin interface needs to be made aware of media handlers (done, mh, br1)
 e) insposting() in ServletModuleOpenIndy should not insert article text if any associated media upload is wrong. (done, mh) (in 1.1 to be done via transactions)
 f) documentation 
 - it lacks a documentation for creating the producer-templates
-g) new layout Mir/OpenMir (underway, indy de team??) 
-h) translating the templates/code-comments to english (underway, mir-coders)
+g) new layout Mir/OpenMir (done in 1.1, indy de team??) 
 i) mission-statement and licensing 
-j) there are no memory-leaks (3/4 confirmed)
-k) tomcat 4.x (needs testing)
-l) poolman (done, idfx)
-m) re-tweak media infrastructure (underway, -mh)
+j) there are no memory-leaks (done)
+k) tomcat 4.x (done, confirmed, -idfx)
+l) poolman (done, idfx) (although poolman now needs to be replaced too.)
+m) re-tweak media infrastructure (done, -mh)
     - wildcard support for content-type mappings (done)
     - handle all image types and transparency (done)
     - convert other media type storage/producing consistent (done, mh)
-    - handle generic media (underway, mh)
+    - handle generic media (deferred to upcoming v1.1, mh)
         - better extension handling
     - handle external meta links
-    - rework creation of audio (video too?) meta-data
-        - make getUrl() return a list of SimpleHashes
-    - use added flexibility in templates
-    - add miless code for better secondary content-type guessing. i.e read the
-    bytes
-n) CVS id, author stamps 
-o) make Entity implement freemarke TemplateModel (done, rk)
+    - media size handling nicely (done, mh)
+    - rework creation of audio (video too?) meta-data (done, mh)
+        - make getUrl() return a SimpleList (done, mh)
+    - use added flexibility in templates (done, mh)
+n) CVS id, author stamps (done, mh)
+o) make Entity implement freemarker TemplateModel (done, rk)
 p) don't use deprecated methods. specifically the SimpleList stuff (done, mh, rk)
+q) Admin interface for some media handlers needs to be improved (done, mh)
+r) Streaming IO for media files + merge upload handling on admin/open (done, mh)
 
 
 New Features: 
@@ -53,26 +54,24 @@ done, idfx).
 g) "Upcoming Events"-include-file (ha) 
 h) indymedia-links (done, fh) 
 i) objectStore (underway, -rk)
-j) Templates should be made common for all languages. (underway, kellan, br1, idfx)
+j) Templates should be made common for all languages. (done, kellan, br1, idfx)
 
 
 Version 1.1: 
 Vital:
 a) Multilanguage-Support (Step 1): Producing html-pages with navigation for every
 language. Topics and coverage-titles have to be saved in the db in every language that is
-needed. (idfx) 
+needed. (done, max) 
 
 New Features: 
 a) Multilanguage-Support (Step 2): Separate OpenMir-servlet to publish a tranlation of an
 article. If a article has translations, only the translated versions are produced in the language
 the translated article is. 
-b) single template for all languages. i.e use gettext like system for templates.
-(underway, kellan, br1)
 b) P2P-Data-Transfer/Content-Syndication: Implementing RDF/RSS-Support or a own
 indymedia-protocoll. 
 c) dynamically creating "internal"-templates for new languages. 
 d) email-article-to-a-friend-servlet 
-e) semidynamic create-pdf-from-article-servlet: every requested pdf should be cached 
+e) semidynamic create-pdf-from-article-servlet: every requested pdf should be cached (underway, john)
 f) servletapi-2.3: Filters for file upload (also in cos.jar)
 g) servletapi-2.3: use web.xml for simpler/better error handling.
 h) servletapi-2.3: set character encoding properly based on what the template
@@ -82,8 +81,15 @@ j) use some JMF (Java Media Framework at sun.com) features for nifty media
 tricks
 k) better transaction support in the DB/Persistance layer for more efficient
 use of DB.
-l) - config.porperties has to be cleaned and has to be better documentated. (half done, mh) --> config.properties is being replaced with new config system.
+l) - config.porperties has to be cleaned and has to be better documentated. (half done, mj) --> config.properties is being replaced with new config system. (mh, zapata)
 m) Editing producer-templates in the mir-servlet. (idfx) 
+n) Media infrastructure stuff:
+  - make a sort of Factory to get handler perhaps in EntiyMediaType
+  - MediaHandler should take care of storage tablename, the entry in SQL is
+    redundant. -> get rid of it
+  - maybe get rid of the MediaTypeTable entirely and have it in a config file?
+  - use FM's TemplateMethodModel to access the MediaHandler method in templates
+    instead of the crude way it's done now.
 
 Version 2: 
 Database-Layer