# -*- coding: utf-8 -*- [attachment] max_size = 262144 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 [header_logo] alt = (please configure the [header_logo] section in trac.ini) height = -1 link = src = site/your_project_logo.png width = -1 [inherit] plugins_dir = templates_dir = [logging] log_file = trac.log # log_format = <inherited> log_level = DEBUG log_type = none [milestone] stats_provider = DefaultTicketGroupStatsProvider [mimeviewer] enscript_modes = text/x-dylan:dylan:4 enscript_path = enscript max_preview_size = 262144 mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb php_path = php tab_width = 8 [notification] admit_domains = always_notify_owner = true always_notify_reporter = true always_notify_updater = true ignore_domains = mime_encoding = base64 ###发送邮件需要修改下面的内容 smtp_always_bcc = smtp_always_cc = smtp_default_domain = test.com ##邮箱的后缀 smtp_enabled = true smtp_from = trac@localhost smtp_from_name = smtp_password = smtp_port = 25 smtp_replyto = trac@localhost 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 [project] admin = descr = My example project 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 = TRAC url = [query] default_anonymous_query = status!=closed&cc~=$USER default_query = status!=closed&owner=$USER items_per_page = 100 [report] items_per_page = 100 items_per_page_rss = 0 [revisionlog] default_log_limit = 100 [roadmap] stats_provider = DefaultTicketGroupStatsProvider [search] min_query_length = 3 [svn] branches = trunk,branches/* tags = tags/* [ticket] default_cc = default_component = default_description = default_keywords = default_milestone = default_owner = default_priority = major default_resolution = fixed default_severity = default_summary = default_type = defect default_version = max_comment_size = 262144 max_description_size = 262144 preserve_newlines = default ##assagin to下拉框设置需要该为true restrict_owner = true workflow = ConfigurableTicketWorkflow restrict_owner_list = [ticket-workflow] close = verified -> closed close.operations = set_resolution close.permissions = TICKET_MODIFY leave = * -> * leave.default = 1 leave.operations = leave_status reassign = new,reopened -> assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = resolved,verified,closed -> reopened reopen.operations = del_resolution,set_owner reopen.permissions = TICKET_CREATE resolve = new,assigned,reopened -> resolved resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY resolve.set_resolution = fixed,invalid,wontfix,duplicate,worksforme test = resolved -> verified test.operations = set_resolution test.permissions = TICKET_MODIFY test.set_resolution = test,invalid,duplicate [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 = false [trac] authz_file = authz_module_name = auto_reload = False base_url = check_auth_ip = false database = sqlite:db/trac.db default_charset = iso-8859-15 htdocs_location = ignore_auth_case = false mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search metanav = login,logout,prefs,help,about permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy permission_store = DefaultPermissionStore repository_dir = /data/trac/mims repository_type = svn secure_cookies = False show_email_addresses = false timeout = 20 use_base_url_for_redirect = False [wiki] ignore_missing_pages = false max_size = 262144 render_unsafe_content = false split_page_names = false ##安装插件后需要启动 [components] datefield.* = enabled restrictownertolist.* = enabled ##due date需要 [ticket-custom] due_date = text due_date.date = true due_date.label = Due Date due_date.value = MM/DD/YYYY due_date.date_empty = false ##due date需要 [datefield] format = mdy first_day = 1 separator = / milestone = true panel = true change_month = true change_year = true
本文出自 “笔记” 博客,请务必保留此出处http://sunflower2.blog.51cto.com/8837503/1548995
原文地址:http://sunflower2.blog.51cto.com/8837503/1548995