SV: [Trac] TracTicketChangesetsPlugin

2011-03-30 Thread Mikael Relbe
I intended to say that ”bug **fixes** have finally entered the repo” :)

/Mikael

 

Från: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] För
Mikael Relbe
Skickat: den 31 mars 2011 01:47
Till: trac-users@googlegroups.com
Ämne: [Trac] TracTicketChangesetsPlugin

 

Hello Trac friends

 

I’ve been (and still am) very loaded with work since last summer (which I
indicated when it all started back then).

 

However, I’ve managed to get going again with my, so far, only plugin at
Trac-Hacks – TracTicketChangesetsPlugin -- and I would like to announce that
a couple of bugs have finally entered the repo.

 

I’m really sorry for the ridiculous long delay in fixing this.

 

Best regards,

Mikael Relbe

 

https://trac-hacks.org/wiki/TracTicketChangesetsPlugin

 

-- 
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.

-- 
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] TracTicketChangesetsPlugin

2011-03-30 Thread Mikael Relbe
Hello Trac friends

 

I've been (and still am) very loaded with work since last summer (which I
indicated when it all started back then).

 

However, I've managed to get going again with my, so far, only plugin at
Trac-Hacks - TracTicketChangesetsPlugin -- and I would like to announce that
a couple of bugs have finally entered the repo.

 

I'm really sorry for the ridiculous long delay in fixing this.

 

Best regards,

Mikael Relbe

 

https://trac-hacks.org/wiki/TracTicketChangesetsPlugin

 

-- 
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: Showing issue count regardless of "max items per page"

2011-03-30 Thread sue
Actually, the issue I'm referring to is in the reports and queries
available under the "view tickets" link, not using the ticket query
macro. My users create and save their own queries from the custom
query tool, they do not use this macro.  Any other thoughts?
Sue

On Mar 29, 12:05 pm, Erik Andersson  wrote:
> Hi
>
> Not sure I understand completely, but maybe use two queries. One for
> the query and one for the count (using the count parameter, 
> seehttp://trac.edgewall.org/wiki/TracQuery#UsingtheTicketQueryMacro)
>
> Cheers / Erik
>
>
>
>
>
>
>
> On Tue, Mar 29, 2011 at 9:00 PM, sue  wrote:
> > My team would like to see the number of tickets from a query
> > regardless of whether the number exceeds the "max items per page", but
> > that web element only appears if the number returned exceeds the max
> > items (this element says "Results (1 - 10 of 29)" .
> > Is there a setting I'm missing, or is there any one out there who has
> > already customized their GUI to do this or can point me to the file to
> > modify?  We are using 0.11.7.
>
> > Thanks!
> > Sue
>
> > --
> > 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 
> > athttp://groups.google.com/group/trac-users?hl=en.

-- 
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: And again: AttributeError: Cannot find an implementation of the "IRequestHandler" interface named "WikiModule".

2011-03-30 Thread Janosch
I made once again a clean installation, still getting the same error.
I think something is wrong with trac, but i don't know how to debug.
Any ideas? File a bug report?

Kind regards
Janosch


On 25 Mrz., 00:59, Janosch  wrote:
> Hi,
> some people seem to have had this issue, but i couldn't find a
> solution for it.
>
> My setup is:
>
> - i installed virtualenv and pip on an ubuntu server
> - created a new virtual environment (python 2.5)
> - there i installed babel, genshi and trac in this order
> - then i created a trac-environment
> - integrated the thing in my apache using mod_wsgi
>
> The result is:
>
> - tracd runs fine
> - when visiting from apache, i get the error "AttributeError: Cannot
> find an implementation of the "IRequestHandler" interface named
> "WikiModule"."
>
> On this list i found someone having the same problem, kind of a
> solution was to copy lots of imports of trac modules into the wsgi
> script. I tried this to, and it did have some effect (the error
> message disappears, and trac works somehow), but still the
> installation does not work as expected (plugins do not work at all).
>
> my wsgi-handler looks like:
> ---
> import os
> import sys
> import site
>
> site.addsitedir('/.../trac/py-env/lib/python2.5/site-packages')
>
> os.environ['TRAC_ENV'] = '/.../trac/trac-env'
> os.environ['PYTHON_EGG_CACHE'] = '/.../trac/trac-env/eggs'
>
> if False: # when i switch here to True, things work somehow, but not
> correctly
>         from trac.db import sqlite_backend
>         from trac.mimeview import rst
>         from trac.ticket import query
>         from trac.ticket import report
>         from trac.versioncontrol import svn_fs
>         from trac.web import auth
>         from trac.wiki import macros
>
>         from trac import about
>         from trac import attachment
>
>         from trac.admin import web_ui
>         from trac.prefs import web_ui
>         from trac.search import web_ui
>         from trac.ticket import web_ui
>         from trac.timeline import web_ui
>         from trac.versioncontrol import web_ui
>         from trac.wiki import web_ui
>         from acct_mgr.web_ui import *
>
> import trac.web.main
> application = trac.web.main.dispatch_request
> ---
>
> my httpd.conf entry looks like:
> ---
> 
>         ServerName   ...:80
>         Alias /chrome/site /.../trac/trac-resources/site
>         Alias /chrome/common /.../trac/trac-resources/common
>         WSGIScriptAlias / /.../trac/handler.wsgi
>
>         
>                 Order allow,deny
>                 Allow from all
>         
>         
>                 WSGIApplicationGroup %{GLOBAL}
>                 Order deny,allow
>                 Allow from all
>         
>         
>                 AuthType Basic
>                 AuthName "Trac"
>                 AuthUserFile /.../trac/trac-env/htpasswd
>                 Require valid-user
>         
> 
> -
>
> at the moments everything is owned by www-data, the user my apache is
> running with.
>
> Does anybody have an idea how to get over this problem? What
> information do i have to provide, to get closer to the root of the
> problem?
>
> Kind regards,
> Janosch

-- 
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.



RE: [Trac] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Chris Nelson
Eric Ray wrote:
> ...
>> Assuming FF, are there any useful JS errors?
>> 
> 
> Ah. Maybe.
> 
> vPopupFeatures is not defined, from jsgantt.js. Any ideas?
> ...

This is http://trac-hacks.org/ticket/8574.

I hope to update TH soon with several improvements including a fix for
this bug.  It may be a week or more.  Sorry.  In the Python wrapper you
can try adding

  g.setPopupFeatures("location=1,scrollbars=1");

After

  g.setFormatArr("day","week","month","quarter");

In the JS it emits.

-- 
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.



Re: [Trac] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Erik Andersson
Maybe: http://trac-hacks.org/ticket/8573 ?

Cheers / Erik

On Wed, Mar 30, 2011 at 4:47 PM, Eric Ray  wrote:
>
> On Mar 30, 2011, at 7:45 AM, Matthew Caron wrote:
>
>> On 03/30/2011 08:53 AM, Eric Ray wrote:
>>>
>>> I just opened the page (no graph) and did View Source.
>>>
>>> I see (just the interesting part, obviously) the following code...but no 
>>> chart. Seems like it
>>> knows of stuff to chart.
>>
>> Did the Gantt JS actually get loaded? Like, is it wget-able?
>>
>
> So it appears.
>
> The script include block is:
>  src="/trac/chrome/common/js/jquery.js"> type="text/javascript" src="/trac/chrome/common/js/babel.js"> type="text/javascript" src="/trac/chrome/common/js/trac.js"> type="text/javascript" 
> src="/trac/chrome/common/js/search.js"> type="text/javascript" 
> src="/trac/chrome/common/js/folding.js"> type="text/javascript" src="/trac/chrome/tracjsgantt/jsgantt.js">
> 
>
>
> The link to jsgantt.js works when I click on it (opens the file of JS code), 
> and going
> directly to www.example.com//trac/chrome/tracjsgantt/jsgantt.js (not with 
> example, of course)
> works as well.
>
>
>
>> Assuming FF, are there any useful JS errors?
>>
>
> Ah. Maybe.
>
> vPopupFeatures is not defined, from jsgantt.js. Any ideas?
>
> The context and call is:
>               vLeftTable +=
>                   '                   'onclick=JSGantt.taskLink("' + vTaskList[i].getLink() + 
> '","'+vPopupFeatures+'"); ' +
>                   'style="cursor:pointer; 
> display:inline-block;width:'+vNameWidth+'px;overflow:hidden;padding:0px" ' +
>                   'title="'+vTaskList[i].getName()+'"> ' + 
> vTaskList[i].getName() +
>                   '' +
>                   '' ;
>
>
>
>
>
>
>
>
>
>> --
>> Matthew Caron
>> Build Engineer
>> Sixnet | www.sixnet.com
>> O +1 518 877 5173 Ext. 138
>> F +1 518 602 9209
>> matt.ca...@sixnet.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.
>
>

-- 
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.



Re: [Trac] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Eric Ray

On Mar 30, 2011, at 7:45 AM, Matthew Caron wrote:

> On 03/30/2011 08:53 AM, Eric Ray wrote:
>> 
>> I just opened the page (no graph) and did View Source.
>> 
>> I see (just the interesting part, obviously) the following code...but no 
>> chart. Seems like it
>> knows of stuff to chart.
> 
> Did the Gantt JS actually get loaded? Like, is it wget-able?
> 

So it appears. 

The script include block is: 




The link to jsgantt.js works when I click on it (opens the file of JS code), 
and going
directly to www.example.com//trac/chrome/tracjsgantt/jsgantt.js (not with 
example, of course)
works as well. 



> Assuming FF, are there any useful JS errors?
> 

Ah. Maybe. 

vPopupFeatures is not defined, from jsgantt.js. Any ideas? 

The context and call is: 
   vLeftTable += 
   ' ' + 
vTaskList[i].getName() + 
   '' +
   '' ;









> -- 
> Matthew Caron
> Build Engineer
> Sixnet | www.sixnet.com
> O +1 518 877 5173 Ext. 138
> F +1 518 602 9209
> matt.ca...@sixnet.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.



Re: [Trac] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Matthew Caron

On 03/30/2011 08:53 AM, Eric Ray wrote:


I just opened the page (no graph) and did View Source.

I see (just the interesting part, obviously) the following code...but no chart. 
Seems like it
knows of stuff to chart.


Did the Gantt JS actually get loaded? Like, is it wget-able?

Assuming FF, are there any useful JS errors?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.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] Re: Ticket.html -> MySQL-Connection

2011-03-30 Thread Ajax
I´ve found a solution.

On 24 Mrz., 17:39, Ajax  wrote:
> Hello,
>
> Here my problem:
>
> I would like to add a field in the ticket-modul. The field-content
> should be covered from the database. Specially from the table
> "session_attribute" (name=company).
>
> Here my code:
>
> 
>                   Company:
>                   
>                      name="field_company"
>
> value="$ticket.setting.session.get(company)}" size="70" />
>                   
>                 
>
> And the exception:
>
>  Trac detected an internal error:
>
> UndefinedError: None has no member named "get".
>
> Hope you can help.
>
> Best 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 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Matthew Caron

On 03/29/2011 08:46 PM, Eric Ray wrote:

2011-03-29 13:37:30,542 Trac[query] DEBUG: Count results in Query: 0


It looks like you have no results. Doesn't that mean there would be no 
chart?


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.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] Disabling links on ticket summary

2011-03-30 Thread Matthew Crane
Hi guys,

I'm running trac 12 and I was wondering if there was anyway to disable
the links on ticket summary - owner, milestone, component etc.

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: Password Policy

2011-03-30 Thread Ajax
I try it. ;)

On 29 Mrz., 16:11, David Somers Harris 
wrote:
> > As far as I know...No (Until now)
>
> Does that mean you're making it now? =D

-- 
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.