[Trac] Re: user registration for SVN Trac using LDAP

2009-02-11 Thread Noah Kantrowitz

On Feb 5, 2009, at 4:36 AM, nik gaffney wrote:


 Hi,

 I am trying to setup trac to be able to register new users and grant  
 rw
 access to an svn repo. It looks like using LDAP would be the most
 obvious as both trac and svn can authenticate against a local server.
 With my currentl setup trac can view the svn repo and authenticate  
 users
 with LDAPStore. However, the 'register' link doesn't appear when
 password_store is LDAPStore but works ok when using SessionStore.

 As it appears there are several plugins to use LDAP authentication  
 with
 the Acount Manager plugin, I have tried 'TracLDAPAuth' and
 'LdapAuthStore' and couldn't get either to work with the registration
 interface.

 Has anyone managed to get this kind of setup to work, or should i be
 trying a differnt approach?

The LDAP auth plugin doesn't support modification, nor do I plan to  
add that. The general use case for LDAP is hooking in to an existing,  
large company infrastructure. In this case you would already have a  
procedure and tools for adding/modifying accounts. I don't think it  
makes sense to try to build these tools into Trac when the whole point  
is to allow you to use your existing ones.

--Noah

--~--~-~--~~~---~--~~
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] Question about how to use the Workflow api from a external script, eg email2trac

2009-02-11 Thread Bas van der Vlies

I have tried to post it to the trac-dev list without any luck the last 2
days. That is why i am posting this question to this list.

I want to implement the Workflow mechanism in email2trac, eg when i
ticket is closed and the reporter sends another email. it will reopen
the ticket and clears the resolution. For some sites this is not
appropriate and they asked me if i could implement the Workflow
mechanism.  So i looked at the api and tried to implement it, but am
failing because i have not a valid 'req' variable. I have looked at
the sources but i think  it is set by the fcgi or mod_python.

{{{
 controller = ConfigurableTicketWorkflow(self.env)
 print controller.actions['reopen']
 b = controller.get_ticket_changes(req, tkt, 'reopen')
}}}

It is failing in get_ticket_changes because it checks if we have the
right permisiions but this will fail in the req.perm(resource) statement

-- 

*  Bas van der Vliese-mail: b...@sara.nl   *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *


--~--~-~--~~~---~--~~
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] [DiscussionPlugin] Customization options

2009-02-11 Thread tarasm

Hello There,

Are there any undocumented customization options for the Discussion
Plugin?

I would like to make the following changes:
1. Status and Severity columns to Forum list.
2. Add dropdowns for Status and Severity to forum post

Is there any way of doing this without modifying the module?

Thank you,
Taras

--~--~-~--~~~---~--~~
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: Question about how to use the Workflow api from a external script, eg email2trac

2009-02-11 Thread Noah Kantrowitz


On Feb 11, 2009, at 12:38 AM, Bas van der Vlies wrote:


 I have tried to post it to the trac-dev list without any luck the  
 last 2
 days. That is why i am posting this question to this list.

 I want to implement the Workflow mechanism in email2trac, eg when i
 ticket is closed and the reporter sends another email. it will reopen
 the ticket and clears the resolution. For some sites this is not
 appropriate and they asked me if i could implement the Workflow
 mechanism.  So i looked at the api and tried to implement it, but am
 failing because i have not a valid 'req' variable. I have looked at
 the sources but i think  it is set by the fcgi or mod_python.

 {{{
 controller = ConfigurableTicketWorkflow(self.env)
 print controller.actions['reopen']
 b = controller.get_ticket_changes(req, tkt, 'reopen')
 }}}

 It is failing in get_ticket_changes because it checks if we have the
 right permisiions but this will fail in the req.perm(resource)  
 statement

There doesn't seem to be an API for this that I can find. Functions  
should be added either in the model or TicketSystem to handle all the  
workflow logic. It seems pretty mated to the web UI right now.

--Noah

--~--~-~--~~~---~--~~
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: Question about how to use the Workflow api from a external script, eg email2trac

2009-02-11 Thread Bas van der Vlies

Noah Kantrowitz wrote:
 
 On Feb 11, 2009, at 12:38 AM, Bas van der Vlies wrote:
 
 I have tried to post it to the trac-dev list without any luck the  
 last 2
 days. That is why i am posting this question to this list.

 I want to implement the Workflow mechanism in email2trac, eg when i
 ticket is closed and the reporter sends another email. it will reopen
 the ticket and clears the resolution. For some sites this is not
 appropriate and they asked me if i could implement the Workflow
 mechanism.  So i looked at the api and tried to implement it, but am
 failing because i have not a valid 'req' variable. I have looked at
 the sources but i think  it is set by the fcgi or mod_python.

 {{{
 controller = ConfigurableTicketWorkflow(self.env)
 print controller.actions['reopen']
 b = controller.get_ticket_changes(req, tkt, 'reopen')
 }}}

 It is failing in get_ticket_changes because it checks if we have the
 right permisiions but this will fail in the req.perm(resource)  
 statement
 
 There doesn't seem to be an API for this that I can find. Functions  
 should be added either in the model or TicketSystem to handle all the  
 workflow logic. It seems pretty mated to the web UI right now.
 

Thanks for the explanation, when i commented the permission check in the
get_ticket_changes(..) it works.

-- 

*  Bas van der Vliese-mail: b...@sara.nl   *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *


--~--~-~--~~~---~--~~
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: Question about how to use the Workflow api from a external script, eg email2trac

2009-02-11 Thread Noah Kantrowitz


On Feb 11, 2009, at 12:59 AM, Bas van der Vlies wrote:


 Noah Kantrowitz wrote:

 On Feb 11, 2009, at 12:38 AM, Bas van der Vlies wrote:

 I have tried to post it to the trac-dev list without any luck the
 last 2
 days. That is why i am posting this question to this list.

 I want to implement the Workflow mechanism in email2trac, eg when i
 ticket is closed and the reporter sends another email. it will  
 reopen
 the ticket and clears the resolution. For some sites this is not
 appropriate and they asked me if i could implement the Workflow
 mechanism.  So i looked at the api and tried to implement it, but am
 failing because i have not a valid 'req' variable. I have looked at
 the sources but i think  it is set by the fcgi or mod_python.

 {{{
 controller = ConfigurableTicketWorkflow(self.env)
 print controller.actions['reopen']
 b = controller.get_ticket_changes(req, tkt, 'reopen')
 }}}

 It is failing in get_ticket_changes because it checks if we have the
 right permisiions but this will fail in the req.perm(resource)
 statement

 There doesn't seem to be an API for this that I can find. Functions
 should be added either in the model or TicketSystem to handle all the
 workflow logic. It seems pretty mated to the web UI right now.


 Thanks for the explanation, when i commented the permission check in  
 the
 get_ticket_changes(..) it works.

You can use the Mock classes in trac.test to make a fake request  
object with the appropriately created perm attribute.


--Noah

--~--~-~--~~~---~--~~
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] could not use Agile-Trac

2009-02-11 Thread pramila.nehar...@gmail.com

Hello All,

I upgraded my trac multi project environment setup from 0.10.3.1 to
Trac 0.11.2.1
I could use all projects with this new version properly
but after installing  Agile-Trac-0.1.5,  I get following error  on
roadmap  iterations pages

Trac detected an internal error:
KeyError: u'30'

please guide me how can I remove this error
also observed that the error is only for old projects imported from
older version  not for one created after upgrade

-Thanks  Regards,
Pramila



--~--~-~--~~~---~--~~
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: Question about how to use the Workflow api from a external script, eg email2trac

2009-02-11 Thread Bas van der Vlies

Noah Kantrowitz wrote:
 
 On Feb 11, 2009, at 12:59 AM, Bas van der Vlies wrote:
 
 Noah Kantrowitz wrote:
 On Feb 11, 2009, at 12:38 AM, Bas van der Vlies wrote:

 I have tried to post it to the trac-dev list without any luck the
 last 2
 days. That is why i am posting this question to this list.

 I want to implement the Workflow mechanism in email2trac, eg when i
 ticket is closed and the reporter sends another email. it will  
 reopen
 the ticket and clears the resolution. For some sites this is not
 appropriate and they asked me if i could implement the Workflow
 mechanism.  So i looked at the api and tried to implement it, but am
 failing because i have not a valid 'req' variable. I have looked at
 the sources but i think  it is set by the fcgi or mod_python.

 {{{
 controller = ConfigurableTicketWorkflow(self.env)
 print controller.actions['reopen']
 b = controller.get_ticket_changes(req, tkt, 'reopen')
 }}}

 It is failing in get_ticket_changes because it checks if we have the
 right permisiions but this will fail in the req.perm(resource)
 statement
 There doesn't seem to be an API for this that I can find. Functions
 should be added either in the model or TicketSystem to handle all the
 workflow logic. It seems pretty mated to the web UI right now.

 Thanks for the explanation, when i commented the permission check in  
 the
 get_ticket_changes(..) it works.
 
 You can use the Mock classes in trac.test to make a fake request  
 object with the appropriately created perm attribute.
 
 
 --Noah
 
  

Thanks again, 'req = req = Mock(perm=MockPerm())' is the solution ;-)



-- 

*  Bas van der Vliese-mail: b...@sara.nl   *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *


--~--~-~--~~~---~--~~
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] finer-grained access controll

2009-02-11 Thread eri x
Hi, i saw that the account manger plugin permits to manage the accounts of
the users working with svn, but i don't understand if it is possible to use
finer-grained access control with this plugin,
or there is another plugin that can do this.
Thank you.

--~--~-~--~~~---~--~~
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] FakeUsernamePlugin

2009-02-11 Thread Rosalyn Hatcher

Hi,

I have raised a request for a version of this plugin at 0.11 on 
trac-hacks, but I wondered
if, by any change, anyone has managed to get the FakeUsernamePlugin 
working for
Trac 0.11? 

Thanks,
Rosalyn


--~--~-~--~~~---~--~~
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: finer-grained access controll

2009-02-11 Thread Noah Kantrowitz

On Feb 11, 2009, at 1:28 AM, eri x wrote:

 Hi, i saw that the account manger plugin permits to manage the  
 accounts of the users working with svn, but i don't understand if it  
 is possible to use finer-grained access control with this plugin,
 or there is another plugin that can do this.
 Thank you.

You asked this same question yesterday and I already answered you.  
Asking twice is annoying. Don't.

--Noah

--~--~-~--~~~---~--~~
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: could not use Agile-Trac

2009-02-11 Thread sandy k
Try to upgraded your all projects and restart trac server.
e.g. trac-admin /path/of/project or parentproject/ upgrade
 
Sandeep

--- On Wed, 11/2/09, pramila.nehar...@gmail.com pramila.nehar...@gmail.com 
wrote:

From: pramila.nehar...@gmail.com pramila.nehar...@gmail.com
Subject: [Trac] could not use Agile-Trac
To: Trac Users trac-users@googlegroups.com
Date: Wednesday, 11 February, 2009, 4:00 AM

Hello All,

I upgraded my trac multi project environment setup from 0.10.3.1 to
Trac 0.11.2.1
I could use all projects with this new version properly
but after installing  Agile-Trac-0.1.5,  I get following error  on
roadmap  iterations pages

Trac detected an internal error:
KeyError: u'30'

please guide me how can I remove this error
also observed that the error is only for old projects imported from
older version  not for one created after upgrade

-Thanks  Regards,
Pramila







  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/
--~--~-~--~~~---~--~~
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] Verify email address

2009-02-11 Thread Rosalyn Hatcher

I've just upgraded from 0.10.4 to 0.11.2.1

On a user's first login after the upgrade Trac displays a green box near 
top of page
saying.

*Notice:* acct_mgr.web_ui.MessageWrapper object at 0x850e7ac

Unbeknownst to them they've been sent an email asking them to verify 
their email
address, meanwhile some pages are inaccessible and the user is clueless 
as to why.

Once the email link has been followed and the email address verified, 
the green information
box starts working properly and says Your email has been verified or 
words to that
effect.

I assume the unreadable notice above should say Go check your email.
What have I not got setup properly?

Also, is there any way to disable this need to verify email address upon 
upgrade?

Thanks,
Rosalyn


--~--~-~--~~~---~--~~
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] Any way to comment on changesets?

2009-02-11 Thread Rob Wilkerson

I've been using Trac for years now to perform ad hoc post-commit code
reviews.  I subscribe to the feed of those repository directories I'm
interested in and then inspect the changesets that tweak my interest
for one reason or another.

In recent months, I've found myself wishing that, from the changeset
view, I could write a comment about the changeset and have that
comment sent to the committer, if not to the entire team.  Is there a
plugin that does this or anything similar? I haven't found anything
that looks even close, nor am I even sure that it could be done via a
plugin.  Is this an enhancement that I should add to the project's
ticket list?

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: Verify email address

2009-02-11 Thread Rosalyn Hatcher

Ok.  I've found my own answer :-)

acct_mgr.web_ui.emailverificationmodule = disabled

works great for me!


Rosalyn Hatcher wrote:
 I've just upgraded from 0.10.4 to 0.11.2.1

 On a user's first login after the upgrade Trac displays a green box near 
 top of page
 saying.

 *Notice:* acct_mgr.web_ui.MessageWrapper object at 0x850e7ac

 Unbeknownst to them they've been sent an email asking them to verify 
 their email
 address, meanwhile some pages are inaccessible and the user is clueless 
 as to why.

 Once the email link has been followed and the email address verified, 
 the green information
 box starts working properly and says Your email has been verified or 
 words to that
 effect.

 I assume the unreadable notice above should say Go check your email.
 What have I not got setup properly?

 Also, is there any way to disable this need to verify email address upon 
 upgrade?

 Thanks,
 Rosalyn


 
   


-- 

Rosalyn Hatcher
NCAS Computational Modelling Services
Dept. of Meteorology, University of Reading, 
Earley Gate, Reading. RG6 6BB
Email: r.s.hatc...@reading.ac.uk Tel: +44 (0) 118 378 6016


--~--~-~--~~~---~--~~
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: Any way to comment on changesets?

2009-02-11 Thread Christian Boos

Rob Wilkerson wrote:
 I've been using Trac for years now to perform ad hoc post-commit code
 reviews.  I subscribe to the feed of those repository directories I'm
 interested in and then inspect the changesets that tweak my interest
 for one reason or another.

 In recent months, I've found myself wishing that, from the changeset
 view, I could write a comment about the changeset and have that
 comment sent to the committer, if not to the entire team.  Is there a
 plugin that does this or anything similar? I haven't found anything
 that looks even close, nor am I even sure that it could be done via a
 plugin.  Is this an enhancement that I should add to the project's
 ticket list?
   
Just add your vote to #2035 ...

-- Christian

--~--~-~--~~~---~--~~
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: Any way to comment on changesets?

2009-02-11 Thread Rob Wilkerson

On Wed, Feb 11, 2009 at 9:03 AM, Christian Boos cb...@neuf.fr wrote:
 Just add your vote to #2035


Genius! Thanks. And it looks like the PeerReviewPlugin might fill the
need in the meantime. One follow up question: how do I add my vote?
I hate to waste space in the ticket for a simple +1 type comment
that adds no substance unless that's the appropriate way of doing
this.

Thanks again.

-- 
Rob Wilkerson
http://robwilkerson.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: Verify email address

2009-02-11 Thread Michael Renzmann

Hi.

 *Notice:* acct_mgr.web_ui.MessageWrapper object at 0x850e7ac

See:

https://trac-hacks.org/ticket/3401
https://trac-hacks.org/ticket/4125

Bye, Mike

--~--~-~--~~~---~--~~
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] Upgrading trac 0.10.3 to 0.11

2009-02-11 Thread Gem

Hi all,

I have ownership of a project / trac environment and wanted to
upgrade.

Excuse the n00b question, but will a code upgrade impact all the other
environments / projects too? Or is it normally  one install per
environment?

Thanks in advance.

Gem

--~--~-~--~~~---~--~~
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] using webadmin

2009-02-11 Thread eri x
Hi,i just istalled trac 0.11 but i don't now where to find webadmin,until
now i have created only the svn folder and nothing else,not the admin
account or something else.

--~--~-~--~~~---~--~~
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: Any way to comment on changesets?

2009-02-11 Thread Stodge

There's a voting mechanism on the ticket page, just beneath the View
Tickets menu item.

On Feb 11, 9:07 am, Rob Wilkerson r...@robwilkerson.org wrote:
 On Wed, Feb 11, 2009 at 9:03 AM, Christian Boos cb...@neuf.fr wrote:
  Just add your vote to #2035

 Genius! Thanks. And it looks like the PeerReviewPlugin might fill the
 need in the meantime. One follow up question: how do I add my vote?
 I hate to waste space in the ticket for a simple +1 type comment
 that adds no substance unless that's the appropriate way of doing
 this.

 Thanks again.

 --
 Rob Wilkersonhttp://robwilkerson.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: TracHours plugin problem ...

2009-02-11 Thread Jeff Hammel

Enable verbose logging and look at the log.  If a trac component is installed 
but doesn't show up in the admin panel, that usually (always?) means there is 
an error that is swallowedbut not so silently, as trac has logging ;)

Jeff

On Tue, Feb 10, 2009 at 05:03:23PM -0800, Jamie @ Sierra wrote:
 
 Hey Guys,
 
 I'm having a little grief trying to get the TracHours plugin running:
 
 Everything appears to be in order and I was able to download and
 install the plugin. It shows up in the plugin folder and entries were
 added to the TRAC.INI but I have yet to see the 'Hours' link on the
 Trac main page.
 
 When I try to reinstall the plugin I receive the following error in
 Trac:
 
 Plugin TracHoursPlugin-0.2.2-py2.5.egg already installed
 
 The TarcHours plugi nalso does not appear in the 'Plugins' list in the
 'Admin' menu.
 
 Could it be that I've stumbled on to some version incompatibility?
 
 We are running:
 
 Trac 0.11.2.1
 Python 2.5.4
 Apache 2.2.11
 
 Thanks in advance for your assistance.
 
 Jamie
  

--~--~-~--~~~---~--~~
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: Any way to comment on changesets?

2009-02-11 Thread Rob Wilkerson

On Wed, Feb 11, 2009 at 10:16 AM, Stodge sto...@gmail.com wrote:
 There's a voting mechanism on the ticket page, just beneath the View
 Tickets menu item.

It must have seen me coming. I can see the link, but it's disabled for me.

-- 
Rob Wilkerson
http://robwilkerson.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: Milestone history

2009-02-11 Thread Christian Boos

Chris Nelson wrote:
 We use Trac 0.11 and the Timing and Estimation plug-in.  We're trying to get 
 better at estimating by analyzing how initial estimates on our last project 
 matched up with final actual hours.  But we'd also like to keep track of when 
 and by how much milestones were rescheduled (presumably due to estimates 
 being wrong, but sometimes due to other factors).  Milestones don't seem to 
 have any history.  Is there a plug-in or hack for that?  Am I looking at this 
 problem the wrong way?
   

Hello Chris,

There's already a few tickets requesting to add an history to 
milestones, see #1673 and #3776.

-- Christian

--~--~-~--~~~---~--~~
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: Milestone history

2009-02-11 Thread yoheeb

On Feb 11, 10:41 am, Christian Boos cb...@neuf.fr wrote:
 Chris Nelson wrote:
  We use Trac 0.11 and the Timing and Estimation plug-in.  We're trying to 
  get better at estimating by analyzing how initial estimates on our last 
  project matched up with final actual hours.  But we'd also like to keep 
  track of when and by how much milestones were rescheduled (presumably due 
  to estimates being wrong, but sometimes due to other factors).  Milestones 
  don't seem to have any history.  Is there a plug-in or hack for that?  Am I 
  looking at this problem the wrong way?

 Hello Chris,

 There's already a few tickets requesting to add an history to
 milestones, see #1673 and #3776.

 -- Christian

We had this need also.  I actually found it easiest to create a new
milestone, and forward the remaining open tickets to the special
milestone.  Helps us see which tasks we under-estimated, or where we
took on more than we could chew.  Assuming the incomplete things
were executed later in the dev cycle for the milestone.  It sometimes
helps to point out potential feature creep, the things that don't get
worked on are actually nice to have.  I know not what everyone wants,
but it does serve the purpose for us.  Additionally, we keep a wiki
page with info like this.  an Entry such as milestone X moved from
day 1 to day 2 would be created.  This is something that you just
don't do that often, in theory.
--~--~-~--~~~---~--~~
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: Question about how to use the Workflow api from a external script, eg email2trac

2009-02-11 Thread Erik Bray

On Wed, Feb 11, 2009 at 3:50 AM, Noah Kantrowitz n...@coderanger.net wrote:


 On Feb 11, 2009, at 12:38 AM, Bas van der Vlies wrote:


 I have tried to post it to the trac-dev list without any luck the
 last 2
 days. That is why i am posting this question to this list.

 I want to implement the Workflow mechanism in email2trac, eg when i
 ticket is closed and the reporter sends another email. it will reopen
 the ticket and clears the resolution. For some sites this is not
 appropriate and they asked me if i could implement the Workflow
 mechanism.  So i looked at the api and tried to implement it, but am
 failing because i have not a valid 'req' variable. I have looked at
 the sources but i think  it is set by the fcgi or mod_python.

 {{{
 controller = ConfigurableTicketWorkflow(self.env)
 print controller.actions['reopen']
 b = controller.get_ticket_changes(req, tkt, 'reopen')
 }}}

 It is failing in get_ticket_changes because it checks if we have the
 right permisiions but this will fail in the req.perm(resource)
 statement

 There doesn't seem to be an API for this that I can find. Functions
 should be added either in the model or TicketSystem to handle all the
 workflow logic. It seems pretty mated to the web UI right now.

I've been meaning to bring that up actually, since we recently had to
write some scripts to mass-update some tickets and that had to make
sure to follow workflow logic.  I understand that some actions in the
default workflow depend on request arguments and such, so it's not
completely trivial to refactor.  But it definitely be incorporated
somehow into the TicketSystem IMO.  Is there a ticket for this
already?  I can't seem to find it if there is.

--~--~-~--~~~---~--~~
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: TracHours plugin problem ...

2009-02-11 Thread Jamie @ Sierra

Thanks Jeff. I did have Trac in debug mode and here is the relevant
entry for TracHours:

Trac[loader] DEBUG: Skipping TracHoursPlugin 0.2.2: (FeedParser
not found)

Any hints as to what to look for relating to FeedParser?

===

On Feb 11, 7:38 am, Jeff Hammel jham...@openplans.org wrote:
 Enable verbose logging and look at the log.  If a trac component is installed 
 but doesn't show up in the admin panel, that usually (always?) means there is 
 an error that is swallowedbut not so silently, as trac has logging ;)

 Jeff



 On Tue, Feb 10, 2009 at 05:03:23PM -0800, Jamie @ Sierra wrote:

  Hey Guys,

  I'm having a little grief trying to get the TracHours plugin running:

  Everything appears to be in order and I was able to download and
  install the plugin. It shows up in the plugin folder and entries were
  added to the TRAC.INI but I have yet to see the 'Hours' link on the
  Trac main page.

  When I try to reinstall the plugin I receive the following error in
  Trac:

  Plugin TracHoursPlugin-0.2.2-py2.5.egg already installed

  The TarcHours plugi nalso does not appear in the 'Plugins' list in the
  'Admin' menu.

  Could it be that I've stumbled on to some version incompatibility?

  We are running:

  Trac 0.11.2.1
  Python 2.5.4
  Apache 2.2.11

  Thanks in advance for your assistance.

  Jamie- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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: Any way to comment on changesets?

2009-02-11 Thread Stodge

Have you added your name  email in the settings?

On Feb 11, 11:35 am, Rob Wilkerson r...@robwilkerson.org wrote:
 On Wed, Feb 11, 2009 at 10:16 AM, Stodge sto...@gmail.com wrote:
  There's a voting mechanism on the ticket page, just beneath the View
  Tickets menu item.

 It must have seen me coming. I can see the link, but it's disabled for me.

 --
 Rob Wilkersonhttp://robwilkerson.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: could not use Agile-Trac

2009-02-11 Thread rupert thurner

is there an easy link to the diff / patch agile-trac makes to the off-
the-shelf trac?

rupert.


On Feb 11, 11:24 am, sandy k sandy_...@yahoo.com wrote:
 Try to upgraded your all projects and restart trac server.
 e.g. trac-admin /path/of/project or parentproject/ upgrade
  
 Sandeep

 --- On Wed, 11/2/09, pramila.nehar...@gmail.com pramila.nehar...@gmail.com 
 wrote:

 From: pramila.nehar...@gmail.com pramila.nehar...@gmail.com
 Subject: [Trac] could not use Agile-Trac
 To: Trac Users trac-users@googlegroups.com
 Date: Wednesday, 11 February, 2009, 4:00 AM

 Hello All,

 I upgraded my trac multi project environment setup from 0.10.3.1 to
 Trac 0.11.2.1
 I could use all projects with this new version properly
 but after installing  Agile-Trac-0.1.5,  I get following error  on
 roadmap  iterations pages

 Trac detected an internal error:
 KeyError: u'30'

 please guide me how can I remove this error
 also observed that the error is only for old projects imported from
 older version  not for one created after upgrade

 -Thanks  Regards,
 Pramila

       Add more friends to your messenger and enjoy! Go 
 tohttp://messenger.yahoo.com/invite/
--~--~-~--~~~---~--~~
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: TracHours plugin problem ...

2009-02-11 Thread Jeff Hammel

This is one reason I don't use plugins as eggs.  I suppose I'm not very 
interested in packaging good eggs.

FeedParser is easy_installable:

easy_install FeedParser

If you easy_install TracHours or DL and do `python setup.py {develop|install}` 
it should pull down this requirement automagically.  If you installed TracHours 
using easy_install or `python setup.py` and it still didn't download 
FeedParser, please send me the commands you run and the output, or ticket at 
trac-hacks.org

Jeff

On Wed, Feb 11, 2009 at 10:32:06AM -0800, Jamie @ Sierra wrote:
 
 Thanks Jeff. I did have Trac in debug mode and here is the relevant
 entry for TracHours:
 
 Trac[loader] DEBUG: Skipping TracHoursPlugin 0.2.2: (FeedParser
 not found)
 
 Any hints as to what to look for relating to FeedParser?
 
 ===
 
 On Feb 11, 7:38 am, Jeff Hammel jham...@openplans.org wrote:
  Enable verbose logging and look at the log.  If a trac component is 
  installed but doesn't show up in the admin panel, that usually (always?) 
  means there is an error that is swallowedbut not so silently, as trac 
  has logging ;)
 
  Jeff
 
 
 
  On Tue, Feb 10, 2009 at 05:03:23PM -0800, Jamie @ Sierra wrote:
 
   Hey Guys,
 
   I'm having a little grief trying to get the TracHours plugin running:
 
   Everything appears to be in order and I was able to download and
   install the plugin. It shows up in the plugin folder and entries were
   added to the TRAC.INI but I have yet to see the 'Hours' link on the
   Trac main page.
 
   When I try to reinstall the plugin I receive the following error in
   Trac:
 
   Plugin TracHoursPlugin-0.2.2-py2.5.egg already installed
 
   The TarcHours plugi nalso does not appear in the 'Plugins' list in the
   'Admin' menu.
 
   Could it be that I've stumbled on to some version incompatibility?
 
   We are running:
 
   Trac 0.11.2.1
   Python 2.5.4
   Apache 2.2.11
 
   Thanks in advance for your assistance.
 
   Jamie- Hide quoted text -
 
  - Show quoted text -
  

--~--~-~--~~~---~--~~
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: Any way to comment on changesets?

2009-02-11 Thread Rob Wilkerson

On Wed, Feb 11, 2009 at 1:46 PM, Stodge sto...@gmail.com wrote:

 Have you added your name  email in the settings?

Ah, duh. I have not. Thanks for the clue.

-- 
Rob Wilkerson
http://robwilkerson.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] SQL for # tickets by ticket status

2009-02-11 Thread schoenborno

I'd like to use WikiTable plugin to get how many tickets are open,
closed, etc. I haven't used SQL much, so far unsuccessful:

SELECT count(distinct status) FROM ticket

but this returns how many distinct status there are (3).

Any help much appreciated.
Oliver

--~--~-~--~~~---~--~~
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: SQL for # tickets by ticket status

2009-02-11 Thread David Champion

 I'd like to use WikiTable plugin to get how many tickets are open,
 closed, etc. I haven't used SQL much, so far unsuccessful:

select count(*) from ticket where status = 'new';
select count(*) from ticket where status = 'closed';
etc.

-- 
 -D.d...@uchicago.eduNSITUniversity of Chicago

--~--~-~--~~~---~--~~
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: SQL for # tickets by ticket status

2009-02-11 Thread Chris Shelton

Oliver,

On Wed, Feb 11, 2009 at 4:15 PM, schoenborno
oliver.schoenb...@gmail.com wrote:

 I'd like to use WikiTable plugin to get how many tickets are open,
 closed, etc. I haven't used SQL much, so far unsuccessful:

 SELECT count(distinct status) FROM ticket

 but this returns how many distinct status there are (3).


Try this instead:

select status, count(*) as 'Count of Tickets' from ticket group by status

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] email with ticket link only

2009-02-11 Thread McEneaney, Kevin E

Is there a way to easily reduce/configured the information that is sent
out when a ticket is created or changed? I have a project that do to
requirements does not want to send anything but the link to the trac
ticket.  To make things more interesting I have 5 independent trac
projects running on the same server and only one of the trac projects
has the requirement of the reduced information

Thanks
Kevin McEneaney

--~--~-~--~~~---~--~~
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: TracHours plugin problem ...

2009-02-11 Thread Jamie @ Sierra

Resolved. It turns out that the egg that was built did not contain
FeedParser or Python-DateUtil  both of which caused Trac to fail
during the Plugin installation. Thanks to Jeff Hammel who helped guide
me in the right direction.

Resolved by running:

easy_install FeedParser
easy_install Python-DateUtil

Then upgraded Trac envirnoment

trac-admin \path\to\project upgrade



On Feb 11, 11:15 am, Jeff Hammel jham...@openplans.org wrote:
 This is one reason I don't use plugins as eggs.  I suppose I'm not very 
 interested in packaging good eggs.

 FeedParser is easy_installable:

 easy_install FeedParser

 If you easy_install TracHours or DL and do `python setup.py 
 {develop|install}` it should pull down this requirement automagically.  If 
 you installed TracHours using easy_install or `python setup.py` and it still 
 didn't download FeedParser, please send me the commands you run and the 
 output, or ticket at trac-hacks.org

 Jeff



 On Wed, Feb 11, 2009 at 10:32:06AM -0800, Jamie @ Sierra wrote:

  Thanks Jeff. I did have Trac in debug mode and here is the relevant
  entry for TracHours:

  Trac[loader] DEBUG: Skipping TracHoursPlugin 0.2.2: (FeedParser
  not found)

  Any hints as to what to look for relating to FeedParser?

  ===

  On Feb 11, 7:38 am, Jeff Hammel jham...@openplans.org wrote:
   Enable verbose logging and look at the log.  If a trac component is 
   installed but doesn't show up in the admin panel, that usually (always?) 
   means there is an error that is swallowedbut not so silently, as trac 
   has logging ;)

   Jeff

   On Tue, Feb 10, 2009 at 05:03:23PM -0800, Jamie @ Sierra wrote:

Hey Guys,

I'm having a little grief trying to get the TracHours plugin running:

Everything appears to be in order and I was able to download and
install the plugin. It shows up in the plugin folder and entries were
added to the TRAC.INI but I have yet to see the 'Hours' link on the
Trac main page.

When I try to reinstall the plugin I receive the following error in
Trac:

Plugin TracHoursPlugin-0.2.2-py2.5.egg already installed

The TarcHours plugi nalso does not appear in the 'Plugins' list in the
'Admin' menu.

Could it be that I've stumbled on to some version incompatibility?

We are running:

Trac 0.11.2.1
Python 2.5.4
Apache 2.2.11

Thanks in advance for your assistance.

Jamie- Hide quoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
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] Sending SOAP message

2009-02-11 Thread Dave McCoy

I want to send SOAP message with authentication to consume a remote
web services.
What python library should I use. My SOAP messages includes sub-
namespace and it seems my first try with SOAPProxy didn't work.

For example: I need to pass parameter to Course Description like
this.

soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/
envelope/ xmlns:urn=urn:oracle.com
   soapenv:Header/
   soapenv:Body
  urn:CreateCourse
 CourseDescriptionCreate Sample Course/CourseDescription
  /urn:CreateCourse
   /soapenv:Body
/soapenv:Envelope

But if I run
 from SOAPpy import SOAPProxy
 url = 'http://services.xmethods.net:80/soap/servlet/rpcrouter'
 n = 'urn:xmethods-Temperature'
 server = SOAPProxy(url, namespace=n) 1
 server.config.dumpSOAPOut = 12
 server.config.dumpSOAPIn = 1
 temperature = server.CreateCourse('Create Sample Course')

It returned exception smt like
System expected element 'CourseDescription'},
SOAPpy.Types.structType ChainedException at 15381608:
{'Exception_Name': 'CX_SXMLP', 'Exception_Text': 'XSLT excep

How can I pass the above parameter to the exact field
CourseDescription ?


TIA,
Dave
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---