4 # This is a full list of defaults options. To configure your site
5 # do NOT change this file. You can override all of these values in
6 # your etc/config.properties
9 ### mir/imc information
10 Mir.Name=mir.indymedia.org
12 Mir.Contact-email.address=mir-coders@lists.indymedia.org
13 Mir.Contact-email.name=mir-coders mailinglist
14 Mir.Tech-email.address=mir-coders@lists.indymedia.org
15 Mir.Tech-email.name=mir-coders mailinglist
16 Mir.Public-email.address=mir-coders@lists.indymedia.org
17 Mir.Public-email.name=mir-coders mailinglist
21 # The name of the abuse config file (relative to the WEB-INF dir)
22 Abuse.Config=abuse.properties
23 # The name of the cookie that can be used to thwart trolls
24 # (The name is deliberately misleading)
25 Abuse.CookieName=SessionIdentifier
27 # If equal to 1, the IP log can't be used
28 Abuse.DisallowIPLogging=0
30 # The time the cookie will remain active in hours
32 Abuse.CookieMaxAge=168
35 #where to put the lucene index
40 Log.LogClass = mir.log.log4j.LoggerImpl
41 Log.log4j.ConfigurationFile = etc/log4j.properties
44 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
46 # The location of the producer specifiations
47 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
49 # Settings for the admin login:
50 # If the default language is left empty, it will set the accept-language of
51 # the client browser as the default.
52 Mir.Login.DefaultLanguage=en
54 # The available languages in the login form:
55 Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh;gz
57 # For missing values, the FallbackLanguage is used as default
58 Mir.Admin.FallbackLanguage=en
60 # Show who's logged in?
61 Mir.Admin.ShowLoggedinUsers=1
64 Mir.Admin.LogAdminActivity=0
66 # Limit the length of text shown in lists (-1 means no limit)
67 Mir.Admin.ListTextLengthLimit=-1
69 # Which usernames have admin priviliges (, seperated usernames)
70 AccessControl.SuperUsers = admin
73 AccessControl.LockingEnabled = 0
75 # If locking enabled, should users lock articles before they
77 AccessControl.LockingOptional = 1
80 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
81 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/),preview=freemarker(etc/producer)
82 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/)
84 # Should an XSS preventing interceptor be used by the producer subsystem?
85 Mir.Producer.UseInterceptor=1
87 # How should the custom operations (hide etc) in article and comment lists
89 # 0 = links, 1 = checkboxes, 2 = a listbox
90 Mir.Localizer.Admin.ListOperationsFlavor=2
92 # Article previews, a comma seperated list of name = generator
93 Mir.Localizer.Admin.ArticlePreview = \
94 default = preview::article.template
95 Mir.Localizer.Admin.ArticlePreviewLanguage=en
97 # How should the topics be presented on the article edit page?
99 # <key>:<listtype>:<listparameter>:<condition>:<order>
100 # multiple entries can be specified, can be seperated by a ,
103 # the bundle key to use for the field label
105 # 0 = in a multiselect list box, 1 = checkboxes, 2 = a dropdown listbox
107 # number of rows for multiselect list box, number of columns for checkboxes
109 # what sql condition should the topics of this category be of
111 # what sql order should the topics be ordered by
113 Mir.Localizer.Admin.TopicLists = \
114 content.topic:1:3::title
116 # enable deletion of comments/articles?
117 Mir.Localizer.Admin.AllowDeleteComment=1
118 Mir.Localizer.Admin.AllowDeleteArticle=1
120 # Article Preview Link URL (Link to produced articles from within admin)
121 Comment.PublicUrl=/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml
122 Article.PublicUrl=/en/${to_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml
124 # which 'quick' operations should be available in the top-left box?
125 Mir.Localizer.Admin.AdministerOperations= \
126 comments:module=Comment&do=list
128 # Which producers need to be called after an article (resp. a comment) is posted
129 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
130 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
132 # Which producers need to be called after the "produce all new" link is clicked from admin
133 Mir.Localizer.Producer.ProducerRecipes= \
134 allnew = media.new;articles.changed;startpage.run;synchronization.run
137 #use rsync to mirror the website to a remote-host
139 Rsync.Script.Path=/var/www/bin/rsync-copy
141 # the maximum allowed size of an uploaded media file in KB.
142 MaxMediaUploadSize=20000
144 # the maximum number of allowed media items to upload at once.
145 ServletModule.OpenIndy.MaxMediaUploadItems=20
147 # the default number of media items to upload at once
148 ServletModule.OpenIndy.DefaultMediaUploadItems=1
156 # the url of the static site
157 Producer.ProductionHost=http://indy.code-fu.de
159 # the url of the public site
160 Producer.PublicationHost=http://indy.code-fu.de
162 # Produrce.StorageRoot is the directory, in which
163 # the generated HTML pages will be stored
164 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
167 # a list of directories to edit
169 # <name>:<path>:<file filter>:<0|1 (recursion off or on)> [, ....]
171 ServletModule.FileEdit.Configuration= \
172 includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced/inc:.*\\.inc:1
176 # DYNAMIC SITE CONFIG
179 # the url of the openposting-servlet
180 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
182 # use this property if the pages are not produced under the docRoot
183 # of the webserver. all links in the produced pages are prepended
184 # with Producer.DocRoot
187 Producer.ActionServlet=/servlet/Mir
189 # this is the name of the subdirectory where the image-dir
191 Producer.ImageRoot=/img
193 # path to ImageMagick executables. Default is "" (nothing), which
194 # means executables will be searched using the default system PATH
195 # example:Producer.Image.ImageMagickPath=/usr/local/ImageMagick/bin
197 Producer.Image.ImageMagickPath=
199 # the url of the video-server
200 Producer.Video.Host=http://indy.code-fu.de/video
202 # the url of the audio-server
203 Producer.Audio.Host=http://indy.code-fu.de/audio
205 # the url of the image-server
206 Producer.Image.Host=http://indy.code-fu.de/images
208 # the url of the media-server
209 Producer.Media.Host=http://indy.code-fu.de/media
211 # the url of the real-media-server
212 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
215 # image specific storage directories
216 # absolute directory, where the images are saved
217 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
219 # images will be scaled down so that the size (both widht and height) are below:
220 Producer.Image.MaxSize = 640
222 # icons will be generated so that the size (both width and height) are below:
223 Producer.Image.MaxIconSize = 120
225 # descaling will only occur if at least the following percentage of either
226 # the width or the height needs to be removed:
227 Producer.Image.MinDescalePercentage=10
229 # descaling will only occur if at least the following number of pixels needs
230 # to be removed from either the width or the height:
231 Producer.Image.MinDescaleReduction=10
234 # media specific storage directories
235 # absolute directory, where the media files are saved
236 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
238 # absolute directory, where the realmedia data files(ra and rm) are saved
239 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
240 # this should make rsyncing to a separate streaming server much easier
241 Producer.RealMedia.Path=/pub/Dokumente/rtsp
243 # relativ directory, where the thumbnails will be saved
244 Producer.Image.IconPath=/icon
246 # Tiny Icons for the media types on the newswire summary.
247 # (right hand side of start page)
248 Producer.Icon.TinyImage=photo_small.gif
249 Producer.Icon.TinyAudio=audio_small.gif
250 Producer.Icon.TinyVideo=video_small.gif
251 Producer.Icon.TinyText=text_small.gif
253 #Medium sized icons used at various places
254 Producer.Icon.BigImage=photo_big.gif
255 Producer.Icon.BigAudio=audio_big.gif
256 Producer.Icon.BigVideo=video_big.gif
257 Producer.Icon.BigText=text_big.gif
259 #the style sheet used to turn html into xsl:fo
260 Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl
262 # the following lines are used to construct PDFs on the fly from one or more articles
263 # for the moment, if you want to change anything else about your pdfs, you
264 # will have to learn some java!
266 # keep in mind that there may not be enough room for all the text you enter as the
267 # value of one these options, if text doesn't appear, the only easy thing to do is
270 # also, be sure to adjust the corresponding line height if you change a font size...
271 # this may require some trial and error to get right
273 # Available font families are helvetica, courier, and times
277 # an image which will appear at the top of the first page
280 PDF.Header.ImageHeight=0
282 #PDF.Header.Image=/home/john/mir/web/img/pdfbanner.png
283 #PDF.Header.ImageHeight=70
285 # a single line of big text which will appear at the top of the first page of all generated pdfs
286 # if you set the String to nothing, this will be skipped
288 PDF.Title.String=INDYMEDIA SOMEWHERE
289 PDF.Title.FontSize=24
290 PDF.Title.LineHeight=28
291 PDF.Title.FontFamily=courier
293 # footer is about two lines of small text which will appear at the bottom of every page
295 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.
297 PDF.Footer.FontSize=12
298 PDF.Footer.FontFamily=helvetica
300 # how to format the index, i.e. the newsletter table of contents
302 PDF.Index.FontSize=12
303 PDF.Index.LineHeight=16
304 PDF.Index.FontFamily=helvetica
306 # how to format the meta-data, i.e. title, author, date
310 PDF.Meta.FontFamily=helvetica
311 RDF.Meta.DateFormat=yyyy-MM-dd HH:mm
313 # how to format the article description
315 PDF.Description.FontSize=12
316 PDF.Description.LineHeight=16
317 PDF.Description.FontFamily=helvetica
319 # how to format the article content
321 PDF.Content.FontSize=10
322 PDF.Content.LineHeight=16
323 PDF.Content.FontFamily=helvetica
325 # the formatting for images in gallery mode
327 PDF.BigImageCaption.FontSize=16
328 PDF.BigImageCaption.FontFamily=helvetica
330 # the formatting for the article source
332 PDF.Source.FontSize=12
333 PDF.Source.LineHeight=16
334 PDF.Source.FontFamily=courier
340 # the size paper your target audience will likely have in their printers. pick one of A4 or LETTER
345 # the number of Objects which can fit in your MRUCache
347 Global.Cache.Items=15
350 # edit with caution below this line
351 ######################################################################
360 Database.poolResetTime=1.0
361 Database.PoolLog=log/pool.log
363 Database.Username=postgres
365 Database.Host=localhost
368 Database.Driver=org.postgresql.Driver
372 # Servlet / Module configurations
375 # don't change this unless you really know your i18n.
376 # The default encoding charset used in the written html files as well
377 # as the dynamic output html.
378 # also used for the HTML charset meta tag.
379 Mir.DefaultEncoding=UTF8
381 # this encoding is used for the HTML charset meta tag.
382 # it must be the html charset equivalent of the Java encoding above
383 # don't change this unless...
384 Mir.DefaultHTMLCharset=UTF-8
386 # Default timezone to display times in in admin, producers
387 Mir.DefaultTimezone= UTC
389 # Default date/time format
390 Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm
392 # Compatibility feature: updated posting forms can
393 # support persistent uploads (that is, uploads remainig
394 # valid after validation errors). To support existing
395 # forms, by default it is off.
396 Localizer.OpenSession.PersistentUploadedFiles = 0
398 # Should support for ftp-like uploads (uploads done
399 # outside of mir, but included into postings) be
401 Localizer.OpenSession.AllowFTPUploads = 0
403 # When uploading ftp files, should a list of available
404 # files be displayed?
405 Localizer.OpenSession.AllowFTPUploadSelection = 0
407 # What is the place where files are uploaded?
408 Localizer.OpenSession.FTPDirectory = /somewhere
410 Localizer.OpenSession.article.EditTemplate = editarticle.template
411 Localizer.OpenSession.article.DupeTemplate = dupearticle.template
412 Localizer.OpenSession.article.DoneTemplate = donearticle.template
413 Localizer.OpenSession.article.UnsupportedMediaTemplate = unsupportedmediatype.template
414 Localizer.OpenSession.article.DefaultArticleType=newswire
415 Localizer.OpenSession.article.DefaultMediaFolder=openposting
417 Localizer.OpenSession.comment.EditTemplate = editcomment.template
418 Localizer.OpenSession.comment.DupeTemplate = dupecomment.template
419 Localizer.OpenSession.comment.DoneTemplate = donecomment.template
420 Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template
421 Localizer.OpenSession.comment.DefaultCommentStatus=normal
422 Localizer.OpenSession.comment.DefaultMediaFolder=openposting
423 Localizer.OpenSession.ErrorTemplate = sessionerror.template
425 Localizer.OpenSession.translation.EditTemplate=edittranslation.template
426 Localizer.OpenSession.translation.DupeTemplate=dupearticle.template
427 Localizer.OpenSession.translation.UnsupportedMediaTemplate=unsupportedmediatype.template
428 Localizer.OpenSession.translation.DoneTemplate=donetranslation.template
431 Localizer.OpenSession.email.PrepareTemplate = preparemail.template
432 Localizer.OpenSession.email.MailTemplate = email_article.template
433 Localizer.OpenSession.email.DoneTemplate =/sent_mail.template
435 Localizer.HTML.Whitelist=a;img;h1;h2;h3;h4;h5;h6;br;form;input;hr;strong;font;b;i;em;p;table;tr;td;th;ul;ol;li
439 # config used for OpenIndy
441 ServletModule.OpenIndy.CommentTemplate=comment.template
442 ServletModule.OpenIndy.CommentDoneTemplate=comment_done.template
443 ServletModule.OpenIndy.CommentDupeTemplate=comment_dupe.template
444 ServletModule.OpenIndy.PostingTemplate=posting.template
445 ServletModule.OpenIndy.PostingDoneTemplate=posting_done.template
446 ServletModule.OpenIndy.PostingDupeTemplate=posting_dupe.template
447 ServletModule.OpenIndy.PostingDisabledTemplate=posting_disabled.template
448 ServletModule.OpenIndy.SearchResultsTemplate=search_results.template
449 ServletModule.OpenIndy.PrepareMailTemplate=prepare_mail.template
450 ServletModule.OpenIndy.SentMailTemplate=sent_mail.template
451 ServletModule.OpenIndy.MailableArticleTemplate=email_article.template
452 ServletModule.OpenIndy.EmailIsFrom=mailer@somewhere.org
453 ServletModule.OpenIndy.SMTPServer=localhost
454 ServletModule.OpenIndy.ErrorTemplate=error.template
455 ServletModule.OpenIndy.UserErrorTemplate=usererror.template
459 Mir.TemplateDir=templates/admin/
461 Mir.LoginTemplate=login.template
462 Mir.StartTemplate=start_admin.template
464 Mir.ErrorTemplate=error.template
465 Mir.UserErrorTemplate=usererror.template
467 ServletModule.Default.ListSize = 30
469 ServletModule.Topics.DeleteConfirmationTemplate=confirm.template
470 ServletModule.Topics.EditTemplate=topic.template
471 ServletModule.Topics.ListTemplate=topiclist.template
473 ServletModule.Users.DeleteConfirmationTemplate=confirm.template
474 ServletModule.Users.EditTemplate=user.template
475 ServletModule.Users.ListTemplate=userlist.template
477 ServletModule.Images.DeleteConfirmationTemplate=confirm.template
478 ServletModule.Images.EditTemplate=image.template
479 ServletModule.Images.ListTemplate=imagelist.template
481 ServletModule.Audio.DeleteConfirmationTemplate=confirm.template
482 ServletModule.Audio.EditTemplate=audio.template
483 ServletModule.Audio.ListTemplate=audiolist.template
485 ServletModule.Video.DeleteConfirmationTemplate=confirm.template
486 ServletModule.Video.EditTemplate=video.template
487 ServletModule.Video.ListTemplate=videolist.template
489 ServletModule.OtherMedia.DeleteConfirmationTemplate=confirm.template
490 ServletModule.OtherMedia.EditTemplate=other.template
491 ServletModule.OtherMedia.ListTemplate=medialist.template
493 ServletModule.Content.DeleteConfirmationTemplate=confirm.template
494 ServletModule.Content.EditTemplate=content.template
495 ServletModule.Content.ListTemplate=contentlist.template
497 ServletModule.Mediafolder.DeleteConfirmationTemplate=confirm.template
498 ServletModule.Mediafolder.EditTemplate=mediafolder.template
499 ServletModule.Mediafolder.ListTemplate=mediafolderlist.template
501 ServletModule.Comment.DeleteConfirmationTemplate=confirm.template
502 ServletModule.Comment.EditTemplate=comment.template
503 ServletModule.Comment.ListTemplate=commentlist.template
505 ServletModule.Hidden.ListTemplate=hiddenlist.template
507 ServletModule.Breaking.DeleteConfirmationTemplate=confirm.template
508 ServletModule.Breaking.EditTemplate=breaking.template
509 ServletModule.Breaking.ListTemplate=breakinglist.template
511 ServletModule.FileEdit.DeleteConfirmationTemplate=confirm.template
512 ServletModule.FileEdit.EditTemplate=fileedit.template
513 ServletModule.FileEdit.ListTemplate=fileeditlist.template
515 ServletModule.Message.DeleteConfirmationTemplate=confirm.template
516 ServletModule.Message.EditTemplate=message.template
517 ServletModule.Message.ListTemplate=messagelist.template
519 ServletModule.Language.DeleteConfirmationTemplate=confirm.template
520 ServletModule.Language.EditTemplate=language.template
521 ServletModule.Language.ListTemplate=languagelist.template
523 ServletModule.ArticleType.DeleteConfirmationTemplate=confirm.template
524 ServletModule.ArticleType.EditTemplate=articletype.template
525 ServletModule.ArticleType.ListTemplate=articletypelist.template
527 ServletModule.CommentStatus.DeleteConfirmationTemplate=confirm.template
528 ServletModule.CommentStatus.EditTemplate=commentstatus.template
529 ServletModule.CommentStatus.ListTemplate=commentstatuslist.template
531 ServletModule.MediaType.DeleteConfirmationTemplate=confirm.template
532 ServletModule.MediaType.EditTemplate=mediatype.template
533 ServletModule.MediaType.ListTemplate=mediatypelist.template
537 # Object store configuration
540 StoreContainer.EntityDefaultSize= 45
541 StoreContainer.EntityListDefaultSize= 15
542 StorableObjectEntity.Entity.DefaultSize= 300
543 StorableObjectEntity.EntityList.DefaultSize= 100
544 EntityTopics.Entity.DefaultSize=200
545 EntityTopics.EntityList.DefaultSize=20
554 ServletModule.Abuse.EditFilter.Template = filter.template
555 ServletModule.Abuse.ListFilters.Template = filterlist.template
556 ServletModule.Abuse.EditFilterGroup.Template = filtergroup.template
557 ServletModule.Abuse.ListFilterGroups.Template = filtergrouplist.template
558 ServletModule.Abuse.ViewLog.Template = abuse.log.template
559 ServletModule.Abuse.Main.Template = abuse.template
562 # producer-related configs below
565 Producer.ExtLinkName=extlink.gif
566 Producer.IntLinkName=intlink.gif
567 Producer.MailLinkName=maillink.gif
569 # should the <Bundle producer tag be backwards compatible
570 # (this means that old bundle paths get mapped to new ones)
571 Producer.BundleCompatibility=1