update TODO and explain mime-types in web.xml
authormh <mh>
Tue, 2 Apr 2002 22:59:36 +0000 (22:59 +0000)
committermh <mh>
Tue, 2 Apr 2002 22:59:36 +0000 (22:59 +0000)
doc/INSTALL.mir
doc/TODO.txt

index c9bfd64..25b6545 100755 (executable)
@@ -141,8 +141,18 @@ in Mir/src nor in Mir/WEB-INF/classes nor in the directory tree you compiled
 Mir from) is world-readable. Else you wouldn't have to install a password,
 anyway.
 
+9e. Tweak mime-type extensions mappings in etc/web.xml file.
 
-9e. Setup PostgreSQL so that all connections have to pass a password
+*** Note the defaults should be o.k for most installations ***
+
+Add or remove any mime types you wish to support. This is used to figure
+out the mime-type when (broken browsers?) browsers don't send the mime-type
+in the content-type header field when uploading a media file. Note add the
+moment you still have to add these to the media_type SQL table as well which
+maps the mime-types to the correct mediaHandler class. See the comments in
+the MirMedia class in javadoc for more details.
+
+9f. Setup PostgreSQL so that all connections have to pass a password
 
 In /etc/postgresql/pg_hba.conf you should make sure that nobody can
 use the database without a password:
index 36028dd..32c67c0 100755 (executable)
@@ -1,10 +1,11 @@
-[Updated 23.03.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,15 +17,14 @@ 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)
@@ -36,8 +36,6 @@ m) re-tweak media infrastructure (underway, -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)
-    - add miless code for better secondary content-type guessing. i.e read the
-    bytes
 n) CVS id, author stamps 
 o) make Entity implement freemarker TemplateModel (done, rk)
 p) don't use deprecated methods. specifically the SimpleList stuff (done, mh, rk)