Sep
29
Custom reports for Trac
September 29, 2009 | Leave a Comment
Created two custom reports which help in listing all the requirements in a project and estimating the effort required.
Milestone-wise breakup report
query:?status=accepted
&
status=assigned
&
status=closed
&
status=new
&
status=reopened
&
group=milestone
&
order=priority
&
report=9
&
col=id
&
col=summary
&
col=status
&
col=type
&
col=priority
&
col=component
&
col=keywords
&
owner=admin
Component-wise effort estimation report
query:?status=accepted
&
status=assigned
&
status=new
&
status=closed
&
status=reopened
&
group=component
&
order=id
&
col=id
&
col=summary
&
col=type
&
col=milestone
&
col=estimatedeffort
&
col=billable
&
row=description
Sep
29
Custom fields in Trac environment
September 29, 2009 | Leave a Comment
Let us suit our trac environment to accomodate custom fields which are useful in reports. I added two fields billable activity which is a checkbox and estimated effort in man days which is textbox.
To do this we edit the trac.ini in the project/conf folder
#vim /trac/project/conf/trac.ini
We add the following lines.
[ticket-custom]
billable = checkbox
billable.label = Billable Activity
billable.value = [...]
Sep
28
Edit any remote page
September 28, 2009 | Leave a Comment
You can edit any remote page with the following javascript code in browser
javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0
To bring it back to non-editable state
javascript:document.body.contentEditable=’false’; document.designMode=’off’; void 0