[Trac] permission settings to integrate with mylyn

2007-11-28 Thread aldana

hi,

with my provided account login data i can only access to trac from
mylyn if anonymous user has permission TRAC_ADMIN. of course this is
not a good setting.
if removing TRAC_ADMIN from anonymous i get a permission denied from
mylyn. what permission-action is neccessary to access to mylyn without
using TRAC_ADMIN?

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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: permission settings to integrate with mylyn

2007-11-28 Thread Thijs Triemstra | Collab

Have you tried XML_RPC? I noticed there's a bug with the xmlrpc  
plugin that doesn't see TRAC_ADMIN as a valid permission to make xml- 
rpc calls.

Thijs

On Nov 28, 2007, at 11:12 AM, aldana wrote:


 hi,

 with my provided account login data i can only access to trac from
 mylyn if anonymous user has permission TRAC_ADMIN. of course this is
 not a good setting.
 if removing TRAC_ADMIN from anonymous i get a permission denied from
 mylyn. what permission-action is neccessary to access to mylyn without
 using TRAC_ADMIN?

 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: permission settings to integrate with mylyn

2007-11-28 Thread aldana

yes, i am using trac 0.11 and therefore plugin tracxmlrpc 1.0.0 is
set.

with me it is a bit different, when having set permissions TRAC_ADMIN
or XML_RPC to anonymous any other users can login through xml-rpc.
when removing them no one can use xml-rpc though other accounts do
have respective rights (like XML_RPC).

it seems that anonymous is kind of super-user all accounts are
inheriting from. besides that other accounts cannot override/extend
settings when it comes to xml-rpc access. maybe an issue with plugin
tracxmlrpc 1.0.0?


On Nov 28, 11:24 am, Thijs Triemstra | Collab [EMAIL PROTECTED] wrote:
 Have you tried XML_RPC? I noticed there's a bug with the xmlrpc
 plugin that doesn't see TRAC_ADMIN as a valid permission to make xml-
 rpc calls.

 Thijs

 On Nov 28, 2007, at 11:12 AM, aldana wrote:



  hi,

  with my provided account login data i can only access to trac from
  mylyn if anonymous user has permission TRAC_ADMIN. of course this is
  not a good setting.
  if removing TRAC_ADMIN from anonymous i get a permission denied from
  mylyn. what permission-action is neccessary to access to mylyn without
  using TRAC_ADMIN?

  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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Mylyn connector and TimingAndEstimation plugin

2007-11-28 Thread Jani Tiainen

I'm using Mylyn Trac connector with TimingAndEstimation plugin.

Everything works well, except if I add time from Mylyn, total hours 
don't change which is very, very inconvenient.

I think that it's problem with XML-RPC that don't fire ticket change 
notification when ticket gets changed... Anyone observed same problem?

-- 

Jani Tiainen

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Mylyn connector and TimingAndEstimation plugin

2007-11-28 Thread Alec Thomas

On 11/28/07, Jani Tiainen [EMAIL PROTECTED] wrote:

 I'm using Mylyn Trac connector with TimingAndEstimation plugin.

 Everything works well, except if I add time from Mylyn, total hours
 don't change which is very, very inconvenient.

 I think that it's problem with XML-RPC that don't fire ticket change
 notification when ticket gets changed... Anyone observed same problem?

This shouldn't be the case. The XML-RPC plugin uses the standard ticket
model code, which triggers change listeners internally.

-- 
Evolution: Taking care of those too stupid to take care of themselves.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Owner is logged-in user in TracQuery

2007-11-28 Thread Zach Cox

Here's my query:

[[TicketQuery(status=new|assigned|reopenedowner=$USER)]]

Nothing is displayed, so I guess it doesn't work.  :(


On Nov 28, 2007 2:49 AM, Erik Andersson [EMAIL PROTECTED] wrote:
 Hi

 Did you try owner=$USER ? (http://trac.edgewall.org/wiki/TracReports)

 In 0.11 you can specify columns like in the example below:
 [[TicketQuery(owner=$USERstatus!=closed,col=id|summary|owner,table)]], but
 I think that's a new feature in 0.11 only..

 Cheers / Erik



 On Nov 27, 2007 10:56 PM, James Guyton [EMAIL PROTECTED] wrote:
 
  Have you tried TicketBoxMacro?
  http://trac-hacks.org/wiki/TicketBoxMacro
 
  If nothing else, it probably be a good start.
 
 
  Thanks!
 
  James Guyton(JGU)
 
 
 
 
  -Original Message-
  From: trac-users@googlegroups.com [mailto: [EMAIL PROTECTED] On
 Behalf Of Zach
  Sent: Tuesday, November 27, 2007 10:25 AM
  To: Trac Users
  Subject: [Trac] Owner is logged-in user in TracQuery
 
 
  I'd like to stick a TracQuery macro on the main wiki page, so when a
  user logs in they see a table listing all of their current tickets.  I
  know you can specify owner=someusername in the query, but what value
  do you set it to so owner is the current user, and not a pre-specified
  user?
 
  Is this possible in 0.10.3?
 
  Also, is it possible to specify the columns you want displayed in the
  table?
 
 
 
 
 
 


  


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Mylyn connector and TimingAndEstimation plugin

2007-11-28 Thread Jani Tiainen

Alec Thomas kirjoitti:
 On 11/28/07, Jani Tiainen [EMAIL PROTECTED] wrote:
 I'm using Mylyn Trac connector with TimingAndEstimation plugin.

 Everything works well, except if I add time from Mylyn, total hours
 don't change which is very, very inconvenient.

 I think that it's problem with XML-RPC that don't fire ticket change
 notification when ticket gets changed... Anyone observed same problem?
 
 This shouldn't be the case. The XML-RPC plugin uses the standard ticket
 model code, which triggers change listeners internally.

Well, let's see what happened:

First time change is done through XML-RPC by using Mylyn Trac connector. 
Next three ones are just test of my collegue who added 1 hour, then he 
added 10 hours (totals 11 and then reduced one hour to make it back to ten).

Only first hours set to 10h change happened from Mylyn, rest are made 
through Trac web ui. I've also another ticket handled same way and it 
has same problem.


Excerpt from Trac ticket in question:

11/27/07 09:39:21 changed by jtiai  ¶

 * owner changed from Everyone to jtiai.
 * status changed from new to assigned.

11/28/07 13:58:05 changed by jtiai ¶

 * status changed from assigned to closed.
 * resolution set to fixed.

(In [1861]) Initial version of profile model and manager. Closes #448

11/28/07 13:59:16 changed by jtiai  ¶

 * hours set to 10h.

Actually this was generic profile model.

11/28/07 14:03:12 changed by alexeev  ¶

 * hours set to 10h.
 * totalhours changed from 1h to 11h.

11/28/07 14:03:17 changed by alexeev ¶

 * hours set to -1h.
 * totalhours changed from 11h to 10h.


What is more interesting is e-mail response I got (look carefully hours 
and totalhours in header and hours and totalhours change...) Something 
doesn't match.:

--+-
   Reporter:  jniva|Owner:  jtiai
   Type:  enhancement  |   Status:  closed
   Priority:  normal   |Milestone:  Sprint 1
  Component:  Unspecified  |  Version:
   Severity:  normal   |   Resolution:  fixed
   Keywords:   |   Estimatedhours:  7.5
  Hours:  10   | Billable:  0
Totalhours:  0|
--+-Changes
 
(by jtiai):

   * hours:  0 = 10
   * totalhours:  0.0 = 10.0

Comment:

  Actually this was generic profile model.

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: permission settings to integrate with mylyn

2007-11-28 Thread C. Daniel Chase

aldana wrote:
 yes, i am using trac 0.11 and therefore plugin tracxmlrpc 1.0.0 is
 set.

I can't recall where I first read it, but I do remember reading 
somewhere you must use the trunk version of the xmlrpc plugin when using 
with Trac .11dev. Here's a blog posting describing the same situation:

http://nil.checksite.co.uk/index.cfm/2007/10/29/Trac-011-and-Mylyn

I use it at home with no problem, but I'm still on Trac .10.4 here at work.

-Dan

-- 
C. Daniel Chase  [EMAIL PROTECTED]
Web Systems Analyst (423) 425-4003
The University of Tennessee at Chattanooga http://www.utc.edu/
Get Firefox!   http://www.spreadfirefox.com/?q=affiliatesid=58708t=1


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] TracInstall : Troubles in admin.py

2007-11-28 Thread dev . fabien . alin

Hi all,

I am new on Trac.
I've just tried to install it...
but i got an error during the compilation :

byte-compiling /usr/lib/python2.5/site-packages/trac/scripts/admin.py
to admin.pyc
  File /usr/lib/python2.5/site-packages/trac/scripts/admin.py, line
17
from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of
the file


So, i can't go on in the installation process ...
Someone has any idea ?

For information, I've download the package from the following url :
 http://ftp.edgewall.com/pub/trac/trac-0.9.6.tar.gz
I work on a ubuntu dist (feisty).

Thanks in advance.

Regards.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracInstall : Troubles in admin.py

2007-11-28 Thread Emmanuel Blot

Download the latest release (0.10.4) from
http://trac.edgewall.org/wiki/TracDownload#LatestStableRelease

0.9.6 is quite old, and I'm sure it has been ever tested with Python 2.5

Cheers,
Manu

On 11/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hi all,

 I am new on Trac.
 I've just tried to install it...
 but i got an error during the compilation :

 byte-compiling /usr/lib/python2.5/site-packages/trac/scripts/admin.py
 to admin.pyc
   File /usr/lib/python2.5/site-packages/trac/scripts/admin.py, line
 17
 from __future__ import generators
 SyntaxError: from __future__ imports must occur at the beginning of
 the file


 So, i can't go on in the installation process ...
 Someone has any idea ?

 For information, I've download the package from the following url :
  http://ftp.edgewall.com/pub/trac/trac-0.9.6.tar.gz
 I work on a ubuntu dist (feisty).

 Thanks in advance.

 Regards.


 



-- 
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: A first contact with trac

2007-11-28 Thread joluinfante

Ok, Daniel. Thanks for your answers.
I have more questions...

* Where I can learn about create components. Can a component be
created by a gui interface or, I need update parameters files with vi?
* Where I can learn about default workflow?
* You say in the new version, the workflow will can be customized.
I'd like to see, in the customization, the posibility of execute a few
scripts to do the changes in the svn. Is It in the route map? I need
use the bug tracking system to complement the change management of
sources (the source in the svn db).
* Do you speak spanish (my english is bad, you can see).

TIA
jorge infante
sysadmin
rosario - santa fe - argentina

On 27 nov, 10:16, dserodio [EMAIL PROTECTED] wrote:
 On Nov 26, 7:30 pm, joluinfante [EMAIL PROTECTED] wrote:

  Hi, forum.
  I'd like to use svn, for do versioning of the sources, and I'd like
  manage the workflow (state of changes). For it, I did download helix,
  to do afirstcontact with the product.

 Helix? What's that and how does it relate to Trac?

  I have a few applications (erp, commercial, technical maintenance),
  with daily changes (new features, bug correction).
  I need:
  * put all sources of each application in svn. I can do it with trac?

 Trac provides a read-only interface of the Subversion repository, so
 you'll need to import your existing sources using svn import or
 similar.

  * each application contains several projects, I need to create a
  component for each one. Is it the correct method? I have projects in
  a lot of languages (oracle forms, delphi, c#, vb6, java).

 If your applications are composed of several projects, then it
 sounds good, an environment for each application and a component for
 each project.

  * Create a ticket for the change requirement in a component (an end
  user can do it), then the boss of developers take the problem, and put
  it in a tasklist of a developer, then the developer do the change,
  then the component is ok for test, then the component is validated as
  ok for the end user, then the end user authorize the move to
  production environment of the component.
  Is it this posible with trac?

 With the current released version (0.10.4), you cannot customize the
 default workflow, which you can see 
 herehttp://trac.edgewall.org/wiki/TracTickets

 For the next release (0.11) it'll be possible to customize the
 workflow as you like, search the Trac wiki for details.

 Hope this helps,
 Daniel Serodio

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: TracInstall : Troubles in admin.py

2007-11-28 Thread Fabien Alin
Yes. That's great. I've just tried the 0.10.4, and it's ok.

Thanks a lot.

Regards,
Fabien

On Nov 28, 2007 3:37 PM, Emmanuel Blot [EMAIL PROTECTED] wrote:


 Download the latest release (0.10.4) from
 http://trac.edgewall.org/wiki/TracDownload#LatestStableRelease

 0.9.6 is quite old, and I'm sure it has been ever tested with Python 2.5

 Cheers,
 Manu

 On 11/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  I am new on Trac.
  I've just tried to install it...
  but i got an error during the compilation :
 
  byte-compiling /usr/lib/python2.5/site-packages/trac/scripts/admin.py
  to admin.pyc
File /usr/lib/python2.5/site-packages/trac/scripts/admin.py, line
  17
  from __future__ import generators
  SyntaxError: from __future__ imports must occur at the beginning of
  the file
 
 
  So, i can't go on in the installation process ...
  Someone has any idea ?
 
  For information, I've download the package from the following url :
   http://ftp.edgewall.com/pub/trac/trac-0.9.6.tar.gz
  I work on a ubuntu dist (feisty).
 
  Thanks in advance.
 
  Regards.
 
 
  
 


 --
 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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Specify Date Range for Reports

2007-11-28 Thread guthriepat

Folks,

I'm a bit new to the TRACS reporting and my SQL skills are non-
existent.  However I need to generate reports from tickets we put into
TRACS.

I want to create a report that will only give me closed tickets for a
specified date range (typically, 1 month like you can do in the
timeline view).  It would also be nice (maybe as a seperate report) to
collate closed tickets by component and a specified date range.

Is this possible?  Does anyone know how to do it?

thanks

Pat

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Specify Date Range for Reports

2007-11-28 Thread Erik Andersson
Hi

You can do something like:

SELECT t.id,t.summary,t.component,t.milestone FROM ticket AS t,ticket_change
AS tc
WHERE t.id=tc.ticket
AND field='status'
AND newvalue='closed'
AND strftime('%Y-%m-%d',datetime(tc.time, 'unixepoch'),'localtime') =
datetime('$FROM','localtime')
AND strftime('%Y-%m-%d',datetime(tc.time, 'unixepoch'),'localtime') 
datetime('$TO','localtime')

Then pass the arguments TO and FROM by adding ?FROM=2007-10-01TO=2007-11-01
to the end of the report url.

Also see: http://trac.edgewall.org/wiki/TracReports

Cheers / Erik

On Nov 28, 2007 6:30 PM, [EMAIL PROTECTED] wrote:


 Folks,

 I'm a bit new to the TRACS reporting and my SQL skills are non-
 existent.  However I need to generate reports from tickets we put into
 TRACS.

 I want to create a report that will only give me closed tickets for a
 specified date range (typically, 1 month like you can do in the
 timeline view).  It would also be nice (maybe as a seperate report) to
 collate closed tickets by component and a specified date range.

 Is this possible?  Does anyone know how to do it?

 thanks

 Pat

 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: A first contact with trac

2007-11-28 Thread Erik Andersson
Hi

See http://trac.edgewall.org

For the creation of components you can use webadmin (
http://trac.edgewall.org/wiki/WebAdmin).

And for workflow start by reading this -
http://trac.edgewall.org/wiki/TracWorkflow

Cheers / Erik

On Nov 28, 2007 3:23 PM, joluinfante [EMAIL PROTECTED] wrote:


 Ok, Daniel. Thanks for your answers.
 I have more questions...

 * Where I can learn about create components. Can a component be
 created by a gui interface or, I need update parameters files with vi?
 * Where I can learn about default workflow?
 * You say in the new version, the workflow will can be customized.
 I'd like to see, in the customization, the posibility of execute a few
 scripts to do the changes in the svn. Is It in the route map? I need
 use the bug tracking system to complement the change management of
 sources (the source in the svn db).
 * Do you speak spanish (my english is bad, you can see).

 TIA
 jorge infante
 sysadmin
 rosario - santa fe - argentina

 On 27 nov, 10:16, dserodio [EMAIL PROTECTED] wrote:
  On Nov 26, 7:30 pm, joluinfante [EMAIL PROTECTED] wrote:
 
   Hi, forum.
   I'd like to use svn, for do versioning of the sources, and I'd like
   manage the workflow (state of changes). For it, I did download helix,
   to do afirstcontact with the product.
 
  Helix? What's that and how does it relate to Trac?
 
   I have a few applications (erp, commercial, technical maintenance),
   with daily changes (new features, bug correction).
   I need:
   * put all sources of each application in svn. I can do it with trac?
 
  Trac provides a read-only interface of the Subversion repository, so
  you'll need to import your existing sources using svn import or
  similar.
 
   * each application contains several projects, I need to create a
   component for each one. Is it the correct method? I have projects in
   a lot of languages (oracle forms, delphi, c#, vb6, java).
 
  If your applications are composed of several projects, then it
  sounds good, an environment for each application and a component for
  each project.
 
   * Create a ticket for the change requirement in a component (an end
   user can do it), then the boss of developers take the problem, and put

   it in a tasklist of a developer, then the developer do the change,
   then the component is ok for test, then the component is validated as
   ok for the end user, then the end user authorize the move to
   production environment of the component.
   Is it this posible with trac?
 
  With the current released version (0.10.4), you cannot customize the
  default workflow, which you can see
 herehttp://trac.edgewall.org/wiki/TracTickets
 
  For the next release (0.11) it'll be possible to customize the
  workflow as you like, search the Trac wiki for details.
 
  Hope this helps,
  Daniel Serodio

 


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---