to_parent aatribute without NOT NULL and DEFAULT value. Needed for parent-child-relation
[mir.git] / source / default.properties
index baa8246..38988b2 100755 (executable)
@@ -52,6 +52,9 @@ Abuse.Config=abuse.properties
 #    (The name is deliberately misleading)
 Abuse.CookieName=SessionIdentifier
 
+# If equal to 1, the IP log can't be used
+Abuse.DisallowIPLogging=0
+
 # The time the cookie will remain active in hours
 #   168 = 1 week
 Abuse.CookieMaxAge=168
@@ -77,12 +80,15 @@ Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
 Mir.Login.DefaultLanguage=en
 
 # The available languages in the login form:
-Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh
+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
 
 
+# Which usernames have admin priviliges (, seperated usernames)
+AccessControl.SuperUsers = admin
+
 # the templates
 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
@@ -103,6 +109,19 @@ 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
+
+# enable deletion of comments/articles?
+Mir.Localizer.Admin.AdministerOperations= \
+   comments:module=Comment&do=list
+
+
 # Which producers need to be called after an article (resp. a comment) is posted
 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
@@ -113,7 +132,7 @@ Mir.Localizer.Producer.AllNewProducers= media.new;articles.changed;startpage.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 
+#but these summarize what is said in there for the benefit of OpenMir
 GenerateFO=yes
 GeneratePDF=yes
 
@@ -139,16 +158,20 @@ ServletModule.OpenIndy.DefaultMediaUploadItems=1
 # 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$
-ServletModule.FileEdit.Recursive=0
+# 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
 
 #
 #
@@ -201,7 +224,7 @@ Producer.Image.MaxIconSize = 120
 Producer.Image.MinDescalePercentage=10
 
 # descaling will only occur if at least the following number of pixels needs
-#  to be removed from either the width or the height: 
+#  to be removed from either the width or the height:
 Producer.Image.MinDescaleReduction=10
 
 
@@ -231,9 +254,95 @@ Producer.Icon.BigVideo=video_big.gif
 Producer.Icon.BigText=text_big.gif
 
 #the style sheet used to turn html into xsl:fo
-Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl 
+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!
+#
+# also, be sure to adjust the corresponding line height if you change a font size...
+# this may require some trial and error to get right
+#
+# Available font families are helvetica, courier, and times
+#
+
+
+# an image which will appear at the top of the first page
+
+PDF.Header.Image=
+PDF.Header.ImageHeight=0
+
+#PDF.Header.Image=/home/john/mir/web/img/pdfbanner.png
+#PDF.Header.ImageHeight=70
+
+# a single line of big text which will appear at the top of the first page of all generated pdfs
+# if you set the String to nothing, this will be skipped
+
+PDF.Title.String=INDYMEDIA SOMEWHERE
+PDF.Title.FontSize=24
+PDF.Title.LineHeight=28
+PDF.Title.FontFamily=courier
+
+# footer is about two lines of small text which will appear at the bottom of every page 
+
+PDF.Footer.String=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.
+PDF.Footer.Height=54
+PDF.Footer.FontSize=12
+PDF.Footer.FontFamily=helvetica 
+
+# how to format the index, i.e. the newsletter table of contents
+
+PDF.Index.FontSize=12
+PDF.Index.LineHeight=16
+PDF.Index.FontFamily=helvetica
+
+# how to format the meta-data, i.e. title, author, date
+
+PDF.Meta.Height=36
+PDF.Meta.FontSize=14
+PDF.Meta.FontFamily=helvetica 
+RDF.Meta.DateFormat=yyyy-MM-dd HH:mm
+
+# how to format the article description
+
+PDF.Description.FontSize=12
+PDF.Description.LineHeight=16
+PDF.Description.FontFamily=helvetica
+
+# how to format the article content
+
+PDF.Content.FontSize=10
+PDF.Content.LineHeight=16
+PDF.Content.FontFamily=helvetica
+
+# the formatting for images in gallery mode
+
+PDF.BigImageCaption.FontSize=16
+PDF.BigImageCaption.FontFamily=helvetica
+
+# the formatting for the article source
+
+PDF.Source.FontSize=12
+PDF.Source.LineHeight=16
+PDF.Source.FontFamily=courier
 
 
+
+
+#
+# the size paper your target audience will likely have in their printers.  pick one of A4 or LETTER
+#
+
+PDF.PageSize=A4
+
+# the number of Objects which can fit in your MRUCache
+
+Global.Cache.Items=15
+
 #
 # edit with caution below this line
 ######################################################################
@@ -255,18 +364,9 @@ Database.Username=postgres
 Database.Password=
 Database.Host=localhost
 Database.Name=Mir
+Database.Port=5432
+Database.Driver=org.postgresql.Driver
 
-#
-# this sets the adaptor to be used
-
-Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
-
-#
-# configuration for adaptor postgres
-# In this example, "Mir" is the dbname
-
-Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
-Adaptor.PostgreSQL.Driver=org.postgresql.Driver
 
 #
 # Servlet / Module configurations
@@ -283,13 +383,35 @@ Mir.DefaultEncoding=UTF8
 # don't change this unless...
 Mir.DefaultHTMLCharset=UTF-8
 
+# Default timezone to display times in in admin, producers
+# 
+# Leave empty to use the system's default
+Mir.DefaultTimezone= 
+
+# Default date/time format
+Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm
+
+
+
+
+Localizer.OpenSession.article.EditTemplate = editarticle.template
+Localizer.OpenSession.article.DupeTemplate = dupearticle.template
+Localizer.OpenSession.article.DoneTemplate = donearticle.template
+Localizer.OpenSession.article.UnsupportedMediaTemplate = unsupportedmediatype.template
+Localizer.OpenSession.article.DefaultArticleType=newswire
+
+Localizer.OpenSession.comment.EditTemplate = editcomment.template
+Localizer.OpenSession.comment.DupeTemplate = dupecomment.template
+Localizer.OpenSession.comment.DoneTemplate = donecomment.template
+Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template
+Localizer.OpenSession.ErrorTemplate = sessionerror.template
+
 
 
 
 #
 # config used for OpenIndy
 
-OpenMir.TemplateDir=etc/open/
 ServletModule.OpenIndy.CommentTemplate=comment.template
 ServletModule.OpenIndy.CommentDoneTemplate=comment_done.template
 ServletModule.OpenIndy.CommentDupeTemplate=comment_dupe.template
@@ -300,6 +422,7 @@ ServletModule.OpenIndy.PostingDisabledTemplate=posting_disabled.template
 ServletModule.OpenIndy.SearchResultsTemplate=search_results.template
 ServletModule.OpenIndy.PrepareMailTemplate=prepare_mail.template
 ServletModule.OpenIndy.SentMailTemplate=sent_mail.template
+ServletModule.OpenIndy.MailableArticleTemplate=email_article.template
 ServletModule.OpenIndy.EmailIsFrom=mailer@somewhere.org
 ServletModule.OpenIndy.SMTPServer=localhost
 ServletModule.OpenIndy.ErrorTemplate=error.template
@@ -315,88 +438,81 @@ Mir.StartTemplate=start_admin.template
 Mir.ErrorTemplate=error.template
 Mir.UserErrorTemplate=usererror.template
 
-ServletModule.Themen.ConfirmTemplate=confirm.template
-ServletModule.Themen.ObjektTemplate=topic.template
-ServletModule.Themen.ListTemplate=topiclist.template
+ServletModule.Default.ListSize = 30
 
-ServletModule.LinksImcs.ConfirmTemplate=confirm.template
-ServletModule.LinksImcs.ObjektTemplate=linksimcs.template
-ServletModule.LinksImcs.ListTemplate=linksimcslist.template
+ServletModule.Topics.DeleteConfirmationTemplate=confirm.template
+ServletModule.Topics.EditTemplate=topic.template
+ServletModule.Topics.ListTemplate=topiclist.template
 
-ServletModule.Users.ConfirmTemplate=confirm.template
-ServletModule.Users.ObjektTemplate=user.template
+ServletModule.Users.DeleteConfirmationTemplate=confirm.template
+ServletModule.Users.EditTemplate=user.template
 ServletModule.Users.ListTemplate=userlist.template
 
-ServletModule.Images.ConfirmTemplate=confirm.template
-ServletModule.Images.ObjektTemplate=image.template
+ServletModule.Images.DeleteConfirmationTemplate=confirm.template
+ServletModule.Images.EditTemplate=image.template
 ServletModule.Images.ListTemplate=imagelist.template
 
-ServletModule.Audio.ConfirmTemplate=confirm.template
-ServletModule.Audio.ObjektTemplate=audio.template
+ServletModule.Audio.DeleteConfirmationTemplate=confirm.template
+ServletModule.Audio.EditTemplate=audio.template
 ServletModule.Audio.ListTemplate=audiolist.template
 
-ServletModule.Video.ConfirmTemplate=confirm.template
-ServletModule.Video.ObjektTemplate=video.template
+ServletModule.Video.DeleteConfirmationTemplate=confirm.template
+ServletModule.Video.EditTemplate=video.template
 ServletModule.Video.ListTemplate=videolist.template
 
-ServletModule.OtherMedia.ConfirmTemplate=confirm.template
-ServletModule.OtherMedia.ObjektTemplate=media.template
+ServletModule.OtherMedia.DeleteConfirmationTemplate=confirm.template
+ServletModule.OtherMedia.EditTemplate=other.template
 ServletModule.OtherMedia.ListTemplate=medialist.template
 
-ServletModule.Content.ConfirmTemplate=confirm.template
-ServletModule.Content.ObjektTemplate=content.template
+ServletModule.Content.DeleteConfirmationTemplate=confirm.template
+ServletModule.Content.EditTemplate=content.template
 ServletModule.Content.ListTemplate=contentlist.template
 
-ServletModule.Mediafolder.ConfirmTemplate=confirm.template
-ServletModule.Mediafolder.ObjektTemplate=mediafolder.template
+ServletModule.Mediafolder.DeleteConfirmationTemplate=confirm.template
+ServletModule.Mediafolder.EditTemplate=mediafolder.template
 ServletModule.Mediafolder.ListTemplate=mediafolderlist.template
 
-#
-# config for ServletModuleComment - browsing/editing/deleting comments
-ServletModule.Comment.ConfirmTemplate=confirm.template
-ServletModule.Comment.ObjektTemplate=comment.template
+ServletModule.Comment.DeleteConfirmationTemplate=confirm.template
+ServletModule.Comment.EditTemplate=comment.template
 ServletModule.Comment.ListTemplate=commentlist.template
 
-#
-# config for ServletModuleHidden - lists all hidden articles of one month
 ServletModule.Hidden.ListTemplate=hiddenlist.template
 
-#
-# config for Breaking - browsing/editing/deleting breaking news
-ServletModule.Breaking.ConfirmTemplate=confirm.template
-ServletModule.Breaking.ObjektTemplate=breaking.template
+ServletModule.Breaking.DeleteConfirmationTemplate=confirm.template
+ServletModule.Breaking.EditTemplate=breaking.template
 ServletModule.Breaking.ListTemplate=breakinglist.template
 
-#
-# config for Breaking - editing text files
-ServletModule.FileEdit.ConfirmTemplate=confirm.template
-ServletModule.FileEdit.ObjektTemplate=fileedit.template
+ServletModule.FileEdit.DeleteConfirmationTemplate=confirm.template
+ServletModule.FileEdit.EditTemplate=fileedit.template
 ServletModule.FileEdit.ListTemplate=fileeditlist.template
 
-#
-# config for messages - browsing/editing/deleting internal messages
-ServletModule.Messages.ConfirmTemplate=confirm.template
-ServletModule.Messages.ObjektTemplate=message.template
-ServletModule.Messages.ListTemplate=messagelist.template
+ServletModule.Message.DeleteConfirmationTemplate=confirm.template
+ServletModule.Message.EditTemplate=message.template
+ServletModule.Message.ListTemplate=messagelist.template
 
-#
-# config for languages - browsing/editing/deleting languages
-ServletModule.Language.ConfirmTemplate=confirm.template
-ServletModule.Language.ObjektTemplate=language.template
+ServletModule.Language.DeleteConfirmationTemplate=confirm.template
+ServletModule.Language.EditTemplate=language.template
 ServletModule.Language.ListTemplate=languagelist.template
 
-#
-# config for article type
-ServletModule.ArticleType.ConfirmTemplate=confirm.template
+ServletModule.ArticleType.DeleteConfirmationTemplate=confirm.template
 ServletModule.ArticleType.EditTemplate=articletype.template
 ServletModule.ArticleType.ListTemplate=articletypelist.template
 
-#
-# config for comment status
-ServletModule.CommentStatus.ConfirmTemplate=confirm.template
+ServletModule.CommentStatus.DeleteConfirmationTemplate=confirm.template
 ServletModule.CommentStatus.EditTemplate=commentstatus.template
 ServletModule.CommentStatus.ListTemplate=commentstatuslist.template
 
+
+
+
+
+#
+# config for abuse
+ServletModule.Abuse.EditFilter.Template = abuse.filter.template\r
+ServletModule.Abuse.ListFilters.Template = abuse.filters.template\r
+ServletModule.Abuse.ViewLog.Template = abuse.log.template\r
+ServletModule.Abuse.Main.Template = abuse.template\r
+
 #
 # producer-related configs below
 #
@@ -405,3 +521,8 @@ Producer.ExtLinkName=extlink.gif
 Producer.IntLinkName=intlink.gif
 Producer.MailLinkName=maillink.gif
 
+#objectstore
+StoreContainer.EntityDefaultSize=45
+StoreContainer.EntityListDefaultSize=15
+StorableObjectEntity.Entity.DefaultSize=5000
+StorableObjectEntity.EntityList.DefaultSize=400