X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fdefault.properties;h=187f383ae3eba2200dc98c80d48f81151b5dffd5;hb=b3b25a950f7323f574c276dbe50988ee9d7e2221;hp=6adfb3db25aba913a69accf403921a8502fa3171;hpb=d0eb605edf55d480f61b897335f1fc6fdc511d88;p=mir.git diff --git a/source/default.properties b/source/default.properties index 6adfb3db..187f383a 100755 --- a/source/default.properties +++ b/source/default.properties @@ -1,35 +1,4 @@ # -# Sample config for Mir -# by Matthias 2001-09-12 -# -# The Mir software realizes a semi-dynamic web service: -# The web server that is accessed by users has pure static -# pages. These pages are generated by the Mir software that -# consists of a collection of Java servlets and HTML templates. -# Mir uses a database server to store the data that is needed to -# build the static site. -# So there are basically three parts in this config file: -# -# a) general setup -# b) static site config -# c) dynamic admin site -# d) database config -# -# edit this to suit your needs (here with sampleuser idfx) -# 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. -# -# 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 -# All data is located below this directory, including the servlets. - - -# -# # GENERAL SETUP # @@ -43,7 +12,7 @@ Mir.Tech-email.name=mir-coders mailinglist Mir.Public-email.address=mir-coders@lists.indymedia.org Mir.Public-email.name=mir-coders mailinglist -Mir.Version=1.1beta +Mir.Version=1.1.0rc0 DirectOpenposting=yes # The name of the abuse config file (relative to the WEB-INF dir) @@ -61,7 +30,7 @@ Abuse.CookieMaxAge=168 #where to put the lucene index -IndexPath=/tmp/index +IndexPath=index TempDir=/tmp @@ -91,20 +60,33 @@ Mir.Admin.ShowLoggedinUsers=1 # Log admin activity? Mir.Admin.LogAdminActivity=0 +# Limit the length of text shown in lists (-1 means no limit) +Mir.Admin.ListTextLengthLimit=-1 + # Which usernames have admin priviliges (, seperated usernames) AccessControl.SuperUsers = admin +# Locking enabled? +AccessControl.LockingEnabled = 0 + +# If locking enabled, should users lock articles before they +# can edit? +AccessControl.LockingOptional = 1 + # the templates Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/) -Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/) +Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/),preview=freemarker(etc/producer) 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 - - +Mir.Localizer.Admin.ListOperationsFlavor=2 + +# Article previews, a comma seperated list of name = generator +Mir.Localizer.Admin.ArticlePreview = \ + default = preview::article.template +Mir.Localizer.Admin.ArticlePreviewLanguage=en # How should the topics be presented on the article edit page? # @@ -131,7 +113,7 @@ Mir.Localizer.Admin.AllowDeleteArticle=1 # Article Preview Link URL (Link to produced articles from within admin) Comment.PublicUrl=/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml -Article.PublicUrl=/en/${co_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml +Article.PublicUrl=/en/${to_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml # which 'quick' operations should be available in the top-left box? Mir.Localizer.Admin.AdministerOperations= \ @@ -142,7 +124,7 @@ Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage 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.ProducerRecipes= +Mir.Localizer.Producer.ProducerRecipes= \ allnew = media.new;articles.changed;startpage.run;synchronization.run @@ -177,7 +159,7 @@ Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced # FileEdit module # a list of directories to edit -# format: +# format: # :::<0|1 (recursion off or on)> [, ....] ServletModule.FileEdit.Configuration= \ @@ -267,11 +249,11 @@ Producer.Icon.BigText=text_big.gif 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 +# 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 +# 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... @@ -297,12 +279,12 @@ 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 +# 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 +PDF.Footer.FontFamily=helvetica # how to format the index, i.e. the newsletter table of contents @@ -314,7 +296,7 @@ PDF.Index.FontFamily=helvetica PDF.Meta.Height=36 PDF.Meta.FontSize=14 -PDF.Meta.FontFamily=helvetica +PDF.Meta.FontFamily=helvetica RDF.Meta.DateFormat=yyyy-MM-dd HH:mm # how to format the article description @@ -396,8 +378,23 @@ Mir.DefaultTimezone= UTC # Default date/time format Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm +# Compatibility feature: updated posting forms can +# support persistent uploads (that is, uploads remainig +# valid after validation errors). To support existing +# forms, by default it is off. +Localizer.OpenSession.PersistentUploadedFiles = 0 + +# Should support for ftp-like uploads (uploads done +# outside of mir, but included into postings) be +# supported at all? +Localizer.OpenSession.AllowFTPUploads = 0 +# When uploading ftp files, should a list of available +# files be displayed? +Localizer.OpenSession.AllowFTPUploadSelection = 0 +# What is the place where files are uploaded? +Localizer.OpenSession.FTPDirectory = /somewhere Localizer.OpenSession.article.EditTemplate = editarticle.template Localizer.OpenSession.article.DupeTemplate = dupearticle.template @@ -414,6 +411,12 @@ Localizer.OpenSession.comment.DefaultCommentStatus=normal Localizer.OpenSession.comment.DefaultMediaFolder=openposting Localizer.OpenSession.ErrorTemplate = sessionerror.template +Localizer.OpenSession.translation.EditTemplate=edittranslation.template +Localizer.OpenSession.translation.DupeTemplate=dupearticle.template +Localizer.OpenSession.translation.UnsupportedMediaTemplate=unsupportedmediatype.template +Localizer.OpenSession.translation.DoneTemplate=donetranslation.template + + Localizer.OpenSession.email.PrepareTemplate = preparemail.template Localizer.OpenSession.email.MailTemplate = email_article.template Localizer.OpenSession.email.DoneTemplate =/sent_mail.template @@ -513,16 +516,35 @@ ServletModule.CommentStatus.DeleteConfirmationTemplate=confirm.template ServletModule.CommentStatus.EditTemplate=commentstatus.template ServletModule.CommentStatus.ListTemplate=commentstatuslist.template +ServletModule.MediaType.DeleteConfirmationTemplate=confirm.template +ServletModule.MediaType.EditTemplate=mediatype.template +ServletModule.MediaType.ListTemplate=mediatypelist.template + + +# +# Object store configuration +# + +StoreContainer.EntityDefaultSize= 45 +StoreContainer.EntityListDefaultSize= 15 +StorableObjectEntity.Entity.DefaultSize= 300 +StorableObjectEntity.EntityList.DefaultSize= 100 +EntityTopics.Entity.DefaultSize=200 +EntityTopics.EntityList.DefaultSize=20 + + # # 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 +ServletModule.Abuse.EditFilter.Template = filter.template +ServletModule.Abuse.ListFilters.Template = filterlist.template +ServletModule.Abuse.EditFilterGroup.Template = filtergroup.template +ServletModule.Abuse.ListFilterGroups.Template = filtergrouplist.template +ServletModule.Abuse.ViewLog.Template = abuse.log.template +ServletModule.Abuse.Main.Template = abuse.template # # producer-related configs below @@ -532,3 +554,6 @@ Producer.ExtLinkName=extlink.gif Producer.IntLinkName=intlink.gif Producer.MailLinkName=maillink.gif +# should the