fix
[mir.git] / source / default.properties
index ef6d5bf..15f60b5 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
@@ -83,6 +86,9 @@ Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh;gz
 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/)
@@ -265,7 +271,16 @@ Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl
 #
 
 
+# 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
@@ -290,6 +305,7 @@ PDF.Index.FontFamily=helvetica
 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
 
@@ -348,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
@@ -376,6 +383,14 @@ 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
+
 
 
 
@@ -383,6 +398,8 @@ 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
@@ -504,6 +521,13 @@ 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
 #