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