RE: [Trac] TRAC: Want to search comments, but does not seem possible

2011-03-03 Thread Marjory L. Mackes
The way we do this is generally in the upper right hand corner above 
login/helpguid/preferences, there is a search field.   Enter the keywords and 
click search   it will list the results in everything.  You can narrow it down 
some by

deselecting the checkboxes for changesets, Milestones, and wiki and search just 
on tickets.



Works pretty well most of the time, although it doesn't target the "comments" 
field specifically or a specific ticket directly.   But usually we can easily 
find the ticket that we were interested in.


From: trac-users@googlegroups.com [trac-users@googlegroups.com] on behalf of 
Chris Shelton [cshel...@shelton-family.net]
Sent: Wednesday, March 02, 2011 4:45 PM
To: trac-users@googlegroups.com
Cc: Dan Gawarecki
Subject: Re: [Trac] TRAC: Want to search comments, but does not seem possible

Dan,

On Wed, Mar 2, 2011 at 2:55 PM, Dan Gawarecki 
mailto:dan_gaware...@datacard.com>> wrote:
Greetings:
 I want to search the comments that have been added to a ticket, but this does 
not seem possible (at least not in 0.11 or 012).
By “not possible” I mean, when on “View Tickets” and I choose the Custom Query 
feature, there is no choice titled “Comments” (or even “Change History”) in the 
drop down list of fields (this list contains things like Component, Keywords, 
Milestone, Owner, Priority, Type, etc).

I found a list of columns that exist in the ticket table (see 
http://trac.edgewall.org/wiki/TracReports) and could see nothing related to 
comments.
I attempted to search the “description” field but results imply that only the 
description fields was searched, and comments were excluded (which is as it 
should be).  This topic doesn’t seem to have surfaced on the mailing list, 
other than a more highly refined “search for comments by date” question, nor do 
any plug-ins at http://trac-hacks.org/tags/ seem to address this.

Is searching comments, for a text or phrase, possible?  If not, would it be 
appropriate to enter this as an ‘enhancement’ ticket?


I believe that the simplest way is to use the built in search function 
available here:
http://trac.edgewall.org/search
or the top right search box available in the header of most pages.

After a few tests, this seems to return results for a full text search of both 
the ticket body and all followups to a ticket.

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.

-- 
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] Trac 0.12.1 attachements after upload broken

2011-03-03 Thread Clemens Feige

goo...@ifo.net wrote:

Hi all,

We have the problem, that every attachment are broken after upload via
the trac-page.

This could be an image (jpg or png), which is corrupt, if you download
the file again.
If you upload executable files, the executables are corrupt and so on.

There are no error-message in Debug-Log, nor special config settings for
this behavior.

May you have some suggestions,

Thanks in advance!

Greets,
Peter


Hi Peter.

For your information I want to point your attention to my own post:

Subj: [Trac] Attachment upload error - "stringobject: bad argument to 
internal function"

Date: Mon, 17 Jan 2011 10:37:14 +0100
From: Clemens Feige 

With my Trac 0.11.6 I had/have problems with large binary files when 
uploading as ticket attachment. I experimented a little. My guess is 
that Trac is trying to read a binary file line-by-line like a text file. 
But because binary files do not have normal line-breaks the "line to 
read" can become huge. If the "line" is getting too large (somewhere at 
240.000 characters) then it fails.
The crazy thing is that my problem depends not only on file size but 
also on file contents.


Note that different from your case, for my issue I get an error message 
when it happens.


Clemens

--
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] Sophisticated ticket interface (with tabs)

2011-03-03 Thread Squirr3l

I realized what you are suggesting is what i need. I've already started to
hack a template, but i would need access to all fields. I want to place
manually all of them. Do you know any good howto or documentation what would
help me? If i could use buttons to switch fields visible and hidden, that
would solve my problem.



Erik Bray wrote:
> 
> On Wed, Mar 2, 2011 at 9:34 AM, Squirr3l  wrote:
>>
>> We want to migrate to another ticket system, and trac seems the best
>> choice.
>> My problem is that we have too many stuctured information for one ticket,
>> and trac's initial ticket layout is too simple. I would like to structure
>> the trac ticket by using tabs for example. This way every information
>> would
>> be there, but only if the user is curious.
>>
>> I'm also thinking to use what you mentioned, to show specified fields
>> based
>> on some variable, but it would be nice to show everything, but in a
>> stuctured way..
> 
> Whatever it is exactly that you're trying to do would have to be
> analyzed and explained in detail.  It doesn't sound like what you need
> is already possible in Trac with the flip of a switch.  But depending
> on your requirements it may be very easy to do with a simple plugin:
> For example, you might be able to do it with a simple Genshi template
> transform.  Or possibly by dropping in some custom JavaScript to
> modify the ticket interface.  But whatever it is will probably require
> some programming, and without more details it's hard to say what the
> best approach would be.
> 
> -- 
> 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.
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Sophisticated-ticket-interface-%28with-tabs%29-tp31049786p31056934.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.