[Trac] Re: Reached milestones in tickets (#1440) and 0.10.1

2006-11-15 Thread Martin Tomes

Matt Good wrote:
 Martin Tomes wrote:
 I have installed 0.10.1 and am still seeing closed milestones in ticket
 edit when logged in as a user who does not have TICKET_ADMIN privilege.

 Ticket #1440 doesn't indicate which changeset fixed this issue, does
 anyone know the changeset which fixed this so that I can try to work out
 why it isn't working for us?
 
 The user who closed that ticket was mistaken, this has not yet been
 implemented.  I'll reopen the ticket, but you're welcome to reopen
 tickets if they appear to have not actually been fixed.

Thanks. Just say I was interested in fixing this (bearing in mind that 
my Python skills are very much at the beginner stage) where is the 
problem likely to be and is it likely to be an easy fix.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'

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



[Trac] Re: Problems with global trac.ini

2006-11-15 Thread [EMAIL PROTECTED]

Marc-Antoine Zizka:

I don't understand what you mean here... The local trac.ini that gets
installed DOES include the things I'm trying to override. How do we
prevent that file from having [notifications] or something so that it
uses what we've specified in the global ini.

Right now I can't tell if its bringing anything in from the global
trac.ini file.

On Nov 14, 10:42 am, Marc-Antoine Zizka [EMAIL PROTECTED]
wrote:
  [EMAIL PROTECTED] 写道:
  
   Hi everyone,
 I'm having trouble getting newly created projects to use the a global
   trac.ini file.

   Referencinghttp://trac.edgewall.org/wiki/TracIni, I checked my
   siteconfig file and see this:

   __default_conf_dir__ = '/usr/share/trac/conf'

   /usr/share/trac did not contain a config folder, so I created it and
   put a trac.ini file in that sets a  logo and turns on notification. For
   testing purposes I've given full read access on the file.

   Whenever I create a new project, none of the settings from the global
   trac.ini file exist.

   Can anyone help me out or point me to some more specific documentation?

   Thanks!

  I have the same problem, the only different point is my trac was
  working on windows..
  Anybody can help us?? Thanks..Make sure whatever settings you have in 
  your global trac.ini, are not also
 set in the project's own trac.ini -- any local setting will override its
 global counterpart.


--~--~-~--~~~---~--~~
 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: Frames like behaviour in trac

2006-11-15 Thread dev

ok, some steps that i followed you can follow these.
1create an environment for trac
  by the lines:trac-admin path/to/projectenv initenv
2give an appropriate name to the projectenv like mytrac or projectenv
or my project etc
3take the help of tracd for trac cgi mod
by the lines below
tracd -p 8080 path/to/project
4provide authority
by the lines
tracd -p 8080  --auth, path/to/project mycompany.com user
path/to/project
  and for further detail visit trac.edgewall.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Problems with global trac.ini

2006-11-15 Thread Marc-Antoine Zizka

 From: [EMAIL PROTECTED]
 
 I don't understand what you mean here... The local trac.ini that gets
 installed DOES include the things I'm trying to override. How do we
 prevent that file from having [notifications] or something so that it
 uses what we've specified in the global ini.
 
 Right now I can't tell if its bringing anything in from the global
 trac.ini file.

Just delete the lines in question from the local trac.ini, or comment them
out. And if you create a new project with Trac = 0.10, they will be
commented out automatically. See http://trac.edgewall.org/ticket/3620


--~--~-~--~~~---~--~~
 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] modifying ticket notification email behavior

2006-11-15 Thread Ogden, Jeffry Brandon

I'm trying to send Trac ticket notifications to a mailing list that
appears to only accept email when the list is explicitly in the TO list.
The only way I found in Trac to add a mailing list for all ticket
notifications is with the smtp_always_cc config in trac.ini.  Is there a
way to add an email address that will always be in the TO address list?
I don't see any config options to that effect.  I looked at the code in
/usr/lib/python2.3/site-packages/trac/notification.py (version 0.10.1)
and don't quite see where I could hack in an address.  I'm sure this is
mostly due to my novice Python knowledge.  Any ideas?  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: Problems with global trac.ini

2006-11-15 Thread Noah Kantrowitz

On Nov 15, 2006, at 3:08 PM, [EMAIL PROTECTED] wrote:


 Oh, I might be misunderstanding what's supposed to be happening  
 here. I
 was under the impression that, upon creation, the global trac.ini file
 would be used to build the local trac.ini file. I guess what you're
 saying is that attributes missing from the local trac.ini file will be
 supplemented with that in the global trac.ini file?


At runtime the two configs are merged essentially. Any time it looks  
for an option, it first looks in the local file, then the global,  
then signals an error. As mentioned before, when making an env, trac- 
admin will comment out anything that is listed in the global file,  
other wise it uses the default value for each option.

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



[Trac] Problems with email notifications

2006-11-15 Thread drs

I have been working on this for a couple of days and can't find
anything in the archives, docs, or faqs that seems to help.

When I update a ticket, I am not getting notifications despite the fact
that I have always_notify_updater set to true. The error in the log
file is:

Nov 15 12:42:18 myserver Trac[notification] INFO: no recipient for a
ticket notification

I do get notifications if I am the owner of the ticket.

I believe that there is some issue getting the email from the
Settings because I have the same error when, after installing the
wikiNotify plugin, I modify a watched page.

The notify settings in trac.ini are (server names are obfusticated but
accurate in the file):

[notification]
always_notify_owner = true
always_notify_reporter = false
always_notify_updater = true
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = true
smtp_from = [EMAIL PROTECTED]
smtp_password =
smtp_port = 25
smtp_replyto = [EMAIL PROTECTED]
smtp_server = mailmachine.dartmouth.edu
smtp_user =
use_public_cc = false
use_short_addr = false
use_tls = false

I would appreciate it if someone could point out where I might be going
wrong.

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: modifying ticket notification email behavior

2006-11-15 Thread Emmanuel Blot

 Is there a way to add an email address that will always be in the TO address 
 list?
No

 I don't see any config options to that effect.  I looked at the code in
 /usr/lib/python2.3/site-packages/trac/notification.py (version 0.10.1)
 and don't quite see where I could hack in an address.  I'm sure this is
 mostly due to my novice Python knowledge.  Any ideas?  Thanks.

In this file, line ~320, you could either push the cclist into the
to recipient list rather than in the cc list (which means that all
recipients declared in smtp_always_cc would be sent as to rather
than cc):


Index: trac/notification.py
===
--- trac/notification.py(revision 4188)
+++ trac/notification.py(working copy)
@@ -326,16 +326,15 @@
build_addresses(bccparam.replace(',', ' ').split()) or []

 recipients = []
-(toaddrs, recipients) = remove_dup(toaddrs, recipients)
+(toaddrs, recipients) = remove_dup(toaddrs + accaddrs, recipients)
 (ccaddrs, recipients) = remove_dup(ccaddrs, recipients)
-(accaddrs, recipients) = remove_dup(accaddrs, recipients)
 (bccaddrs, recipients) = remove_dup(bccaddrs, recipients)

 # if there is not valid recipient, leave immediately
 if len(recipients)  1:
 return

-pcc = accaddrs
+pcc = []
 if public_cc:
 pcc += ccaddrs
 if toaddrs:


 or hardcode a recipient in the to recipient list

Index: trac/notification.py
===
--- trac/notification.py(revision 4188)
+++ trac/notification.py(working copy)
@@ -326,6 +326,7 @@
build_addresses(bccparam.replace(',', ' ').split()) or []

 recipients = []
+toaddrs.append('[EMAIL PROTECTED]')
 (toaddrs, recipients) = remove_dup(toaddrs, recipients)
 (ccaddrs, recipients) = remove_dup(ccaddrs, recipients)
 (accaddrs, recipients) = remove_dup(accaddrs, recipients)


Note that in both cases, you *need* to enable 'use_public_cc' or no
'To' header would be emitted.

HTH,
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: Problems with email notifications

2006-11-15 Thread David R. Steiner


On Nov 15, 2006, at 3:56 PM, Emmanuel Blot wrote:


 Which version of Trac are you using?

0.10.1

 Where did you set your email address?

Clicked on the Settings Button and set my Name and Email on the  
Settings and Session Management page.


 On 11/15/06, drs [EMAIL PROTECTED] wrote:

 I have been working on this for a couple of days and can't find
 anything in the archives, docs, or faqs that seems to help.

 When I update a ticket, I am not getting notifications despite the  
 fact
 that I have always_notify_updater set to true. The error in the log
 file is:

 Nov 15 12:42:18 myserver Trac[notification] INFO: no recipient for a
 ticket notification

 I do get notifications if I am the owner of the ticket.

 I believe that there is some issue getting the email from the
 Settings because I have the same error when, after installing the
 wikiNotify plugin, I modify a watched page.

David R. Steiner   
[EMAIL PROTECTED]
UNIX System Manager   Phone:  603.646.3127
Dartmouth College  Fax:
603.646.1041
Peter Kiewit Computing Services


--~--~-~--~~~---~--~~
 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: Sent mail quite slowly ?

2006-11-15 Thread Emmanuel Blot
There may be an issue with your SMTP server - either the SMTP server
or the Trac notification configuration.
You may want to search the ML archive, this issue has already been
used, and hints to verify the SMTP server behaviour have been
discussed.

HTH,
Manu

On 11/15/06, Luc Van Tien [EMAIL PROTECTED] wrote:
 When I submit a ticket , and CC for somebody == submit quite slowly.
 If i don't fill CC field =submit is ok .

 Anyone have suggestions for me?
 Thank you very much.

  
 Hãy ghé qua trang chủ Yahoo! Việt Nam!
  





-- 
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] Email notification to component owner

2006-11-15 Thread Jen

I have a question about the component owner.  I cannot find the
documentation about this anywhere.

I am configuring our new Trac installation.  I know I must specify an
owner for each component.  Does that owner (the individual person, or
persons if the owner is a group) automatically receive an email
notification when the new ticket is submitted or updated?  I'm assuming
that Assign to and component owner are usually the same.  When they
are different, is the notification sent only to the owner of the
component?  

Thanks,
Jen


--~--~-~--~~~---~--~~
 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: Email notification to component owner

2006-11-15 Thread Eoin Dunne

By default even if you don't specify and owner the ticket is assigned to
the component owner.

If you have notification turned on in the trac.ini file (which you can
configure for each project), you can tune how you want the notification
to work.

If you assign a ticket manually to someone that isn't the component
owner I'm pretty sure the component owner will not get an notification
email.



-Original Message-
From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Jen
Sent: Wednesday, November 15, 2006 2:36 PM
To: Trac Users
Subject: [Trac] Email notification to component owner


I have a question about the component owner.  I cannot find the
documentation about this anywhere.

I am configuring our new Trac installation.  I know I must specify an
owner for each component.  Does that owner (the individual person, or
persons if the owner is a group) automatically receive an email
notification when the new ticket is submitted or updated?  I'm assuming
that Assign to and component owner are usually the same.  When they
are different, is the notification sent only to the owner of the
component?  

Thanks,
Jen




--~--~-~--~~~---~--~~
 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: Problems with email notifications

2006-11-15 Thread Emmanuel Blot

Hi David,

I wrote a unit test for this use case, and it seems Trac does fail
to send a notification in such a condition.

You can submit a new ticket, this should be easy to fix.

Regards,
Manu

On 11/15/06, David R. Steiner [EMAIL PROTECTED] wrote:


 On Nov 15, 2006, at 3:56 PM, Emmanuel Blot wrote:

 
  Which version of Trac are you using?

 0.10.1

  Where did you set your email address?

 Clicked on the Settings Button and set my Name and Email on the
 Settings and Session Management page.

 
  On 11/15/06, drs [EMAIL PROTECTED] wrote:
 
  I have been working on this for a couple of days and can't find
  anything in the archives, docs, or faqs that seems to help.
 
  When I update a ticket, I am not getting notifications despite the
  fact
  that I have always_notify_updater set to true. The error in the log
  file is:
 
  Nov 15 12:42:18 myserver Trac[notification] INFO: no recipient for a
  ticket notification
 
  I do get notifications if I am the owner of the ticket.
 
  I believe that there is some issue getting the email from the
  Settings because I have the same error when, after installing the
  wikiNotify plugin, I modify a watched page.

 David R. Steiner
 [EMAIL PROTECTED]
 UNIX System Manager   Phone:  603.646.3127
 Dartmouth College  Fax:
 603.646.1041
 Peter Kiewit Computing Services


 



-- 
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: Problems with email notifications

2006-11-15 Thread Emmanuel Blot

 You can submit a new ticket, this should be easy to fix.
Done, as #4188

-- 
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: Frames like behaviour in trac

2006-11-15 Thread Michael Renzmann

Hi.

lars_p_fink wrote:
 To summarize I would like to create a trac wiki page with a behaviour
 similar to html frames.
 
 On one side of the page I'd like to display a TracNav menu with links
 to files in the subversion repository (for example [EMAIL PROTECTED]).
 When clicking on a link in the TracNav menu it should update the
 content on the other side of the page with the source code from the
 TracBrowser. Is this possible somehow?

Summary: you want a navigation pane/box/tab/whatever that is available 
on every page of your Trac installation and, optionally, always visible?

If you're working with Trac 0.10.x, check TravNav's ticket #264: 
http://svn.ipd.uka.de/trac/javaparty/ticket/264

After applying the latest version of the patch attached to this ticket 
(irequestfilter-2.diff) you can use the result of TracNav from within 
the templates used to build the HTML for each page delivered by Trac. 
The ticket gives an example on how to make use of this feature.

The position of the resulting div and the always visible stuff can be 
achieved with CSS. Not trivial, but also no magic necessary IMO.

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