[Trac] TracSVNPoliciesPlugin: the encoding of the svn commit log

2009-06-17 Thread Jessie

Hi all,

I have installed TracSVNPoliciesPlugin 0.2 on trac 0.11 environment
and used it to notify the svn log message. It works well with English
log message. But when I used a Chinese log message, it can't display
Chinese correctly. It displayed the following message:

Log Message
?\229?\176?\135client_id?\230?\148?\185?\230?\136?\144?\229?\190?\158?
\232?\168 

It looks like an utf-8 encoding of the Chinese string.
Please help me to resolve this problem.
Thanks.


Jessie.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Viewing roadmap permissions

2009-06-17 Thread David Brown

Chris Heller wrote:
 In 0.11.1 the roadmap nav requires ROADMAP_VIEW in order for it to
 show up in the navigation.
 
 http://trac.edgewall.org/browser/tags/trac-0.11.1/trac/ticket/roadmap.py#L306
 
 What's strange is that in 0.11.1 ROADMAP_VIEW was the only permission
 associated with the URL itself.  In the current 0.11.x code, this now
 also provides the relevant actions for ROADMAP_ADMIN.
 
 http://trac.edgewall.org/browser/tags/trac-0.11.4/trac/ticket/roadmap.py#L306
 
 Is your trac/ticket/roadmap.py patched somehow?

No, it's not patched as far as I know (Debian sometimes make changes 
from upstream in their packages, but the 0.11.1 version on the website 
matches my copy, as far as I can see).

 
 Either way, sounds like granting ROADMAP_VIEW to anyone with
 ROADMAP_ADMIN would solve the problem.
 

Yes, that solved my problem.  Many thanks!

mvh.,

David



 On Tue, Jun 16, 2009 at 7:51 AM, David Brownda...@westcontrol.com wrote:

 I've got trac 0.11.1 installed (since that's the current Debian
 version), though I can update that if needed.

 I've been trying to set up a trac server with different sets of
 permissions for different groups of people.  For example, I have a group
 manager who are allowed to view, create and modify some features, but
 don't have all administrator permissions.  The permissions they have are:

 MILESTONE_ADMIN
 REPORT_ADMIN
 TICKET_CREATE
 TICKET_MODIFY
 TICKET_VIEW
 TIMELINE_VIEW
 WIKI_CREATE
 WIKI_MODIFY


 My problem at the moment is that when logged in as a manager, there is
 no Roadmap button between Timeline and View Tickets (there is no
 Browse Source either, but that's intentional - they don't have
 BROWSER_VIEW permission).

 If I type the URL ...project/roadmap/ directly in a browser, the
 manager has full access to view, modify and add milestones as
 expected.  It's just the standard Roadmap button that's missing.

 Am I doing something wrong here, or have I found a bug?

 mvh.,

 David



 
  
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Controlling access to parts of a wiki and tickets

2009-06-17 Thread David Brown

Chris Heller wrote:
 There are two plugins on trac-hacks that will help you.  The private
 wiki plugin and the private tickets plugin.
 

Many thanks - these look like the plugins I'm looking for.  I'm not sure 
how I missed them while looking through the lists of plugins (perhaps 
because there are so many!).

The PrivateWiki plugin needs a patch to restrict anonymous access, as 
described in one of the bug tickets for the plugin.  The patch is 
working fine, but I thought I'd mention it here in case anyone else is 
reading this.  With the patch in place, this is working nicely.

I see there is also a VirtualTicketPermissions plugin, which seems to 
do almost the same thing as PrivateTickets.  Have you any ideas about 
the differences?

mvh.,

David



 On Tue, Jun 16, 2009 at 7:51 AM, David Brownda...@westcontrol.com wrote:
 Is it possible to limit access to different parts of a wiki to different
 users (or groups of users)?

 What about tickets - can they be limited to different users?  Ideally,
 I'd like general users to be able to create tickets and then view the
 ticket and its history, and also add comments to the ticket.  But the
 general users could only view tickets that they create themselves -
 others would be invisible to them.

 Is something like that possible, or should I just re-think my
 requirements (such as perhaps setting up two separate trac environments)?

 mvh.,

 David



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Finding broken wiki links

2009-06-17 Thread RobinP

Hi Folks,

I've just moved some stuff around in my source code, and now some of
my Trac links are broken.  Is there any way of finding all broken
links so I can fix them?  Thx.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Last Modified By

2009-06-17 Thread Chris Carr

Originally sent to the trac-hacks users ML, which seems to have no
traffic, so re-sending here. Grateful for any thoughts on how to do this
and whether it's already been done:

On Sat, 2009-06-13 at 11:11 +0100, Chris Carr wrote:
 Hi all,
 
 I'm looking to add a custom Last Modified By field to Trac tickets,
 which is automatically populated with the $USER of the last person to
 comment on or modify the ticket. Before I started, I thought I would see
 if anything similar was out there. I've looked on trac-hacks, and I
 can't see anything related except the CustomFieldAdmin and
 CustomFieldProvider plugins. Does anyone know whether what I want has
 already been done, either by using these plugins or some other way?
 
 (I've also looked at trac.edgewall.org but I can't see any tickets about
 this there. When I asked in #8371 I got pointed towards custom fields,
 hence my assumption that it could be done that way.)
 
 Grateful for any thoughts - is it worth putting this on Request-a-hack?
 
 Regards,
 
 CC


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Combine multiple row data into single column by a single line sql query

2009-06-17 Thread rishikesh

Hello,

i use following query to display ticket's all status in one line
rather multi-line.

select ticket,group_concat(newvalue) from ticket_change
where
ticket=75 and field='status'

Output of query is

75 | new,assigned,closed

it means i combine multiple row data  into single column by a sql
query.

But when i put above query in trac for report generation, it raise
error

 Report execution failed: no such function: group_concat 

is any other alternative way to get above result using sql query ??

Thanks,
Rishikesh

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Dan Winslow
...

Ok, I am trying to access the ticket[] elements. How might I do that?

 



From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Noah Kantrowitz
Sent: Tuesday, June 16, 2009 4:04 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: access to the ticket array

 

Please ask questions about what you actually trying to _do_, not
specific implementation details.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:52 PM
To: trac-users@googlegroups.com
Subject: [Trac] access to the ticket array

 

I am in some plugin source, and I would like to access the ticket[]
array. It's not available in the class I am in :

 

class TicketTweaks(Component):

implements(ITemplateStreamFilter, ITemplateProvider,
IPermissionRequestor)

 

I am guessing because it does not do some of this ( from another plugin
)

 

from trac.core import *

from trac.ticket import ITicketManipulator

from trac.ticket import TicketSystem

 

class RequiredFieldValidator(Component):

Basic ticket validator for required fields

 

implements(ITicketManipulator)

 

I guess this because the ticket[] array *is* visible in the second
plugin. Can I just add the import for trac.ticket.TicketSystem? Or must
I also implement the ITicketManipulator interface?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.org

 

 

 





--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Printing out request

2009-06-17 Thread Dan Winslow

Sounds good...not quite sure what you mean by

 and then include param debug=true in URL
(disregarding the URL you 'r accessing ;)

though. If I disregard the URL I'm accessing then where do I put the debug=true?

Also, I did install the plugin and I get this :


Oops...
Trac detected an internal error:

IndexError: list index out of range

 Python Traceback  {{{ Traceback (most recent call last): File 
/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py, line 
435, in _dispatch_request dispatcher.dispatch(req) File 
/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py, line 
227, in dispatch data, content_type) File 
/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/chrome.py, 
line 742, in render_template stream.render(method, doctype=doctype, out=buffer) 
File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py,
 line 179, in render File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/output.py,
 line 61, in encode File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/output.py,
 line 311, in __call__ File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/output.py,
 line 753, in __call__ File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/output.py,
 line 592, in __call__ File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/output.py,
 line 698, in __call__ File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/output.py,
 line 532, in __call__ File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py,
 line 283, in _ensure File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py,
 line 283, in _ensure File 
/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/chrome.py, 
line 807, in _strip_accesskeys for kind, data, pos in stream: File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py,
 line 283, in _ensure File 
/usr/lib/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/chrome.py, 
line 796, in _generate for kind, data, pos in stream: File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py,
 line 283, in _ensure File 
/usr/lib/python2.4/site-packages/Genshi-0.5.1-py2.4-linux-i686.egg/genshi/core.py,
 line 283, in _ensure File build/bdist.linux-i686/egg/tracdeveloper/log.py, 
line 64, in fn IndexError: list index out of range }}} a new ticket at the Trac 
project site, where you can describe the problem and explain how to reproduce 
it.

TracDeveloper plugin and then include param debug=true in URL
(disregarding the URL you 'r accessing ;) and you'll get back lots of
debug info instead of page contents . You'll see req structure inside
rendering context and many other useful things too ;)

That plugin's great !

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Lo que es tuyo, mío y de todos ... La polémica de los datos  -
http://feedproxy.google.com/~r/simelo-es/~3/uewBy5tX6wg/lo-que-es-tuyo-mio-y-de-todos-la.html



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Last Modified By

2009-06-17 Thread yoheeb

On Jun 17, 2:59 am, Chris Carr ranting...@gmail.com wrote:
 Originally sent to the trac-hacks users ML, which seems to have no
 traffic, so re-sending here. Grateful for any thoughts on how to do this
 and whether it's already been done:

 On Sat, 2009-06-13 at 11:11 +0100, Chris Carr wrote:
  Hi all,

  I'm looking to add a custom Last Modified By field to Trac tickets,
  which is automatically populated with the $USER of the last person to
  comment on or modify the ticket. Before I started, I thought I would see
  if anything similar was out there. I've looked on trac-hacks, and I
  can't see anything related except the CustomFieldAdmin and
  CustomFieldProvider plugins. Does anyone know whether what I want has
  already been done, either by using these plugins or some other way?

  (I've also looked at trac.edgewall.org but I can't see any tickets about
  this there. When I asked in #8371 I got pointed towards custom fields,
  hence my assumption that it could be done that way.)

  Grateful for any thoughts - is it worth putting this on Request-a-hack?

  Regards,

  CC

This information is already available in the ticket history.  Really
it's just a matter of extracting this information for reporting
purposes (I assume) since it is displayed in the ticket history.  Some
SQL-fu should probably take care of what you are after.  I,
unfortunately, and an SQL nit-wit.  But I am sure someone can answer
it.  if it hasn't already been shown somewhere in this user group.

also, if it's just a viewing issue, and you really don't want to
scroll to the bottom of hte ticket change history, you can click on
the link in Last Change xMonths ago
which will take you to the timeline, and highlight the particular
change in question, which also shows the whom in this equation.

Just some thoughts.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Does Trac really work on Windows

2009-06-17 Thread yoheeb


 Question 1. Does Trac really work on Windows? I am beginning to doubt
 it.
yes, it does.

You have already decided in your mind, that since it's not on Linux,
it must be crap.  You also decided to substituted a bunch of non-
supported components, that probably should work, and decided since
it doesn't, it's crap.

in other words, you did this:
So, I put this brand new Ford engine in my old Chevy, and would you
believe, the parts didn't just FIT out of the box, and it had this
requirement for some-sort of on-board computer my old Chevy didn't
have.  boy, Ford makes crappy engines.  Cuz, I'm a  great mechanic,
and if I can't make it work with the stuff I have in my garage, it
just isn't worth nuttin.

I would push back on your boss, and tell him, hey, VisualSVN isn't the
way to go here, it might not ever work, or, take a great deal of time/
effort/and stress to get it up and running.

Even if you went Linux, and used untested/unsupported parts,  you
might have the same issues.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Dan Winslow
I suspect that the ticket{} elements are present in the req, too, but as
I can't see the structure of req I don't know.

 



From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Dan Winslow
Sent: Wednesday, June 17, 2009 7:31 AM
To: trac-users@googlegroups.com
Subject: [Trac] Re: access to the ticket array

 

...

Ok, I am trying to access the ticket[] elements. How might I do that?

 



From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Noah Kantrowitz
Sent: Tuesday, June 16, 2009 4:04 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: access to the ticket array

 

Please ask questions about what you actually trying to _do_, not
specific implementation details.

 

--Noah

 

From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Dan Winslow
Sent: Tuesday, June 16, 2009 1:52 PM
To: trac-users@googlegroups.com
Subject: [Trac] access to the ticket array

 

I am in some plugin source, and I would like to access the ticket[]
array. It's not available in the class I am in :

 

class TicketTweaks(Component):

implements(ITemplateStreamFilter, ITemplateProvider,
IPermissionRequestor)

 

I am guessing because it does not do some of this ( from another plugin
)

 

from trac.core import *

from trac.ticket import ITicketManipulator

from trac.ticket import TicketSystem

 

class RequiredFieldValidator(Component):

Basic ticket validator for required fields

 

implements(ITicketManipulator)

 

I guess this because the ticket[] array *is* visible in the second
plugin. Can I just add the import for trac.ticket.TicketSystem? Or must
I also implement the ITicketManipulator interface?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.org

 

 

 

 






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Deduplicating the timeline

2009-06-17 Thread Chris Mulligan

Our trac has gotten vastly more busy recently as we bring more
projects into one install. I have one idea on how to help smooth the
amount of work our team goes through. I'd like to dedupe the timeline
so it only shows each unique wiki page/ticket once, for the last time
it was edited. So if there were 8 edits to ticket 12345 it would only
show up once, at the time of the last edit.

Has anyone seen a plugin to do this, or something like it? Seems like
it wouldn't be that hard to implement, although I haven't worked with
the timeline code before.

Thanks,
Chris

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] action.permissions

2009-06-17 Thread Dan Winslow
If I list more than one permission on a workflow spec, such as

 

Someoperation.permissions = TICKET_VIEW,TICKET_IS_OWNER

 

Does that mean they are *both* required, or just that any one of them
is?

 

Dan Winslow
Director of Information Technology, AIM INSTITUTE
1905 Harney Street, Suite 700
Omaha, NE 68102
402-345-5025 x156
dwins...@aiminstitute.org
www.aiminstitute.org

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Finding broken wiki links

2009-06-17 Thread Noah Kantrowitz

Not really, certainly nothing easy or simple.

--Noah

On Jun 17, 2009, at 2:33 AM, RobinP wrote:


 Hi Folks,

 I've just moved some stuff around in my source code, and now some of
 my Trac links are broken.  Is there any way of finding all broken
 links so I can fix them?  Thx.
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Noah Kantrowitz

You are still asking about implementation details. What are you trying  
to _do_.

--Noah

On Jun 17, 2009, at 8:14 AM, Dan Winslow wrote:

 I suspect that the ticket{} elements are present in the req, too,  
 but as I can’t see the structure of req I don’t know.

 From: trac-users@googlegroups.com [mailto:trac- 
 us...@googlegroups.com] On Behalf Of Dan Winslow
 Sent: Wednesday, June 17, 2009 7:31 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array

 …
 Ok, I am trying to access the ticket[] elements. How might I do that?

 From: trac-users@googlegroups.com [mailto:trac- 
 us...@googlegroups.com] On Behalf Of Noah Kantrowitz
 Sent: Tuesday, June 16, 2009 4:04 PM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array

 Please ask questions about what you actually trying to _do_, not  
 specific implementation details.

 --Noah

 From: trac-users@googlegroups.com [mailto:trac- 
 us...@googlegroups.com] On Behalf Of Dan Winslow
 Sent: Tuesday, June 16, 2009 1:52 PM
 To: trac-users@googlegroups.com
 Subject: [Trac] access to the ticket array

 I am in some plugin source, and I would like to access the ticket[]  
 array. It’s not available in the class I am in :

 class TicketTweaks(Component):
 implements(ITemplateStreamFilter, ITemplateProvider,  
 IPermissionRequestor)

 I am guessing because it does not do some of this ( from another  
 plugin )

 from trac.core import *
 from trac.ticket import ITicketManipulator
 from trac.ticket import TicketSystem

 class RequiredFieldValidator(Component):
 Basic ticket validator for required fields

 implements(ITicketManipulator)

 I guess this because the ticket[] array *is* visible in the second  
 plugin. Can I just add the import for trac.ticket.TicketSystem? Or  
 must I also implement the ITicketManipulator interface?

 Dan Winslow
 Director of Information Technology, AIM INSTITUTE
 1905 Harney Street, Suite 700
 Omaha, NE 68102
 402-345-5025 x156
 dwins...@aiminstitute.org
 www.aiminstitute.org






 




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Dan Winslow

Noah, I'm sorry but I don't understand what you are getting at in this
case. You ask me what I am trying to do, and I say 'I am trying to get
access to the elements of the ticket'. You say 'Yes, but what are you
trying to do?' This confuses me.

So, I don't know what to say. I suppose I could tell you exactly what
ticket field I happen to interested in, and why, but my question is
really just generally how to access any fields of the ticket. If you
don't know, or if my question doesn't make sense, then just say so. 

For instance, you could say 'well, there's no such thing as a 'ticket'
per se, so if you tell me what field you want I can tell you where it is
in the ever-mysterious req structure', or something along those lines,
rather than ' .. what are you trying to _do_'.

Anyways, I can't really help asking about implementation details
because, in fact, implementation details are exactly what I want. I want
to get a hold of the values of the ticket, and for that I need
implementation details. Like this, for instance :

try:
tkt = Ticket(self.env, res.id)
except TracError:
return None # Ticket doesn't exist

Ah! There's a ticket constructor in the trac.ticket.model stuff.
Wonderful. I even asked about that import in my first post. Which (I
think) is exactly what I need, and I found it after having spent about 5
hours today, which I couldn't afford, roaming around inside the
implementation details of several plugins.



-Original Message-
From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Noah Kantrowitz
Sent: Wednesday, June 17, 2009 11:47 AM
To: trac-users@googlegroups.com
Subject: [Trac] Re: access to the ticket array


You are still asking about implementation details. What are you trying  
to _do_.

--Noah

On Jun 17, 2009, at 8:14 AM, Dan Winslow wrote:

 I suspect that the ticket{} elements are present in the req, too,  
 but as I can't see the structure of req I don't know.

 From: trac-users@googlegroups.com [mailto:trac- 
 us...@googlegroups.com] On Behalf Of Dan Winslow
 Sent: Wednesday, June 17, 2009 7:31 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array

 ...
 Ok, I am trying to access the ticket[] elements. How might I do that?

 From: trac-users@googlegroups.com [mailto:trac- 
 us...@googlegroups.com] On Behalf Of Noah Kantrowitz
 Sent: Tuesday, June 16, 2009 4:04 PM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array

 Please ask questions about what you actually trying to _do_, not  
 specific implementation details.

 --Noah

 From: trac-users@googlegroups.com [mailto:trac- 
 us...@googlegroups.com] On Behalf Of Dan Winslow
 Sent: Tuesday, June 16, 2009 1:52 PM
 To: trac-users@googlegroups.com
 Subject: [Trac] access to the ticket array

 I am in some plugin source, and I would like to access the ticket[]  
 array. It's not available in the class I am in :

 class TicketTweaks(Component):
 implements(ITemplateStreamFilter, ITemplateProvider,  
 IPermissionRequestor)

 I am guessing because it does not do some of this ( from another  
 plugin )

 from trac.core import *
 from trac.ticket import ITicketManipulator
 from trac.ticket import TicketSystem

 class RequiredFieldValidator(Component):
 Basic ticket validator for required fields

 implements(ITicketManipulator)

 I guess this because the ticket[] array *is* visible in the second  
 plugin. Can I just add the import for trac.ticket.TicketSystem? Or  
 must I also implement the ITicketManipulator interface?

 Dan Winslow
 Director of Information Technology, AIM INSTITUTE
 1905 Harney Street, Suite 700
 Omaha, NE 68102
 402-345-5025 x156
 dwins...@aiminstitute.org
 www.aiminstitute.org






 






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Noah Kantrowitz

You asked specifically about how to access some ticket array (still not sure
what you meant by that) and about the fields on a req. If you had asked How
do I access the fields of a ticket from code? someone would have been able
to give you an answer almost instantly. The difference is subtle, but
important.

--Noah

 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of Dan Winslow
 Sent: Wednesday, June 17, 2009 10:27 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array
 
 
 Noah, I'm sorry but I don't understand what you are getting at in this
 case. You ask me what I am trying to do, and I say 'I am trying to get
 access to the elements of the ticket'. You say 'Yes, but what are you
 trying to do?' This confuses me.
 
 So, I don't know what to say. I suppose I could tell you exactly what
 ticket field I happen to interested in, and why, but my question is
 really just generally how to access any fields of the ticket. If you
 don't know, or if my question doesn't make sense, then just say so.
 
 For instance, you could say 'well, there's no such thing as a 'ticket'
 per se, so if you tell me what field you want I can tell you where it
 is
 in the ever-mysterious req structure', or something along those lines,
 rather than ' .. what are you trying to _do_'.
 
 Anyways, I can't really help asking about implementation details
 because, in fact, implementation details are exactly what I want. I
 want
 to get a hold of the values of the ticket, and for that I need
 implementation details. Like this, for instance :
 
 try:
 tkt = Ticket(self.env, res.id)
 except TracError:
 return None # Ticket doesn't exist
 
 Ah! There's a ticket constructor in the trac.ticket.model stuff.
 Wonderful. I even asked about that import in my first post. Which (I
 think) is exactly what I need, and I found it after having spent about
 5
 hours today, which I couldn't afford, roaming around inside the
 implementation details of several plugins.
 
 
 
 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of Noah Kantrowitz
 Sent: Wednesday, June 17, 2009 11:47 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array
 
 
 You are still asking about implementation details. What are you trying
 to _do_.
 
 --Noah
 
 On Jun 17, 2009, at 8:14 AM, Dan Winslow wrote:
 
  I suspect that the ticket{} elements are present in the req, too,
  but as I can't see the structure of req I don't know.
 
  From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com] On Behalf Of Dan Winslow
  Sent: Wednesday, June 17, 2009 7:31 AM
  To: trac-users@googlegroups.com
  Subject: [Trac] Re: access to the ticket array
 
  ...
  Ok, I am trying to access the ticket[] elements. How might I do that?
 
  From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com] On Behalf Of Noah Kantrowitz
  Sent: Tuesday, June 16, 2009 4:04 PM
  To: trac-users@googlegroups.com
  Subject: [Trac] Re: access to the ticket array
 
  Please ask questions about what you actually trying to _do_, not
  specific implementation details.
 
  --Noah
 
  From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com] On Behalf Of Dan Winslow
  Sent: Tuesday, June 16, 2009 1:52 PM
  To: trac-users@googlegroups.com
  Subject: [Trac] access to the ticket array
 
  I am in some plugin source, and I would like to access the ticket[]
  array. It's not available in the class I am in :
 
  class TicketTweaks(Component):
  implements(ITemplateStreamFilter, ITemplateProvider,
  IPermissionRequestor)
 
  I am guessing because it does not do some of this ( from another
  plugin )
 
  from trac.core import *
  from trac.ticket import ITicketManipulator
  from trac.ticket import TicketSystem
 
  class RequiredFieldValidator(Component):
  Basic ticket validator for required fields
 
  implements(ITicketManipulator)
 
  I guess this because the ticket[] array *is* visible in the second
  plugin. Can I just add the import for trac.ticket.TicketSystem? Or
  must I also implement the ITicketManipulator interface?
 
  Dan Winslow
  Director of Information Technology, AIM INSTITUTE
  1905 Harney Street, Suite 700
  Omaha, NE 68102
  402-345-5025 x156
  dwins...@aiminstitute.org
  www.aiminstitute.org
 
 
 
 
 
 
  
 
 
 
 
 
 
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: access to the ticket array

2009-06-17 Thread Dan Winslow

Yes, I can see that, now you mention it. I had assumed this was a
developer/coder list...when actually it's named 'trac-users'. Is there a
more targeted list for developers?

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
On Behalf Of Noah Kantrowitz
Sent: Wednesday, June 17, 2009 12:57 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: access to the ticket array


You asked specifically about how to access some ticket array (still not
sure
what you meant by that) and about the fields on a req. If you had asked
How
do I access the fields of a ticket from code? someone would have been
able
to give you an answer almost instantly. The difference is subtle, but
important.

--Noah

 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of Dan Winslow
 Sent: Wednesday, June 17, 2009 10:27 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array
 
 
 Noah, I'm sorry but I don't understand what you are getting at in this
 case. You ask me what I am trying to do, and I say 'I am trying to get
 access to the elements of the ticket'. You say 'Yes, but what are you
 trying to do?' This confuses me.
 
 So, I don't know what to say. I suppose I could tell you exactly what
 ticket field I happen to interested in, and why, but my question is
 really just generally how to access any fields of the ticket. If you
 don't know, or if my question doesn't make sense, then just say so.
 
 For instance, you could say 'well, there's no such thing as a 'ticket'
 per se, so if you tell me what field you want I can tell you where it
 is
 in the ever-mysterious req structure', or something along those lines,
 rather than ' .. what are you trying to _do_'.
 
 Anyways, I can't really help asking about implementation details
 because, in fact, implementation details are exactly what I want. I
 want
 to get a hold of the values of the ticket, and for that I need
 implementation details. Like this, for instance :
 
 try:
 tkt = Ticket(self.env, res.id)
 except TracError:
 return None # Ticket doesn't exist
 
 Ah! There's a ticket constructor in the trac.ticket.model stuff.
 Wonderful. I even asked about that import in my first post. Which (I
 think) is exactly what I need, and I found it after having spent about
 5
 hours today, which I couldn't afford, roaming around inside the
 implementation details of several plugins.
 
 
 
 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of Noah Kantrowitz
 Sent: Wednesday, June 17, 2009 11:47 AM
 To: trac-users@googlegroups.com
 Subject: [Trac] Re: access to the ticket array
 
 
 You are still asking about implementation details. What are you trying
 to _do_.
 
 --Noah
 
 On Jun 17, 2009, at 8:14 AM, Dan Winslow wrote:
 
  I suspect that the ticket{} elements are present in the req, too,
  but as I can't see the structure of req I don't know.
 
  From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com] On Behalf Of Dan Winslow
  Sent: Wednesday, June 17, 2009 7:31 AM
  To: trac-users@googlegroups.com
  Subject: [Trac] Re: access to the ticket array
 
  ...
  Ok, I am trying to access the ticket[] elements. How might I do
that?
 
  From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com] On Behalf Of Noah Kantrowitz
  Sent: Tuesday, June 16, 2009 4:04 PM
  To: trac-users@googlegroups.com
  Subject: [Trac] Re: access to the ticket array
 
  Please ask questions about what you actually trying to _do_, not
  specific implementation details.
 
  --Noah
 
  From: trac-users@googlegroups.com [mailto:trac-
  us...@googlegroups.com] On Behalf Of Dan Winslow
  Sent: Tuesday, June 16, 2009 1:52 PM
  To: trac-users@googlegroups.com
  Subject: [Trac] access to the ticket array
 
  I am in some plugin source, and I would like to access the ticket[]
  array. It's not available in the class I am in :
 
  class TicketTweaks(Component):
  implements(ITemplateStreamFilter, ITemplateProvider,
  IPermissionRequestor)
 
  I am guessing because it does not do some of this ( from another
  plugin )
 
  from trac.core import *
  from trac.ticket import ITicketManipulator
  from trac.ticket import TicketSystem
 
  class RequiredFieldValidator(Component):
  Basic ticket validator for required fields
 
  implements(ITicketManipulator)
 
  I guess this because the ticket[] array *is* visible in the second
  plugin. Can I just add the import for trac.ticket.TicketSystem? Or
  must I also implement the ITicketManipulator interface?
 
  Dan Winslow
  Director of Information Technology, AIM INSTITUTE
  1905 Harney Street, Suite 700
  Omaha, NE 68102
  402-345-5025 x156
  dwins...@aiminstitute.org
  www.aiminstitute.org
 
 
 
 
 
 
  
 
 
 
 
 
 
 




--~--~-~--~~~---~--~~
You received this message because you are 

[Trac] Re: access to the ticket array

2009-06-17 Thread Emmanuel Blot

 Yes, I can see that, now you mention it. I had assumed this was a
 developer/coder list...when actually it's named 'trac-users'. Is there a
 more targeted list for developers?

trac-users is fine for this kind of questions, but it still easier to
understand what you want/need to do at first.

Cheers
Manu

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Last Modified By

2009-06-17 Thread Chris Carr

On Wed, 2009-06-17 at 07:26 -0700, yoheeb wrote:
 On Jun 17, 2:59 am, Chris Carr ranting...@gmail.com wrote:
  Originally sent to the trac-hacks users ML, which seems to have no
  traffic, so re-sending here. Grateful for any thoughts on how to do this
  and whether it's already been done:
 
  On Sat, 2009-06-13 at 11:11 +0100, Chris Carr wrote:
   Hi all,
 
   I'm looking to add a custom Last Modified By field to Trac tickets,
   which is automatically populated with the $USER of the last person to
   comment on or modify the ticket. Before I started, I thought I would see
   if anything similar was out there. I've looked on trac-hacks, and I
   can't see anything related except the CustomFieldAdmin and
   CustomFieldProvider plugins. Does anyone know whether what I want has
   already been done, either by using these plugins or some other way?
 
   (I've also looked at trac.edgewall.org but I can't see any tickets about
   this there. When I asked in #8371 I got pointed towards custom fields,
   hence my assumption that it could be done that way.)
 
   Grateful for any thoughts - is it worth putting this on Request-a-hack?
 
   Regards,
 
   CC
 
 This information is already available in the ticket history.  Really
 it's just a matter of extracting this information for reporting
 purposes (I assume) since it is displayed in the ticket history.  Some
 SQL-fu should probably take care of what you are after.  I,
 unfortunately, and an SQL nit-wit.  But I am sure someone can answer
 it.  if it hasn't already been shown somewhere in this user group.
 
 also, if it's just a viewing issue, and you really don't want to
 scroll to the bottom of hte ticket change history, you can click on
 the link in Last Change xMonths ago
 which will take you to the timeline, and highlight the particular
 change in question, which also shows the whom in this equation.
 
 Just some thoughts.

Thanks. I should have said first time around - I'm aware that the
information can be extracted by SQL-fu, e.g. using the Reports module.
What I want to do is be able to see it using the Query module (because
the reports module is deprecated according to
trac.edgewall.org/wiki/TracReports). 

In the Query module, I want to be able to select Last Modified By as a
filter (e.g. to filter out tickets last modified by me), and I want to
be able to show Last Modified By as a column.

I'd be grateful to know if anyone has done either of these things in the
Query module, and if so how. 

Many thanks,

Chris


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Controlling access to parts of a wiki and tickets

2009-06-17 Thread RJOllos

I had also wanted to implement restricted access to the wiki pages,
and the fine people at the hosting company I use (wush.net) pointed me
here: http://trac.edgewall.org/wiki/TracFineGrainedPermissions, and to
this plug-in: 
http://trac.edgewall.org/browser/branches/0.11-stable/sample-plugins/permissions/authz_policy.py

On Jun 17, 1:23 am, David Brown da...@westcontrol.com wrote:
 Chris Heller wrote:
  There are two plugins on trac-hacks that will help you.  The private
  wiki plugin and the private tickets plugin.

 Many thanks - these look like the plugins I'm looking for.  I'm not sure
 how I missed them while looking through the lists of plugins (perhaps
 because there are so many!).

 The PrivateWiki plugin needs a patch to restrict anonymous access, as
 described in one of the bug tickets for the plugin.  The patch is
 working fine, but I thought I'd mention it here in case anyone else is
 reading this.  With the patch in place, this is working nicely.

 I see there is also a VirtualTicketPermissions plugin, which seems to
 do almost the same thing as PrivateTickets.  Have you any ideas about
 the differences?

 mvh.,

 David

  On Tue, Jun 16, 2009 at 7:51 AM, David Brownda...@westcontrol.com wrote:
  Is it possible to limit access to different parts of a wiki to different
  users (or groups of users)?

  What about tickets - can they be limited to different users?  Ideally,
  I'd like general users to be able to create tickets and then view the
  ticket and its history, and also add comments to the ticket.  But the
  general users could only view tickets that they create themselves -
  others would be invisible to them.

  Is something like that possible, or should I just re-think my
  requirements (such as perhaps setting up two separate trac environments)?

  mvh.,

  David
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Controlling access to parts of a wiki and tickets

2009-06-17 Thread Dan Winslow

VirtualTickets allows you to restrict workflow actions based on whether the 
current user is the owner or reporter or on the CC list. It works well and is 
something badly needed...however, so far as I can tell it does not restrict 
form field visibility or enabled-ness. I am still looking for a way to mark 
fields visible or non-updateable based on whether the viewer is the 
owner/reporter.

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com] On 
Behalf Of RJOllos
Sent: Wednesday, June 17, 2009 2:12 PM
To: Trac Users
Subject: [Trac] Re: Controlling access to parts of a wiki and tickets


I had also wanted to implement restricted access to the wiki pages,
and the fine people at the hosting company I use (wush.net) pointed me
here: http://trac.edgewall.org/wiki/TracFineGrainedPermissions, and to
this plug-in: 
http://trac.edgewall.org/browser/branches/0.11-stable/sample-plugins/permissions/authz_policy.py

On Jun 17, 1:23 am, David Brown da...@westcontrol.com wrote:
 Chris Heller wrote:
  There are two plugins on trac-hacks that will help you.  The private
  wiki plugin and the private tickets plugin.

 Many thanks - these look like the plugins I'm looking for.  I'm not sure
 how I missed them while looking through the lists of plugins (perhaps
 because there are so many!).

 The PrivateWiki plugin needs a patch to restrict anonymous access, as
 described in one of the bug tickets for the plugin.  The patch is
 working fine, but I thought I'd mention it here in case anyone else is
 reading this.  With the patch in place, this is working nicely.

 I see there is also a VirtualTicketPermissions plugin, which seems to
 do almost the same thing as PrivateTickets.  Have you any ideas about
 the differences?

 mvh.,

 David

  On Tue, Jun 16, 2009 at 7:51 AM, David Brownda...@westcontrol.com wrote:
  Is it possible to limit access to different parts of a wiki to different
  users (or groups of users)?

  What about tickets - can they be limited to different users?  Ideally,
  I'd like general users to be able to create tickets and then view the
  ticket and its history, and also add comments to the ticket.  But the
  general users could only view tickets that they create themselves -
  others would be invisible to them.

  Is something like that possible, or should I just re-think my
  requirements (such as perhaps setting up two separate trac environments)?

  mvh.,

  David


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] [task] Locking Ticket # while working on it?

2009-06-17 Thread Lukasz Szybalski

Hello,
We have setup our trac to monitor our high volume of tasks(500 a day).
We've put in out task in milestone categories. Now we have 2 or 3
people that are working on particular milestone and tasks in it. While
one opened the ticket, and is working on it (average 3 minutes)
another person pulls the same report and starts working on the same
ticket.

Is there a solutions that would lock the ticket or notify another user
that somebody is working on this ticket(preferred)?

Thanks,
Lucas

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Does Trac really work on Windows

2009-06-17 Thread cindy

Thanks for sharing your configuration. I am in a rather difficult
situation. I have been asked to use a configuration which I do not
believe will work. VisualSVN, the latest release of python and Trac
and a Postgres database.

I am going to try your configuration and see what happens.  The only
problem is I have to use an XP machine instead of a server.

Thanks.

Cindy

On Jun 16, 10:34 pm, David Headley raider...@gmail.com wrote:
 I just got Trac running on Windows and it works great.  Here is my setup:
  Trac 0.11.4
  SVN 1.5.6 (r36142)
  Python 2.5.4
  Apache 2.2.11
  Windows Small Business Server 2008
 I use the mod_wsgi module, and used the instructions 
 here:http://trac.edgewall.org/wiki/TracModWSGI

 #1: It definitely works on Windows.

 #2: Trac log is in your Trac environment directory under the log folder. But
 trac.ini in the conf folder needs to be set to FILE:
 [logging]
 log_file = trac.log
 log_level = DEBUG
 log_type = file

 Info on logging is here:http://trac.edgewall.org/wiki/TracIni#logging-section

 On Tue, Jun 16, 2009 at 6:22 PM, Noah Kantrowitz n...@coderanger.netwrote:



  Strike that:

 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81...
  ndFolder=8100folderID=91http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81...has
   some built for 2.6. Newer version of SVN too.

  --Noah

   -Original Message-
   From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
   On Behalf Of Noah Kantrowitz
   Sent: Tuesday, June 16, 2009 4:17 PM
   To: trac-users@googlegroups.com
   Subject: [Trac] Re: Does Trac really work on Windows

   PySVN is not the same thing as the SVN SWIG bindings. You find the
   correct
   bindings at
  http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
   but I
   don't see any built for Python 2.6. You can either try to build them
   yourself, or switch to 2.5.

   --Noah

-Original Message-
From: trac-users@googlegroups.com [mailto:trac-
   us...@googlegroups.com]
On Behalf Of cindy
Sent: Tuesday, June 16, 2009 10:56 AM
To: Trac Users
Subject: [Trac] Does Trac really work on Windows

OK so I am trying to install svn and trac on the same windows machine
per my boss's wishes. If left up to me, I would use Linux.

I also have been told to use VisualSVN 1.7.2. (Yes I know it is not
officially supported)

Python 2.6.2
Py26-svn-pysvn155
Pysqlite-2.5.5..py2.6 (I know we are using Postgres but this is just
an effort to get it to work)
Trac-0.11.4
Genshi-0.5.1.py2.6
Setuptools-0.6c9
NOTE: I unzipped and untarred the version for py2.6 . the python
website says it works this way.
I made a directory outside of python and ran setup with the egg file
for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
I also installed accountadminplugin.
NOTE: I put made a plugin directory and ran easy setup to install
that.

I used an on line tutorial for most of this at this URL:

   http://how-to-solutions.com/how-to-install-trac-on-windows.html

I substituted the python 2.6 files for the ones they suggested for
compatibility. I was successful until I got to the line where you run
the daemon.

Tracd -p 8000 c:\repositories\projects\tracproject

Then I get the persistent error that there is no svn module. I does
let me into the Admin account to create users.

Question 1. Does Trac really work on Windows? I am beginning to doubt
it.

Question 2. Where is the Trac log they refer to in the error message?
I cannot find it.

BTW Ronny you might want to check your versions of svn and trac to be
sure they match.

Cindy

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: [task] Locking Ticket # while working on it?

2009-06-17 Thread Tomek Grzechowski [k3o]

yeah,

a person can accept a ticket and the ticket will have its status
changed to assigned.

another person should not work on a ticket that has status eq assigned.

that should be enough.

2009/6/17 Lukasz Szybalski szybal...@gmail.com:

 Hello,
 We have setup our trac to monitor our high volume of tasks(500 a day).
 We've put in out task in milestone categories. Now we have 2 or 3
 people that are working on particular milestone and tasks in it. While
 one opened the ticket, and is working on it (average 3 minutes)
 another person pulls the same report and starts working on the same
 ticket.

 Is there a solutions that would lock the ticket or notify another user
 that somebody is working on this ticket(preferred)?

 Thanks,
 Lucas

 




-- 
Tomek Grzechowski
-
mini...@k3o; developer/programmer; http://k3o.eu
miniman@gmail.com; +48 662 279 869 (cell)
skype: miniman.k3o

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Trac 0.11 so slow!!!!!

2009-06-17 Thread Wellington

i´m having the same problem with trac 0.11.

have you tried this?

 Compress only a few types
 AddOutputFilterByType DEFLATE text/html text/plain text/xml



On Jun 13, 5:08 am, deni denisa@gmail.com wrote:
  Hi,
  Any plug-in's?  We tried one that added 5-10 seconds.
  - jevans

 No, no plugins issues. However disabling the mod_deflate module of
 apache the problem disappear!!! I don't know why but I think there are
 problems with compression of css, chrome ... Although it's very useful
 to compress data over the network.  Anybody knows how to configure
 apache properly (using also the mod_deflate module) for compression of
 only certain types of data???

 Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Does Trac really work on Windows

2009-06-17 Thread Noah Kantrowitz

When you say visualsvn do you mean the server or the client?

--Noah

 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-us...@googlegroups.com]
 On Behalf Of cindy
 Sent: Wednesday, June 17, 2009 7:10 AM
 To: Trac Users
 Subject: [Trac] Re: Does Trac really work on Windows
 
 
 Thanks for sharing your configuration. I am in a rather difficult
 situation. I have been asked to use a configuration which I do not
 believe will work. VisualSVN, the latest release of python and Trac
 and a Postgres database.
 
 I am going to try your configuration and see what happens.  The only
 problem is I have to use an XP machine instead of a server.
 
 Thanks.
 
 Cindy
 
 On Jun 16, 10:34 pm, David Headley raider...@gmail.com wrote:
  I just got Trac running on Windows and it works great.  Here is my
 setup:
   Trac 0.11.4
   SVN 1.5.6 (r36142)
   Python 2.5.4
   Apache 2.2.11
   Windows Small Business Server 2008
  I use the mod_wsgi module, and used the instructions
 here:http://trac.edgewall.org/wiki/TracModWSGI
 
  #1: It definitely works on Windows.
 
  #2: Trac log is in your Trac environment directory under the log
 folder. But
  trac.ini in the conf folder needs to be set to FILE:
  [logging]
  log_file = trac.log
  log_level = DEBUG
  log_type = file
 
  Info on logging is
 here:http://trac.edgewall.org/wiki/TracIni#logging-section
 
  On Tue, Jun 16, 2009 at 6:22 PM, Noah Kantrowitz
 n...@coderanger.netwrote:
 
 
 
   Strike that:
 
 
 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=81.
 ..
  
 ndFolder=8100folderID=91http://subversion.tigris.org/servlets/Project
 DocumentList?folderID=81...has some built for 2.6. Newer version of
 SVN too.
 
   --Noah
 
-Original Message-
From: trac-users@googlegroups.com [mailto:trac-
 us...@googlegroups.com]
On Behalf Of Noah Kantrowitz
Sent: Tuesday, June 16, 2009 4:17 PM
To: trac-users@googlegroups.com
Subject: [Trac] Re: Does Trac really work on Windows
 
PySVN is not the same thing as the SVN SWIG bindings. You find
 the
correct
bindings at
  
 http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
but I
don't see any built for Python 2.6. You can either try to build
 them
yourself, or switch to 2.5.
 
--Noah
 
 -Original Message-
 From: trac-users@googlegroups.com [mailto:trac-
us...@googlegroups.com]
 On Behalf Of cindy
 Sent: Tuesday, June 16, 2009 10:56 AM
 To: Trac Users
 Subject: [Trac] Does Trac really work on Windows
 
 OK so I am trying to install svn and trac on the same windows
 machine
 per my boss's wishes. If left up to me, I would use Linux.
 
 I also have been told to use VisualSVN 1.7.2. (Yes I know it is
 not
 officially supported)
 
 Python 2.6.2
 Py26-svn-pysvn155
 Pysqlite-2.5.5..py2.6 (I know we are using Postgres but this is
 just
 an effort to get it to work)
 Trac-0.11.4
 Genshi-0.5.1.py2.6
 Setuptools-0.6c9
 NOTE: I unzipped and untarred the version for py2.6 . the
 python
 website says it works this way.
 I made a directory outside of python and ran setup with the egg
 file
 for 2.6 .python ez_setup.py setuptools-0.6c9-py2.6.egg
 I also installed accountadminplugin.
 NOTE: I put made a plugin directory and ran easy setup to
 install
 that.
 
 I used an on line tutorial for most of this at this URL:
 
http://how-to-solutions.com/how-to-install-trac-on-windows.html
 
 I substituted the python 2.6 files for the ones they suggested
 for
 compatibility. I was successful until I got to the line where
 you run
 the daemon.
 
 Tracd -p 8000 c:\repositories\projects\tracproject
 
 Then I get the persistent error that there is no svn module.
 I does
 let me into the Admin account to create users.
 
 Question 1. Does Trac really work on Windows? I am beginning to
 doubt
 it.
 
 Question 2. Where is the Trac log they refer to in the error
 message?
 I cannot find it.
 
 BTW Ronny you might want to check your versions of svn and trac
 to be
 sure they match.
 
 Cindy
 
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Does Trac really work on Windows

2009-06-17 Thread David Headley
No problem - good luck getting your install working.  I was forced to
install Apache on a Vista machine a while back and it worked, so I think
using an XP box will be fairly straightforward (likely easier than on
Server).

dave

On Wed, Jun 17, 2009 at 9:10 AM, cindy cynthia.nel...@thermofisher.comwrote:


 Thanks for sharing your configuration. I am in a rather difficult
 situation. I have been asked to use a configuration which I do not
 believe will work. VisualSVN, the latest release of python and Trac
 and a Postgres database.

 I am going to try your configuration and see what happens.  The only
 problem is I have to use an XP machine instead of a server.

 Thanks.

 Cindy

 On Jun 16, 10:34 pm, David Headley raider...@gmail.com wrote:
  I just got Trac running on Windows and it works great.  Here is my setup:
   Trac 0.11.4
   SVN 1.5.6 (r36142)
   Python 2.5.4
   Apache 2.2.11
   Windows Small Business Server 2008
  I use the mod_wsgi module, and used the instructions here:
 http://trac.edgewall.org/wiki/TracModWSGI
 
  #1: It definitely works on Windows.
 
  #2: Trac log is in your Trac environment directory under the log folder.
 But
  trac.ini in the conf folder needs to be set to FILE:
  [logging]
  log_file = trac.log
  log_level = DEBUG
  log_type = file
 
  Info on logging is here:
 http://trac.edgewall.org/wiki/TracIni#logging-section
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: [task] Locking Ticket # while working on it?

2009-06-17 Thread Shane Caraveo

There is also the worklog plugin on trac-hacks that may be helpful.

On 6/17/09 2:34 PM, Tomek Grzechowski [k3o] wrote:
 yeah,

 a person can accept a ticket and the ticket will have its status
 changed to assigned.

 another person should not work on a ticket that has status eq assigned.

 that should be enough.

 2009/6/17 Lukasz Szybalskiszybal...@gmail.com:
 Hello,
 We have setup our trac to monitor our high volume of tasks(500 a day).
 We've put in out task in milestone categories. Now we have 2 or 3
 people that are working on particular milestone and tasks in it. While
 one opened the ticket, and is working on it (average 3 minutes)
 another person pulls the same report and starts working on the same
 ticket.

 Is there a solutions that would lock the ticket or notify another user
 that somebody is working on this ticket(preferred)?

 Thanks,
 Lucas






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---