]> git.openstreetmap.org Git - chef.git/blob - cookbooks/trac/templates/default/trac.ini.erb
Restart postgres exporter when the configuration changes
[chef.git] / cookbooks / trac / templates / default / trac.ini.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 [attachment]
4 max_size = 262144
5 max_zip_size = 2097152
6 render_unsafe_content = false
7
8 [browser]
9 color_scale = True
10 downloadable_paths = /trunk, /branches/*, /tags/*
11 hide_properties = svk:merge
12 intermediate_color = 
13 intermediate_point = 
14 newest_color = (255, 136, 136)
15 oldest_color = (136, 136, 255)
16 oneliner_properties = trac:summary
17 render_unsafe_content = false
18 wiki_properties = trac:description
19
20 [changeset]
21 max_diff_bytes = 10000000
22 max_diff_files = 0
23 wiki_format_messages = true
24
25 [components]
26 tracopt.ticket.deleter = enabled
27 tracopt.versioncontrol.git.* = enabled
28 tracopt.versioncontrol.svn.* = enabled
29
30 [header_logo]
31 alt = OpenStreetMap
32 height = 80
33 link = https://<%= @name %>/
34 src = site/osm.png
35 width = 228
36
37 [inherit]
38 htdocs_dir = 
39 plugins_dir = 
40 templates_dir = 
41
42 [intertrac]
43 josm.compat = false
44 josm.title = JOSM Trac
45 josm.url = https://josm.openstreetmap.de
46
47 [logging]
48 log_file = trac.log
49 # log_format = <inherited>
50 log_level = INFO
51 log_type = file
52
53 [milestone]
54 stats_provider = DefaultTicketGroupStatsProvider
55
56 [mimeviewer]
57 max_preview_size = 262144
58 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
59 mime_map_patterns = text/plain:README|INSTALL|COPYING.*
60 pygments_default_style = trac
61 pygments_modes = 
62 tab_width = 8
63 treat_as_binary = application/octet-stream, application/pdf, application/postscript, application/msword,application/rtf,
64
65 [notification]
66 admit_domains = 
67 always_notify_owner = true
68 always_notify_reporter = true
69 always_notify_updater = true
70 ambiguous_char_width = single
71 batch_subject_template = $prefix Batch modify: $tickets_descr
72 email_sender = SmtpEmailSender
73 ignore_domains = 
74 mime_encoding = none
75 sendmail_path = sendmail
76 smtp_always_bcc = 
77 smtp_always_cc = 
78 smtp_default_domain = 
79 smtp_enabled = true
80 smtp_from = trac@noreply.openstreetmap.org
81 smtp_from_author = false
82 smtp_from_name = 
83 smtp_password = 
84 smtp_port = 25
85 smtp_replyto = trac@noreply.openstreetmap.org
86 smtp_server = localhost
87 smtp_subject_prefix = __default__
88 smtp_user = 
89 ticket_subject_template = $prefix #$ticket.id: $summary
90 use_public_cc = true
91 use_short_addr = false
92 use_tls = false
93
94 [project]
95 admin = 
96 admin_trac_url = .
97 descr = OpenStreetMap is a free editable map of the whole world
98 footer = Visit the map at<br /><a href="https://www.openstreetmap.org/">https://www.openstreetmap.org/</a>
99 icon = site/osm.ico
100 name = OpenStreetMap
101 url = https://www.openstreetmap.org/
102
103 [query]
104 default_anonymous_query = status!=closed&cc~=$USER
105 default_query = status!=closed&owner=$USER
106 items_per_page = 100
107 ticketlink_query = ?status=!closed
108
109 [report]
110 items_per_page = 100
111 items_per_page_rss = 0
112
113 [repositories]
114 subversion.dir = /var/lib/subversion/repos/openstreetmap
115 subversion.description = Legacy subversion repository
116 subversion.type = svn
117 subversion.url = https://svn.openstreetmap.org/
118 subversion.hidden = true
119 <% Dir.glob("/var/lib/git/*.git").sort.each do |repository| -%>
120 <%= File.basename(repository, ".git") %>.dir = <%= repository %>
121 <%= File.basename(repository, ".git") %>.description = <%= IO.read("#{repository}/description").strip %>
122 <%= File.basename(repository, ".git") %>.type = git
123 <%= File.basename(repository, ".git") %>.url = https://git.openstreetmap.org/public/<%= File.basename(repository) %>
124 <% end -%>
125 .alias = subversion
126
127 [revisionlog]
128 default_log_limit = 100
129 graph_colors = ['#cc0', '#0c0', '#0cc', '#00c', '#c0c', '#c00']
130
131 [roadmap]
132 stats_provider = DefaultTicketGroupStatsProvider
133
134 [search]
135 # default_disabled_filters = <inherited>
136 min_query_length = 3
137
138 [sqlite]
139 # extensions = <inherited>
140
141 [svn]
142 branches = trunk,branches/*
143 tags = tags/*
144
145 [ticket]
146 default_cc = 
147 default_component = 
148 default_description = 
149 default_keywords = 
150 default_milestone = 
151 default_owner = < default >
152 default_priority = minor
153 default_resolution = fixed
154 default_severity = 
155 default_summary = 
156 default_type = defect
157 default_version = 
158 max_comment_size = 262144
159 max_description_size = 262144
160 preserve_newlines = default
161 restrict_owner = false
162 workflow = ConfigurableTicketWorkflow
163
164 [ticket-workflow]
165 accept = new,assigned,accepted,reopened -> accepted
166 accept.operations = set_owner_to_self
167 accept.permissions = TICKET_MODIFY
168 leave = * -> *
169 leave.default = 1
170 leave.operations = leave_status
171 reassign = new,assigned,accepted,reopened -> assigned
172 reassign.operations = set_owner
173 reassign.permissions = TICKET_MODIFY
174 reopen = closed -> reopened
175 reopen.operations = del_resolution
176 reopen.permissions = TICKET_CREATE
177 resolve = new,assigned,accepted,reopened -> closed
178 resolve.operations = set_resolution
179 resolve.permissions = TICKET_MODIFY
180
181 [timeline]
182 abbreviated_messages = True
183 changeset_collapse_events = false
184 changeset_long_messages = false
185 changeset_show_files = 0
186 default_daysback = 30
187 max_daysback = 90
188 newticket_formatter = oneliner
189 ticket_show_details = false
190
191 [trac]
192 auth_cookie_lifetime = 0
193 auth_cookie_path = 
194 authz_file = 
195 authz_module_name = 
196 auto_preview_timeout = 2.0
197 auto_reload = False
198 backup_dir = db
199 base_url = https://<%= @name %>/
200 check_auth_ip = false
201 database = sqlite:db/trac.db
202 debug_sql = False
203 default_charset = utf-8
204 default_dateinfo_format = relative
205 genshi_cache_size = 128
206 htdocs_location = 
207 ignore_auth_case = false
208 jquery_location = 
209 jquery_ui_location = 
210 jquery_ui_theme_location = 
211 mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
212 metanav = login,logout,prefs,help,about
213 mysqldump_path = mysqldump
214 never_obfuscate_mailto = false
215 permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
216 permission_store = DefaultPermissionStore
217 pg_dump_path = pg_dump
218 repository_dir = 
219 repository_sync_per_request = (default)
220 repository_type = svn
221 resizable_textareas = true
222 secure_cookies = False
223 show_email_addresses = false
224 show_ip_addresses = false
225 timeout = 20
226 use_base_url_for_redirect = False
227
228 [versioncontrol]
229 allowed_repository_dir_prefixes = 
230
231 [wiki]
232 ignore_missing_pages = false
233 max_size = 262144
234 render_unsafe_content = false
235 safe_schemes = cvs, file, ftp, git, irc, http, https, news, sftp, smb, ssh, svn, svn+ssh
236 split_page_names = false
237