[Trac] Re: Noob question: arranging custom fields on new ticket interface
Hi See the order option: http://trac.edgewall.org/wiki/TracTicketsCustomFields Cheers / Erik On Nov 14, 2007 12:42 AM, Jed [EMAIL PROTECTED] wrote: I've added some fields to my trac.ini under [ticket-custom]. Unfortunately, they don't seem to show up on the New Ticket interface in the order I added them (even accounting for left column/right column distribution). Does anyone know an easy way to determine where a custom field will show up on the interface? Or do I have to delve into the CSS and/or ClearSilver? I'm running Trac 0.10.4. Below I've listed my custom fields. Thanks in advance, Jed [ticket-custom] discuss_before_fixing = checkbox discuss_before_fixing.label = Discuss with EM before fixing discuss_before_fixing.value = 0 support_case= text support_case.label = Support Case # support_case.value = code_reviewed = checkbox code_reviewed.label = Code has been reviewed code_reviewed.value = 0 is_verified = checkbox is_verified.label = Fix verified by QA? is_verified.value = 0 steps_to_reproduce = textarea steps_to_reproduce.label = Steps to reproduce steps_to_reproduce.value = steps_to_reproduce.cols = 70 steps_to_reproduce.rows =15 --~--~-~--~~~---~--~~ 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: Creating a custom query filtering tickets on current user
Hi See http://trac.edgewall.org/wiki/TracReports and the $USER parameter. Cheers / Erik On Nov 13, 2007 5:28 PM, Hans Bogaards [EMAIL PROTECTED] wrote: Hi All, I am a new Trac user and am exploring all the possibilities... :-) I would like to add a query to the start page, that shows all the tickets belonging to the current user? I know that the default Custom Query page under View tickets does exactly this, but how does it do it? How do I fill in the current user name? -- Hans Bogaards Traffic IT Services 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Authorization against ActiveDirectory
Hi, since the question is asked over and over, I wrote a little HOWTO: http://trac.edgewall.org/wiki/ActiveDirectory I am sure there is room for improvement, so feel free to alter/enhance/edit/whatever the article. Rainer --~--~-~--~~~---~--~~ 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: Authorization against ActiveDirectory
Rainer Sokoll kirjoitti: Hi, since the question is asked over and over, I wrote a little HOWTO: http://trac.edgewall.org/wiki/ActiveDirectory I am sure there is room for improvement, so feel free to alter/enhance/edit/whatever the article. Thank you very much, I'm in process of setting up AD auth and this saved some trial and error cycles... :) -- 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] possible options to create Trac ticket from Java application?
What are the options to create Trac ticket from Java application? _ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline --~--~-~--~~~---~--~~ 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: possible options to create Trac ticket from Java application?
Sergey Erlikh kirjoitti: What are the options to create Trac ticket from Java application? XMLRPC or Jython... -- 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] New custom fields and old tickets
Hello all, I am capturing a number of tickets, planning to go back and add custom fields later. But I read a reference in the documentation that made me worry that this will be wasted effort. Under http://trac.edgewall.org/wiki/TracTicketsCustomFields#ReportsInvolvingCustomFields it says If you created this custom ticket field after you have already created some tickets, they will not have this custom field defined for that ticket Does this mean that the custom field value is just not set for an old ticket, but I can still go back and set it, or does it not exist for an old ticket, and I can never set it? (If it's the latter I'd better define my custom fields now before capturing more tickets!) (And does it make a difference if I edit trac.ini directly or use http://trac-hacks.org/wiki/CustomFieldAdminPlugin ?) Thanks! [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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: New custom fields and old tickets
Hi It's not set for old tickets, but you can set it. I have no confirmed input on the CustomFieldAdminPlugin, but I don't think it makes any difference. Cheers / Erik On Nov 14, 2007 1:30 PM, [EMAIL PROTECTED] seaward [EMAIL PROTECTED] wrote: Hello all, I am capturing a number of tickets, planning to go back and add custom fields later. But I read a reference in the documentation that made me worry that this will be wasted effort. Under http://trac.edgewall.org/wiki/TracTicketsCustomFields#ReportsInvolvingCustomFields it says If you created this custom ticket field after you have already created some tickets, they will not have this custom field defined for that ticket Does this mean that the custom field value is just not set for an old ticket, but I can still go back and set it, or does it not exist for an old ticket, and I can never set it? (If it's the latter I'd better define my custom fields now before capturing more tickets!) (And does it make a difference if I edit trac.ini directly or use http://trac-hacks.org/wiki/CustomFieldAdminPlugin ?) Thanks! [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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: Qarantine score settings anomaly.
Maybe Edward was refering to the SpamFilter plugin ? On 11/14/07, Aaron D. Marasco [EMAIL PROTECTED] wrote: I think you have the wrong list... I am assuming that whatever software you are using uses trac to take care of it. -- 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: Authorization against ActiveDirectory
I added some text about a configuration I have on one server, where I needed to authenticate to the LDAP provider. It's not a perfect answer, by any means, but it's a useful one. Rainer -- thanks much for getting this started. Bruce E. Wilson ([EMAIL PROTECTED]) Environmental Sciences Division Oak Ridge National Laboratory (office) +1-865-574-6651 -Original Message- From: trac-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jani Tiainen Sent: Wednesday, November 14, 2007 4:40 AM To: trac-users@googlegroups.com Subject: [Trac] Re: Authorization against ActiveDirectory Rainer Sokoll kirjoitti: Hi, since the question is asked over and over, I wrote a little HOWTO: http://trac.edgewall.org/wiki/ActiveDirectory I am sure there is room for improvement, so feel free to alter/enhance/edit/whatever the article. Thank you very much, I'm in process of setting up AD auth and this saved some trial and error cycles... :) -- 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] two different tracs, but one apache only
Hi, is $SUBJECT possible? Background: I need to check whether all my plugins will work with the current .11 trunk. Right now, I'm on 0.11dev-r6137, but AFAIK, with r6138, the API has been changed, and some plugins may stop working correctly. If I use for example Location /tractest [...] PythonPath sys.path + ['/path/to/my/brandnew/trac'] [...] /Location my old trac is still in sys.path, correct? If so, which one will be used? Is there any other way beside using a second instance of apache and a second python installation? Rainer --~--~-~--~~~---~--~~ 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: Noob question: arranging custom fields on new ticket interface
Doh! Thanks, I didn't even see that since it wasn't in the Sample Config examples. Thanks for the help. On Nov 14, 3:06 am, Erik Andersson [EMAIL PROTECTED] wrote: Hi See the order option:http://trac.edgewall.org/wiki/TracTicketsCustomFields Cheers / Erik On Nov 14, 2007 12:42 AM, Jed [EMAIL PROTECTED] wrote: I've added some fields to my trac.ini under [ticket-custom]. Unfortunately, they don't seem to show up on the New Ticket interface in the order I added them (even accounting for left column/right column distribution). Does anyone know an easy way to determine where a custom field will show up on the interface? Or do I have to delve into the CSS and/or ClearSilver? I'm running Trac 0.10.4. Below I've listed my custom fields. Thanks in advance, Jed [ticket-custom] discuss_before_fixing = checkbox discuss_before_fixing.label = Discuss with EM before fixing discuss_before_fixing.value = 0 support_case= text support_case.label = Support Case # support_case.value = code_reviewed = checkbox code_reviewed.label = Code has been reviewed code_reviewed.value = 0 is_verified = checkbox is_verified.label = Fix verified by QA? is_verified.value = 0 steps_to_reproduce = textarea steps_to_reproduce.label = Steps to reproduce steps_to_reproduce.value = steps_to_reproduce.cols = 70 steps_to_reproduce.rows =15 --~--~-~--~~~---~--~~ 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: neo_cgi.so: undefined symbol: NERR_PARSE
For the record, I am replying to my own message jut to share how I solved the problem, hoping it may help others. The solution was to go to Clearsilver 0.10.5, with these steps: Make sure you remove any clearsilver eggs from /usr/local/lib/python2.5/site-packages. Also any neo_cgi.so in there. Now this: cd /usr/local/src/clearsilver-0.10.5 ./configure --with-python=/usr/local/bin/python make make install cd python python setup.py bdist_egg cp /usr/local/src/clearsilver-0.10.5/python/dist/clearsilver-0.10.5-py2.5-linux-i686.egg /usr/local/lib/python2.5/site-packages chmod 644 /usr/local/lib/python2.5/site-packages/clearsilver-0.10.5-py2.5-linux-i686.egg restart apache marcio Marcio Marchini wrote: Hi, Can anybody help shed some light into this problem, please? Backgound: * I have installed Trac under Windows in the past, it was easy * A colleague installed Trac under Red Hat, he suffered but it was working fine * We moved to a new server (new hardware) and I am trying to get Trac up and running on the new hardware The error: Traceback (most recent call last): File /usr/local/lib/python2.5/site-packages/trac/web/main.py, line 406, in dispatch_request File /usr/local/lib/python2.5/site-packages/trac/web/main.py, line 206, in dispatch File /usr/local/lib/python2.5/site-packages/trac/web/clearsilver.py, line 135, in __init__ TracError: ClearSilver not installed (/www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so: undefined symbol: NERR_PARSE) I believe I have multiple versions of Clearsilver due to a combination of rsyncing files from the old server and/or my attempt to recompile Clearsilver from source and/or my attempt o install it with easy_insall. Here: [EMAIL PROTECTED] clearsilver]# find / -name neo_cgi.so -print /www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so /usr/lib/python2.3/site-packages/neo_cgi.so /usr/local/lib/python2.5/site-packages/neo_cgi.so /usr/local/src/clearsilver-0.10.4-oldserver/python/neo_cgi.so /usr/local/src/clearsilver-0.10.4-oldserver/python/build/lib.linux-i686-2.5/neo_cgi.so /usr/local/src/clearsilver-0.10.4/python/neo_cgi.so I believe the old server was using 0.10.4. Since I could not re-run ./configure, I renamed teh dir to /usr/local/src/clearsilver-0.10.4-oldserver and untar'ed again into /usr/local/src/clearsilver-0.10.4 again and re-ran configure etc. I believe it was teh easy_install attempt which installed the older version, 0.10.1, but I could be wrong. Here's teh dates/details for teh different ones: [EMAIL PROTECTED] bugzilla]# ls -la /usr/local/lib/python2.5/site-packages/neo_cgi.so -rwxr-xr-x 1 root root 457468 Nov 9 14:30 /usr/local/lib/python2.5/site-packages/neo_cgi.so [EMAIL PROTECTED] bugzilla]# ls -la /www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so -rwxr-xr-x 1 apache foo 92478 Oct 16 13:01 /www/svn.foo.org/egg-cache/clearsilver-0.10.1-py2.5-linux-i686.egg-tmp/neo_cgi.so [EMAIL PROTECTED] bugzilla]# ls -la /usr/lib/python2.3/site-packages/neo_cgi.so -rwxr-xr-x 1 root root 457468 Oct 16 13:04 /usr/lib/python2.3/site-packages/neo_cgi.so [EMAIL PROTECTED] bugzilla]# python --version Python 2.5.1 Even if I delete the egg cache, it comes back. Where is it getting that stuff from? SHouldn't my ./configure for clearsilver have replaced this stuff? Can anybody bring some light into this please? I am not a Python expert and by no means a Clearsilver expert either. easy_install does not seem able to uninstall, so I ran rpm -e clearsilver and re-installed from sources (0.10.4) using configure. But the problem persists. Thanks, marcio --~--~-~--~~~---~--~~ 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] Trac ignore certain URLs?
I want to have a particular URL under a Trac site to be ignored by Trac. I have an Alias stanza in my vhost config that points that URL to a folder outside of Trac but how do I tell Trac to not handle that URL? (Right now, I get an error saying Trac couldn't find a handler for that URL). --~--~-~--~~~---~--~~ 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: Trac ignore certain URLs?
On Nov 15, 8:39 am, Eno [EMAIL PROTECTED] wrote: I want to have a particular URL under a Trac site to be ignored by Trac. I have an Alias stanza in my vhost config that points that URL to a folder outside of Trac but how do I tell Trac to not handle that URL? (Right now, I get an error saying Trac couldn't find a handler for that URL). Presuming you are using mod_python, use something like: Alias /some/url /some/path Location /some/url SetHandler None /Location If you are using mod_wsgi, then the Alias directive should be sufficient, you just need to ensure you have it appearing before the WSGIScriptAlias for Trac. So, how are you hosting Trac under Apache? What method you are using will determine what you need to do. Graham --~--~-~--~~~---~--~~ 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: two different tracs, but one apache only
On Nov 15, 1:29 am, Rainer Sokoll [EMAIL PROTECTED] wrote: Hi, is $SUBJECT possible? Background: I need to check whether all my plugins will work with the current .11 trunk. Right now, I'm on 0.11dev-r6137, but AFAIK, with r6138, the API has been changed, and some plugins may stop working correctly. If I use for example Location /tractest [...] PythonPath sys.path + ['/path/to/my/brandnew/trac'] [...] /Location my old trac is still in sys.path, correct? If so, which one will be used? Is there any other way beside using a second instance of apache and a second python installation? You can't do it with mod_python. The primary reason is that if using Trac in conjunction with Subversion, then to be safe and avoid potential problems with Python bindings for Subversion, you must force mod_python to run Trac in the main interpreter. In doing this though it will not be possible to be using two different versions of Trac for different instances. If only wishing to test stuff, you could always just run Trac through CGI. It will be slow but allow you to easily run it with different versions of the software you want to test. Another alternative for Apache is to use mod_wsgi (http:// www.modwsgi.org) instead. Using its daemon process mode it is possible to farm off distinct Trac instances to different daemon processes. Because they are in different processes you can safely run them in the main interpreter but also have them use different versions of software through appropriate setup of sys.path. To be absolutely safe and avoid problems if Trac is still installed in global site-packages, then mod_wsgi can be used in conjunction with Python virtual environments such as virtualenv.py (http://pypi.python.org/pypi/virtualenv). So perhaps just use CGI, but if interested in how to do it in mod_wsgi, can point out relevant documentation and step you through it. Graham --~--~-~--~~~---~--~~ 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: Trac ignore certain URLs?
On Nov 14, 4:53 pm, Graham Dumpleton [EMAIL PROTECTED] wrote: Presuming you are using mod_python, use something like: Alias /some/url /some/path Location /some/url SetHandler None /Location If you are using mod_wsgi, then the Alias directive should be sufficient, you just need to ensure you have it appearing before the WSGIScriptAlias for Trac. So, how are you hosting Trac under Apache? What method you are using will determine what you need to do. Thanks, We are using mod_python under Apache2. I have the following in the vhost config (which doesn't work): Alias /files /home/www/files Directory /home/www/files AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch Limit GET POST OPTIONS PROPFIND Order allow,deny Allow from all /Limit IndexOptions FancyIndexing IndexOrderDefault Descending Date /Directory Location /files SetHandler None /Location Location / SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /usr/local/trac PythonOption TracUriRoot / PythonInterpreter main_interpreter /Location Location /login AuthType Basic AuthName Trac Server AuthUserFile /usr/local/trac/.htpasswd Require valid-user /Location Directory /usr/local/trac Order allow,deny Allow from all /Directory --~--~-~--~~~---~--~~ 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] edgewall wiki editing
I tried to update the Slackware 12.0 page on the wiki with my experiences, but it refused with an error about Spam. I had only added a single line! http://trac.edgewall.org/wiki/TracOnSlackware12 So what's up? ___ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~--~~~~--~~--~--~---
[Trac] Re: Trac ignore certain URLs?
On Nov 15, 9:26 am, Eno [EMAIL PROTECTED] wrote: On Nov 14, 4:53 pm, Graham Dumpleton [EMAIL PROTECTED] wrote: Presuming you are using mod_python, use something like: Alias /some/url /some/path Location /some/url SetHandler None /Location If you are using mod_wsgi, then the Alias directive should be sufficient, you just need to ensure you have it appearing before the WSGIScriptAlias for Trac. So, how are you hosting Trac under Apache? What method you are using will determine what you need to do. Thanks, We are using mod_python under Apache2. I have the following in the vhost config (which doesn't work): Alias /files /home/www/files What if you change this to: Alias /files/ /home/www/files/ Graham Directory /home/www/files AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch Limit GET POST OPTIONS PROPFIND Order allow,deny Allow from all /Limit IndexOptions FancyIndexing IndexOrderDefault Descending Date /Directory Location /files SetHandler None /Location Location / SetHandler mod_python PythonHandler trac.web.modpython_frontend PythonOption TracEnv /usr/local/trac PythonOption TracUriRoot / PythonInterpreter main_interpreter /Location Location /login AuthType Basic AuthName Trac Server AuthUserFile /usr/local/trac/.htpasswd Require valid-user /Location Directory /usr/local/trac Order allow,deny Allow from all /Directory --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---