X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fdefault.properties;h=15f60b50075c1270243317f0a95daa606dc86be1;hb=d7e755f2c5d456b41474a3dcd487245bc5fbd4b9;hp=278510171fe8aa631abb0476dcba287fe3728a37;hpb=14e3b126e9dfe5ca43ea5daa47295681d8a31896;p=mir.git diff --git a/source/default.properties b/source/default.properties index 27851017..15f60b50 100755 --- a/source/default.properties +++ b/source/default.properties @@ -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 @@ -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: +# :::<0|1 (recursion off or on)> [, ....] + +ServletModule.FileEdit.Configuration= \ + includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced/inc:.*\\.inc:1 # # @@ -248,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 @@ -273,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 @@ -331,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 @@ -359,12 +383,30 @@ 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 = donecomment.template -Localizer.OpenSession.comment.DoneTemplate = dupecomment.template +Localizer.OpenSession.comment.DupeTemplate = dupecomment.template +Localizer.OpenSession.comment.DoneTemplate = donecomment.template +Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template +Localizer.OpenSession.ErrorTemplate = sessionerror.template + + # @@ -380,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 @@ -478,6 +521,13 @@ ServletModule.CommentStatus.EditTemplate=commentstatus.template ServletModule.CommentStatus.ListTemplate=commentstatuslist.template # +# config for abuse +ServletModule.Abuse.EditFilter.Template = abuse.filter.template +ServletModule.Abuse.ListFilters.Template = abuse.filters.template +ServletModule.Abuse.ViewLog.Template = abuse.log.template +ServletModule.Abuse.Main.Template = abuse.template + +# # producer-related configs below #