added blurb about htdig as a good search engine, pointed to
[mir.git] / doc / TODO.txt
index 1bc5261..32c67c0 100755 (executable)
@@ -1,10 +1,11 @@
-[Updated 28.02.2002. -mh]
+[Updated 02.04.2002. -mh]
 
 General/Forever valid:
 
 a) watch performance.. mimimize SQL
 b) try to use more freemarker feature 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: 
 
@@ -16,31 +17,28 @@ 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)
 i) mission-statement and licensing 
 j) there are no memory-leaks (3/4 confirmed)
-k) tomcat 4.x (needs testing)
+k) tomcat 4.x (done, confirmed, -idfx)
 l) poolman (done, idfx)
 m) re-tweak media infrastructure (underway, -mh)
     - wildcard support for content-type mappings (done)
     - handle all image types and transparency (done)
-    - convert other media types for DB storage for consistency (started, mh)
-    - handle generic media
+    - convert other media type storage/producing consistent (done, mh)
+    - handle generic media (underway, 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
+    - 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 
-o) make Entity implement freemarke TemplateModel (done, rk)
-p) don't use deprecated methods. specifically the SimpleList stuff
+o) make Entity implement freemarker TemplateModel (done, rk)
+p) don't use deprecated methods. specifically the SimpleList stuff (done, mh, rk)
 
 
 New Features: 
@@ -51,8 +49,9 @@ something to do with this event can be seen on this page. (nn)
 e) It should be possible to choose between direct and indirect open posting. (09/14/2001,
 done, idfx). 
 g) "Upcoming Events"-include-file (ha) 
-h) indymedia-links (fh) 
+h) indymedia-links (done, fh) 
 i) objectStore (underway, -rk)
+j) Templates should be made common for all languages. (done, kellan, br1, idfx)
 
 
 Version 1.1: 
@@ -60,19 +59,16 @@ 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) 
-a.1) Templates should be made common for all languages. (kellan, br1)
 
 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 +78,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