added the comment status count field
[mir.git] / source / default.properties
1 #
2 # GENERAL SETUP
3 #
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
7 #
8
9 ### mir/imc information
10 Mir.Name=mir.indymedia.org
11 Mir.Shortname=mir
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
18
19 Mir.Version=1.1.0rc0
20
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
26
27 # If equal to 1, the IP log can't be used
28 Abuse.DisallowIPLogging=0
29
30 # The time the cookie will remain active in hours
31 #   168 = 1 week
32 Abuse.CookieMaxAge=168
33
34
35 #where to put the lucene index
36 IndexPath=index
37
38 TempDir=/tmp
39
40 Log.LogClass = mir.log.log4j.LoggerImpl
41 Log.log4j.ConfigurationFile = etc/log4j.properties
42 Log.Home = log
43
44 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
45
46 # The location of the producer specifiations
47 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
48
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
53
54 # The available languages in the login form:
55 Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh;gz
56
57 # For missing values, the FallbackLanguage is used as default
58 Mir.Admin.FallbackLanguage=en
59
60 # Show who's logged in?
61 Mir.Admin.ShowLoggedinUsers=1
62
63 # Log admin activity?
64 Mir.Admin.LogAdminActivity=0
65
66 # Limit the length of text shown in lists (-1 means no limit)
67 Mir.Admin.ListTextLengthLimit=-1
68
69 # Which usernames have admin priviliges (, seperated usernames)
70 AccessControl.SuperUsers = admin
71
72 # Locking enabled?
73 AccessControl.LockingEnabled = 0
74
75 # If locking enabled, should users lock articles before they
76 #    can edit?
77 AccessControl.LockingOptional = 1
78
79 # the templates
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/)
83
84 # How should the custom operations (hide etc) in article and comment lists
85 # be presented?
86 # 0 = links, 1 = checkboxes, 2 = a listbox
87 Mir.Localizer.Admin.ListOperationsFlavor=2
88
89 # Article previews, a comma seperated list of name = generator
90 Mir.Localizer.Admin.ArticlePreview = \
91   default = preview::article.template
92 Mir.Localizer.Admin.ArticlePreviewLanguage=en
93
94 # How should the topics be presented on the article edit page?
95 #
96 # <key>:<listtype>:<listparameter>:<condition>:<order>
97 # multiple entries can be specified, can be seperated by a ,
98 #
99 # key:
100 #     the bundle key to use for the field label
101 # listtype:
102 #     0 = in a multiselect list box, 1 = checkboxes, 2 = a dropdown listbox
103 # listparameter:
104 #     number of rows for multiselect list box, number of columns for checkboxes
105 # condition:
106 #     what sql condition should the topics of this category be of
107 # order:
108 #     what sql order should the topics be ordered by
109
110 Mir.Localizer.Admin.TopicLists = \
111    content.topic:1:3::title
112
113 # enable deletion of comments/articles?
114 Mir.Localizer.Admin.AllowDeleteComment=1
115 Mir.Localizer.Admin.AllowDeleteArticle=1
116
117 # Article Preview Link URL (Link to produced articles from within admin)
118 Comment.PublicUrl=/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml
119 Article.PublicUrl=/en/${to_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml
120
121 # which 'quick' operations should be available in the top-left box?
122 Mir.Localizer.Admin.AdministerOperations= \
123    comments:module=Comment&do=list
124
125 # Which producers need to be called after an article (resp. a comment) is posted
126 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
127 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
128
129 # Which producers need to be called after the "produce all new" link is clicked from admin
130 Mir.Localizer.Producer.ProducerRecipes= \
131   allnew = media.new;articles.changed;startpage.run;synchronization.run
132
133
134 #use rsync to mirror the website to a remote-host
135 Rsync=no
136 Rsync.Script.Path=/var/www/bin/rsync-copy
137
138 # the maximum allowed size of an uploaded media file in KB.
139 MaxMediaUploadSize=20000
140
141 # the maximum number of allowed media items to upload at once.
142 ServletModule.OpenIndy.MaxMediaUploadItems=20
143
144 # the default number of media items to upload at once
145 ServletModule.OpenIndy.DefaultMediaUploadItems=1
146
147
148 #
149 #
150 # STATIC SITE CONFIG
151 #
152
153 # the url of the static site
154 Producer.ProductionHost=http://indy.code-fu.de
155
156 # the url of the public site
157 Producer.PublicationHost=http://indy.code-fu.de
158
159 # Produrce.StorageRoot is the directory, in which
160 # the generated HTML pages will be stored
161 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
162
163 # FileEdit module
164 #   a list of directories to edit
165 #   format:
166 #      <name>:<path>:<file filter>:<0|1 (recursion off or on)> [, ....]
167
168 ServletModule.FileEdit.Configuration= \
169   includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced/inc:.*\\.inc:1
170
171 #
172 #
173 # DYNAMIC SITE CONFIG
174 #
175
176 # the url of the openposting-servlet
177 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
178
179 # use this property if the pages are not produced under the docRoot
180 # of the webserver. all links in the produced pages are prepended
181 # with Producer.DocRoot
182 Producer.DocRoot=
183
184 Producer.ActionServlet=/servlet/Mir
185
186 # this is the name of the subdirectory where the image-dir
187 # will be linked to.
188 Producer.ImageRoot=/img
189
190 # path to ImageMagick executables. Default is "" (nothing), which
191 # means executables will be searched using the default system PATH
192 # example:Producer.Image.ImageMagickPath=/usr/local/ImageMagick/bin
193 #
194 Producer.Image.ImageMagickPath=
195
196 # the url of the video-server
197 Producer.Video.Host=http://indy.code-fu.de/video
198
199 # the url of the audio-server
200 Producer.Audio.Host=http://indy.code-fu.de/audio
201
202 # the url of the image-server
203 Producer.Image.Host=http://indy.code-fu.de/images
204
205 # the url of the media-server
206 Producer.Media.Host=http://indy.code-fu.de/media
207
208 # the url of the real-media-server
209 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
210
211
212 # image specific storage directories
213 # absolute directory, where the images are saved
214 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
215
216 # images will be scaled down so that the size (both widht and height) are below:
217 Producer.Image.MaxSize = 640
218
219 # icons will be generated so that the size (both width and height) are below:
220 Producer.Image.MaxIconSize = 120
221
222 # descaling will only occur if at least the following percentage of either
223 #  the width or the height needs to be removed:
224 Producer.Image.MinDescalePercentage=10
225
226 # descaling will only occur if at least the following number of pixels needs
227 #  to be removed from either the width or the height:
228 Producer.Image.MinDescaleReduction=10
229
230
231 # media specific storage directories
232 # absolute directory, where the media files are saved
233 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
234
235 # absolute directory, where the realmedia data files(ra and rm) are saved
236 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
237 # this should make rsyncing to a separate streaming server much easier
238 Producer.RealMedia.Path=/pub/Dokumente/rtsp
239
240 # relativ directory, where the thumbnails will be saved
241 Producer.Image.IconPath=/icon
242
243 # Tiny Icons for the media types on the newswire summary.
244 # (right hand side of start page)
245 Producer.Icon.TinyImage=photo_small.gif
246 Producer.Icon.TinyAudio=audio_small.gif
247 Producer.Icon.TinyVideo=video_small.gif
248 Producer.Icon.TinyText=text_small.gif
249
250 #Medium sized icons used at various places
251 Producer.Icon.BigImage=photo_big.gif
252 Producer.Icon.BigAudio=audio_big.gif
253 Producer.Icon.BigVideo=video_big.gif
254 Producer.Icon.BigText=text_big.gif
255
256 #the style sheet used to turn html into xsl:fo
257 Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl
258
259 # the following lines are used to construct PDFs on the fly from one or more articles
260 # for the moment, if you want to change anything else about your pdfs, you
261 # will have to learn some java!
262 #
263 # keep in mind that there may not be enough room for all the text you enter as the
264 # value of one these options, if text doesn't appear, the only easy thing to do is
265 # use less text!
266 #
267 # also, be sure to adjust the corresponding line height if you change a font size...
268 # this may require some trial and error to get right
269 #
270 # Available font families are helvetica, courier, and times
271 #
272
273
274 # an image which will appear at the top of the first page
275
276 PDF.Header.Image=
277 PDF.Header.ImageHeight=0
278
279 #PDF.Header.Image=/home/john/mir/web/img/pdfbanner.png
280 #PDF.Header.ImageHeight=70
281
282 # a single line of big text which will appear at the top of the first page of all generated pdfs
283 # if you set the String to nothing, this will be skipped
284
285 PDF.Title.String=INDYMEDIA SOMEWHERE
286 PDF.Title.FontSize=24
287 PDF.Title.LineHeight=28
288 PDF.Title.FontFamily=courier
289
290 # footer is about two lines of small text which will appear at the bottom of every page
291
292 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.
293 PDF.Footer.Height=54
294 PDF.Footer.FontSize=12
295 PDF.Footer.FontFamily=helvetica
296
297 # how to format the index, i.e. the newsletter table of contents
298
299 PDF.Index.FontSize=12
300 PDF.Index.LineHeight=16
301 PDF.Index.FontFamily=helvetica
302
303 # how to format the meta-data, i.e. title, author, date
304
305 PDF.Meta.Height=36
306 PDF.Meta.FontSize=14
307 PDF.Meta.FontFamily=helvetica
308 RDF.Meta.DateFormat=yyyy-MM-dd HH:mm
309
310 # how to format the article description
311
312 PDF.Description.FontSize=12
313 PDF.Description.LineHeight=16
314 PDF.Description.FontFamily=helvetica
315
316 # how to format the article content
317
318 PDF.Content.FontSize=10
319 PDF.Content.LineHeight=16
320 PDF.Content.FontFamily=helvetica
321
322 # the formatting for images in gallery mode
323
324 PDF.BigImageCaption.FontSize=16
325 PDF.BigImageCaption.FontFamily=helvetica
326
327 # the formatting for the article source
328
329 PDF.Source.FontSize=12
330 PDF.Source.LineHeight=16
331 PDF.Source.FontFamily=courier
332
333
334
335
336 #
337 # the size paper your target audience will likely have in their printers.  pick one of A4 or LETTER
338 #
339
340 PDF.PageSize=A4
341
342 # the number of Objects which can fit in your MRUCache
343
344 Global.Cache.Items=15
345
346 #
347 # edit with caution below this line
348 ######################################################################
349
350 #
351 #
352 # DATABASE SETUP
353 #
354
355 Database.poolMin=1
356 Database.poolMax=10
357 Database.poolResetTime=1.0
358 Database.PoolLog=log/pool.log
359 Database.Limit=20
360 Database.Username=postgres
361 Database.Password=
362 Database.Host=localhost
363 Database.Name=Mir
364 Database.Port=5432
365 Database.Driver=org.postgresql.Driver
366
367
368 #
369 # Servlet / Module configurations
370 #
371
372 # don't change this unless you really know your i18n.
373 # The default encoding charset used in the written html files as well
374 # as the dynamic output html.
375 # also used for the HTML charset meta tag.
376 Mir.DefaultEncoding=UTF8
377
378 # this encoding is used for the HTML charset meta tag.
379 # it must be the html charset equivalent of the Java encoding above
380 # don't change this unless...
381 Mir.DefaultHTMLCharset=UTF-8
382
383 # Default timezone to display times in in admin, producers
384 Mir.DefaultTimezone= UTC
385
386 # Default date/time format
387 Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm
388
389 # Compatibility feature: updated posting forms can
390 # support persistent uploads (that is, uploads remainig
391 # valid after validation errors). To support existing
392 # forms, by default it is off.
393 Localizer.OpenSession.PersistentUploadedFiles = 0
394
395 # Should support for ftp-like uploads (uploads done
396 # outside of mir, but included into postings) be
397 # supported at all?
398 Localizer.OpenSession.AllowFTPUploads = 0
399
400 # When uploading ftp files, should a list of available
401 # files be displayed?
402 Localizer.OpenSession.AllowFTPUploadSelection = 0
403
404 # What is the place where files are uploaded?
405 Localizer.OpenSession.FTPDirectory = /somewhere
406
407 Localizer.OpenSession.article.EditTemplate = editarticle.template
408 Localizer.OpenSession.article.DupeTemplate = dupearticle.template
409 Localizer.OpenSession.article.DoneTemplate = donearticle.template
410 Localizer.OpenSession.article.UnsupportedMediaTemplate = unsupportedmediatype.template
411 Localizer.OpenSession.article.DefaultArticleType=newswire
412 Localizer.OpenSession.article.DefaultMediaFolder=openposting
413
414 Localizer.OpenSession.comment.EditTemplate = editcomment.template
415 Localizer.OpenSession.comment.DupeTemplate = dupecomment.template
416 Localizer.OpenSession.comment.DoneTemplate = donecomment.template
417 Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template
418 Localizer.OpenSession.comment.DefaultCommentStatus=normal
419 Localizer.OpenSession.comment.DefaultMediaFolder=openposting
420 Localizer.OpenSession.ErrorTemplate = sessionerror.template
421
422 Localizer.OpenSession.translation.EditTemplate=edittranslation.template
423 Localizer.OpenSession.translation.DupeTemplate=dupearticle.template
424 Localizer.OpenSession.translation.UnsupportedMediaTemplate=unsupportedmediatype.template
425 Localizer.OpenSession.translation.DoneTemplate=donetranslation.template
426
427
428 Localizer.OpenSession.email.PrepareTemplate = preparemail.template
429 Localizer.OpenSession.email.MailTemplate = email_article.template
430 Localizer.OpenSession.email.DoneTemplate =/sent_mail.template
431
432 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
433
434
435 #
436 # config used for OpenIndy
437
438 ServletModule.OpenIndy.CommentTemplate=comment.template
439 ServletModule.OpenIndy.CommentDoneTemplate=comment_done.template
440 ServletModule.OpenIndy.CommentDupeTemplate=comment_dupe.template
441 ServletModule.OpenIndy.PostingTemplate=posting.template
442 ServletModule.OpenIndy.PostingDoneTemplate=posting_done.template
443 ServletModule.OpenIndy.PostingDupeTemplate=posting_dupe.template
444 ServletModule.OpenIndy.PostingDisabledTemplate=posting_disabled.template
445 ServletModule.OpenIndy.SearchResultsTemplate=search_results.template
446 ServletModule.OpenIndy.PrepareMailTemplate=prepare_mail.template
447 ServletModule.OpenIndy.SentMailTemplate=sent_mail.template
448 ServletModule.OpenIndy.MailableArticleTemplate=email_article.template
449 ServletModule.OpenIndy.EmailIsFrom=mailer@somewhere.org
450 ServletModule.OpenIndy.SMTPServer=localhost
451 ServletModule.OpenIndy.ErrorTemplate=error.template
452 ServletModule.OpenIndy.UserErrorTemplate=usererror.template
453
454
455
456 Mir.TemplateDir=templates/admin/
457
458 Mir.LoginTemplate=login.template
459 Mir.StartTemplate=start_admin.template
460
461 Mir.ErrorTemplate=error.template
462 Mir.UserErrorTemplate=usererror.template
463
464 ServletModule.Default.ListSize = 30
465
466 ServletModule.Topics.DeleteConfirmationTemplate=confirm.template
467 ServletModule.Topics.EditTemplate=topic.template
468 ServletModule.Topics.ListTemplate=topiclist.template
469
470 ServletModule.Users.DeleteConfirmationTemplate=confirm.template
471 ServletModule.Users.EditTemplate=user.template
472 ServletModule.Users.ListTemplate=userlist.template
473
474 ServletModule.Images.DeleteConfirmationTemplate=confirm.template
475 ServletModule.Images.EditTemplate=image.template
476 ServletModule.Images.ListTemplate=imagelist.template
477
478 ServletModule.Audio.DeleteConfirmationTemplate=confirm.template
479 ServletModule.Audio.EditTemplate=audio.template
480 ServletModule.Audio.ListTemplate=audiolist.template
481
482 ServletModule.Video.DeleteConfirmationTemplate=confirm.template
483 ServletModule.Video.EditTemplate=video.template
484 ServletModule.Video.ListTemplate=videolist.template
485
486 ServletModule.OtherMedia.DeleteConfirmationTemplate=confirm.template
487 ServletModule.OtherMedia.EditTemplate=other.template
488 ServletModule.OtherMedia.ListTemplate=medialist.template
489
490 ServletModule.Content.DeleteConfirmationTemplate=confirm.template
491 ServletModule.Content.EditTemplate=content.template
492 ServletModule.Content.ListTemplate=contentlist.template
493
494 ServletModule.Mediafolder.DeleteConfirmationTemplate=confirm.template
495 ServletModule.Mediafolder.EditTemplate=mediafolder.template
496 ServletModule.Mediafolder.ListTemplate=mediafolderlist.template
497
498 ServletModule.Comment.DeleteConfirmationTemplate=confirm.template
499 ServletModule.Comment.EditTemplate=comment.template
500 ServletModule.Comment.ListTemplate=commentlist.template
501
502 ServletModule.Hidden.ListTemplate=hiddenlist.template
503
504 ServletModule.Breaking.DeleteConfirmationTemplate=confirm.template
505 ServletModule.Breaking.EditTemplate=breaking.template
506 ServletModule.Breaking.ListTemplate=breakinglist.template
507
508 ServletModule.FileEdit.DeleteConfirmationTemplate=confirm.template
509 ServletModule.FileEdit.EditTemplate=fileedit.template
510 ServletModule.FileEdit.ListTemplate=fileeditlist.template
511
512 ServletModule.Message.DeleteConfirmationTemplate=confirm.template
513 ServletModule.Message.EditTemplate=message.template
514 ServletModule.Message.ListTemplate=messagelist.template
515
516 ServletModule.Language.DeleteConfirmationTemplate=confirm.template
517 ServletModule.Language.EditTemplate=language.template
518 ServletModule.Language.ListTemplate=languagelist.template
519
520 ServletModule.ArticleType.DeleteConfirmationTemplate=confirm.template
521 ServletModule.ArticleType.EditTemplate=articletype.template
522 ServletModule.ArticleType.ListTemplate=articletypelist.template
523
524 ServletModule.CommentStatus.DeleteConfirmationTemplate=confirm.template
525 ServletModule.CommentStatus.EditTemplate=commentstatus.template
526 ServletModule.CommentStatus.ListTemplate=commentstatuslist.template
527
528 ServletModule.MediaType.DeleteConfirmationTemplate=confirm.template
529 ServletModule.MediaType.EditTemplate=mediatype.template
530 ServletModule.MediaType.ListTemplate=mediatypelist.template
531
532
533 #
534 # Object store configuration
535 #
536
537 StoreContainer.EntityDefaultSize= 45
538 StoreContainer.EntityListDefaultSize= 15
539 StorableObjectEntity.Entity.DefaultSize= 300
540 StorableObjectEntity.EntityList.DefaultSize= 100
541 EntityTopics.Entity.DefaultSize=200
542 EntityTopics.EntityList.DefaultSize=20
543
544
545
546
547
548
549 #
550 # config for abuse
551 ServletModule.Abuse.EditFilter.Template = filter.template
552 ServletModule.Abuse.ListFilters.Template = filterlist.template
553 ServletModule.Abuse.EditFilterGroup.Template = filtergroup.template
554 ServletModule.Abuse.ListFilterGroups.Template = filtergrouplist.template
555 ServletModule.Abuse.ViewLog.Template = abuse.log.template
556 ServletModule.Abuse.Main.Template = abuse.template
557
558 #
559 # producer-related configs below
560 #
561
562 Producer.ExtLinkName=extlink.gif
563 Producer.IntLinkName=intlink.gif
564 Producer.MailLinkName=maillink.gif
565
566 # should the <Bundle producer tag be backwards compatible
567 # (this means that old bundle paths get mapped to new ones)
568 Producer.BundleCompatibility=1