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

22 years agopoints to the featuresRSS template in the producer section
john [Sun, 14 Apr 2002 22:51:02 +0000 (22:51 +0000)]
points to the featuresRSS template in the producer section

22 years agoa template for RSS/RDF generation of the features in the center column.
john [Sun, 14 Apr 2002 22:49:34 +0000 (22:49 +0000)]
a template for RSS/RDF generation of the features in the center column.
currently an exact duplicate of indymedia.org/features.1-0.rdf

22 years agofix single quote bug. get rid of obselete quick hack. requires DB conversion script...
mh [Sun, 14 Apr 2002 22:16:07 +0000 (22:16 +0000)]
fix single quote bug. get rid of obselete quick hack. requires DB conversion script to be run for searches with single quotes in them to work properly

22 years agodeleted connect postgres
eh [Sun, 14 Apr 2002 15:23:55 +0000 (15:23 +0000)]
deleted connect postgres

22 years agonext,previous page on openposting, untested..
cvs [Thu, 11 Apr 2002 19:20:21 +0000 (19:20 +0000)]
next,previous page on openposting, untested..

22 years agoproducer.next
cvs [Thu, 11 Apr 2002 19:07:16 +0000 (19:07 +0000)]
producer.next

22 years agofirst cut at adding the missing "next page" in the openposting template. -mh
cvs [Thu, 11 Apr 2002 19:02:07 +0000 (19:02 +0000)]
first cut at adding the missing "next page" in the openposting template. -mh

22 years agoadded espanol to login.languages
ecuador [Wed, 10 Apr 2002 07:46:40 +0000 (07:46 +0000)]
added espanol to login.languages

22 years agoadded spanish to the language option field
ecuador [Wed, 10 Apr 2002 07:43:25 +0000 (07:43 +0000)]
added spanish to the language option field

22 years agoadded spanish to the language option field
ecuador [Wed, 10 Apr 2002 07:38:19 +0000 (07:38 +0000)]
added spanish to the language option field

22 years agotweaks
mh [Mon, 8 Apr 2002 23:57:18 +0000 (23:57 +0000)]
tweaks

22 years agomake media log a static class variable as it shoul dbe
mh [Mon, 8 Apr 2002 23:46:15 +0000 (23:46 +0000)]
make media log a static class variable as it shoul dbe

22 years agoadded a comment: why not pass the whole config hashMap to the templates?
mh [Mon, 8 Apr 2002 23:45:16 +0000 (23:45 +0000)]
added a comment: why not pass the whole config hashMap to the templates?

22 years agoadded support for configuration of max size of a single upload and the maximum number...
mh [Mon, 8 Apr 2002 23:44:00 +0000 (23:44 +0000)]
added support for configuration of max size of a single upload and the maximum number of uploaded items at once

22 years agoadded css-files to cvsto enable deployment of standard-layout
cvs [Mon, 8 Apr 2002 23:11:32 +0000 (23:11 +0000)]
added css-files to cvsto enable deployment of standard-layout

22 years agoZilog's first draft for the spanish translation
zapata [Mon, 8 Apr 2002 20:31:32 +0000 (20:31 +0000)]
Zilog's first draft for the spanish translation

22 years agoforgot to synchronize some more DB instances
cvs [Mon, 8 Apr 2002 17:50:39 +0000 (17:50 +0000)]
forgot to synchronize some more DB instances

22 years agoupgrade to to postgres 7.2 JDBC driver (it's 7.1.3 compatible)
mh [Mon, 8 Apr 2002 03:00:46 +0000 (03:00 +0000)]
upgrade to to postgres 7.2 JDBC driver (it's 7.1.3 compatible)

22 years agocheck for presence of TOMCAT_HOME env var. Check in all webapp lib dirs in tomcat...
mh [Mon, 8 Apr 2002 02:05:30 +0000 (02:05 +0000)]
check for presence of TOMCAT_HOME env var. Check in all webapp lib dirs in tomcat. smarter Dependency checking

22 years agoupdate. tomcat 4, etc..
mh [Mon, 8 Apr 2002 02:03:11 +0000 (02:03 +0000)]
update. tomcat 4, etc..

22 years agominor cleanup
mh [Mon, 8 Apr 2002 02:02:21 +0000 (02:02 +0000)]
minor cleanup

22 years agosend the proper content-type
mh [Mon, 8 Apr 2002 01:58:55 +0000 (01:58 +0000)]
send the proper content-type

22 years agoquick hack to use JPEG again. better solution on the way.
mh [Mon, 8 Apr 2002 01:58:08 +0000 (01:58 +0000)]
quick hack to use JPEG again. better solution on the way.

22 years agosynchronize singleton constructor static getInstance method. dangerous otherwise
mh [Sun, 7 Apr 2002 21:01:23 +0000 (21:01 +0000)]
synchronize singleton constructor static getInstance method. dangerous otherwise

22 years agojust a cvs test
idfx [Sun, 7 Apr 2002 16:14:30 +0000 (16:14 +0000)]
just a cvs test

22 years agoCleaned up build.xml.
mj [Sat, 6 Apr 2002 20:07:04 +0000 (20:07 +0000)]
Cleaned up build.xml.
Changed the way the database is populated so that it works with a
password protected PostgreSQL installation.

22 years agoadded blurb about htdig as a good search engine, pointed to
john [Wed, 3 Apr 2002 16:22:19 +0000 (16:22 +0000)]
added blurb about htdig as a good search engine, pointed to
the wrapper script in scripts/