# # GENERAL SETUP # # This is a full list of defaults options. To configure your site # do NOT change this file. You can override all of these values in # your etc/config.properties # ### mir/imc information Mir.Name=mir.indymedia.org Mir.Shortname=mir Mir.Contact-email.address=mir-coders@lists.indymedia.org Mir.Contact-email.name=mir-coders mailinglist Mir.Tech-email.address=mir-coders@lists.indymedia.org 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.1.0rc0 # The name of the abuse config file (relative to the WEB-INF dir) Abuse.Config=abuse.properties # The name of the cookie that can be used to thwart trolls # (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 #where to put the lucene index IndexPath=index TempDir=/tmp Log.LogClass = mir.log.log4j.LoggerImpl Log.log4j.ConfigurationFile = etc/log4j.properties Log.Home = log Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer # The location of the producer specifiations Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml # Settings for the admin login: # If the default language is left empty, it will set the accept-language of # the client browser as the default. Mir.Login.DefaultLanguage=en # The available languages in the login form: 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 # Show who's logged in? 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/),preview=freemarker(etc/producer),local=freemarker(etc/admin) Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/) # Should an XSS preventing interceptor be used by the producer subsystem? Mir.Producer.UseInterceptor=1 # 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=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? # # :::: # multiple entries can be specified, can be seperated by a , # # key: # the bundle key to use for the field label # listtype: # 0 = in a multiselect list box, 1 = checkboxes, 2 = a dropdown listbox # listparameter: # number of rows for multiselect list box, number of columns for checkboxes # condition: # what sql condition should the topics of this category be of # order: # what sql order should the topics be ordered by Mir.Localizer.Admin.TopicLists = \ content.topic:1:3::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) Comment.PublicUrl=/en/${date.formatted.yyyy}/${date.formatted.MM}/${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= \ 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 # Which producers need to be called after the "produce all new" link is clicked from admin Mir.Localizer.Producer.ProducerRecipes= \ allnew = media.new;articles.changed;startpage.run;synchronization.run #use rsync to mirror the website to a remote-host Rsync=no Rsync.Script.Path=/var/www/bin/rsync-copy # the maximum allowed size of an uploaded media file in KB. MaxMediaUploadSize=20000 # the maximum number of allowed media items to upload at once. ServletModule.OpenIndy.MaxMediaUploadItems=20 # the default number of media items to upload at once ServletModule.OpenIndy.DefaultMediaUploadItems=1 # # # STATIC SITE CONFIG # # 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 # 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 # # # DYNAMIC SITE CONFIG # # the url of the openposting-servlet Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir # use this property if the pages are not produced under the docRoot # of the webserver. all links in the produced pages are prepended # with Producer.DocRoot Producer.DocRoot= Producer.ActionServlet=/servlet/Mir # this is the name of the subdirectory where the image-dir # will be linked to. Producer.ImageRoot=/img # path to ImageMagick executables. Default is "" (nothing), which # means executables will be searched using the default system PATH # example:Producer.Image.ImageMagickPath=/usr/local/ImageMagick/bin # Producer.Image.ImageMagickPath= # the url of the video-server Producer.Video.Host=http://indy.code-fu.de/video # the url of the audio-server Producer.Audio.Host=http://indy.code-fu.de/audio # the url of the image-server Producer.Image.Host=http://indy.code-fu.de/images # the url of the media-server Producer.Media.Host=http://indy.code-fu.de/media # the url of the real-media-server Producer.RealMedia.Host=rtsp://some.media.server/somedir/ # image specific storage directories # absolute directory, where the images are saved Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/ # absolute directory where image originals are saved if image resizing is enabled # this can be ignored if image scaling is not being used # Producer.ImagesOriginalDir.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/raw # relative path from the site root where the templates can find raw (unresized) images: # this can be ignored if image scaling is not being used Producer.ImagesOriginalDir.RelPath=/images/raw # images will be scaled down so that the size (both widht and height) are below: Producer.Image.MaxSize = 640 # icons will be generated so that the size (both width and height) are below: Producer.Image.MaxIconSize = 120 # descaling will only occur if at least the following percentage of either # the width or the height needs to be removed: Producer.Image.MinDescalePercentage=10 # descaling will only occur if at least the following number of pixels needs # to be removed from either the width or the height: Producer.Image.MinDescaleReduction=10 # media specific storage directories # absolute directory, where the media files are saved Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media # absolute directory, where the realmedia data files(ra and rm) are saved # the ram files which point to the RealMedia.Host get saved in the regular Media dir # this should make rsyncing to a separate streaming server much easier Producer.RealMedia.Path=/pub/Dokumente/rtsp # relativ directory, where the thumbnails will be saved Producer.Image.IconPath=/icon # Tiny Icons for the media types on the newswire summary. # (right hand side of start page) Producer.Icon.TinyImage=photo_small.gif Producer.Icon.TinyAudio=audio_small.gif Producer.Icon.TinyVideo=video_small.gif Producer.Icon.TinyText=text_small.gif #Medium sized icons used at various places Producer.Icon.BigImage=photo_big.gif Producer.Icon.BigAudio=audio_big.gif Producer.Icon.BigVideo=video_big.gif Producer.Icon.BigText=text_big.gif #the style sheet used to turn html into xsl:fo 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 # 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 # use less text! # # also, be sure to adjust the corresponding line height if you change a font size... # this may require some trial and error to get right # # Available font families are helvetica, courier, and times # # 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 PDF.Title.LineHeight=28 PDF.Title.FontFamily=courier # Source will be expanded to come to a URL to the article PDF.Source=${config["Producer.PublicationHost"]}${config['Mir.Login.DefaultLanguage']}/${article.date.formatted['yyyy/MM']}/${article.id}.shtml # 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 # how to format the index, i.e. the newsletter table of contents PDF.Index.FontSize=12 PDF.Index.LineHeight=16 PDF.Index.FontFamily=helvetica # how to format the meta-data, i.e. title, author, date 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 PDF.Description.FontSize=12 PDF.Description.LineHeight=16 PDF.Description.FontFamily=helvetica # how to format the article content PDF.Content.FontSize=10 PDF.Content.LineHeight=16 PDF.Content.FontFamily=helvetica # the formatting for images in gallery mode PDF.BigImageCaption.FontSize=16 PDF.BigImageCaption.FontFamily=helvetica # the formatting for the article source PDF.Source.FontSize=12 PDF.Source.LineHeight=16 PDF.Source.FontFamily=courier # # the size paper your target audience will likely have in their printers. pick one of A4 or LETTER # PDF.PageSize=A4 # the number of Objects which can fit in your MRUCache Global.Cache.Items=15 # # edit with caution below this line ###################################################################### # # # DATABASE SETUP # Database.poolMin=1 Database.poolMax=10 Database.poolResetTime=1.0 Database.PoolLog=log/pool.log Database.Limit=20 Database.Username=postgres Database.Password= Database.Host=localhost Database.Name=Mir Database.Port=5432 Database.Driver=org.postgresql.Driver # # Servlet / Module configurations # # don't change this unless you really know your i18n. # The default encoding charset used in the written html files as well # as the dynamic output html. # also used for the HTML charset meta tag. Mir.DefaultEncoding=UTF8 # this encoding is used for the HTML charset meta tag. # it must be the html charset equivalent of the Java encoding above # don't change this unless... Mir.DefaultHTMLCharset=UTF-8 # Default timezone to display times in in admin, producers 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 Localizer.OpenSession.article.DoneTemplate = donearticle.template Localizer.OpenSession.article.UnsupportedMediaTemplate = unsupportedmediatype.template Localizer.OpenSession.article.DefaultArticleType=newswire Localizer.OpenSession.article.DefaultMediaFolder=openposting Localizer.OpenSession.comment.EditTemplate = editcomment.template Localizer.OpenSession.comment.DupeTemplate = dupecomment.template Localizer.OpenSession.comment.DoneTemplate = donecomment.template Localizer.OpenSession.comment.UnsupportedMediaTemplate = unsupportedmediatype.template 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 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 Localizer.HTML.BadAttributeValuePrefixes=javascript;vbscript;about;wysiwyg;data;view-source;ms-its;mhtml;shell;lynxexec;lynxcgi;hcp;ms-help;help;disk;vnd.ms.radio;opera;res;resource;chrome;mocha;livescript Localizer.HTML.BadAttributes=onabort;onblur;onchange;onclick;ondblclick;onerror;onfocus;onkeydown;onKeypress;onkeyup;onload;onmousedown;onmousemove;onmouseout;onmouseover;onmouseup;onreset;onselect;onsubmit;onunload;onload;onclick;onfocus;onblur;FSCommand;onAbort;onActivate;onAfterPrint;onAfterUpdate;onBeforeActivate;onBeforeCopy;onBeforeCut;onBeforeDeactivate;onBeforeEditFocus;onBeforePaste;onBeforePrint;onBeforeUnload;onBegin;onBlur;onBounce;onCellChange;onChange;onClick;onContextMenu;onControlSelect;onCopy;onCut;onDataAvailible;onDataSetChanged;onDataSetComplete;onDblClick;onDeactivate;onDrag;onDragEnd;onDragLeave;onDragEnter;onDragOver;onDragDrop;onDrop;onEnd;onError;onErrorUpdate;onExit;onFilterChange;onFinish;onFocus;onFocusIn;onFocusOut;onHelp;onKeyDown;onKeyPress;onKeyUp;onLayoutComplete;onLoad;onLoseCapture;onMediaComplete;onMediaError;onMouseDown;onMouseEnter;onMouseLeave;onMouseMove;onMouseOut;onMouseOver;onMouseUp;onMouseWheel;onMove;onMoveEnd;onMoveStart;onOutOfSync;onPaste;onPause;onProgress;onPropertyChange;onReadyStateChange;onRepeat;onReset;onResize;onResizeEnd;onResizeStart;onResume;onReverse;onRowEnter;onRowExit;onRowDelete;onRowInserted;onScroll;onSeek;onSelect;onSelectionChange;onSelectStart;onStart;onStop;onSynchRestored;onSubmit;onTimeError;onTrackChange;onUnload;onURLFlip;seekSegmentTime;style;height;width # don't let external content get loaded Localizer.HTML.KillWebBugs=0 Localizer.HTML.ExternalLocationAttributeValuePrefixes=http://;https://;ftp://;gopher:// Localizer.HTML.WhitelistedExternalLocationAttributeValuePrefixes=http://media.de.indymedia.org/;https://media.de.indymedia.org/ # # config used for OpenIndy ServletModule.OpenIndy.CommentTemplate=comment.template ServletModule.OpenIndy.CommentDoneTemplate=comment_done.template ServletModule.OpenIndy.CommentDupeTemplate=comment_dupe.template ServletModule.OpenIndy.PostingTemplate=posting.template ServletModule.OpenIndy.PostingDoneTemplate=posting_done.template ServletModule.OpenIndy.PostingDupeTemplate=posting_dupe.template 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 ServletModule.OpenIndy.UserErrorTemplate=usererror.template Mir.TemplateDir=templates/admin/ Mir.LoginTemplate=login.template Mir.StartTemplate=start_admin.template Mir.ErrorTemplate=error.template Mir.UserErrorTemplate=usererror.template ServletModule.Default.ListSize = 30 ServletModule.Topics.DeleteConfirmationTemplate=confirm.template ServletModule.Topics.EditTemplate=topic.template ServletModule.Topics.ListTemplate=topiclist.template ServletModule.Users.DeleteConfirmationTemplate=confirm.template ServletModule.Users.EditTemplate=user.template ServletModule.Users.ListTemplate=userlist.template ServletModule.Images.DeleteConfirmationTemplate=confirm.template ServletModule.Images.EditTemplate=image.template ServletModule.Images.ListTemplate=imagelist.template ServletModule.Audio.DeleteConfirmationTemplate=confirm.template ServletModule.Audio.EditTemplate=audio.template ServletModule.Audio.ListTemplate=audiolist.template ServletModule.Video.DeleteConfirmationTemplate=confirm.template ServletModule.Video.EditTemplate=video.template ServletModule.Video.ListTemplate=videolist.template ServletModule.OtherMedia.DeleteConfirmationTemplate=confirm.template ServletModule.OtherMedia.EditTemplate=other.template ServletModule.OtherMedia.ListTemplate=medialist.template ServletModule.Content.DeleteConfirmationTemplate=confirm.template ServletModule.Content.EditTemplate=content.template ServletModule.Content.ListTemplate=contentlist.template ServletModule.Mediafolder.DeleteConfirmationTemplate=confirm.template ServletModule.Mediafolder.EditTemplate=mediafolder.template ServletModule.Mediafolder.ListTemplate=mediafolderlist.template ServletModule.Comment.DeleteConfirmationTemplate=confirm.template ServletModule.Comment.EditTemplate=comment.template ServletModule.Comment.ListTemplate=commentlist.template ServletModule.Hidden.ListTemplate=hiddenlist.template ServletModule.Breaking.DeleteConfirmationTemplate=confirm.template ServletModule.Breaking.EditTemplate=breaking.template ServletModule.Breaking.ListTemplate=breakinglist.template ServletModule.FileEdit.DeleteConfirmationTemplate=confirm.template ServletModule.FileEdit.EditTemplate=fileedit.template ServletModule.FileEdit.ListTemplate=fileeditlist.template ServletModule.Message.DeleteConfirmationTemplate=confirm.template ServletModule.Message.EditTemplate=message.template ServletModule.Message.ListTemplate=messagelist.template ServletModule.Language.DeleteConfirmationTemplate=confirm.template ServletModule.Language.EditTemplate=language.template ServletModule.Language.ListTemplate=languagelist.template ServletModule.ArticleType.DeleteConfirmationTemplate=confirm.template ServletModule.ArticleType.EditTemplate=articletype.template ServletModule.ArticleType.ListTemplate=articletypelist.template 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 = 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 # Producer.ExtLinkName=extlink.gif Producer.IntLinkName=intlink.gif Producer.MailLinkName=maillink.gif # should the