rss input update
[mir.git] / etc / config.properties-dist
index e8775a7..ae7ff3f 100755 (executable)
 # c) dynamic admin site
 # d) database config
 #
-# edit this to suit your needs (here with sampleuser idfx)
+# edit this to suit your needs
 # After you edited this file, build.sh has to be invoked.
 # To be sure, also restart Tomcat.
 #
 # Note that for Mir to work, Tomcat has to be set up to handle all
 # URLs that begin with /servlet. All other URLs are handled by Apache.
 #
+# There are more configuration values located in the default.properties file
+# located in source/. If necessary these values can be overridden in this file.
+#
 # The setup uses the following assumptions:
 # The URL to reach the site is http://indy.code-fu.de
 # The StorageRoot of this URL is /pub/Dokumente/Indymedia/de-tech/Mir
@@ -44,31 +47,77 @@ Mir.Public-email.address=mir-coders@lists.indymedia.org
 Mir.Public-email.name=mir-coders mailinglist
 
 Mir.Version=1.1beta
-StandardLanguage=de
 DirectOpenposting=yes
 
+#where to put the lucene index
+IndexPath=/tmp/index
+
+# temp-dir used for media-uploads
+TempDir=/tmp
+
+Log.LogClass = mir.log.log4j.LoggerImpl
+Log.log4j.ConfigurationFile = etc/log4j.properties
+Log.Home = log
+
 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
 Mir.Localizer.Logfile=log/localizer.log
 
 # The location of the producer specifiations
 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
 
+# Settings for the admin login:
+# If the default language is left empty, it will set the accept-language of
+# the client browser as the default.
+Mir.Login.DefaultLanguage=en
+Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh;gz
+
+# For missing values, the FallbackLanguage is used as default
+Mir.Admin.FallbackLanguage=en
+
 # the templates
 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/)
 
+# How should the custom operations (hide etc) in article and comment lists
+# be presented?
+# 0 = links, 1 = checkboxes, 2 = a listbox
+Mir.Localizer.Admin.ListOperationsFlavor=1
+
+# How should the topics be presented on the article edit page?
+# 0 = in a multiselect list box, 1 = checkboxes
+Mir.Localizer.Admin.TopicListFlavor=1
+
+# For the checkboxes flavour, how many columns should there be?
+Mir.Localizer.Admin.TopicListColumns=3
+
+# In which order should the topic appear?
+Mir.Localizer.Admin.TopicListOrder=title
+
+# enable deletion of comments/articles?
+Mir.Localizer.Admin.AllowDeleteComment=1
+Mir.Localizer.Admin.AllowDeleteArticle=1
+
+
+# Article Preview Link URL (Link to produced articles from within admin) 
+ContentList.ArticleLink=http://production.indy.code-foo.org/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml
+CommentList.ArticleLink=http://production.indy.code-foo.org/en/${co_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml
+
+
 # Which producers need to be called after an article (resp. a comment) is posted
-Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.new;startpage.new;synchronization.run
-Mir.Localizer.OpenPosting.CommentProducers= articles.new;synchronization.run
+Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
+Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
+
+# Which producers need to be called after the "produce all new" link is clicked from admin
+Mir.Localizer.Producer.AllNewProducers= media.new;articles.changed;startpage.run;synchronization.run
+
 
 #note that you can't make pdf's without making fo's
+#this is actually now set in producers.xml
+#but these summarize what is said in there for the benefit of OpenMir 
 GenerateFO=yes
 GeneratePDF=yes
 
-#on-time-password-protection
-PasswdProtection=no
-
 #use rsync to mirror the website to a remote-host
 Rsync=no
 Rsync.Script.Path=/var/www/bin/rsync-copy
@@ -79,6 +128,10 @@ MaxMediaUploadSize=20000
 # the maximum number of allowed media items to upload at once.
 ServletModule.OpenIndy.MaxMediaUploadItems=20
 
+# the default number of media items to upload at once
+ServletModule.OpenIndy.DefaultMediaUploadItems=1
+
+
 #
 #
 # STATIC SITE CONFIG
@@ -87,15 +140,20 @@ ServletModule.OpenIndy.MaxMediaUploadItems=20
 # the url of the static site
 Producer.ProductionHost=http://indy.code-fu.de
 
+# the url of the public site
+Producer.PublicationHost=http://indy.code-fu.de
+
 # Produrce.StorageRoot is the directory, in which
 # the generated HTML pages will be stored
 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
 
-# for FileEdit module
-#
-# where do we find the files? absolute path
-ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
-ServletModule.FileEdit.ExtFilter=inc
+# FileEdit module
+#   a list of directories to edit
+#   format:
+#      <name>:<path>:<file filter>:<0|1 (recursion off or on)> [, ....]
+ServletModule.FileEdit.Configuration= \
+  includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced/inc:.*\\.inc:1
+
 
 #
 #
@@ -162,6 +220,39 @@ Producer.Icon.BigAudio=audio_big.gif
 Producer.Icon.BigVideo=video_big.gif
 Producer.Icon.BigText=text_big.gif
 
+#Icons used for links
+Producer.ExtLinkName=extlink.gif
+Producer.IntLinkName=intlink.gif
+Producer.MailLinkName=maillink.gif
+
+#the style sheet used to turn html into xsl:fo
+#this is not currently in use, so don't worry about it
+Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl 
+
+# the following lines are used to construct PDFs on the fly from one or more articles
+# for the moment, if you want to change anything else about your pdfs, you 
+# will have to learn some java!
+#
+# keep in mind that there may not be enough room for all the text you enter as the 
+# value of one these options, if text doesn't appear, the only easy thing to do is 
+# use less text!
+#
+
+# a single line of big text which will appear at the top of the first page of all generated pdfs
+
+PDF.Title=INDYMEDIA SOMEWHERE
+
+# about two lines of small text which will appear at the bottom of every page 
+
+PDF.Footer=Indymedia does blah.  Content is good, and free to use for non-commercial purposes under the Open Content license. if you have questions, email someone.
+#
+# the size paper your target audience will likely have in their printers.  pick one of A4 or LETTER
+#
+
+PDF.PageSize=A4
+
+
 
 
 #
@@ -199,19 +290,9 @@ Database.Logfile=log/dbentity.log
 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
 
-#
-# should be explained .)
-#
-
 # how many articles should be shown on a list-page
 Lists.Max.Items=10
 
-HTMLTemplateProcessor.Logfile=log/htmlprocess.log
-HTMLTemplateProcessor.Dir=
-
-ServletModule.Producer.Logfile=log/producer.log
-Entity.Logfile=log/dbentity.log
-
 #
 # Servlet / Module configurations
 #
@@ -220,146 +301,9 @@ Entity.Logfile=log/dbentity.log
 # The default encoding charset used in the written html files as well
 # as the dynamic output html.
 # also used for the HTML charset meta tag.
-Mir.DefaultEncoding=ISO8859_1
-Mir.Logfile=log/mir.log
-Mir.ErrorTemplate=error.template
-Mir.UserErrorTemplate=usererror.template
-Mir.LoginTemplate=templates/admin/login.template
-OpenMir.Logfile=log/OpenMir.log
-
-ServletModule.Schwerpunkt.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Schwerpunkt.ObjektTemplate=templates/admin/feature.template
-ServletModule.Schwerpunkt.ListTemplate=templates/admin/featurelist.template
-ServletModule.Schwerpunkt.Logfile=log/mir.log
-Module.Schwerpunkt.Logfile=log/mir.log
-
-ServletModule.Feature.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Feature.ObjektTemplate=templates/admin/schwerpunkt.template
-ServletModule.Feature.ListTemplate=templates/admin/schwerpunktlist.template
-ServletModule.Feature.Logfile=log/mir.log
-Module.Feature.Logfile=log/mir.log
-
-ServletModule.Themen.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Themen.ObjektTemplate=templates/admin/topic.template
-ServletModule.Themen.ListTemplate=templates/admin/topiclist.template
-ServletModule.Themen.Logfile=log/mir.log
-Module.Themen.Logfile=log/mir.log
-
-ServletModule.LinksImcs.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.LinksImcs.ObjektTemplate=templates/admin/linksimcs.template
-ServletModule.LinksImcs.ListTemplate=templates/admin/linksimcslist.template
-ServletModule.LinksImcs.Logfile=log/mir.log
-Module.LinksImcs.Logfile=log/mir.log
-
-ServletModule.Users.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Users.ObjektTemplate=templates/admin/user.template
-ServletModule.Users.ListTemplate=templates/admin/userlist.template
-ServletModule.Users.Logfile=log/mir.log
-Module.Users.Logfile=log/mir.log
-
-ServletModule.Images.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Images.ObjektTemplate=templates/admin/image.template
-ServletModule.Images.ListTemplate=templates/admin/imagelist.template
-ServletModule.Images.Logfile=log/mir.log
-Module.Images.Logfile=log/mir.log
-
-Module.UploadedMedia.Logfile=log/mir.log
-
-ServletModule.Audio.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Audio.ObjektTemplate=templates/admin/audio.template
-ServletModule.Audio.ListTemplate=templates/admin/audiolist.template
-ServletModule.Audio.Logfile=log/mir.log
-
-ServletModule.Video.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Video.ObjektTemplate=templates/admin/video.template
-ServletModule.Video.ListTemplate=templates/admin/videolist.template
-ServletModule.Video.Logfile=log/mir.log
-
-ServletModule.OtherMedia.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.OtherMedia.ObjektTemplate=templates/admin/media.template
-ServletModule.OtherMedia.ListTemplate=templates/admin/medialist.template
-ServletModule.OtherMedia.Logfile=log/mir.log
-
-ServletModule.Content.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Content.ObjektTemplate=templates/admin/content.template
-ServletModule.Content.ListTemplate=templates/admin/contentlist.template
-ServletModule.Content.Logfile=log/mir.log
-Module.Content.Logfile=log/mir.log
-
-ServletModule.Mediafolder.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Mediafolder.ObjektTemplate=templates/admin/mediafolder.template
-ServletModule.Mediafolder.ListTemplate=templates/admin/mediafolderlist.template
-ServletModule.Mediafolder.Logfile=log/mir.log
-Module.Mediafolder.Logfile=log/mir.log
-
-#
-# config used for OpenIndy
-ServletModule.OpenIndy.CommentTemplate=etc/open/comment.template
-ServletModule.OpenIndy.CommentDoneTemplate=etc/open/comment_done.template
-ServletModule.OpenIndy.CommentDupeTemplate=etc/open/comment_dupe.template
-ServletModule.OpenIndy.PostingTemplate=etc/open/posting.template
-ServletModule.OpenIndy.PostingDoneTemplate=etc/open/posting_done.template
-ServletModule.OpenIndy.PostingDupeTemplate=etc/open/posting_dupe.template
-ServletModule.OpenIndy.Logfile=log/openindy.log
-
-#
-# config for ServletModuleComment - browsing/editing/deleting comments
-Module.Comment.Logfile=log/comment.log
-ServletModule.Comment.Logfile=log/comment.log
-ServletModule.Comment.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Comment.ObjektTemplate=templates/admin/comment.template
-ServletModule.Comment.ListTemplate=templates/admin/commentlist.template
-
-#
-# config for ServletModuleHidden - lists all hidden articles of one month
-ServletModule.Hidden.Logfile=log/hidden.log
-ServletModule.Hidden.ListTemplate=templates/admin/hiddenlist.template
-
-
-#
-# config for Breaking - browsing/editing/deleting breaking news
-Module.Breaking.Logfile=log/breaking.log
-ServletModule.Breaking.Logfile=log/comment.log
-ServletModule.Breaking.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Breaking.ObjektTemplate=templates/admin/breaking.template
-ServletModule.Breaking.ListTemplate=templates/admin/breakinglist.template
-
-#
-# config for Breaking - editing text files
-ServletModule.FileEdit.Logfile=log/fileedit.log
-ServletModule.FileEdit.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.FileEdit.ObjektTemplate=templates/admin/fileedit.template
-ServletModule.FileEdit.ListTemplate=templates/admin/fileeditlist.template
-
-
-
-#
-# config for messages - browsing/editing/deleting internal messages
-Module.Messages.Logfile=log/message.log
-ServletModule.Messages.Logfile=log/comment.log
-ServletModule.Messages.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Messages.ObjektTemplate=templates/admin/message.template
-ServletModule.Messages.ListTemplate=templates/admin/messagelist.template
-
-#
-# config for languages - browsing/editing/deleting languages
-Module.Language.Logfile=log/message.log
-ServletModule.Language.Logfile=log/mir.log
-ServletModule.Language.ConfirmTemplate=templates/admin/confirm.template
-ServletModule.Language.ObjektTemplate=templates/admin/language.template
-ServletModule.Language.ListTemplate=templates/admin/languagelist.template
-
-
-#
-# producer-related configs below
-#
-
-Producer.ExtLinkName=extlink.gif
-Producer.IntLinkName=intlink.gif
-Producer.MailLinkName=maillink.gif
-Producer.Logfile=log/producer.log
-
-Producer.Content.Template=etc/producer/content.template
-Producer.Content.Batchsize=10
-
+Mir.DefaultEncoding=UTF8
 
+# this encoding is used for the HTML charset meta tag.
+# it must be the html charset equivalent of the Java encoding above
+# don't change this unless...
+Mir.DefaultHTMLCharset=UTF-8