在 2016年12月7日星期三 UTC+8下午11:20:18,RjOllos写道:
>
>
>
> On Tuesday, December 6, 2016 at 11:16:19 PM UTC-8, Mingxing Tian wrote:
>>
>>
>>
>> 在 2016年12月7日星期三 UTC+8下午2:37:57,RjOllos写道:
>>>
>>>
>>>
>>> On Tuesday, December 6, 2016 at 10:22:26 PM UTC-8, Mingxing Tian wrote:
>>>>
>>>>
>>>>
>>>> 在 2016年12月7日星期三 UTC+8下午1:03:58,RjOllos写道:
>>>>>
>>>>>
>>>>>
>>>>> On Tuesday, December 6, 2016 at 6:03:47 PM UTC-8, Mingxing Tian wrote:
>>>>>>
>>>>>> I found a few problems:
>>>>>> 1. the first page is being given, please refer to Annex.
>>>>>>
>>>>>
>>>>> Before reporting these problems and asking us to tell you the 
>>>>> solution, please try exploring yourself. Go to the project wiki page, see 
>>>>> if there is an updated version of the plugin available.
>>>>>
>>>>> You can see the problem is with TracWysiwygPlugin, right? So you 
>>>>> should looks here:
>>>>> https://trac-hacks.org/wiki/TracWysiwygPlugin
>>>>>
>>>>> All I have to do is look at the change log and see that an issue with 
>>>>> addEvent was fixed in r15940, which is the most recent change, seen at 
>>>>> the 
>>>>> bottom of the project wiki page.
>>>>>  
>>>>>
>>>>>> 2. view tags page log error output
>>>>>> Traceback (most recent call last):
>>>>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 613, 
>>>>>> in _dispatch_request
>>>>>>     dispatcher.dispatch(req)
>>>>>>   File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 273, 
>>>>>> in dispatch
>>>>>>     iterable=chrome.use_chunked_encoding)
>>>>>>   File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 
>>>>>> 1119, in render_template
>>>>>>     stream = template.generate(**data)
>>>>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>>>>> 545, in generate
>>>>>>     stream = self.stream
>>>>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>>>>> 455, in stream
>>>>>>     self._stream = list(self._prepare(self._stream))
>>>>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>>>>> 491, in _prepare
>>>>>>     yield kind, (directives, list(substream)), pos
>>>>>>   File "build/bdist.linux-x86_64/egg/genshi/template/base.py", line 
>>>>>> 505, in _prepare
>>>>>>     cls=cls or self.__class__)
>>>>>>   File "build/bdist.linux-x86_64/egg/genshi/template/loader.py", line 
>>>>>> 246, in load
>>>>>>     raise TemplateNotFound(filename, search_path)
>>>>>> TemplateNotFound: Template "macros.html" not found
>>>>>>
>>>>>>
>>>>> Thanks for reporting. Fixed in r16059.
>>>>> https://trac-hacks.org/changeset/16059 
>>>>> <https://www.google.com/url?q=https%3A%2F%2Ftrac-hacks.org%2Fchangeset%2F16059&sa=D&sntz=1&usg=AFQjCNF3l2R2AXk-eh-vqwUaiVBMdFKdIA>
>>>>>  
>>>>>
>>>>>> 3. Cannot find an implementation of the IPasswordHashMethod interface 
>>>>>> named HtDigestHashMethod. Please check that the Component is enabled 
>>>>>> or update the option [account-manager] hash_method in trac.ini.
>>>>>>
>>>>>
>>>>> What steps have you taken to explore the problem? That error message 
>>>>> must give you some hints. Please tell us what steps you've taken to try 
>>>>> to 
>>>>> solve it on your own, and I will gladly provide hints. If you don't find 
>>>>> the error message clear, please explain since I'd like to improve it.
>>>>>  
>>>>>
>>>>>> 4. In addition, I also found a strange phenomenon, when I visit a 
>>>>>> task list, the default modification of the work order of the DIV area is 
>>>>>> open, which in the previous version is hidden.
>>>>>>
>>>>>
>>>>> I suppose this is an issue related to some plugin, but you've given no 
>>>>> hints as to which plugin.
>>>>>  
>>>>>
>>>>>>
>>>>>>
>>>>>> <https://lh3.googleusercontent.com/-JmNCXsy5PS0/WEdrY1JsdEI/AAAAAAAAAHA/VzTOY6ERKOACefm2UgQtkJgPu3qE03CqwCLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161207095217.png>
>>>>>>
>>>>>>
>>>>>>  
>>>>>>
>>>>>
>>>> Thank you very much for your suggestion, I really should be good to 
>>>> check their own and exclude some ridiculous questions. Here's my reply to 
>>>> your suggestion:
>>>> 1. By updating the "TracWysiwygPlugin" plug-in, so that part of the JS 
>>>> problem is resolved, but there is still a problem:
>>>> jquery.js:2 Uncaught Error: Syntax error, unrecognized expression: *[
>>>> @id](…)
>>>> Which I can not confirm in the end is which plug-in problems, well, I 
>>>> really tried to check.
>>>>
>>>
>>> Thank you for the info. Hint - take a unique part of that expression, 
>>> such as "*[@id]", put it in the search box on trac-hacks.org. That 
>>> leads me to:
>>> https://trac-hacks.org/ticket/12721
>>>
>>> Okay, now you can check. Does error go away if disabling 
>>> SectionEditPlugin? Make sure to do a hard refresh of the page when enabling 
>>> / disabling, before testing. If the error goes away, then we can confirm 
>>> SectionEdit is the issue, in which case I'll look at fixing #12721.
>>>  
>>>
>>>> 2. By updating the trunk code, I fixed the problem Thank you.
>>>> 3. I am in the management module configuration account error, when I 
>>>> click "next" when I appeared above the problem mentioned. According to the 
>>>> error, I think it is necessary to manually "trac.ini" in the distribution 
>>>> of what? ?? ??
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-VVhniuf0CHw/WEeoKGsjoBI/AAAAAAAAAHY/owwZSnSrZHoptqxvxXbm6spnq7tyYo5XACLcB/s1600/QQ%25E6%2588%25AA%25E5%259B%25BE20161207141037.png>
>>>>
>>>> [account-manager]
>>>> account_changes_notify_addresses =
>>>> htpasswd_file = /home/svndata/svnconf/passwd
>>>> htpasswd_hash_type = md5
>>>> notify_actions = new,change,delete
>>>> password_store = HtPasswdStore
>>>> reset_password = disabled
>>>>
>>>>
>>> I find there are problems with that Configuration wizard of 
>>> AccountManager, so maybe it's best to avoid it. Instead, I think you should 
>>> just directly edit trac.ini in your Environment, using this recipe:
>>>
>>> https://trac-hacks.org/wiki/CookBook/AccountManagerPluginConfiguration#HtPasswdStore
>>>
>>> Info on editing trac.ini in Trac environment is found here:
>>> https://trac.edgewall.org/wiki/TracEnvironment
>>>
>>> Let me know if it's still not clear.
>>>
>>>  
>>>
>>>> 4. I mean in any visit to a task, modify the output of the task domain 
>>>> name are displayed, this is normal? Because of language problems, I may 
>>>> not 
>>>> say, see my attached pictures.
>>>>
>>>>
>>>> <https://lh3.googleusercontent.com/-jSxdsV1rT84/WEeqXn3gETI/AAAAAAAAAHg/77MtheUQV0cf1dcQUKNho7o-X8qtp4qLgCLcB/s1600/screencapture-trac-idouzi-trac-idouzi-ticket-524-1481091438119.png>
>>>>
>>>>
>>>>
>>> The Modify section should be collapsed, as seen here:
>>> https://trac.edgewall.org/ticket/12477
>>>
>>> Make sure to do a hard refresh (SHIFT + F5) to clear the cache. If the 
>>> problem persists, I suspect you'll find a JavaScript error in the console, 
>>> and we'll probably need to solve those errors in order to get the 
>>> JavaScript functionality on the ticket page working again.
>>>
>>> Also, just to be sure, did you do this step to refresh static resources?
>>> https://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources
>>>
>>> 5. Add a new question, why can't the comment on the task list now. Even 
>>>> if it is my own content.
>>>>
>>>
>>> Do you mean, you cannot see how to Edit your comment? On hover, you 
>>> should see the icons appear in the upper right corner of the comment. 
>>> Perhaps they don't appear due to the JavaScript errors.
>>>
>>>
>>> <https://lh3.googleusercontent.com/-eEyYY8-AY9A/WEetzlSXmQI/AAAAAAAAEDc/0yQodEeK_j8dcb_JjsEp5mKSDPVMcSuqgCLcB/s1600/Screen%2BShot%2B2016-12-06%2Bat%2B22.35.13.png>
>>>
>>>  
>>> - Ryan
>>>
>>>
>> You help me find the source of the problem, but I disabled 
>> "TracSectionEditPlugin 0.2.6.post0" plugin, I found some problems are 
>> automatically resolved.
>> The first, four, five issues have been automatically resolved, it seems 
>> that JS is to blame.
>> As for the third question I look at myself, fight for themselves to solve 
>> it.
>>
>> The same I would like to add a question, I disabled yesterday, "" 
>> plug-in, the task changes now no mail notification, I still want to use 
>> this service, how to do?
>> [notification]
>> email_sender = HtmlNotificationSmtpEmailSender
>> mime_encoding = base64
>> smtp_enabled = enabled
>> smtp_from = trac#xxx.com
>> smtp_from_name = trac#xxx.com
>> smtp_password = 123456
>> smtp_port = 25
>> smtp_server = smtp.exmail.qq.com
>> smtp_user = trac#xxx.com
>> use_tls = disabled
>>
>> [components]
>> trac.ticket.notification.ticketattachmentnotifier = enabled
>>
>>
> In Trac 1.2 you should disable AnnouncerPlugin and re-enable the default 
> Trac notification system. With those configuration changes, it looks like 
> TracHtmlNotificationPlugin should work with Trac 1.2.
> https://trac-hacks.org/wiki/TracHtmlNotificationPlugin
>
> If it's still not working for you, please share your entire [components] 
> and [notification] sections. I assume what you shared are just excerpts. 
>
> - Ryan
>

But it still doesn't work. Please check it for me.

# -*- coding: utf-8 -*-

[account-manager]
account_changes_notify_addresses = allen#xxx.com
htpasswd_file = /home/svndata/svnconf/passwd
htpasswd_hash_type = md5
notify_actions = new,change,delete
password_store = HtPasswdStore
reset_password = enabled

[announcer]
email_enabled = enabled

[attachment]
max_size = 10485760
max_zip_size = 10485760
render_unsafe_content = disabled

[authz_policy]
authz_file = /home/svndata/svnconf/authz

[browser]
color_scale = enabled
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 = disabled
wiki_properties = trac:description

[changeset]
max_diff_bytes = 10000000
max_diff_files = 0
wiki_format_messages = enabled

[components]
acct_mgr.admin.* = enabled
acct_mgr.api.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = enabled
acct_mgr.http.* = disabled
acct_mgr.notification.* = enabled
acct_mgr.pwhash.* = disabled
acct_mgr.register.* = disabled
acct_mgr.svnserve.svnservepasswordstore = disabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.resetpwstore = enabled
childtickets.* = enabled
childtickets.admin.childticketsadminpanel = enabled
childtickets.childtickets.tracchildticketsmodule = enabled
codeexample.* = enabled
coderev.api.codereviewersystem = enabled
coderev.web_ui.changesetticketmapper = enabled
coderev.web_ui.codereviewermodule = enabled
coderev.web_ui.committicketreferencemacro = enabled
ganttcalendar.admin.holidayadminpanel = disabled
ganttcalendar.complete_by_close.completeticketobserver = disabled
ganttcalendar.ticketcalendar.ticketcalendarplugin = disabled
ganttcalendar.ticketgantt.ticketganttchartplugin = disabled
ganttcalendar.ticketvalidator.ticketvalidator = disabled
markdown.* = enabled
svnauthz.* = enabled
trac.ticket.notification.ticketattachmentnotifier = enabled
trac.web.auth.loginmodule = disabled
tracextracturl.* = enabled
trachtmlnotification.* = enabled
tracmindmap.* = enabled
tracopt.mimeview.enscript.enscriptrenderer = enabled
tracopt.mimeview.php.phprenderer = enabled
tracopt.perm.authz_policy.authzpolicy = enabled
tracopt.perm.config_perm_provider.extrapermissionsprovider = enabled
tracopt.ticket.clone.ticketclonebutton = enabled
tracopt.ticket.commit_updater.committicketreferencemacro = disabled
tracopt.ticket.commit_updater.committicketupdater = enabled
tracopt.ticket.deleter.ticketdeleter = enabled
tracopt.versioncontrol.git.git_fs.csetpropertyrenderer = enabled
tracopt.versioncontrol.git.git_fs.gitconnector = enabled
tracopt.versioncontrol.git.git_fs.gitwebprojectsrepositoryprovider = enabled
tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer = 
enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer = 
enabled
tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled
tracpaste.* = enabled
tracsectionedit.web_ui.wikisectioneditmodule = disabled
tracsubtickets.* = enabled
tracwikiextras.* = enabled
tracworkflowadmin.* = enabled
tracworkflowadmin.web_ui.tracworkflowadminmodule = enabled
tracwysiwyg.* = enabled

[datefield]
first_day = 1
format = mdy
separator = -

[gitweb-repositories]
projects_base =
projects_list =
projects_url =

[group-ticket-fields]
additional_info = Zusatzinformationen
additional_info.fields = 
reproducibility,keywords,cc,customtext,svnversion,tester,blockedby,blocking,parents,billable,internal
additional_info.properties = foldable,collapsed
group_order = project,main,additional_info,project_planning
project = 项目
project.columns = 1
project.fields = project,milestone,version
project_planning = Projektplanung
project_planning.fields = 
estimatedhours,hours,remaininghours,totalhours,userfinish,userstart
project_planning.properties = foldable,collapsed

[header_logo]
alt = logo
height = -1
link = http://trac.xxx.com/trac/xxx/wiki
src = site/logo.png
width = -1

[inherit]
htdocs_dir =
plugins_dir =
templates_dir =

[ini-editor]
security-manager = IniEditorBasicSecurityManager

[logging]
log_level = WARNING
log_type = file

[mainnav]
browser.order = 4.0
newticket.order = 6.0
roadmap.order = 3.0
search.order = 7.0
tickets.order = 5.0
timeline.order = 2.0
wiki.order = 1.0

[metanav]
about.order = 5.0
help.order = 4.0
login.order = 1.0
logout.order = 2.0
prefs.order = 3.0

[milestone]
stats_provider = DefaultTicketGroupStatsProvider

[mimeviewer]
max_preview_size = 10485760
mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb
mime_map_patterns = text/plain:README|INSTALL|COPYING.*
php_path = /usr/bin/php
tab_width = 8
treat_as_binary = 
application/octet-stream,application/pdf,application/postscript,application/msword,application/rtf

[notification]
email_sender = HtmlNotificationSmtpEmailSender
mime_encoding = base64
smtp_enabled = enabled
smtp_from = [email protected]
smtp_from_name = [email protected]
smtp_password = Trac123456
smtp_port = 25
smtp_server = smtp.exmail.qq.com
smtp_user = [email protected]
use_tls = disabled

[notification-subscriber]
always_notify_cc = CarbonCopySubscriber

[plantuml]
java_bin = /usr/bin/java
plantuml_jar = /home/projects/xxx/plugins/plantuml.jar

[project]
admin =
admin_trac_url = .
descr = xxx
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 = xxx
url = http://trac.xxx.com/trac/xxx

[query]
default_anonymous_query = status!=closed&cc~=$USER
default_query = status!=closed&owner=$USER
items_per_page = 100
ticketlink_query = ?status=!closed

[report]
items_per_page = 100
items_per_page_rss = 0

[repositories]
.dir = /home/svndata/default

[revisionlog]
default_log_limit = 100
graph_colors = #cc0,#0c0,#0cc,#00c,#c0c,#c00

[roadmap]
stats_provider = DefaultTicketGroupStatsProvider

[search]
min_query_length = 3

[svn]
authz_file = /home/svndata/svnconf/authz
authz_module_name =

[svnauthzadmin]
read_only_display = false
show_all_repos = true

[ticket]
default_cc =
default_component =
default_description =
default_keywords =
default_milestone =
default_owner = < default >
default_priority = 重要
default_resolution = fixed
default_severity =
default_summary =
default_type = 开发
default_version =
max_comment_size = 10485760
max_description_size = 10485760
max_summary_size = 10485760
preserve_newlines = default
restrict_owner = enabled
workflow = ConfigurableTicketWorkflow

[ticket-custom]
due_date = text
due_date.date = true
due_date.date_empty = true
due_date.format = plain
due_date.label = 预计完成时间
due_date.order = 2
due_date.value = <now>
project = select
project.label = 项目
project.options = xxx
project.order = 1
project.value =
#phase = select
#phase.options = review|close
#phase.invalid_if.1 = review
#phase.invalid_when.2 = close

[ticket-workflow]
accept = new -> assigned
accept.default = 997
accept.name = 领取任务
accept.operations = set_owner_to_self
accept.permissions = TICKET_MODIFY
create = <none> -> new
create.default = 1
create_and_assign = <none> -> assigned
create_and_assign.label = assign
create_and_assign.operations = may_set_owner
create_and_assign.permissions = TICKET_MODIFY
leave = assigned,new,reviewing,accepted,reopened,closed -> *
leave.default = 1000
leave.name = 初始化
leave.operations = leave_status
reassign = assigned,new,reviewing,accepted,reopened -> assigned
reassign.default = 995
reassign.name = 指派
reassign.operations = set_owner
reassign.permissions = TICKET_MODIFY
reassign_reviewing = reviewing -> *
reassign_reviewing.default = 994
reassign_reviewing.name = 重新提交审查
reassign_reviewing.operations = set_owner
reassign_reviewing.permissions = TICKET_MODIFY
reopen = closed -> reopened
reopen.default = 996
reopen.name = 激活任务
reopen.operations = del_resolution
reopen.permissions = TICKET_CREATE
resolve = reviewing,reopened -> closed
resolve.default = 999
resolve.name = 关闭任务
resolve.operations = set_resolution
resolve.permissions = TICKET_MODIFY
review = assigned -> reviewing
review.default = 998
review.name = 提交审查
review.operations = set_owner
review.permissions = TICKET_MODIFY

[ticketext]
事务.enablefields = project,due_date
事务.template =
其他.enablefields = project,due_date
其他.template =
开发.enablefields = project,due_date
开发.template = [背景]\n\n[思路]\n
测试.enablefields = project,due_date
测试.template =
界面.enablefields = project,due_date
界面.template =
研究.enablefields = project,due_date
研究.template =
缺陷.enablefields = project,due_date
缺陷.template = [步骤]\n\n[结果]\n\n[期望]\n
讨论.enablefields = project,due_date
讨论.template =
设计.enablefields = project,due_date
设计.template =

[timeline]
abbreviated_messages = enabled
changeset_collapse_events = disabled
changeset_long_messages = disabled
changeset_show_files = 0
default_daysback = 30
max_daysback = 90
newticket_formatter = oneliner
ticket_show_details = disabled

[trac]
auth_cookie_lifetime = 0
auth_cookie_path =
auto_preview_timeout = 2.0
auto_reload = disabled
backup_dir = db
base_url = http://trac.xxx.com/trac/xxx
check_auth_ip = disabled
database = mysql://root:[email protected]/trac
debug_sql = disabled
default_charset = utf-8
default_date_format = iso8601
default_dateinfo_format = relative
default_handler = WikiModule
default_language = zh_CN
default_timezone = Asia/Shanghai
genshi_cache_size = 256
htdocs_location =
ignore_auth_case = disabled
jquery_location =
jquery_ui_location =
jquery_ui_theme_location =
mysqldump_path = mysqldump
never_obfuscate_mailto = disabled
permission_policies = 
ReadonlyWikiPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
pg_dump_path = pg_dump
resizable_textareas = enabled
secure_cookies = disabled
show_email_addresses = disabled
show_ip_addresses = disabled
timeout = 20
use_base_url_for_redirect = disabled
use_chunked_encoding = disabled
use_xsendfile = disabled
wiki_toolbars = enabled
xsendfile_header = X-Sendfile

[userpictures]
pictures_provider = UserPicturesUserManagerProvider

[versioncontrol]
allowed_repository_dir_prefixes =
default_repository_type = svn

[wiki]
ignore_missing_pages = disabled
max_size = 10485760
render_unsafe_content = disabled
safe_schemes = cvs,file,ftp,git,irc,http,https,news,sftp,smb,ssh,svn,svn+ssh
split_page_names = disabled

[workflow-admin]
auto_update_interval = 3000
default_editor = gui
diagram_cache = disabled
diagram_colors = #0000ff,#006600,#ff0000,#666600,#ff00ff
diagram_font = sans-serif
diagram_fontsize = 10.0
diagram_size = 6, 6
dot_path = dot
operations = 
del_owner,set_owner,set_owner_to_self,del_resolution,set_resolution,leave_status,may_set_owner


 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to