Index: modules/trac/templates/trac.ini.erb |
=================================================================== |
--- a/modules/trac/templates/trac.ini.erb |
+++ b/modules/trac/templates/trac.ini.erb |
@@ -1,136 +1,24 @@ |
# -*- coding: utf-8 -*- |
-[attachment] |
-max_size = 15728640 |
-max_zip_size = 12097152 |
-render_unsafe_content = false |
- |
-[browser] |
-color_scale = True |
-downloadable_paths = /trunk, /branches/*, /tags/* |
-hide_properties = svk:merge |
-intermediate_color = |
-intermediate_point = |
-newest_color = (255, 136, 136) |
-oldest_color = (136, 136, 255) |
-oneliner_properties = trac:summary |
-render_unsafe_content = false |
-wiki_properties = trac:description |
- |
-[changeset] |
-max_diff_bytes = 10000000 |
-max_diff_files = 0 |
-wiki_format_messages = true |
+[inherit] |
+file = /home/trac/trac.ini |
[header_logo] |
-alt = Adblock Plus Issue Tracker |
+alt = <%= @description %> |
height = 80 |
link = / |
src = adblockplus_logo.png |
width = 80 |
-[inherit] |
-htdocs_dir = |
-plugins_dir = |
-templates_dir = |
- |
-[logging] |
-log_file = trac.log |
-# log_format = <inherited> |
-log_level = WARNING |
-log_type = file |
- |
-[milestone] |
-stats_provider = DefaultTicketGroupStatsProvider |
- |
-[mimeviewer] |
-max_preview_size = 15728640 |
-mime_map = text/x-dylan:dylan, text/x-idl:ice, text/x-ada:ads:adb |
-mime_map_patterns = text/plain:README|INSTALL|COPYING.* |
-tab_width = 8 |
-treat_as_binary = application/octet-stream, application/pdf, application/postscript, application/msword,application/rtf, |
- |
[notification] |
-admit_domains = |
-always_notify_owner = true |
-always_notify_reporter = true |
-always_notify_updater = false |
-ambiguous_char_width = single |
-batch_subject_template = $prefix Batch modify: $tickets_descr |
-email_sender = SendmailEmailSender |
-ignore_domains = |
-mime_encoding = none |
-sendmail_path = /usr/sbin/sendmail |
-smtp_always_bcc = |
-smtp_always_cc = |
-smtp_default_domain = |
-smtp_enabled = true |
smtp_from = noreply@adblockplus.org |
-smtp_from_author = false |
-smtp_from_name = Adblock Plus Issue Tracker |
-smtp_password = |
-smtp_port = 25 |
-smtp_replyto = |
-smtp_server = localhost |
-smtp_subject_prefix = __default__ |
-smtp_user = |
-ticket_subject_template = $prefix #$ticket.id: $summary |
-use_public_cc = false |
-use_short_addr = false |
-use_tls = false |
+smtp_from_name = <%= @description %> |
[project] |
-admin = admins@adblockplus.org |
-admin_trac_url = . |
-descr = Adblock Plus Issue Tracker |
-footer = Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a> |
-icon = common/trac.ico |
-name = Adblock Plus Issue Tracker |
+descr = <%= @description %> |
+name = <%= @description %> |
url = https://issues.adblockplus.org/ |
-[query] |
-default_anonymous_query = status!=closed&col=id&col=summary&col=component&col=status&col=owner&col=type&col=priority&col=milestone&order=priority |
-default_query = status!=closed&col=id&col=summary&col=component&col=status&col=owner&col=type&col=priority&col=milestone&order=priority |
-items_per_page = 100 |
-ticketlink_query = ?status=!closed&col=id&col=summary&col=component&col=status&col=owner&col=type&col=priority&col=milestone&order=priority |
- |
-[report] |
-items_per_page = 100 |
-items_per_page_rss = 0 |
- |
-[revisionlog] |
-default_log_limit = 100 |
-graph_colors = ['#cc0', '#0c0', '#0cc', '#00c', '#c0c', '#c00'] |
- |
-[roadmap] |
-stats_provider = DefaultTicketGroupStatsProvider |
- |
-[search] |
-# default_disabled_filters = <inherited> |
-min_query_length = 3 |
- |
-[sqlite] |
-# extensions = <inherited> |
- |
-[ticket] |
-default_cc = |
-default_component = Unknown |
-default_description = |
-default_keywords = |
-default_milestone = |
-default_owner = |
-default_priority = Unknown |
-default_resolution = fixed |
-default_severity = |
-default_summary = |
-default_type = defect |
-default_version = |
-max_comment_size = 262144 |
-max_description_size = 262144 |
-preserve_newlines = default |
-restrict_owner = false |
-workflow = ConfigurableTicketWorkflow |
- |
[ticket-workflow] |
leave = * -> * |
leave.default = 1 |
@@ -147,19 +35,9 @@ |
codereview = new,reopened -> reviewing |
codereview.permissions = TICKET_MODIFY |
-[timeline] |
-abbreviated_messages = True |
-changeset_collapse_events = false |
-changeset_long_messages = false |
-changeset_show_files = 0 |
-default_daysback = 30 |
-max_daysback = 90 |
-newticket_formatter = oneliner |
-ticket_show_details = true |
- |
[trac] |
auth_cookie_lifetime = 0 |
-auth_cookie_path = |
+auth_cookie_path = / |
authz_file = |
authz_module_name = |
auto_preview_timeout = 2.0 |
@@ -167,7 +45,7 @@ |
backup_dir = db |
base_url = https://issues.adblockplus.org/ |
check_auth_ip = false |
-database = mysql://trac:<%= @database_password %>@localhost:3306/trac |
+database = mysql://trac:<%= @database_password %>@localhost:3306/<%= @database %> |
debug_sql = False |
default_charset = utf-8 |
default_dateinfo_format = relative |
@@ -196,16 +74,6 @@ |
use_base_url_for_redirect = False |
permission_policies = SensitiveTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy |
-[versioncontrol] |
-allowed_repository_dir_prefixes = |
- |
-[wiki] |
-ignore_missing_pages = true |
-max_size = 262144 |
-render_unsafe_content = false |
-safe_schemes = cvs, file, ftp, git, irc, http, https, news, sftp, smb, ssh, svn, svn+ssh |
-split_page_names = false |
- |
[components] |
blackmagic.* = enabled |
sensitivetickets.* = enabled |
@@ -255,12 +123,6 @@ |
field_list = summary, description, reporter, owner, priority, cc, milestone, component, version, type |
enable_custom = false |
-[mainnav] |
-tickets.label = View Issues |
-tickets.href = /query |
-newticket.label = New Issue |
-wiki = false |
- |
[account-manager] |
hash_method = HtDigestHashMethod |
db_htdigest_realm = TracDB |
@@ -328,12 +190,6 @@ |
platform.label = Platform |
platform.options = Unknown|Android|Chrome|Internet Explorer|Firefox/Firefox Mobile|Opera|Safari |
platform.value = Unknown |
- |
-[theme] |
-enable_css = true |
- |
-[spam-filter] |
-max_posts_by_ip = 50 |
bayes_min_training = 10 |
authenticated_karma = 0 |
min_karma = -14 |