[Trac] autocompleteusers - customselectadmin together are broken? is trac guilty or one of the plugins?

2009-07-29 Thread rupert thurner

when enabling autocompleteusers we get the following error:

Trac detected an internal error:
AttributeError: 'CustomSelectPanel' object has no attribute
'get_htdocs_dirs'

on loading the javascript:
projects/myproject/chrome/autocompleteusers/js/autocomplete.js

if we disable http://trac-hacks.org/wiki/CustomSelectAdminPlugin,
http://trac-hacks.org/wiki/AutocompleteUsersPlugin works.

who is repsonsible for this, the plugin interface or one of the
plugins?

rupert.


--~--~-~--~~~---~--~~
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 WorkFlow?

2009-07-29 Thread yoheeb

On Jul 29, 1:35 am, Raina ajeetra...@gmail.com wrote:
 I have been inspired by One Laptop Per Child Trac Workflow. I have
 setup Trac and want to know if anyone who can suggest me How can I
 bring it into implementation? . the Workflow which inspired me
 is :http://wiki.laptop.org/go/Trac_ticket_workflow

 Please Suggest.

Wow, there are a lot of ways one could go on that.  I think I have
some idea's, which I won't have time to get to for a while.  However,
I would suggest that maybe, assuming you get some dialog here, you add
it to one of the recipies or cookbook pages, or just a sub-page
under TracWorkFlow etc.

BTW, it's pretty good inspiration.
--~--~-~--~~~---~--~~
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: Link to ticket custom field value?

2009-07-29 Thread yoheeb

 On Jul 27, 3:02 pm, yoheeb yoh...@gmail.com wrote:

  would this be possible?  I guess I could actually do it the other way
  by using a text area field, and using include macro to link to wiki
  text, however what I would like to do:

  include in the wiki something like:

  ticket X has an estimated hours value of [[GetTicketField
  (X ,estimatedhours)]]  where X is a ticket number

  What would be the best place to start for a macro like this?
  IncludeMacro?

  Thanks
[moved to bottom post]
On Jul 28, 4:46 pm, RJOllos ry...@physiosonics.com wrote:
 Would one of the SQL macros [1], [2] help you?  Perhaps you can just
 pull from the ticket_custom table.

 [1]http://trac-hacks.org/wiki/SqlQueryMacro
 [2]http://trac-hacks.org/wiki/WikiTableMacro


Yes, thanks, the WikiTableMacro plugin added support for scalars. (1x1
result sets)  I will probably wrap that so that i can use my sample
format in the OP, as right now I to include the sql directly, but,
that's no biggie.

It's a nice piece of the puzzle for what I am trying to do with the
wiki at the moment.  man I love this tool.
--~--~-~--~~~---~--~~
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] Is there a way to access the contents of Wiki pages from another application?

2009-07-29 Thread Ferenczi Viktor

Hi,

I need to access the contents of Wiki pages without Trac's header and footer 
from an another Web application. It is to allow editing those pages from 
Trac, but showing them on our Web site. Is there a plugin for this?

Thanks, Viktor

--~--~-~--~~~---~--~~
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: Is there a way to access the contents of Wiki pages from another application?

2009-07-29 Thread Olemis Lang

On Wed, Jul 29, 2009 at 9:29 AM, Ferenczi Viktorpyt...@cx.hu wrote:

 Hi,

 I need to access the contents of Wiki pages without Trac's header and footer
 from an another Web application. It is to allow editing those pages from
 Trac, but showing them on our Web site. Is there a plugin for this?


This is really a very common question. So the archives are full of
responses like:

{{{

Yes, it's possible. TracXmlRpcPlugin implements WikiRPC API, which
includes methods to render arbitrary WikiFormatting, retrieve page
contents and many other features. So you could access such
functionality and nformation by using any XML RPC client lib written
in any programming language .

}}}

-- 
Regards,

Olemis.

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

Featured article:

--~--~-~--~~~---~--~~
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] Submitting bug reports to different Trac envs

2009-07-29 Thread Olemis Lang

I've just realized something : On submitting a bug report the only
choice available is Trac's main site (i.e. trac.edgewall.org )

What a discovery ... hmmm?

But I wander :

- Isnt it a good idea to offer the possibility to submit bug reports
to different sites ?

The list of sites could be retrieved considering

  * Edgewall + TH.org
  * InterTrac prefixes
  * Plugins home page
  * An interface plugins can implement for this purpose
  * a specific config option
  * add your own ...

IMO that would be great . Otherwise the only option is to copy
everything by hand ... :-$

Just random thoughts. BTW If there's a better way to submit bugs
automatically to third-party sites, pls let me know ;o)

-- 
Regards,

Olemis.

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

Featured article:

--~--~-~--~~~---~--~~
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: Is there a way to access the contents of Wiki pages from another application?

2009-07-29 Thread Ferenczi Viktor

Dear Olemis,

  I need to access the contents of Wiki pages without Trac's header and
  footer from an another Web application. It is to allow editing those
  pages from Trac, but showing them on our Web site. Is there a plugin for
  this?

 This is really a very common question. So the archives are full of
 responses like:

Thanks for you quick answer, it helped a lot.

I just couldn't find that. Maybe I used wrong search expressions.

Viktor

--~--~-~--~~~---~--~~
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: autocompleteusers - customselectadmin together are broken? is trac guilty or one of the plugins?

2009-07-29 Thread Ethan Jucovy
It looks like CustomSelectPanel implements ITemplateProvider[1] but doesn't
implement the .get_htdocs_dirs method of the ITemplateProvider
interface[2].  Is that method required by ITemplateProvider implementations?

You might try adding a noop `def get_htdocs_dirs(self): return []` to the
class in customselectadmin.py to see if that fixes it.

egj

[1]
http://trac-hacks.org/browser/customselectadminplugin/0.11/CustomSelectAdmin/customselectadmin.py#L9
[2] http://trac.edgewall.org/browser/trunk/trac/web/chrome.py#L241

On Wed, Jul 29, 2009 at 8:54 AM, rupert thurner rupert.thur...@gmail.comwrote:


 when enabling autocompleteusers we get the following error:

 Trac detected an internal error:
 AttributeError: 'CustomSelectPanel' object has no attribute
 'get_htdocs_dirs'

 on loading the javascript:
 projects/myproject/chrome/autocompleteusers/js/autocomplete.js

 if we disable http://trac-hacks.org/wiki/CustomSelectAdminPlugin,
 http://trac-hacks.org/wiki/AutocompleteUsersPlugin works.

 who is repsonsible for this, the plugin interface or one of the
 plugins?

 rupert.


 


--~--~-~--~~~---~--~~
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] have we lost some archive info?

2009-07-29 Thread yoheeb

I have noticed my searches aren't returning nearly as many results on
topics I am sure have had many, many threads on them.  For example, a
search for 'date' results in 5.  and specifically, the threads that
have sql in them to list dates closed between 2 dates, or before
certain dates, etc. are missing, as an example.  There are others, but
my search for xmlrpc only came up with 6.

Any ideas?
--~--~-~--~~~---~--~~
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] Internal Server Error: columns ticket, time, field are not unique

2009-07-29 Thread jevans

Hello,

I'm looking for help interpreting an error.  The user was submitting a
change to close a ticket (946) and got Oops... Trac detected an
internal error: IntegrityError: columns ticket, time, field are not
unique.
Searching for the time in 946 only finds the one ticket.

Thanks for any suggestions,
- jevans


From the log:

2009-07-29 09:47:47,339 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\web\main.py, line 435, in _dispatch_request
dispatcher.dispatch(req)
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\web\main.py, line 205, in dispatch
resp = chosen_handler.process_request(req)
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\web_ui.py, line 182, in process_request
return self._process_ticket_request(req)
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\web_ui.py, line 508, in _process_ticket_request
self._do_save(req, ticket, action)
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\web_ui.py, line 1014, in _do_save
cnum=internal_cnum):
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\ticket\model.py, line 278, in save_changes
self[name]))
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\db\util.py, line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\db\sqlite_backend.py, line 58, in execute
args or [])
  File c:\programs\python26\lib\site-packages\Trac-0.11.4-py2.6-
win32.egg\trac\db\sqlite_backend.py, line 50, in _rollback_on_error
return function(self, *args, **kwargs)
IntegrityError: columns ticket, time, field are not unique
--~--~-~--~~~---~--~~
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: autocompleteusers - customselectadmin together are broken? is trac guilty or one of the plugins?

2009-07-29 Thread rupert.thurner

thanks, this fixed it. i tried to commit it as well, but it seems i
have no rights, so i created http://trac-hacks.org/ticket/5587.

but i am wondering why trac queries the directory for static resources
which does not exist on every mouse click, or in this case, when
entering a name? i would have expected that it retrieves all the
directories when switching on the plugins, or starting up the server?

On Jul 29, 6:06 pm, Ethan Jucovy ethan.juc...@gmail.com wrote:
 It looks like CustomSelectPanel implements ITemplateProvider[1] but doesn't
 implement the .get_htdocs_dirs method of the ITemplateProvider
 interface[2].  Is that method required by ITemplateProvider implementations?

 You might try adding a noop `def get_htdocs_dirs(self): return []` to the
 class in customselectadmin.py to see if that fixes it.

 egj

 [1]http://trac-hacks.org/browser/customselectadminplugin/0.11/CustomSele...
 [2]http://trac.edgewall.org/browser/trunk/trac/web/chrome.py#L241

 On Wed, Jul 29, 2009 at 8:54 AM, rupert thurner 
 rupert.thur...@gmail.comwrote:





  when enabling autocompleteusers we get the following error:

  Trac detected an internal error:
  AttributeError: 'CustomSelectPanel' object has no attribute
  'get_htdocs_dirs'

  on loading the javascript:
  projects/myproject/chrome/autocompleteusers/js/autocomplete.js

  if we disablehttp://trac-hacks.org/wiki/CustomSelectAdminPlugin,
 http://trac-hacks.org/wiki/AutocompleteUsersPluginworks.

  who is repsonsible for this, the plugin interface or one of the
  plugins?

  rupert.
--~--~-~--~~~---~--~~
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: Managing SVN and Trac with a web interface

2009-07-29 Thread RJOllos

You might take a look at AdvancedPluginPanelPlugin [1] and
SecurePluginPanelPlugin [2].

[1] http://trac-hacks.org/wiki/AdvPluginPanelPlugin
[2] http://trac-hacks.org/wiki/SecurePluginPanelPlugin

On Jul 22, 6:01 am, Niels Ott n...@sfs.uni-tuebingen.de wrote:
 Hello all,

 we're using Trac and SVN sucessfully already here in our small
 University department. While the manual administration works well for
 the internal projects, we need something providing more service for our
 students.

 The tool which we are seeking is a web interface that allows users to
 create and administrate their own SVN repositories - each repository
 equipped with its own Trac. Furthermore, the person creating a
 repository should be the Trac admin (WebAdmin plugin) and should be able
 to add/remove users from the project.

 Is there a solution available for this task? It would very cool if there
 was a Trac plugin that could provide such a service.

 We checked out Submin, but it doesn't provide the necessary access
 control functionality.

 Thanks in advance for your time.

     Niels

 --
 Niels Ott
 Computational Linguist (B.A.)http://www.drni.de/niels/
--~--~-~--~~~---~--~~
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] Edit Wiki/ New Tickets

2009-07-29 Thread mateo

I recently install trac tool on a XP system, Im using SQLite and
tracd, does anyone know why I can't see the edit and attach option for
the wiki and also I can't enter any new ticket.

--~--~-~--~~~---~--~~
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 configure trac in httpd.conf if i have multiple projects

2009-07-29 Thread cracklinux crack

hi,
i have added trac.conf in /etc/httpd/conf.d which will include in
httpd.conf.
so my trac.conf is

Location /svn/trac/first_pro
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /svn/trac/first_pro
PythonOption TracUriRoot /svn/trac/first_pro

AuthType Basic
AuthName trac browser
AuthPAM_Enabled on
Require group ocusers
Require valid-user
/Location

where /svn/trac/first_pro is created according to my repository (svn)
project first_pro
and have around 30 projects so i think its not best way to add 30
blocks like this so what is the solution to make things easy.
and have to run trac-admin /svn/trac/first_pro initenv  this for
every project is it standard we need follow are is there any other
specific thing that can auto search in repose and do with one time
taking configs. i don't know it exist are not for better
administration iam asking this.

--~--~-~--~~~---~--~~
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] RSS and Safari

2009-07-29 Thread Frank Scholl - Xpoundit . com

Hello,

I have an installation of Trac 0.10.5 installed from OpenBSD packages  
running. Now users experience that RSS links do not work when clicked  
in Safari 4.0, for example in the timeline. The problem Safari reports  
is that the identity of the website cannot be verified, which at a  
first glance, looks like trouble with self-signed certificates.  
Strangely enough, other browsers, namely Firefox, do display a feed.  
So it seems to be more of a problem of Safari not being able to parse  
what Trac produces, when a RSS feed is requested.

Some opened a ticket mentioning this exact behaviour.

http://trac.edgewall.org/ticket/5439

As stated in the ticket itself, the feed on edgewall.org can be  
displayed with Safari, on my own installation this is not the case.

Is this fixed in a later release, maybe since 0.11 and upwards?  
Another ticket concerning RSS feed generation code is this one:

http://trac.edgewall.org/ticket/6556

When having a look at the patch, this patches only the ticket system's  
RSS and there especially to work with NNW. This lets me believe that  
something has changed since 0.10 and that the original issue is solved  
in 0.11.

If I am right with this so far, is there a patch for 0.10 to make RSS  
feeds work with Safari? Major upgrades from Python 2.5 to Python 2.6  
in the OpenBSD ports tree seem to be scheduled for the next release,  
4.6, in november. With that, Trac will be moved towards the then  
stable release, I guess this will be 0.11. The reason for 0.11 not  
being in the ports already is that there are dependancies to Python,  
which will get solved when upgrading to Python 2.6 in the OpenBSD  
ports tree. So I have to stay with Trac 0.10 until november. But  
without RSS for those people, this would be quite hard, as this is a  
very neat feature to keep up with the project development.

Thanks for any replies, regards,

Frank



--~--~-~--~~~---~--~~
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] custom report using query module

2009-07-29 Thread marlacparker


My trac installation has the query module as the default handler for
the “View Tickets” navigation item, which is great.  The documentation
says: We encourage you to try this configuration and report back what
kind of features of reports you are missing, if any.

I would like to make a report that results in a table of tickets with
these columns in this order:

ticket number
summary
keywords
custom date field (origin date)
requester
status
custom field (time est)
custom date field (start)
due date
owner
custom field (a wiki link)

Is it possible to do that?

I can get some of the fields I want to show by adding a nop filter to
the query, like field=~, but Requester and Owner seem mutually
exclusive, I can only get one or the other.

And I have no idea how to change the order of the columns.

Is this possible using the TracQuery module?  or must we configure
trac to enable the SqlQueryMacro or the WikiTableMacro in order to
create these custom reports?  or use some other plugin or trac hack?

Thanks,
Marla



--~--~-~--~~~---~--~~
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: Edit Wiki/ New Tickets

2009-07-29 Thread Erik Bray

On Tue, Jul 28, 2009 at 12:44 PM, mateomatthewigles...@gmail.com wrote:

 I recently install trac tool on a XP system, Im using SQLite and
 tracd, does anyone know why I can't see the edit and attach option for
 the wiki and also I can't enter any new ticket.

http://trac.edgewall.org/wiki/TracPermissions

--~--~-~--~~~---~--~~
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: how to configure trac in httpd.conf if i have multiple projects

2009-07-29 Thread Erik Bray

On Wed, Jul 29, 2009 at 6:23 AM, cracklinux crackcrackubu...@gmail.com wrote:

 hi,
 i have added trac.conf in /etc/httpd/conf.d which will include in
 httpd.conf.
 so my trac.conf is

 Location /svn/trac/first_pro
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnv /svn/trac/first_pro
    PythonOption TracUriRoot /svn/trac/first_pro

    AuthType Basic
    AuthName trac browser
    AuthPAM_Enabled on
    Require group ocusers
    Require valid-user
 /Location

 where /svn/trac/first_pro is created according to my repository (svn)
 project first_pro
 and have around 30 projects so i think its not best way to add 30
 blocks like this so what is the solution to make things easy.
 and have to run trac-admin /svn/trac/first_pro initenv  this for
 every project is it standard we need follow are is there any other
 specific thing that can auto search in repose and do with one time
 taking configs. i don't know it exist are not for better
 administration iam asking this.

Use TracEnvParentDir:
http://trac.edgewall.org/wiki/TracModPython#Settingupmultipleprojects

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