mir.git
21 years agoupdate MIR_1_0 MIR_1_0_0_RELEASE
mh [Tue, 24 Dec 2002 01:56:40 +0000 (01:56 +0000)]
update

21 years ago1.0.0 final
mh [Tue, 24 Dec 2002 01:51:30 +0000 (01:51 +0000)]
1.0.0 final

21 years agoadded features
mh [Tue, 24 Dec 2002 01:44:42 +0000 (01:44 +0000)]
added features

21 years agoVideo.Host.. instead of VideoHost
mh [Fri, 20 Dec 2002 03:32:25 +0000 (03:32 +0000)]
Video.Host.. instead of VideoHost

21 years agoremove the single quote thing. it's now fixed
mh [Fri, 20 Dec 2002 03:22:39 +0000 (03:22 +0000)]
remove the single quote thing. it's now fixed

21 years ago1.0.0-rc6 MIR_1_0_0_RC6
mh [Fri, 20 Dec 2002 03:08:17 +0000 (03:08 +0000)]
1.0.0-rc6

21 years agoreplace the use of StringUtil.quote(String) with StringUtil.JDBCescapeStringLiteral...
mh [Fri, 20 Dec 2002 03:01:01 +0000 (03:01 +0000)]
replace the use of StringUtil.quote(String) with StringUtil.JDBCescapeStringLiteral(String) to better escape single quotes and other JDBC stuff

21 years agoadd a RuntimeException to MirConfig.getProp(. if the requested property is not found...
mh [Fri, 20 Dec 2002 02:59:03 +0000 (02:59 +0000)]
add a RuntimeException to MirConfig.getProp(. if the requested property is not found. I know this should be a real Exception, but that is too big a code change for now

21 years agoadd the JDBCescapeStringLiteral(String) method to better escape things like single...
mh [Fri, 20 Dec 2002 02:57:51 +0000 (02:57 +0000)]
add the JDBCescapeStringLiteral(String) method to better escape things like single quotes for inserts/updates to a JDBC DB. Also get rid of a bunch of unused methods

21 years agoupdate MIR_1_0_0_RC5
mh [Fri, 13 Dec 2002 06:32:22 +0000 (06:32 +0000)]
update

21 years agomir-1.0.0-rc5
mh [Fri, 13 Dec 2002 06:28:37 +0000 (06:28 +0000)]
mir-1.0.0-rc5

21 years agofix up the deleteForbiddenTags and table tags regexp's so they handle multiline and...
mh [Fri, 13 Dec 2002 05:55:40 +0000 (05:55 +0000)]
fix up the deleteForbiddenTags and table tags regexp's so they handle multiline and ignore case

21 years agowe need to remove unwanted html tags from here too, as MediaRequest see's the paramet...
mh [Fri, 13 Dec 2002 05:52:24 +0000 (05:52 +0000)]
we need to remove unwanted html tags from here too, as MediaRequest see's the parameters before we clean them up.

21 years agooops call deleteForbiddenTags, deleteTable on the proper data
mh [Fri, 13 Dec 2002 05:50:52 +0000 (05:50 +0000)]
oops call deleteForbiddenTags, deleteTable on the proper data

21 years agodon't use encodeHTML for the list view
mh [Fri, 13 Dec 2002 05:46:49 +0000 (05:46 +0000)]
don't use encodeHTML for the list view

21 years agoit's the Message module not the User module. Also don't use encodeHTML for the list...
mh [Fri, 13 Dec 2002 05:46:19 +0000 (05:46 +0000)]
it's the Message module not the User module. Also don't use encodeHTML for the list view

21 years agofix bug relating to topics: it's to_topic not data.to_topic
mh [Fri, 13 Dec 2002 03:06:49 +0000 (03:06 +0000)]
fix bug relating to topics: it's to_topic not data.to_topic

21 years agoremove some debug prints to stdout
mh [Fri, 13 Dec 2002 02:57:40 +0000 (02:57 +0000)]
remove some debug prints to stdout

21 years agodeadwood
mh [Fri, 13 Dec 2002 01:58:13 +0000 (01:58 +0000)]
deadwood

21 years agoremove unsused language specific templates now that we have the message model
mh [Fri, 13 Dec 2002 01:53:19 +0000 (01:53 +0000)]
remove unsused language specific templates now that we have the message model

21 years agoremove gratuitous uses of encodeHTML as well as a couple of other where it is a bug...
mh [Fri, 13 Dec 2002 01:44:39 +0000 (01:44 +0000)]
remove gratuitous uses of encodeHTML as well as a couple of other where it is a bug to use it

21 years agodeadwood
mh [Fri, 13 Dec 2002 01:39:59 +0000 (01:39 +0000)]
deadwood

21 years agodeadwood: removed unused source files
mh [Fri, 13 Dec 2002 01:38:00 +0000 (01:38 +0000)]
deadwood: removed unused source files

21 years agoConfigDefineNotKnownException.java
mh [Fri, 13 Dec 2002 01:30:44 +0000 (01:30 +0000)]
ConfigDefineNotKnownException.java

21 years agodeadwood: removed unsused source files
mh [Fri, 13 Dec 2002 01:27:41 +0000 (01:27 +0000)]
deadwood: removed unsused source files

21 years agoclean out deadwood: remove unsused source files
mh [Fri, 13 Dec 2002 01:11:28 +0000 (01:11 +0000)]
clean out deadwood: remove unsused source files

21 years agomention re-producing info
mh [Thu, 12 Dec 2002 05:49:41 +0000 (05:49 +0000)]
mention re-producing info

21 years agoAdd gnu Style ChangeLog using cvs2cl (use "-F MIR_1_0 --utc" options., for HEAD,... MIR_1_0_0_RC4
mh [Tue, 10 Dec 2002 22:00:51 +0000 (22:00 +0000)]
Add gnu Style ChangeLog using cvs2cl (use "-F MIR_1_0 --utc" options., for HEAD, it would be "-F trunk --utc")

21 years agoMir-1.0.0-rc4 release
mh [Tue, 10 Dec 2002 21:58:14 +0000 (21:58 +0000)]
Mir-1.0.0-rc4 release

21 years agoreplace hardcoded charset with config.defEncoding
mh [Tue, 10 Dec 2002 21:15:02 +0000 (21:15 +0000)]
replace hardcoded charset with config.defEncoding

21 years agofix bug where Mir.DefaultEncoding (the java one) was being sent out in the response...
mh [Tue, 10 Dec 2002 21:13:58 +0000 (21:13 +0000)]
fix bug where Mir.DefaultEncoding (the java one) was being sent out in the response content-type header instead of the HTML encoding. use Mir.DefaultHTMLCharset instead

21 years agofix bug where Mir.DefaultEncoding (the java one) was being sent out int the content...
mh [Tue, 10 Dec 2002 21:10:16 +0000 (21:10 +0000)]
fix bug where Mir.DefaultEncoding (the java one) was being sent out int the content-type header instead of HTML encoding. use Mir.DefaultHTMLCharset instead

21 years agomake the new Mir.DefaultHTMLCharset config parameter to available to templates as...
mh [Tue, 10 Dec 2002 21:08:52 +0000 (21:08 +0000)]
make the new Mir.DefaultHTMLCharset config parameter to available to templates as config.defEncoding

21 years agoadd new config parameter: Mir.DefaultHTMLCharset . It allows us to set the charset...
mh [Tue, 10 Dec 2002 21:07:52 +0000 (21:07 +0000)]
add new config parameter: Mir.DefaultHTMLCharset . It allows us to set the charset for the META tags in templates in one central place. It has to be the HTML equivalent of the Java character encoding.

21 years agofor content_data, remove the really evil tags, for the abstract don't remove everyht...
mh [Tue, 10 Dec 2002 10:19:03 +0000 (10:19 +0000)]
for content_data, remove the really evil tags,  for the abstract don't remove everyhting, just the really bad stuff including table tags. All other fields lose all html tags

21 years agoa couple of trivial cleanups: check to see if order is empty in addition to null...
mh [Tue, 10 Dec 2002 10:01:50 +0000 (10:01 +0000)]
a couple of trivial cleanups: check to see if  order is empty in addition to null, although I think that that can't happen. get rid of useless conditional

21 years agocomment out debug log stuff
mh [Tue, 10 Dec 2002 09:57:28 +0000 (09:57 +0000)]
comment out debug log stuff

21 years agoadd in advanced query parameters used by media and comment search to mergeData so...
mh [Tue, 10 Dec 2002 09:55:13 +0000 (09:55 +0000)]
add in advanced query parameters used by media and comment search to mergeData so that you can return to where you were when searching. also forward port of small cleanup/bugfix from HEAD regarding finding out the current subclass name  (getOperationModule)

21 years agoforward port of a minor bug fix from HEAD
mh [Tue, 10 Dec 2002 09:51:22 +0000 (09:51 +0000)]
forward port of a minor bug fix from HEAD

21 years agowrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this...
mh [Tue, 10 Dec 2002 09:49:25 +0000 (09:49 +0000)]
wrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this fixes some bugs in the admin, like when stuff dissappears after quotes, etc.. it is heavier on the CPU but some obvious stuff can be unwrapped later.

21 years agowrap stuff in encodeHTML and add in advanced search parameters (query_..) used form...
mh [Tue, 10 Dec 2002 09:47:36 +0000 (09:47 +0000)]
wrap stuff in encodeHTML and add in advanced search parameters (query_..) used form comments and media as hidden fields so that when deleting something, you come back to the same place on your lists

21 years agowrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this...
mh [Tue, 10 Dec 2002 09:44:10 +0000 (09:44 +0000)]
wrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this fixes tons of bugs in the admin, like when stuff dissappeats after quotes, etc.. also add query_text, query_field, etc.. to the delete request URL so that after deleting a comment, you come back to the same place on your list.. also get rid of useless offset hidden parameter which causes a bug when searching and your offset is above 0

21 years agowrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this...
mh [Tue, 10 Dec 2002 09:40:33 +0000 (09:40 +0000)]
wrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this fixes tons of bugs in the admin, like when stuff dissappeats after quotes, etc.. also when attaching media, only show published media in the lists

21 years agooops, order has a space in it and is not really used in search anyway. get rid of it
mh [Tue, 10 Dec 2002 09:32:11 +0000 (09:32 +0000)]
oops, order has a space in it and is not really used in search anyway. get rid of it

21 years agowrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this...
mh [Tue, 10 Dec 2002 09:24:27 +0000 (09:24 +0000)]
wrap pretty much all freemarker variables (i.e the data) in encodeHTML(data..). this fixes tons of bugs in the admin, like when stuff dissappeats after quotes, etc.. also add query_text, query_field, etc.. to the delete request URL so that after deleting a media item, you come back to the same place on your list.. oh yeah, there also was a missing data. for query_media_folder

21 years agoadd the encodeHTML method
mh [Tue, 10 Dec 2002 09:11:35 +0000 (09:11 +0000)]
add the encodeHTML method

21 years agoa wrapper class for the StringUtil.encodeHTML method that implements the freemarker...
mh [Tue, 10 Dec 2002 09:10:41 +0000 (09:10 +0000)]
a wrapper class for the StringUtil.encodeHTML method that implements the freemarker templateMethodModel so we can call the method directly in templates. namely in the admin templated. sort of backport from the HEAD branch, although HEAD implements it differently.

21 years agore-introduce leaner/simpler encodeHTML(String aText) method, we need it for the admin...
mh [Tue, 10 Dec 2002 09:07:50 +0000 (09:07 +0000)]
re-introduce leaner/simpler encodeHTML(String aText) method, we need it for the admin interface so that we can actually edit the HTML. It needed indexOfCharacters and interpretAsString. all taken from the StringRoutines file in HEAD. also add deleteHTMLTableTags..

21 years agocomment out some debug logging that spews out each SQL select, insert, etc..
mh [Tue, 10 Dec 2002 09:05:07 +0000 (09:05 +0000)]
comment out some debug logging that spews out each SQL select, insert, etc..

21 years agobring all the instances of setHeader.. for turning off browser caching into one metho...
mh [Tue, 10 Dec 2002 09:02:22 +0000 (09:02 +0000)]
bring all the instances of setHeader.. for turning off browser caching into one method in AbstractServlet. have Mir and OpenMir just call that method. cleaner that way. + some misc. cleanup

21 years agofix small email address filtering bug (originally the fix was from Max in the HEAD...
mh [Mon, 9 Dec 2002 06:23:38 +0000 (06:23 +0000)]
fix small email address filtering bug (originally the fix was from Max in the HEAD branch)

21 years agofix a bug that prevented editing OtherMedia from article
mh [Mon, 9 Dec 2002 05:52:14 +0000 (05:52 +0000)]
fix a bug that prevented editing OtherMedia from article

21 years agothought of some more bugs
mh [Sun, 8 Dec 2002 07:00:58 +0000 (07:00 +0000)]
thought of some more bugs

21 years agoI forgot about mantis
mh [Sun, 8 Dec 2002 06:04:49 +0000 (06:04 +0000)]
I forgot about mantis

21 years agorename MAINTENANCE to MAINTENANCE.postgresql as it is more appropriate considering...
mh [Sun, 8 Dec 2002 05:41:19 +0000 (05:41 +0000)]
rename MAINTENANCE to MAINTENANCE.postgresql as it is more appropriate considering it's content

21 years agosome notes about coding style
mh [Sun, 8 Dec 2002 05:38:15 +0000 (05:38 +0000)]
some notes about coding style

21 years agoadd mir-cvs info
mh [Sun, 8 Dec 2002 05:17:31 +0000 (05:17 +0000)]
add mir-cvs info

21 years agoa basic README file w/ contact info
mh [Sun, 8 Dec 2002 05:11:37 +0000 (05:11 +0000)]
a basic README file w/ contact info

21 years agoadded note about RDF features syndication support
mh [Sun, 8 Dec 2002 05:05:36 +0000 (05:05 +0000)]
added note about RDF features syndication support

21 years agoknow bugs and reporting new ones
mh [Sun, 8 Dec 2002 04:59:51 +0000 (04:59 +0000)]
know bugs and reporting new ones

21 years agoadd a note about consulting the NEWS file
mh [Sat, 7 Dec 2002 06:57:40 +0000 (06:57 +0000)]
add a note about consulting the NEWS file

21 years agoreplace CHANGES.txt with more standard named NEWS file. fill in the NEW file..
mh [Sat, 7 Dec 2002 06:57:01 +0000 (06:57 +0000)]
replace CHANGES.txt with more standard named NEWS file. fill in the NEW file..

21 years agosuck in mission.html from the HEAD branch in preparation for a release.
mh [Fri, 6 Dec 2002 08:58:15 +0000 (08:58 +0000)]
suck in mission.html from the HEAD branch in preparation for a release.

21 years agoadd no-cache Pragma and Cache-control headers to the http response.. I see no reason...
mh [Fri, 6 Dec 2002 07:14:45 +0000 (07:14 +0000)]
add no-cache Pragma and Cache-control headers to the http response.. I see no reason why not to do this as nothing in Mir should be cached and I have been annoyed to many times by opera and IE caching stuff not to do this. It has to be in the http headers and not in the Meta tags as some browsers have problems..

21 years agoadd video/avi
mh [Thu, 5 Dec 2002 08:58:29 +0000 (08:58 +0000)]
add video/avi

21 years agointroduce an update method that overrides and calls the one from the superclass in... MIR_1_0_0_RC3
mh [Thu, 5 Dec 2002 08:47:06 +0000 (08:47 +0000)]
introduce an update method that overrides and calls the one from the superclass in order to set all content that has a particular media item attached un-produced upon modification of the media entity

21 years agoupdate the getContent method so it uses the newer EntityUploadedMedia and not the...
mh [Thu, 5 Dec 2002 08:42:57 +0000 (08:42 +0000)]
update the getContent method so it uses the newer EntityUploadedMedia and not the deprecated EntityMedia

21 years agochange the way, size, height, OID, etc is entered in the DB: do it via the Entity...
mh [Thu, 5 Dec 2002 08:40:18 +0000 (08:40 +0000)]
change the way, size, height, OID, etc is entered in the DB: do it via the Entity interface and not via manual SQL. with manual SQL, the entity becomes out of sync w/ data in the DB and this is bad. It's not as fast as the manual SQL, but more consistent and nicer. also move the update override method that sets content that has this media item attached to EntityUploadedMedia so all media types can take advantage of it

21 years agomisc. minor comment clarification
mh [Thu, 5 Dec 2002 08:35:29 +0000 (08:35 +0000)]
misc. minor comment clarification

21 years agomove title and file field for media upload down to be compatible w/ new Streams based...
mh [Thu, 5 Dec 2002 08:34:13 +0000 (08:34 +0000)]
move title and file field for media upload down to be compatible w/ new Streams based upload handling. otherwise, the data entered in the fields above gets lost

21 years agoupdate v1.0 TODO list. almost all done\!
mh [Sat, 30 Nov 2002 00:44:07 +0000 (00:44 +0000)]
update v1.0 TODO list. almost all done\!

21 years agoit's a bad thing w/ our persistance layer to override getValues, for keys that exist... MIR_1_0_0_RC2
mh [Fri, 29 Nov 2002 21:09:03 +0000 (21:09 +0000)]
it's a bad thing w/ our persistance layer to override getValues, for keys that exist in the DB.. overriden key size becomes human_readable_size and description becomes media_descr

21 years agomove the new versioning thing down so it actually works
mh [Fri, 29 Nov 2002 21:07:11 +0000 (21:07 +0000)]
move the new versioning thing down so it actually works

21 years agoclean out deadwood
mh [Fri, 29 Nov 2002 06:31:35 +0000 (06:31 +0000)]
clean out deadwood

21 years agoquick hack bugfix
mh [Thu, 28 Nov 2002 19:55:25 +0000 (19:55 +0000)]
quick hack bugfix

21 years agoget rid of debug println MIR_1_0_0_RC1
mh [Thu, 28 Nov 2002 19:11:19 +0000 (19:11 +0000)]
get rid of debug println

21 years agoshow the 'size' field for media
mh [Thu, 28 Nov 2002 05:59:12 +0000 (05:59 +0000)]
show the 'size' field for media

21 years agoadd media.size
mh [Thu, 28 Nov 2002 05:57:40 +0000 (05:57 +0000)]
add media.size

21 years agooverride 'size' key to convert it into a human readable format
mh [Thu, 28 Nov 2002 05:56:26 +0000 (05:56 +0000)]
override 'size' key to convert it into a human readable format

21 years agonumber formatter routine. print raw sizes in bytes to a human readable format
mh [Thu, 28 Nov 2002 05:54:54 +0000 (05:54 +0000)]
number formatter routine. print raw sizes in bytes to a human readable format

21 years agoget rid of unused functions
mh [Thu, 28 Nov 2002 05:52:40 +0000 (05:52 +0000)]
get rid of unused functions

21 years agolocalization/international friendlier wording
mh [Thu, 28 Nov 2002 05:48:13 +0000 (05:48 +0000)]
localization/international friendlier wording

21 years agobetter way to create temp. files
mh [Wed, 27 Nov 2002 21:16:54 +0000 (21:16 +0000)]
better way to create temp. files

21 years agodumb bug
mh [Wed, 27 Nov 2002 08:36:36 +0000 (08:36 +0000)]
dumb bug

21 years agoget rid of annoying $Log$ stuff
mh [Wed, 27 Nov 2002 08:03:49 +0000 (08:03 +0000)]
get rid of annoying $Log$ stuff

21 years agoremove now unused showicon and showimage methods (replaced by getMedia, getIcon in...
mh [Wed, 27 Nov 2002 07:10:35 +0000 (07:10 +0000)]
remove now unused showicon and showimage methods (replaced by getMedia, getIcon in ServletModuleUploadedMedia)

21 years agouse new getMedia and getIcon calls in the media ServletModule's to implement preview...
mh [Wed, 27 Nov 2002 07:08:07 +0000 (07:08 +0000)]
use new getMedia and getIcon calls in the media ServletModule's to implement preview/download in admin interface

21 years agoadd getIcon and getMedia methods which use the new methods with the same names from...
mh [Wed, 27 Nov 2002 07:05:47 +0000 (07:05 +0000)]
add getIcon and getMedia methods which use the new methods with the same names from the MirMedia infrastructure. they send an InputStream into the servlet OutputStream. the purpose is to implement a preview/download for the media admin interface

21 years agofix long standing bug that caused produced media files to have their publish_path...
mh [Wed, 27 Nov 2002 06:52:47 +0000 (06:52 +0000)]
fix long standing bug that caused produced media files to have their publish_path written with 2 slashes after each other + some minor things

21 years agoadd 'description' as second key for 'descr' key.
mh [Wed, 27 Nov 2002 06:43:37 +0000 (06:43 +0000)]
add 'description' as second key for 'descr' key.

21 years agochange my email address, add Id keyword macro
mh [Wed, 27 Nov 2002 06:41:32 +0000 (06:41 +0000)]
change my email address, add Id keyword macro

21 years agojust testing a new way of doing Mir.Version string
mh [Tue, 26 Nov 2002 01:54:18 +0000 (01:54 +0000)]
just testing a new way of doing Mir.Version string

21 years agoget rid of Log CVS keyword expansion that causes problems when merging branches....
mh [Tue, 26 Nov 2002 01:52:55 +0000 (01:52 +0000)]
get rid of Log CVS keyword expansion that causes problems when merging branches.. yeah I know, I'm the one who added them in the first place

21 years agoget rid of long standing bug which caused links (href's) with ampersands (&) in them...
mh [Tue, 26 Nov 2002 01:51:10 +0000 (01:51 +0000)]
get rid of long standing bug which caused links (href's) with ampersands (&) in them to be fudged in the article description. we don't need to decodeHTMLinTags as we no longer encodeHTML

21 years agouse req.getContextPath to find the RootUri.. much more robust. 4.0 and 4.1 compatible...
mh [Mon, 25 Nov 2002 21:59:46 +0000 (21:59 +0000)]
use req.getContextPath to find the RootUri.. much more robust. 4.0 and 4.1 compatible due to new web.xml mapping

21 years agorevert 4.1 compat. change
mh [Mon, 25 Nov 2002 05:56:57 +0000 (05:56 +0000)]
revert 4.1 compat. change

21 years agotomcat 4.0 != tomcat 4.1
cvs [Sun, 24 Nov 2002 16:38:19 +0000 (16:38 +0000)]
tomcat 4.0 != tomcat 4.1

21 years agothe patch of mh for tomcat 4.1.* made the servlet-config incompatible with tomcat...
cvs [Sat, 23 Nov 2002 22:43:06 +0000 (22:43 +0000)]
the patch of mh for tomcat 4.1.* made the servlet-config incompatible with tomcat 4.0.*. so i changed this again. the compatibility to tomcat 4.1.* should be made in web.xml. idfx

21 years agofix serious bug introduced with the media InputStream changes that caused a database...
mh [Fri, 15 Nov 2002 22:06:49 +0000 (22:06 +0000)]
fix serious bug introduced with the media InputStream changes that caused a database connection to be lost when a LargeObject was missing/broken. eventually postgrss would hit it's max connections limit

21 years agochanges for tomcat 4.1.x also compatible with 4.0.x, mir/servlet/Mir becomes /mir...
mh [Fri, 15 Nov 2002 22:04:11 +0000 (22:04 +0000)]
changes for tomcat 4.1.x also compatible with 4.0.x, mir/servlet/Mir becomes /mir/Mir. beware. fix web.xml to work with 4.1.x. remove servlet-2.2.jar which comes w/ tomcat and should be v2.3