Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/roundup/templates/config.ini.erb

Issue 5777328449781760: Concept for Trac as issue tracker. (Closed)
Patch Set: Cleaned my working branch and adressed remarks from patch 3. Created March 6, 2014, 5:51 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/roundup/manifests/init.pp ('k') | modules/roundup/templates/roundup-server.ini.erb » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Roundup issue tracker configuration file
2 # Autogenerated at Fri Nov 8 21:32:41 2013
3
4 # WARNING! Following options need adjustments:
5 # [mail]: domain, host
6 # [tracker]: web
7
8 [main]
9
10 # Database directory path.
11 # The path may be either absolute or relative
12 # to the directory containig this config file.
13 # Default: db
14 database = db
15
16 # Path to the HTML templates directory.
17 # The path may be either absolute or relative
18 # to the directory containig this config file.
19 # Default: html
20 templates = html
21
22 # Path to directory holding additional static files
23 # available via Web UI. This directory may contain
24 # sitewide images, CSS stylesheets etc. and is searched
25 # for these files prior to the TEMPLATES directory
26 # specified above. If this option is not set, all static
27 # files are taken from the TEMPLATES directory
28 # The path may be either absolute or relative
29 # to the directory containig this config file.
30 # Default:
31 static_files =
32
33 # Email address that roundup will complain to if it runs
34 # into trouble.
35 # If no domain is specified then the config item
36 # mail -> domain is added.
37 # Default: roundup-admin
38 admin_email = admins@adblockplus.org
39
40 # The 'dispatcher' is a role that can get notified
41 # of new items to the database.
42 # It is used by the ERROR_MESSAGES_TO config setting.
43 # If no domain is specified then the config item
44 # mail -> domain is added.
45 # Default: roundup-admin
46 dispatcher_email = admins@adblockplus.org
47
48 # Additional text to include in the "name" part
49 # of the From: address used in nosy messages.
50 # If the sending user is "Foo Bar", the From: line
51 # is usually: "Foo Bar" <issue_tracker@tracker.example>
52 # the EMAIL_FROM_TAG goes inside the "Foo Bar" quotes like so:
53 # "Foo Bar EMAIL_FROM_TAG" <issue_tracker@tracker.example>
54 # Default:
55 email_from_tag =
56
57 # Roles that a user gets when they register with Web User Interface.
58 # This is a comma-separated string of role names (e.g. 'Admin,User').
59 # Default: User
60 new_web_user_roles = User
61
62 # Roles that a user gets when they register with Email Gateway.
63 # This is a comma-separated string of role names (e.g. 'Admin,User').
64 # Default: User
65 new_email_user_roles = User
66
67 # Send error message emails to the dispatcher, user, or both?
68 # The dispatcher is configured using the DISPATCHER_EMAIL setting.
69 # Default: user
70 error_messages_to = user
71
72 # HTML version to generate. The templates are html4 by default.
73 # If you wish to make them xhtml, then you'll need to change this
74 # var to 'xhtml' too so all auto-generated HTML is compliant.
75 # Allowed values: html4, xhtml
76 # Default: html4
77 html_version = html4
78
79 # Default timezone offset, applied when user's timezone is not set.
80 # If pytz module is installed, value may be any valid
81 # timezone specification (e.g. EET or Europe/Warsaw).
82 # If pytz is not installed, value must be integer number
83 # giving local timezone offset from UTC in hours.
84 # Default: UTC
85 timezone = UTC
86
87 # Register new users instantly, or require confirmation via
88 # email?
89 # Allowed values: yes, no
90 # Default: no
91 instant_registration = no
92
93 # Offer registration confirmation by email or only through the web?
94 # Allowed values: yes, no
95 # Default: yes
96 email_registration_confirmation = yes
97
98 # Additional stop-words for the full-text indexer specific to
99 # your tracker. See the indexer source for the default list of
100 # stop-words (eg. A,AND,ARE,AS,AT,BE,BUT,BY, ...)
101 # Allowed values: comma-separated list of words
102 # Default:
103 indexer_stopwords =
104
105 # Defines the file creation mode mask.
106 # Default: 02
107 umask = 02
108
109 # Maximum size of a csv-field during import. Roundups export
110 # format is a csv (comma separated values) variant. The csv
111 # reader has a limit on the size of individual fields
112 # starting with python 2.5. Set this to a higher value if you
113 # get the error 'Error: field larger than field limit' during
114 # import.
115 # Default: 131072
116 csv_field_size = 131072
117
118 # Sets the default number of rounds used when encoding passwords
119 # using the PBKDF2 scheme. Set this to a higher value on faster
120 # systems which want more security.
121 # PBKDF2 (Password-Based Key Derivation Function) is a
122 # password hashing mechanism that derives hash from the
123 # password and a random salt. For authentication this process
124 # is repeated with the same salt as in the stored hash.
125 # If both hashes match, the authentication succeeds.
126 # PBKDF2 supports a variable 'rounds' parameter which varies
127 # the time-cost of calculating the hash - doubling the number
128 # of rounds doubles the cpu time required to calculate it. The
129 # purpose of this is to periodically adjust the rounds as CPUs
130 # become faster. The currently enforced minimum number of
131 # rounds is 1000.
132 # See: http://en.wikipedia.org/wiki/PBKDF2 and RFC2898
133 # Default: 10000
134 password_pbkdf2_default_rounds = 10000
135
136 [tracker]
137
138 # A descriptive name for your roundup instance.
139 # Default: Roundup issue tracker
140 name = Adblock Plus issue tracker
141
142 # The web address that the tracker is viewable at.
143 # This will be included in information sent to users of the tracker.
144 # The URL MUST include the cgi-bin part or anything else
145 # that is required to get to the home page of the tracker.
146 # You MUST include a trailing '/' in the URL.
147 # Default: NO DEFAULT
148 web = http://<%= @domain %>/
149
150 # Email address that mail to roundup should go to.
151 # If no domain is specified then mail_domain is added.
152 # Default: issue_tracker
153 email = issue_tracker
154
155 # Default locale name for this tracker.
156 # If this option is not set, the language is determined
157 # by OS environment variable LANGUAGE, LC_ALL, LC_MESSAGES,
158 # or LANG, in that order of preference.
159 # Default:
160 language =
161
162 [web]
163
164 # Setting this option enables Roundup to serve uploaded HTML
165 # file content *as HTML*. This is a potential security risk
166 # and is therefore disabled by default. Set to 'yes' if you
167 # trust *all* users uploading content to your tracker.
168 # Allowed values: yes, no
169 # Default: no
170 allow_html_file = no
171
172 # Whether to use HTTP Basic Authentication, if present.
173 # Roundup will use either the REMOTE_USER or HTTP_AUTHORIZATION
174 # variables supplied by your web server (in that order).
175 # Set this option to 'no' if you do not wish to use HTTP Basic
176 # Authentication in your web interface.
177 # Allowed values: yes, no
178 # Default: yes
179 http_auth = yes
180
181 # Whether to use HTTP Accept-Language, if present.
182 # Browsers send a language-region preference list.
183 # It's usually set in the client's browser or in their
184 # Operating System.
185 # Set this option to 'no' if you want to ignore it.
186 # Allowed values: yes, no
187 # Default: yes
188 use_browser_language = yes
189
190 # Setting this option makes Roundup display error tracebacks
191 # in the user's browser rather than emailing them to the
192 # tracker admin.
193 # Allowed values: yes, no
194 # Default: no
195 debug = no
196
197 # Setting this option makes Roundup migrate passwords with
198 # an insecure password-scheme to a more secure scheme
199 # when the user logs in via the web-interface.
200 # Allowed values: yes, no
201 # Default: yes
202 migrate_passwords = yes
203
204 # Settings in this section are used by RDBMS backends only
205 [rdbms]
206
207 # Name of the database to use.
208 # Default: roundup
209 name = roundup
210
211 # Database server host.
212 # Default: localhost
213 host = localhost
214
215 # TCP port number of the database server.
216 # Postgresql usually resides on port 5432 (if any),
217 # for MySQL default port number is 3306.
218 # Leave this option empty to use backend default
219 # Default:
220 port =
221
222 # Database user name that Roundup should use.
223 # Default: roundup
224 user = roundup
225
226 # Database user password.
227 # Default: roundup
228 password = <%= @database_password %>
229
230 # Name of the MySQL defaults file.
231 # Only used in MySQL connections.
232 # Default: ~/.my.cnf
233 read_default_file = ~/.my.cnf
234
235 # Name of the group to use in the MySQL defaults file (.my.cnf).
236 # Only used in MySQL connections.
237 # Default: roundup
238 read_default_group = roundup
239
240 # Number of seconds to wait when the SQLite database is locked
241 # Default: use a 30 second timeout (extraordinarily generous)
242 # Only used in SQLite connections.
243 # Default: 30
244 sqlite_timeout = 30
245
246 # Size of the node cache (in elements)
247 # Default: 100
248 cache_size = 100
249
250 # Setting this option to 'no' protects the database against table creations.
251 # Allowed values: yes, no
252 # Default: yes
253 allow_create = yes
254
255 # Setting this option to 'no' protects the database against table alterations.
256 # Allowed values: yes, no
257 # Default: yes
258 allow_alter = yes
259
260 # Setting this option to 'no' protects the database against table drops.
261 # Allowed values: yes, no
262 # Default: yes
263 allow_drop = yes
264
265 # Name of the PostgreSQL template for database creation.
266 # For database creation the template used has to match
267 # the character encoding used (UTF8), there are different
268 # PostgreSQL installations using different templates with
269 # different encodings. If you get an error:
270 # new encoding (UTF8) is incompatible with the encoding of
271 # the template database (SQL_ASCII)
272 # HINT: Use the same encoding as in the template database,
273 # or use template0 as template.
274 # then set this option to the template name given in the
275 # error message.
276 # Default:
277 template =
278
279 [logging]
280
281 # Path to configuration file for standard Python logging module.
282 # If this option is set, logging configuration is loaded
283 # from specified file; options 'filename' and 'level'
284 # in this section are ignored.
285 # The path may be either absolute or relative
286 # to the directory containig this config file.
287 # Default:
288 config =
289
290 # Log file name for minimal logging facility built into Roundup.
291 # If no file name specified, log messages are written on stderr.
292 # If above 'config' option is set, this option has no effect.
293 # The path may be either absolute or relative
294 # to the directory containig this config file.
295 # Default:
296 filename =
297
298 # Minimal severity level of messages written to log file.
299 # If above 'config' option is set, this option has no effect.
300 # Allowed values: DEBUG, INFO, WARNING, ERROR
301 # Default: ERROR
302 level = DEBUG
303
304 # Outgoing email options.
305 # Used for nozy messages and approval requests
306 [mail]
307
308 # The email domain that admin_email, issue_tracker and
309 # dispatcher_email belong to.
310 # This domain is added to those config items if they don't
311 # explicitly include a domain.
312 # Do not include the '@' symbol.
313 # Default: NO DEFAULT
314 domain = <%= @domain %>
315
316 # SMTP mail host that roundup will use to send mail
317 # Default: NO DEFAULT
318 host = localhost
319
320 # SMTP login name.
321 # Set this if your mail host requires authenticated access.
322 # If username is not empty, password (below) MUST be set!
323 # Default:
324 username =
325
326 # SMTP login password.
327 # Set this if your mail host requires authenticated access.
328 # Default: NO DEFAULT
329 #password = NO DEFAULT
330
331 # Default port to send SMTP on.
332 # Set this if your mail server runs on a different port.
333 # Default: 25
334 port = 25
335
336 # The local hostname to use during SMTP transmission.
337 # Set this if your mail server requires something specific.
338 # Default:
339 local_hostname =
340
341 # If your SMTP mail host provides or requires TLS
342 # (Transport Layer Security) then set this option to 'yes'.
343 # Allowed values: yes, no
344 # Default: no
345 tls = no
346
347 # If TLS is used, you may set this option to the name
348 # of a PEM formatted file that contains your private key.
349 # The path may be either absolute or relative
350 # to the directory containig this config file.
351 # Default:
352 tls_keyfile =
353
354 # If TLS is used, you may set this option to the name
355 # of a PEM formatted certificate chain file.
356 # The path may be either absolute or relative
357 # to the directory containig this config file.
358 # Default:
359 tls_certfile =
360
361 # Character set to encode email headers with.
362 # We use utf-8 by default, as it's the most flexible.
363 # Some mail readers (eg. Eudora) can't cope with that,
364 # so you might need to specify a more limited character set
365 # (eg. iso-8859-1).
366 # Default: utf-8
367 charset = utf-8
368
369 # Setting this option makes Roundup to write all outgoing email
370 # messages to this file *instead* of sending them.
371 # This option has the same effect as environment variable SENDMAILDEBUG.
372 # Environment variable takes precedence.
373 # The path may be either absolute or relative
374 # to the directory containig this config file.
375 # Default:
376 debug =
377
378 # Add a line with author information at top of all messages
379 # sent by roundup
380 # Allowed values: yes, no
381 # Default: yes
382 add_authorinfo = yes
383
384 # Add the mail address of the author to the author information at
385 # the top of all messages.
386 # If this is false but add_authorinfo is true, only the name
387 # of the actor is added which protects the mail address of the
388 # actor from being exposed at mail archives, etc.
389 # Allowed values: yes, no
390 # Default: yes
391 add_authoremail = yes
392
393 # Roundup Mail Gateway options
394 [mailgw]
395
396 # Keep email citations when accepting messages.
397 # Setting this to "no" strips out "quoted" text from the message.
398 # Signatures are also stripped.
399 # Allowed values: yes, no
400 # Default: yes
401 keep_quoted_text = yes
402
403 # Preserve the email body as is - that is,
404 # keep the citations _and_ signatures.
405 # Allowed values: yes, no
406 # Default: no
407 leave_body_unchanged = no
408
409 # Default class to use in the mailgw
410 # if one isn't supplied in email subjects.
411 # To disable, leave the value blank.
412 # Default: issue
413 default_class = issue
414
415 # Default locale name for the tracker mail gateway.
416 # If this option is not set, mail gateway will use
417 # the language of the tracker instance.
418 # Default:
419 language =
420
421 # Controls the parsing of the [prefix] on subject
422 # lines in incoming emails. "strict" will return an
423 # error to the sender if the [prefix] is not recognised.
424 # "loose" will attempt to parse the [prefix] but just
425 # pass it through as part of the issue title if not
426 # recognised. "none" will always pass any [prefix]
427 # through as part of the issue title.
428 # Default: strict
429 subject_prefix_parsing = strict
430
431 # Controls the parsing of the [suffix] on subject
432 # lines in incoming emails. "strict" will return an
433 # error to the sender if the [suffix] is not recognised.
434 # "loose" will attempt to parse the [suffix] but just
435 # pass it through as part of the issue title if not
436 # recognised. "none" will always pass any [suffix]
437 # through as part of the issue title.
438 # Default: strict
439 subject_suffix_parsing = strict
440
441 # Defines the brackets used for delimiting the prefix and
442 # suffix in a subject line. The presence of "suffix" in
443 # the config option name is a historical artifact and may
444 # be ignored.
445 # Default: []
446 subject_suffix_delimiters = []
447
448 # Controls matching of the incoming email subject line
449 # against issue titles in the case where there is no
450 # designator [prefix]. "never" turns off matching.
451 # "creation + interval" or "activity + interval"
452 # will match an issue for the interval after the issue's
453 # creation or last activity. The interval is a standard
454 # Roundup interval.
455 # Default: always
456 subject_content_match = always
457
458 # Update issue title if incoming subject of email is different.
459 # Setting this to "no" will ignore the title part of the subject
460 # of incoming email messages.
461 #
462 # Allowed values: yes, no
463 # Default: yes
464 subject_updates_title = yes
465
466 # Regular expression matching a single reply or forward
467 # prefix prepended by the mailer. This is explicitly
468 # stripped from the subject during parsing.
469 # Value is Python Regular Expression (UTF8-encoded).
470 # Default: (\s*\W?\s*(fw|fwd|re|aw|sv|ang)\W)+
471 refwd_re = (\s*\W?\s*(fw|fwd|re|aw|sv|ang)\W)+
472
473 # Regular expression matching start of an original message
474 # if quoted the in body.
475 # Value is Python Regular Expression (UTF8-encoded).
476 # Default: ^[>|\s]*-----\s?Original Message\s?-----$
477 origmsg_re = ^[>|\s]*-----\s?Original Message\s?-----$
478
479 # Regular expression matching the start of a signature
480 # in the message body.
481 # Value is Python Regular Expression (UTF8-encoded).
482 # Default: ^[>|\s]*-- ?$
483 sign_re = ^[>|\s]*-- ?$
484
485 # Regular expression matching end of line.
486 # Value is Python Regular Expression (UTF8-encoded).
487 # Default: [\r\n]+
488 eol_re = [\r\n]+
489
490 # Regular expression matching a blank line.
491 # Value is Python Regular Expression (UTF8-encoded).
492 # Default: [\r\n]+\s*[\r\n]+
493 blankline_re = [\r\n]+\s*[\r\n]+
494
495 # Unpack attached messages (encoded as message/rfc822 in MIME)
496 # as multiple parts attached as files to the issue, if not
497 # set we handle message/rfc822 attachments as a single file.
498 # Allowed values: yes, no
499 # Default: no
500 unpack_rfc822 = no
501
502 # When parsing incoming mails, roundup uses the first
503 # text/plain part it finds. If this part is inside a
504 # multipart/alternative, and this option is set, all other
505 # parts of the multipart/alternative are ignored. The default
506 # is to keep all parts and attach them to the issue.
507 # Allowed values: yes, no
508 # Default: no
509 ignore_alternatives = no
510
511 # OpenPGP mail processing options
512 [pgp]
513
514 # Enable PGP processing. Requires pyme.
515 # Allowed values: yes, no
516 # Default: no
517 enable = no
518
519 # If specified, a comma-separated list of roles to perform
520 # PGP processing on. If not specified, it happens for all
521 # users.
522 # Default:
523 roles =
524
525 # Location of PGP directory. Defaults to $HOME/.gnupg if
526 # not specified.
527 # Default:
528 homedir =
529
530 # Nosy messages sending
531 [nosy]
532
533 # Send nosy messages to the author of the message.
534 # Allowed values: yes, no, new
535 # Default: no
536 messages_to_author = no
537
538 # Where to place the email signature.
539 # Allowed values: top, bottom, none
540 # Default: bottom
541 signature_position = bottom
542
543 # Does the author of a message get placed on the nosy list
544 # automatically? If 'new' is used, then the author will
545 # only be added when a message creates a new issue.
546 # If 'yes', then the author will be added on followups too.
547 # If 'no', they're never added to the nosy.
548 #
549 # Allowed values: yes, no, new
550 # Default: new
551 add_author = new
552
553 # Do the recipients (To:, Cc:) of a message get placed on the
554 # nosy list? If 'new' is used, then the recipients will
555 # only be added when a message creates a new issue.
556 # If 'yes', then the recipients will be added on followups too.
557 # If 'no', they're never added to the nosy.
558 #
559 # Allowed values: yes, no, new
560 # Default: new
561 add_recipients = new
562
563 # Controls the email sending from the nosy reactor. If
564 # "multiple" then a separate email is sent to each
565 # recipient. If "single" then a single email is sent with
566 # each recipient as a CC address.
567 # Default: single
568 email_sending = single
569
570 # Attachments larger than the given number of bytes
571 # won't be attached to nosy mails. They will be replaced by
572 # a link to the tracker's download page for the file.
573 # Default: 9223372036854775807
574 max_attachment_size = 9223372036854775807
OLDNEW
« no previous file with comments | « modules/roundup/manifests/init.pp ('k') | modules/roundup/templates/roundup-server.ini.erb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld