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

21 years agoPDF stuff needs .fo in UTF8 enc.
mh [Thu, 11 Jul 2002 20:20:05 +0000 (20:20 +0000)]
PDF stuff needs .fo in UTF8 enc.

21 years agomention apache 2.x. make tomcat 4.0.4 required cause of bugs
mh [Mon, 8 Jul 2002 16:20:32 +0000 (16:20 +0000)]
mention apache 2.x. make tomcat 4.0.4 required cause of bugs

21 years agoChanged Producer: producer do not append Producer.DocRoot to Producer.StorageRoot...
rk [Mon, 8 Jul 2002 14:10:50 +0000 (14:10 +0000)]
Changed Producer: producer do not append Producer.DocRoot to Producer.StorageRoot any more. There was a misconception: Pages could only be produced under the Webserver-DocRoot.

21 years agoChanges description of config properties Producer.StorageRoot and Producer.DocRoot.
rk [Mon, 8 Jul 2002 14:07:18 +0000 (14:07 +0000)]
Changes description of config properties Producer.StorageRoot and Producer.DocRoot.

21 years agoupdates
mh [Mon, 8 Jul 2002 00:26:33 +0000 (00:26 +0000)]
updates

21 years agolatest from May 27 2002. fixes Opera bug
mh [Mon, 8 Jul 2002 00:25:45 +0000 (00:25 +0000)]
latest from May 27 2002. fixes Opera bug

21 years agoremoved it. replaced by build.xml and calling ant directly
mh [Sun, 7 Jul 2002 21:25:11 +0000 (21:25 +0000)]
removed it. replaced by build.xml and calling ant directly

21 years agosome minor media stuff
mh [Wed, 3 Jul 2002 12:18:19 +0000 (12:18 +0000)]
some minor media stuff

21 years agocvs $
mh [Wed, 3 Jul 2002 12:09:20 +0000 (12:09 +0000)]
cvs $

21 years agosevr. updts.: recmmd. reading, JkMount stuff, postgres user permissions and apache...
mh [Wed, 3 Jul 2002 12:07:58 +0000 (12:07 +0000)]
sevr. updts.: recmmd. reading, JkMount stuff, postgres user permissions and apache mime-types.

21 years agoadded start.video.title , etc...
mh [Mon, 1 Jul 2002 21:50:22 +0000 (21:50 +0000)]
added start.video.title , etc...

21 years agoadded start.video.title, start.audio.tile, etc..
mh [Mon, 1 Jul 2002 21:40:45 +0000 (21:40 +0000)]
added start.video.title, start.audio.tile, etc..

21 years agocvs macros
mh [Sat, 29 Jun 2002 15:45:20 +0000 (15:45 +0000)]
cvs macros

21 years agomake the webdb_create update be called webdb_create_update. it breaks things otherwis...
mh [Sat, 29 Jun 2002 15:44:46 +0000 (15:44 +0000)]
make the webdb_create update be called webdb_create_update. it breaks things otherwise. a fixme case I know..

21 years agoquick fix: comment out date form
mh [Sat, 29 Jun 2002 11:19:56 +0000 (11:19 +0000)]
quick fix: comment out date form

21 years agooops. webdb_create_short instead of webddb...
mh [Sat, 29 Jun 2002 11:10:01 +0000 (11:10 +0000)]
oops. webdb_create_short instead of webddb...

21 years agofix so that webdb_lastchange appears in contentlist.template as it should
mh [Fri, 28 Jun 2002 22:56:37 +0000 (22:56 +0000)]
fix so that webdb_lastchange appears in contentlist.template as it should

21 years agocvs macro bits
mh [Fri, 28 Jun 2002 20:47:44 +0000 (20:47 +0000)]
cvs macro bits

21 years agowebdb_create_short
mh [Fri, 28 Jun 2002 20:46:51 +0000 (20:46 +0000)]
webdb_create_short

21 years agoadded necessary bits in templates and Database.java to make webdb_create modifiable...
mh [Fri, 28 Jun 2002 20:42:13 +0000 (20:42 +0000)]
added necessary bits in templates and Database.java to make webdb_create modifiable. make the conversion from sql/Timestamp to String more robust

21 years agoadded numberformat helper. make webdbDate2readableDate use webdb_create instead....
mh [Fri, 28 Jun 2002 20:39:37 +0000 (20:39 +0000)]
added numberformat helper. make webdbDate2readableDate use webdb_create instead. make the order and appearance of it more consistent. cvs macros. and finally code tidying

21 years agomake date_formatted be webdb_create_short instead to be more consistent. also make...
mh [Fri, 28 Jun 2002 20:37:33 +0000 (20:37 +0000)]
make date_formatted be webdb_create_short instead to be more consistent. also make date2webdb.. use webdb_create

21 years agouse some cvs macros/id's
mh [Fri, 28 Jun 2002 20:35:38 +0000 (20:35 +0000)]
use some cvs macros/id's

21 years agoadded UPGRADING tips
mh [Sat, 22 Jun 2002 09:52:46 +0000 (09:52 +0000)]
added UPGRADING tips

21 years agoadded encoding paramater to Producer.produce(). use it for featuresRSS so it can...
mh [Fri, 21 Jun 2002 23:41:00 +0000 (23:41 +0000)]
added encoding paramater to Producer.produce(). use it for featuresRSS so it can explicitely be produced in UTF8

21 years agochange the oderBy from the usual last update to ID no. for media.
mh [Mon, 17 Jun 2002 10:24:50 +0000 (10:24 +0000)]
change the oderBy from the usual last update to ID no. for media.

21 years agooops revert. edited the wrong file
mh [Mon, 17 Jun 2002 10:15:09 +0000 (10:15 +0000)]
oops revert. edited the wrong file

21 years agochange the oderBy from the usual last update to ID no. for media.
mh [Mon, 17 Jun 2002 10:06:45 +0000 (10:06 +0000)]
change the oderBy from the usual last update to ID no. for media.

21 years agos/Other/OtherMedia/ bugfix
mh [Thu, 13 Jun 2002 09:03:55 +0000 (09:03 +0000)]
s/Other/OtherMedia/ bugfix

21 years agoadded a link at the top of the page for printing an article.
john [Thu, 6 Jun 2002 12:10:50 +0000 (12:10 +0000)]
added a link at the top of the page for printing an article.
the link is smart, in that it asks the config if you are generating
printable versions as pdf, or pre-printable versions as fo.  if neither,
no link.  if fo but not pdf, it links to the pdf-generating servlet
function of OpenMir, if fo and pdf, it links directly to the static pdf
file.

21 years agoadded generateFO and generatePDF to the config hash.
john [Thu, 6 Jun 2002 12:08:55 +0000 (12:08 +0000)]
added generateFO and generatePDF to the config hash.
this is silly, the whole config hash should be passed to the template
processor per marc's comment in the source....

21 years agomake so that articles in the openposting but not in newswire appear in topics
mh [Mon, 3 Jun 2002 14:11:11 +0000 (14:11 +0000)]
make so that articles in the openposting but not in newswire appear in topics

21 years agoadded Hidden articles servlet module
mh [Sun, 2 Jun 2002 17:04:08 +0000 (17:04 +0000)]
added Hidden articles servlet module

21 years agoif the Media handler does not have a media description, use the mime-type as the...
mh [Sun, 2 Jun 2002 16:56:26 +0000 (16:56 +0000)]
if the Media handler does not have a media description, use the mime-type as the description

21 years agomake the uploaded media titel field required
mh [Sun, 2 Jun 2002 16:54:45 +0000 (16:54 +0000)]
make the uploaded media titel field required

21 years ago full language support ;-)
init [Sun, 2 Jun 2002 16:41:41 +0000 (16:41 +0000)]
 full language support ;-)

21 years agoadded list hidden articles function
init [Sun, 2 Jun 2002 16:33:18 +0000 (16:33 +0000)]
added list hidden articles function

21 years agoedit 04
init [Sun, 2 Jun 2002 16:13:44 +0000 (16:13 +0000)]
edit 04

21 years agoedit 03
init [Sun, 2 Jun 2002 16:09:14 +0000 (16:09 +0000)]
edit 03

21 years agoedit 02
init [Sun, 2 Jun 2002 16:03:06 +0000 (16:03 +0000)]
edit 02

21 years agoLists the hidden articles of one month
init [Sun, 2 Jun 2002 13:21:58 +0000 (13:21 +0000)]
Lists the hidden articles of one month

21 years agotook timezones out of dc date function....for now they are just
john [Tue, 28 May 2002 18:16:37 +0000 (18:16 +0000)]
took timezones out of dc date function....for now they are just
hardcoded in the featuresRSS.template

21 years agofixed all outstanding problems with features.1-0.rdf file
john [Tue, 28 May 2002 18:12:08 +0000 (18:12 +0000)]
fixed all outstanding problems with features.1-0.rdf file
1) changed encoding to UTF-8
2) added rdf items for the startpage specials
3) added a manual timezone offset to the dc dates

21 years agono longer used...functionality moved to OpenMir
john [Tue, 28 May 2002 16:26:49 +0000 (16:26 +0000)]
no longer used...functionality moved to OpenMir