mir.git
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

21 years agoreplace "/" with java/io/File.separator
mh [Mon, 4 Nov 2002 04:31:59 +0000 (04:31 +0000)]
replace "/" with java/io/File.separator

21 years agoConverted media Interface to use streams (Java IO) instead of byte buffers of
mh [Fri, 1 Nov 2002 05:38:20 +0000 (05:38 +0000)]
Converted media Interface to use streams (Java IO) instead of byte buffers of
the entire uplaoded files. These saves loads of unecessary memory use. JAI
still consumes quite a bit though.

A new temporary file (for JAI) parameter is necessary and is in the config.properties file.

A nice side effect of this work is the FileHandler interface which is
basically a call back mechanism for WebdbMultipartRequest which allows the
uploaded file to handled by different classes. For example, for a media
upload, the content-type, etc.. needs to be determined, but if say the
FileEditor had a feature to upload static files... another handler wood be
needed. Right now only the MediaRequest handler exists.

21 years agoadded the fileEdit include features
cvs [Sun, 20 Oct 2002 20:19:23 +0000 (20:19 +0000)]
added the fileEdit include features

21 years agodon't sort by the "date" field, use webdb_create instead
mh [Sun, 1 Sep 2002 23:23:37 +0000 (23:23 +0000)]
don't sort by the "date" field, use webdb_create instead

21 years agoMir goes GPL
mh [Sun, 1 Sep 2002 21:31:39 +0000 (21:31 +0000)]
Mir goes GPL

21 years agodata. ... got lost
mh [Sun, 25 Aug 2002 19:21:05 +0000 (19:21 +0000)]
data. ... got lost

21 years agomerge of localization branch into HEAD. mh and zap
mh [Sun, 25 Aug 2002 19:00:06 +0000 (19:00 +0000)]
merge of localization branch into HEAD. mh and zap

21 years agolanguage fix
init [Fri, 9 Aug 2002 17:56:02 +0000 (17:56 +0000)]
language fix

21 years agoadded --preview--
init [Fri, 9 Aug 2002 17:51:53 +0000 (17:51 +0000)]
added --preview--

21 years agoservlet module FileEdit, allows one to edit files on the filesystem.
mh [Fri, 9 Aug 2002 17:39:50 +0000 (17:39 +0000)]
servlet module FileEdit, allows one to edit files on the filesystem.

21 years agofix
mh [Fri, 9 Aug 2002 17:25:44 +0000 (17:25 +0000)]
fix

21 years agofix
init [Fri, 9 Aug 2002 16:58:11 +0000 (16:58 +0000)]
fix

21 years agofehler
init [Fri, 9 Aug 2002 14:57:36 +0000 (14:57 +0000)]
fehler

21 years agonew templates for editing files
init [Fri, 9 Aug 2002 14:45:28 +0000 (14:45 +0000)]
new templates for editing files

21 years agofix up the webdb_create update stuff
mh [Sun, 4 Aug 2002 23:38:21 +0000 (23:38 +0000)]
fix up the webdb_create update stuff

21 years agomissin </table>
mh [Fri, 2 Aug 2002 21:21:38 +0000 (21:21 +0000)]
missin </table>

21 years agocleanup coding style of getpdf() method
mh [Sun, 21 Jul 2002 22:50:14 +0000 (22:50 +0000)]
cleanup coding style of getpdf() method

21 years agominor cleanup
mh [Sun, 21 Jul 2002 22:44:43 +0000 (22:44 +0000)]
minor cleanup

21 years agoimplement multi file uploads
mh [Sun, 21 Jul 2002 22:43:12 +0000 (22:43 +0000)]
implement multi file uploads

21 years agomake use of new MediaRequest class. A big cleanup and optimization.
mh [Sun, 21 Jul 2002 22:41:45 +0000 (22:41 +0000)]
make use of new MediaRequest class. A big cleanup and optimization.

21 years agoparses a multipart request's files and makes media Entity's out of them. Basically...
mh [Sun, 21 Jul 2002 22:38:39 +0000 (22:38 +0000)]
parses a multipart request's files and makes media Entity's out of them. Basically the old code from insposting() in ServletModuleOpenIndy

21 years agoon insert, the "webdb_lastchange" field should get a value
mh [Sun, 21 Jul 2002 22:32:25 +0000 (22:32 +0000)]
on insert, the "webdb_lastchange" field should get a value

21 years agocvs macros
mh [Sun, 21 Jul 2002 22:29:42 +0000 (22:29 +0000)]
cvs macros

21 years agomake the user error msg look nicer
mh [Sun, 21 Jul 2002 22:27:39 +0000 (22:27 +0000)]
make the user error msg look nicer

21 years agomade the add() method use _showObject. Fixes a bug that cause the popUps not to show...
mh [Sat, 20 Jul 2002 22:24:25 +0000 (22:24 +0000)]
made the add() method use _showObject. Fixes a bug that cause the popUps not to show up when adding an article in the admin

21 years agocommented out decodeHTML, as we don't encodeHTML anymore
mh [Fri, 19 Jul 2002 20:55:49 +0000 (20:55 +0000)]
commented out decodeHTML, as we don't encodeHTML anymore

21 years agofix broken next button
mh [Wed, 17 Jul 2002 21:21:43 +0000 (21:21 +0000)]
fix broken next button