[Trac] Re: mime-type for Trac Wiki format, Include macro and storing trac wiki pages in SVN

2009-09-11 Thread Ryan J Ollos



Brett Delle Grazie wrote:
 
 Or is there a simpler way that I don't know about?
 

Having just finished working on a mime-type issue related to downloading
Open XML files from the wiki, I wonder if the `mime_types` option in the
[mimeviewer] section of trac.ini would be relevant in this case as well.

http://trac.edgewall.org/wiki/TracIni#mimeviewer-section

-- 
View this message in context: 
http://www.nabble.com/mime-type-for-Trac-Wiki-format%2C-Include-macro-and-storing-trac-wiki-pages-in-SVN-tp25386792p25395653.html
Sent from the Trac Users mailing list archive at Nabble.com.


--~--~-~--~~~---~--~~
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] Search for milestone change in change history

2009-09-11 Thread David

Hello,

Is it possible to search tickets which have made change in specific
fields,
e.g. search out the tickets which changed from milestone A to
milestone B ?


BRs,
David Su
--~--~-~--~~~---~--~~
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 changeset code review

2009-09-11 Thread RJOllos

On Sep 7, 9:38 am, Matt matj...@gmail.com wrote:
 Is there any plug-in that integrates code review (comments on lines of
 code) into changeset?

 Something similar like Google code code review is.

I'm just starting to look at the same issue, so I'll let you know what
I find over the next few days.  The only plugin I know of is the
PeerReviewPlugin [1].  I haven't used a code review tool before, so
I'm looking to experiment a little and do some feature comparison,
then determine how it would integrate into the Trac workflow.

[1] http://trac-hacks.org/wiki/PeerReviewPlugin
--~--~-~--~~~---~--~~
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] Does Trac comply with Section 508?

2009-09-11 Thread Mike

Hi all,

I was wondering if Trac complies with Section 508 of the
Rehabilitation Act. I work for the government, and would like to use
Trac to manage our projects, but the government requires that all
services on the web comply with Section 508 for accessibility reasons.

Here's more information on what this is:

http://www.section508.gov/index.cfm

Thanks very much

--~--~-~--~~~---~--~~
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] customization of email notification

2009-09-11 Thread bubacoo

Hi, please can I somehow customize email notification? e.g. I don't
want to have changes information. Or I want only comment from last
change.

Can I do it without modifying notification.py? Have you noticed a hack/
plugin for that?

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] owner notification only for ticket closing

2009-09-11 Thread bubacoo

hi, please can I configure somehow to have owner notification only
when closing ticket (no opening, no update)? Is there a hack/macro for
that?

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: Trac changeset code review

2009-09-11 Thread RJOllos

On Sep 7, 9:38 am, Matt matj...@gmail.com wrote:
 Is there any plug-in that integrates code review (comments on lines of
 code) into changeset?

Google Groups isn't returning many search results, so you probably
didn't get any hits if you searched, but there are several posting on
this in the archives:

http://www.nabble.com/forum/Search.jtp?forum=15400local=yquery=code+review
--~--~-~--~~~---~--~~
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] Dumb SQL ticket field replace question

2009-09-11 Thread Roger Oberholtzer

I admit it. SQL is not my area. So bear with me on a stupid question:

I want to change all values of the 'cc' field in all tickets to some
value. I do not care what is already there. I will replace it. I have
tried many things, but I do not seem to get it to work.

I can list the field with:

SELECT id AS Cc, cc FROM ticket;

However, when I try to update the value of the 'cc' field with:

UPDATE ticket SET value = '@Tickets' WHERE name = 'cc';

I get this error:

SQL error: no such column: value


What am I doing wrong?

--
Roger Oberholtzer







--~--~-~--~~~---~--~~
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: Dumb SQL ticket field replace question

2009-09-11 Thread Chris Shelton

Roger,

On Fri, Sep 11, 2009 at 9:48 AM, Roger Oberholtzer
roger.oberholt...@gmail.com wrote:

 I want to change all values of the 'cc' field in all tickets to some
 value. I do not care what is already there. I will replace it. I have
 tried many things, but I do not seem to get it to work.

 I can list the field with:

        SELECT id AS Cc, cc FROM ticket;

 However, when I try to update the value of the 'cc' field with:

        UPDATE ticket SET value = '@Tickets' WHERE name = 'cc';

 I get this error:

        SQL error: no such column: value

If you want to change ALL tickets, then the correct sql would be more like this:

UPDATE ticket SET cc = '@Tickets';

There is no need for a where clause at all, if you want to change all tickets.

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] Can't enable post-commit hook using repositoryhooksystem 0.1.1

2009-09-11 Thread Olemis Lang

Hello !

I'm trying to enable SVN post-commit hook via web admin . Server is
Win2k3 + py 2.5 + trac 0.11.1

I'm using repositoryhooksystem 0.1.1 . No matter how hard I click on
enable check box, the hook's never enabled and the checkbox remains
unchecked after the HTTP response is sent back to my browser. Nothing
is reported in the log file and I can browse the source code , and so
on (so should not be a problem with VCS connector or repos setup ;o)

Besides TicketChanger is enabled and active but this feature doesn't
work (but I suppose that's a consequence of the previous issue : how
could it work if hooks are not setup ?).

Does anybody has a clue ? What's happenning ? What's (could be) wrong ?

Thnx in advance !

-- 
Regards,

Olemis.

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

Featured article:
Introducción a la API de Google Analytics  -
http://feedproxy.google.com/~r/simelo-es/~3/iRzT5_lZg4c/introduccion-la-api-de-google-analytics.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: Does Trac comply with Section 508?

2009-09-11 Thread Erik Bray

On Thu, Sep 10, 2009 at 5:27 PM, Mikemike.e.char...@gmail.com wrote:

 Hi all,

 I was wondering if Trac complies with Section 508 of the
 Rehabilitation Act. I work for the government, and would like to use
 Trac to manage our projects, but the government requires that all
 services on the web comply with Section 508 for accessibility reasons.

 Here's more information on what this is:

 http://www.section508.gov/index.cfm

 Thanks very much

I love how that site is itself horribly broken.  But what else is new?
 I've worked in government space, but I still never get used to it.

I don't know if Trac complies, but it could probably be made to if
necessary.  Wouldn't be a bad idea.

--~--~-~--~~~---~--~~
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: customization of email notification

2009-09-11 Thread Erik Bray

On Fri, Sep 11, 2009 at 4:42 AM, bubacoobuba...@gmail.com wrote:

 Hi, please can I somehow customize email notification? e.g. I don't
 want to have changes information. Or I want only comment from last
 change.

 Can I do it without modifying notification.py? Have you noticed a hack/
 plugin for that?

 Thank you

There's a Genshi text template for the ticket notifications.  The
easiest place to start would be to modify that.

--~--~-~--~~~---~--~~
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: Can't enable post-commit hook using repositoryhooksystem 0.1.1

2009-09-11 Thread Olemis Lang

On Fri, Sep 11, 2009 at 10:37 AM, Olemis Lang ole...@gmail.com wrote:
 Hello !

 I'm trying to enable SVN post-commit hook via web admin . Server is
 Win2k3 + py 2.5 + trac 0.11.1

 I'm using repositoryhooksystem 0.1.1 . No matter how hard I click on
 enable check box, the hook's never enabled and the checkbox remains
 unchecked after the HTTP response is sent back to my browser. Nothing
 is reported in the log file and I can browse the source code , and so
 on (so should not be a problem with VCS connector or repos setup ;o)


Well there's something odd in here . I'm using Apache and post-commit
hook looks like :

{{{
#!/bin/bash

# trac repository hook system
C:\Program Files\Apache\2.2\bin\httpd.exe
e:\path\to\env\plugins\repositoryhooksystem-0.1.1-py2.5.egg\repository_hook_system\listener.py
-p E:\path\to\env --hook post-commit $2

}}}

I tried to change it like

{{{
#!/bin/bash

# trac repository hook system
C:\Program Files\Python\2.5\python.exe
e:\path\to\env\plugins\repositoryhooksystem-0.1.1-py2.5.egg\repository_hook_system\listener.py
-p E:\path\to\env --hook post-commit $2

}}}

however, after trying to apply changes , the file is rebuilt
automatically and replaces Python by Apache once again.

gggrr ... Looking forward to your comments | suggestions !

-- 
Regards,

Olemis.

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

Featured article:
Introducción a la API de Google Analytics  -
http://feedproxy.google.com/~r/simelo-es/~3/iRzT5_lZg4c/introduccion-la-api-de-google-analytics.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: customization of email notification

2009-09-11 Thread Hendrik Renken

Hi,

i had the same problem. I didn't want to get the changes on a ticket.  
I just wanted to inform a mailing list when a ticket is opened or  
closed. I found the following solution:

 As suggested, i'm now getting these informations through the rss  
 feed of the timeline, providing just that (see the options in the  
 right panel). The rss feed is read by the tool rss2email 
 http://rss2email.infogami.com/ 
 . Its running on my ubuntu machine in a cronjob every 10 minutes,  
 sending a mail when something has changed (there are some options to  
 customize that).


Hendrik



On 11.09.2009, at 17:52, Erik Bray wrote:


 On Fri, Sep 11, 2009 at 4:42 AM, bubacoobuba...@gmail.com wrote:

 Hi, please can I somehow customize email notification? e.g. I don't
 want to have changes information. Or I want only comment from last
 change.

 Can I do it without modifying notification.py? Have you noticed a  
 hack/
 plugin for that?

 Thank you

 There's a Genshi text template for the ticket notifications.  The
 easiest place to start would be to modify that.

 

--~--~-~--~~~---~--~~
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: Can't enable post-commit hook using repositoryhooksystem 0.1.1

2009-09-11 Thread Jeff Hammel

On Fri, Sep 11, 2009 at 10:37:13AM -0500, Olemis Lang wrote:
 
 Hello !
 
 I'm trying to enable SVN post-commit hook via web admin . Server is
 Win2k3 + py 2.5 + trac 0.11.1
 
 I'm using repositoryhooksystem 0.1.1 . No matter how hard I click on
 enable check box, the hook's never enabled and the checkbox remains
 unchecked after the HTTP response is sent back to my browser. 

Click harder ;)

 Nothing
 is reported in the log file and I can browse the source code , and so
 on (so should not be a problem with VCS connector or repos setup ;o)
 
 Besides TicketChanger is enabled and active but this feature doesn't
 work (but I suppose that's a consequence of the previous issue : how
 could it work if hooks are not setup ?).
 
 Does anybody has a clue ? What's happenning ? What's (could be) wrong ?
 
 Thnx in advance !
 
 -- 
 Regards,
 
 Olemis.

This is really hard to debug without server access.  Essentially, it probably 
comes from the fact that what this plugin is trying to do (parse the 
post-commit-hook file, check for FS permissions, etc) is pretty hard to do 
programmatically.  My actual advice is to write the post-commit-hook file by 
hand. 

As far as your subsequent apache issue, I haven't a clue, sorry.

Jeff

--~--~-~--~~~---~--~~
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: Can't enable post-commit hook using repositoryhooksystem 0.1.1

2009-09-11 Thread Olemis Lang

On Fri, Sep 11, 2009 at 12:38 PM, Jeff Hammel jham...@openplans.org wrote:
 On Fri, Sep 11, 2009 at 10:37:13AM -0500, Olemis Lang wrote:

 Hello !

 I'm trying to enable SVN post-commit hook via web admin . Server is
 Win2k3 + py 2.5 + trac 0.11.1

 I'm using repositoryhooksystem 0.1.1 . No matter how hard I click on
 enable check box, the hook's never enabled and the checkbox remains
 unchecked after the HTTP response is sent back to my browser.

 Click harder ;)


I did use a big hammer !
Smash those mice up !:P

 Nothing
 is reported in the log file and I can browse the source code , and so
 on (so should not be a problem with VCS connector or repos setup ;o)

 Besides TicketChanger is enabled and active but this feature doesn't
 work (but I suppose that's a consequence of the previous issue : how
 could it work if hooks are not setup ?).

 Does anybody has a clue ? What's happenning ? What's (could be) wrong ?

 Thnx in advance !


 This is really hard to debug without server access.  Essentially, it probably
 comes from the fact that what this plugin is trying to do (parse the
 post-commit-hook file,

Empty

 check for FS permissions,

Well I already fixed that - it seems to fail in Windows (mknod's missing ;o).

 etc) is pretty hard to do
 programmatically.

The SVN impl, yes .

 My actual advice is to write the post-commit-hook file by hand.


Could be, but : I know nothing about the activation step (i.e. the
hook-enabled condition) . Does anybody know what to do in order to
make the plugin believe that it did enable the post-commit hook ?

 As far as your subsequent apache issue, I haven't a clue, sorry.


Well the fact is that the plugin uses `sys.executable` in order to
form the string for the repos hook . If using `tracd` this should be
python exec, but when using Apache + Windows it's `httpd.exe` . That's
something that has to be fixed ;o)

Thnx .

-- 
Regards,

Olemis.

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

Featured article:
Introducción a la API de Google Analytics  -
http://feedproxy.google.com/~r/simelo-es/~3/iRzT5_lZg4c/introduccion-la-api-de-google-analytics.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: Can't enable post-commit hook using repositoryhooksystem 0.1.1

2009-09-11 Thread Jeff Hammel

On Fri, Sep 11, 2009 at 12:59:21PM -0500, Olemis Lang wrote:
 
 On Fri, Sep 11, 2009 at 12:38 PM, Jeff Hammel jham...@openplans.org wrote:
  On Fri, Sep 11, 2009 at 10:37:13AM -0500, Olemis Lang wrote:
 
  Hello !
 
  I'm trying to enable SVN post-commit hook via web admin . Server is
  Win2k3 + py 2.5 + trac 0.11.1
 
  I'm using repositoryhooksystem 0.1.1 . No matter how hard I click on
  enable check box, the hook's never enabled and the checkbox remains
  unchecked after the HTTP response is sent back to my browser.
 
  Click harder ;)
 
 
 I did use a big hammer !
 Smash those mice up !:P
 
  Nothing
  is reported in the log file and I can browse the source code , and so
  on (so should not be a problem with VCS connector or repos setup ;o)
 
  Besides TicketChanger is enabled and active but this feature doesn't
  work (but I suppose that's a consequence of the previous issue : how
  could it work if hooks are not setup ?).
 
  Does anybody has a clue ? What's happenning ? What's (could be) wrong ?
 
  Thnx in advance !
 
 
  This is really hard to debug without server access.  Essentially, it 
  probably
  comes from the fact that what this plugin is trying to do (parse the
  post-commit-hook file,
 
 Empty
 
  check for FS permissions,
 
 Well I already fixed that - it seems to fail in Windows (mknod's missing ;o).

Yeah, I not only don't know windows but don't even have access to a windows 
machine.  So you might guess my plugins are not tested there.
 
  etc) is pretty hard to do
  programmatically.
 
 The SVN impl, yes .
 
  My actual advice is to write the post-commit-hook file by hand.
 
 
 Could be, but : I know nothing about the activation step (i.e. the
 hook-enabled condition) . Does anybody know what to do in order to
 make the plugin believe that it did enable the post-commit hook ?

The checkbox for enabled and all associated checks shouldn't affect the plugin 
logic.  That is, if the commit hook is written correctly, whether the checkbox 
says enabled or not, the plugin should work.  I have had to deal with this even 
on unix.  Probably should be noted on the wiki.

  As far as your subsequent apache issue, I haven't a clue, sorry.
 
 
 Well the fact is that the plugin uses `sys.executable` in order to
 form the string for the repos hook . If using `tracd` this should be
 python exec, but when using Apache + Windows it's `httpd.exe` . That's
 something that has to be fixed ;o)

I agree.  I'll do it when I can, though I generally only get to work on plugins 
that my company wants today, sadly :(

--~--~-~--~~~---~--~~
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] Incorrect ticket urls in email notifications ...

2009-09-11 Thread Kiffin Gish

The trac email notifications contain incorrect url links to the tickets
they refer to, where can I correct this?

-- 
Kiffin Gish kiffin.g...@planet.nl
Gouda, 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] How to just show one line of ticket in TrackReports

2009-09-11 Thread Hal

We're using Trac 11.5rc1 with sqlite on python 2.4.3

What I'd like to do is show only the first line of the description
field in a report. Amazingly, sqlite doesn't appear to have a built-in
function for this, and I'd have to load an extension for sqlite,
and 

Seems like there must be a better way. My current workaround is to
just display an arbitrary number of characters from the description
field via substr function. My current TrackReport query is:
 SELECT p.value AS __color__,
priority AS __group__,
id AS ticket, owner, summary, component, t.type AS type,
substr(description,1,80) AS _Description_
   FROM ticket t
   LEFT JOIN enum p ON p.name = t.priority AND p.type = 'priority'
   WHERE t.type  'event' AND status  'closed' AND milestone 
'Suggestion Box' AND p.value = '8' AND p.value  '10'
   ORDER BY p.value, t.type

Any suggestions on improving this welcomed.
--~--~-~--~~~---~--~~
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] Popup of existing tag values to choose from?

2009-09-11 Thread Hal

We're using Trac 11.5rc1 with sqlite on python 2.4.3 with the TracTags
0.6 plugin.

Is anyone aware of any plugin that presents existing tag values in a
popup window to select form? (The existing link just goes to the tag
cloud page.)

Ideally, this is an option, and users are still free to create new
tags (if allowed).

--Hal
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---