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

21 years agotook code for on-the-fly pdf generation out
john [Tue, 28 May 2002 16:25:31 +0000 (16:25 +0000)]
took code for on-the-fly pdf generation out
of OutputMir servlet and put it into OpenMir

21 years agofix it to something that makes a little more sense. the config. values were all wrong
cvs [Wed, 22 May 2002 09:39:47 +0000 (09:39 +0000)]
fix it to something that makes a little more sense. the config. values were all wrong

21 years agoturkish translation for Mir and openMir.
john [Mon, 20 May 2002 17:20:18 +0000 (17:20 +0000)]
turkish translation for Mir and openMir.
unicode text file, might need to converted if java can't
figure it out.

21 years agorevert to iso-8859-1
cvs [Tue, 14 May 2002 23:14:11 +0000 (23:14 +0000)]
revert to iso-8859-1

21 years agorevert to iso-8859-1
cvs [Tue, 14 May 2002 23:04:10 +0000 (23:04 +0000)]
revert to iso-8859-1

21 years agorevert to ISO8859_1 def encoding cause of browsers
cvs [Tue, 14 May 2002 22:40:58 +0000 (22:40 +0000)]
revert to ISO8859_1 def encoding cause of browsers

22 years agocleanup indentation of the FO/Pdf stuff
mh [Tue, 30 Apr 2002 17:43:36 +0000 (17:43 +0000)]
cleanup indentation of the FO/Pdf stuff

22 years agomake necessary changes to output UTF8 files and pages instead of ISO8859-1 and make...
mh [Tue, 30 Apr 2002 17:42:18 +0000 (17:42 +0000)]
make necessary changes to output UTF8 files and pages instead of ISO8859-1 and make the default output character encoding a config option in case someone is feeling adventurous. This means we support all knds of charset now. The DB data was always unicode. A new config option is necessary to use this (Mir.DefaultEncoding)

22 years agoremove the unused and horrid encodeHTML method. saves us a couple hundred lines of...
mh [Tue, 30 Apr 2002 17:26:31 +0000 (17:26 +0000)]
remove the unused and horrid encodeHTML method. saves us a couple hundred lines of code

22 years agobe a little more clear about the native library thing
mh [Tue, 30 Apr 2002 17:24:43 +0000 (17:24 +0000)]
be a little more clear about the native library thing

22 years agoadded id index for comment table
mh [Sun, 28 Apr 2002 18:54:49 +0000 (18:54 +0000)]
added id index for comment table

22 years agoupdates.
mh [Sun, 28 Apr 2002 14:26:57 +0000 (14:26 +0000)]
updates.

22 years agoupdates here and there. talk about TOMCAT_HOME
mh [Sun, 28 Apr 2002 14:19:22 +0000 (14:19 +0000)]
updates here and there. talk about TOMCAT_HOME

22 years agook
maulwurf [Tue, 23 Apr 2002 15:45:58 +0000 (15:45 +0000)]
ok

22 years agosingle quote qeustionmark bug
idfx [Sun, 21 Apr 2002 14:18:29 +0000 (14:18 +0000)]
single quote qeustionmark bug

22 years agobecause of heavy-spam-attacks to indymedia.de i added a one-time-password-protection...
idfx [Sat, 20 Apr 2002 14:36:31 +0000 (14:36 +0000)]
because of heavy-spam-attacks to indymedia.de i added a one-time-password-protection, it can be switched on and off by editing config.properties -> config.properties has to be updated before compilation. todo: create an image with the password-string

22 years agoChanged some stuff to match PostgreSQL 7.2
mj [Fri, 19 Apr 2002 16:55:36 +0000 (16:55 +0000)]
Changed some stuff to match PostgreSQL 7.2

22 years agouse description_sentence to not have the entire front page text+html
john [Thu, 18 Apr 2002 09:00:20 +0000 (09:00 +0000)]
use description_sentence to not have the entire front page text+html
getting shoved into what should be just a teaser

22 years agoadded another "virtual member"
john [Thu, 18 Apr 2002 08:58:57 +0000 (08:58 +0000)]
added another "virtual member"
to content entities, this one does some easy string manipulation
to return content.description_sentence, the first sentence of the description
with all html tags stripped.  used for RSS right now.  works analogously to
content.description_parsed

22 years agogot rid of use of jdbc's result_set.getTimestamp() method, which loses
john [Thu, 18 Apr 2002 08:56:45 +0000 (08:56 +0000)]
got rid of use of jdbc's result_set.getTimestamp() method, which loses
information which is stored by postgres

replaced with ordinary result_set.getString(), which returns a compatible
string to timestamp.toString(), which is what is expected(plus some extra
info on the end-the worst thing that can happen is a little bit of table
stretching in the admin pages)

22 years agofixed the method which takes a webdb_date to a dublin core date to include
john [Thu, 18 Apr 2002 08:54:10 +0000 (08:54 +0000)]
fixed the method which takes a webdb_date to a dublin core date to include
correct timezone info

22 years agomake image/gif and image/png images be converted into PNG format. everything else...
mh [Mon, 15 Apr 2002 23:20:50 +0000 (23:20 +0000)]
make image/gif and image/png images be converted into PNG format. everything else remains Jpeg format. this makes MediaHandlerImages abstract. media_type table has to be updated.

22 years agoput "height" where "width" was.
mh [Mon, 15 Apr 2002 23:17:02 +0000 (23:17 +0000)]
put "height" where "width" was.

22 years agouggghhhh. timezone info, which is in the database, dissappears by the time it
john [Mon, 15 Apr 2002 21:07:23 +0000 (21:07 +0000)]
uggghhhh.  timezone info, which is in the database, dissappears by the time it
becomes entity.webdb_create

until this is tracked down, no timezones on dates.
not an ideal solution.

22 years agomore bug fixes in dublin core date functions....
john [Mon, 15 Apr 2002 10:27:44 +0000 (10:27 +0000)]
more bug fixes in dublin core date functions....
i really shouldn't be allowed near a terminal after midnight

22 years agobug fix...was far too late last night to be trying to count letters...
john [Mon, 15 Apr 2002 10:17:28 +0000 (10:17 +0000)]
bug fix...was far too late last night to be trying to count letters...
the out of bounds error being generated in the features.1-0.rdf should go away now

22 years agoif you make a start page, you also make a rdf file with an rss
john [Sun, 14 Apr 2002 22:59:45 +0000 (22:59 +0000)]
if you make a start page, you also make a rdf file with an rss
description of your features.  it goes where www.indy expects it.

22 years agoevery entity now has a webdb_create_dc value
john [Sun, 14 Apr 2002 22:57:02 +0000 (22:57 +0000)]
every entity now has a webdb_create_dc value
(dc=dublin core).  should be useful for many types of syndication

22 years agoa couple of w3/dublin core date functions added
john [Sun, 14 Apr 2002 22:52:28 +0000 (22:52 +0000)]
a couple of w3/dublin core date functions added