php8
[web.mtrack] / config.ini.sample
1 ; vim:ts=2:sw=2:et:ft=dosini:
2 ; This file is parsed subject to the following rules:
3 ;
4 ; Unquoted tokens on the right hand side of an equals sign that correspond to
5 ; constants defined in PHP are replaced by the value of that constant.
6 ;
7 ; Values for the form ${name} are substituted with the value of the
8 ; corresponding PHP configuration directive, or if none is found, the
9 ; corresponding environmental variable value.
10 ;
11 ; Values of the form @{section:myname} are substituted with the value of the
12 ; option defined in this configuration file (for example, the "myname" value
13 ; in the "section" section).
14
15 ; Core configuration options
16 [core]
17 vardir = @VARDIR@
18 dblocation = "@{core:vardir}/mtrac.db"
19 dsn = @DSN@
20 searchdb = "@{core:vardir}/search.db"
21 projectname = @PROJECT@
22 timezone = EST
23 ; mimetype_detect = fileinfo or mimemagic or file - if empty will attempt to detect which one to use or bails
24 ; projectlogo = image url to show in nav bar
25 ; default.repo = name of default repo when constructing changeset links
26 ; weburl = URL (including trailing slash) of canonical home of this instance.  used when sending notification email.
27 ; default_email_domain = domain name to use for notification mail when the user is not present in the userinfo table
28 ; includes = comma separated list of files to include; supports plugins
29 ;debug.footer = 1
30 ; Use .wiki to indicate a wiki filename as distinct from a wiki dir
31 wikifilenamesuffix=.wiki
32 ; Fresh installs start in "admin party" mode, which means that any user
33 ; accessing the system from the loopback (127.0.0.1) is treated as admin.
34 admin_party = true
35 ; Which search engine to use. Lucene works out of the box, but Solr has
36 ; better performance and higher quality results.
37 ; MTrackSearchEngineLucene or MTrackSearchEngineSolr
38 search_engine = MTrackSearchEngineLucene
39
40 [repos]
41 ; If true, permit the creation and forking of per-user repositories
42 allow_user_repo_creation = true
43 ; Where per-user repositories should be created (both git and hg)
44 basedir = "@{core:vardir}/repos"
45
46 ; The SSH user@host which can be used to access repos. You must have configured
47 ; SSH access as described in the mtrack SSH installation documentation
48 ;serverurl = "code@example.com"
49
50 ; The URL over which users can clone, push, pull via HG.
51 ; You need to configure this URL yourself using your choice of Mercurial server.
52 ; This is ignored if you have set serverurl.
53 ;hg.serverurl = "http://example.com/hg"
54 ;
55 ; The URL over which users can clone, push, pull via GIT.
56 ; You need to configure this URL yourself using your choice of Git server.
57 ; This is ignored if you have set serverurl.
58 ;git.serverurl = "http://example.com/git"
59
60 [solr]
61 ; How to find your Solr instance if you're using the Apache Solr search
62 ; engine implementation (search_engine = MTrackSearchEngineLucene)
63 url = "http://localhost:8983/solr"
64
65 [ticket]
66 default.classification = defect
67 default.severity = normal
68 default.priority = normal
69
70 [notify]
71 ; Should we use SMTP directly?
72 ; Requires PHP with getmxrr functionality (not Windows on PHP < 5.3)
73 use_smtp = false
74 ; If using SMTP, identifies a smart host via which mail will be routed.
75 ; Otherwise, we'll try to lookup the MX records via DNS.
76 smtp_relay = "127.0.0.1"
77 ; If using SMTP, sets the envelope from
78 smtp_from = "noreply@example.com"
79
80 ; Defines some basic, reasonable, permission sets for 3 classes of user.
81 ; These are used in addition to whatever is selected by auth plugins
82 [user_class_roles]
83 anonymous = ReportViewer,BrowserViewer,WikiViewer,TimelineViewer,RoadmapViewer,TicketViewer
84 authenticated = ReportViewer,BrowserViewer,WikiCreator,TimelineViewer,RoadmapViewer,TicketCreator,UserViewer,SnippetCreator,BrowserForker
85 admin = ReportCreator,BrowserCreator,WikiCreator,TimelineViewer,RoadmapCreator,TicketCreator,EnumerationCreator,ComponentCreator,ProjectCreator,UserCreator,SnippetCreator,BrowserForker
86
87 ; Explicitly place certain users in certain user classes.  This is used mainly
88 ; to provide a means to indicate that particular users are classed as admins.
89 ; The auth module group assignments are the recommended way to go for more
90 ; powerful/flexible group/role assignment
91 [user_classes]
92
93 ; use the tools section to override the location of certain
94 ; tools, in case you have multiples or in case they live outside
95 ; of the standard locations
96 [tools]
97 @TOOLS@
98 ; hg = /usr/local/bin/hg
99 ; svn = /opt/msys/3rdParty/bin/svn
100 ; svnlook = /opt/msys/3rdParty/bin/svnlook
101 ; php = /opt/msys/3rdParty/bin/php
102 ; diff3 = /opt/msys/3rdParty/bin/diff3
103 ; diff = /opt/msys/3rdParty/bin/diff
104
105 [nav:mainnav]
106 ; If you want to turn off the wiki navigation link (does not disable the wiki,
107 ; just hides the link), uncomment the following line (the empty right hand 
108 ; side deletes the link keyed by the left hand side)
109 ; /wiki.php =
110 ; If you want to add in other links, you can do so by adding the link on the
111 ; left hand side of the equals and the label on the right hand side
112
113 [plugins]
114 ; MTrackAuth_HTTP = /Users/wez/Sites/svn.htgroup, /Users/wez/Sites/svn.htpasswd
115 ; MTrackCommitCheck_NoEmptyLogMessage =
116 ; MTrackCommitCheck_RequiresTimeReference =
117 ; MTrackCaptcha_Recaptcha = public, private, userclasses
118 ; MTrackAuth_OpenID =