Re: [rt-users] Ticket Forward Problem With Thunderbird

2009-01-27 Thread Alex Young
Does the email display properly in Thunderbird for you?

I have forwarded and email and been able to open it in Outlook fine, but 
Thunderbird remains a problem.



-Original Message-
From: Jesse Vincent [mailto:je...@bestpractical.com] 
Sent: 26 January 2009 18:18
To: Alex Young
Cc: RT Users
Subject: Re: [rt-users] Ticket Forward Problem With Thunderbird




 We are currently running RT-3.8.1.  It appears that the email content
 (message.eml) is uuencoded when RT forwards a ticket.  Thunderbird 
 doesn't seem to like this and cannot display the forwarding email.  Is 
 there a way to configure RT to do MIME encoding instead?  Any 
 suggestions are greatly appreciated.

Hm. It sure seems to be doing MIME encoding by default for me:

It adds a single message/rfc822 part containing the original MIME message.

-  1  Ino description (0.1K) (text/plain, 7bit, us-ascii)
2  Aforwarded message (4.7K) (message/rfc822, binary, )
3  I   ┆no description (2.2K) (multipart/mixed, 7bit, )
4  I âœâ€ no description (0.6K) (text/plain, 8bit, utf-8)
5  I ┆no description (1.3K) (text/html, 8bit, utf-8)




___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] From Ticket transaction custom fields to Ticket custom fields

2009-01-27 Thread Lauren, Robin
Hi all,

I asked this before but obviously with too many words since i never got an
answer. So here goes again.

Can i change a Custom field's Applies to -attribute from Ticket
Transactions to Tickets without all heck breaking loose, on a queue
already using said custom attribute? 

If not, what heck would break loose and how can it be avoided?

The RT used is version 3.6.5.


Best regards,
 ~Robin Lauren


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Query builder and multi-select custom fields

2009-01-27 Thread Ruslan Zakirov
There is a patch on rt3.fsck.com that needs testing:
http://rt3.fsck.com/Ticket/Display.html?id=8541#txn-77170

I'm not sure it applies to the latest 3.8

On Tue, Jan 27, 2009 at 12:49 PM, Alex Young
alexyo...@scoutsolutions.co.uk wrote:
 Thanks, but that brings back hundreds of tickets, when we know the other
 query *should* bring back just the one ticket that has the CF set to
 those two values.

 Looking through the RT bug system, it looks like this is a known bug and
 is due to be fixed in 3.8.3.


 -Original Message-
 From: Kenneth Crocker [mailto:kfcroc...@lbl.gov]
 Sent: 26 January 2009 18:40
 To: Alex Young
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Query builder and multi-select custom fields

 Alex,


Try changing the AND to OR between your two like
 conditions. Hope
 this helps.


 Kenn
 LBNL

 On 1/26/2009 7:04 AM, Alex Young wrote:
 I have a ticket in the Support queue that has both the 'External' and
 'Internal' client types in a custom multi-select field. When I run the

 following search:



 Queue = 'Support' AND 'CF.{Client}' LIKE 'Internal' AND 'CF.{Client}'
 LIKE 'Internal'



 I expected to get the ticket back, but instead I get 0 tickets. Is
 this
 valid behaviour from RT's perspective? Should I be searching in some
 other way to return the ticket when it has a CF set to two values?



 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com




-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Query builder and multi-select custom fields

2009-01-27 Thread Alex Young
I attempted to run the patch but it failed. Looks like it won't work for 3.8.2

patching file lib/RT/Tickets_Overlay.pm
Hunk #1 succeeded at 1223 (offset 58 lines).
Hunk #2 succeeded at 1231 (offset 58 lines).
Hunk #3 succeeded at 1260 (offset 58 lines).
Hunk #4 succeeded at 1280 (offset 58 lines).
Hunk #5 succeeded at 1308 (offset 58 lines).
Hunk #6 FAILED at 1330.
Hunk #7 succeeded at 1447 (offset 66 lines).
1 out of 7 hunks FAILED -- saving rejects to file lib/RT/Tickets_Overlay.pm.rej


-Original Message-
From: Ruslan Zakirov [mailto:ruslan.zaki...@gmail.com] 
Sent: 27 January 2009 11:49
To: Alex Young
Cc: Kenneth Crocker; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Query builder and multi-select custom fields

There is a patch on rt3.fsck.com that needs testing:
http://rt3.fsck.com/Ticket/Display.html?id=8541#txn-77170

I'm not sure it applies to the latest 3.8

On Tue, Jan 27, 2009 at 12:49 PM, Alex Young
alexyo...@scoutsolutions.co.uk wrote:
 Thanks, but that brings back hundreds of tickets, when we know the other
 query *should* bring back just the one ticket that has the CF set to
 those two values.

 Looking through the RT bug system, it looks like this is a known bug and
 is due to be fixed in 3.8.3.


 -Original Message-
 From: Kenneth Crocker [mailto:kfcroc...@lbl.gov]
 Sent: 26 January 2009 18:40
 To: Alex Young
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Query builder and multi-select custom fields

 Alex,


Try changing the AND to OR between your two like
 conditions. Hope
 this helps.


 Kenn
 LBNL

 On 1/26/2009 7:04 AM, Alex Young wrote:
 I have a ticket in the Support queue that has both the 'External' and
 'Internal' client types in a custom multi-select field. When I run the

 following search:



 Queue = 'Support' AND 'CF.{Client}' LIKE 'Internal' AND 'CF.{Client}'
 LIKE 'Internal'



 I expected to get the ticket back, but instead I get 0 tickets. Is
 this
 valid behaviour from RT's perspective? Should I be searching in some
 other way to return the ticket when it has a CF set to two values?



 

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com




-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RTFM WikiText formatting

2009-01-27 Thread Alex Young
After upgrading to the latest RTFM version I have found that some of the
customizations on http://wiki.bestpractical.com/view/RTFM no longer work
and I can't work out why.

 

We used the %code% tag a lot in RTFM, but now it's no longer being
parsed and is just showing as %code% in the WikiText, rather than the
format specified.

 

The Image, code and highlight tags don't work, but I'm only really
concerned with the code tag.

 

It seems like it is being scrubbed somewhere by something, but I don't
know where to look to see if I can add the formatting to be allowed.

 

Has anyone else had a problem with this or know how I may be able to fix
it? 

 

Thanks.

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Large, frequent file attachments and RT

2009-01-27 Thread Atro Tossavainen
Hello all,

I have an application in mind where requestors would frequently need to
submit file attachments alongside their requests, and some of these
files will be rather large.  The ticket handlers would need to use those
files and also to manage groups of files by any particular requestor.
Including the files themselves within the RT database seems like a poor
idea, and I get the impression I may not be the first one with such
requirements.  I was wondering if anybody could point me in the
direction of mods to RT (or something) that will store references to
the files only within the database and store the files themselves on
an actual file system?

Regards,
-- 
Atro Tossavainen (Mr.)   / The Institute of Biotechnology at
Systems Analyst, Techno-Amish  / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur / employs me, but my opinions are my own.
 URL : http : / / www . helsinki . fi / %7E atossava /  NO FILE ATTACHMENTS
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Ticket Forward Problem With Thunderbird

2009-01-27 Thread Alan Cheng

I am attaching the original email below to show that the attachment
forwarded message.eml is uuencoded.  Perhaps there is an option
somewhere to change this to MIME encoding instead?  The uuencoded
portion was modified a little bit to protect the content since this is a
real ticket in our system.

Message-ID: 200901271347.n0rdluiv022...@rt.ias.edu
To: che...@ias.edu
Cc: 
Subject: Fwd: [NET #774] TEST ONLY
From: ne...@ias.edu
Date: Tue, 27 Jan 2009 08:47:30 -0500
X-OriginalArrivalTime: 27 Jan 2009 13:47:33.0882 (UTC) 
FILETIME=[CE69DDA0:01C98085]


This is forward of transaction #5167 of a ticket #774


begin 666 forwarded message.eml
M0V]N=5N=U47!E.B!T97AT+W!L86EN.R!B;W5N9%R3TB+2TM+2TM+2TM
M+3U?,3(S,c4...@r-TX.#$P+38R(@T*0V]N=5N=U4F%NV9EBU%;F-O
M9en...@8fen8711233545aghnfgeryeyt344#$n, T*6U-86EL97(Z($U)
M344M=]O;',@-2XT,c...@*$5n=ET2 U+C0R-BD-E-U8FIE8W0Z($0F22!7
M96(@4V5R=F5R($)A8VMU T*1G)O;3H@,C(-D-O;G1E;G0M35N9W1H.B P
$#0H-@``
`
end


Thanks,

Alan


Alex Young wrote:
 Does the email display properly in Thunderbird for you?

 I have forwarded and email and been able to open it in Outlook fine, but 
 Thunderbird remains a problem.



 -Original Message-
 From: Jesse Vincent [mailto:je...@bestpractical.com] 
 Sent: 26 January 2009 18:18
 To: Alex Young
 Cc: RT Users
 Subject: Re: [rt-users] Ticket Forward Problem With Thunderbird




   
 We are currently running RT-3.8.1.  It appears that the email content
 (message.eml) is uuencoded when RT forwards a ticket.  Thunderbird 
 doesn't seem to like this and cannot display the forwarding email.  Is 
 there a way to configure RT to do MIME encoding instead?  Any 
 suggestions are greatly appreciated.
 

 Hm. It sure seems to be doing MIME encoding by default for me:

 It adds a single message/rfc822 part containing the original MIME message.

 -  1  Ino description (0.1K) (text/plain, 7bit, us-ascii)
 2  Aforwarded message (4.7K) (message/rfc822, binary, )
 3  I   ┆no description (2.2K) (multipart/mixed, 7bit, )
 4  I âœâ€ no description (0.6K) (text/plain, 8bit, utf-8)
 5  I ┆no description (1.3K) (text/html, 8bit, utf-8)




 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com


-- 
Alan Cheng che...@ias.edu   +1 609-734-8169
UNIX Systems Administration  Institute for Advanced Study

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Transaction notifications to ticket Owner

2009-01-27 Thread Drew Barnes
I have a scrip - On Correspond Notify Owner with template 
CorrespondedTicket.  I don't know, however, if I did that one or if it 
came out of the box (possibly in an older release since this install 
ultimately came from 2.x). 

Should be pretty simple to write if needed, as it is a very narrow case.

Jerrad Pierce wrote:
 To clarify, all the materials I'd ever read about RT gave the impression
 that ownership of a ticket was essentially a special case of ticket-admincc
 (monitor transactions, and get some extra rights).

   

-- 
Drew Barnes
Applications Analyst
Network Resources Department
Raymond Walters College
University of Cincinnati

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Wikus Smit
Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

Regards,
Wikus
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Mike Peachey
Wikus Smit wrote:
 Hi,
 
 Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 
 8.0.4?

I recommend following the ManualInstall instructions on the wiki
(http://wiki.bestpractical.com/view/ManualInstallation)
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT 3.8.2 packages for Debian Lenny?

2009-01-27 Thread Martin Maurer
 -Original Message-
 From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-
 boun...@lists.bestpractical.com] On Behalf Of Dominic Hargreaves
 Sent: Freitag, 16. Jänner 2009 09:36
 To: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] RT 3.8.2 packages for Debian Lenny?
 
 On Thu, Jan 15, 2009 at 12:37:10PM +0100, Martin Maurer wrote:
  Yes, having an own Lenny repository just with the rt 3.8.x packages
 would be essential for all Lenny users.
  If you can setup this on alioth.debian.org this would be wonderful.
 
 I'll do this once request-tracker3.8 has been uploaded to unstable,
 which shouldn't be long.

Hi Dominic!

Do you got a rough schedule for this? 

BTW, did you get a chance to test the already released RT appliance?
http://wiki.bestpractical.com/view/Proxmox_VE_RT_Appliance

Best Regards,

Martin

mar...@proxmox.com
http://pve.proxmox.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Paul Walsh
Wikus Smit wrote:
 Hi,
 
 Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 
 8.0.4?
 

How about:

1.   Download tarball
2.   Extract tarball
3.   cd rt-3.8.2

read the README file, paying particular attention to GENERAL INSTALLATION

4.   ./configure
5.   make testdeps
6.   make fixdeps

keep referring to the README

:)

P
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] RT 3.8.2 - CF Enter One Value With Autocomplete non-functional?

2009-01-27 Thread Blake Crawford
Hi folks:

Been researching this one all morning, and can't find a reason for it.  I
have a CF, enter one value with autocomplete, populated with 10 random
values.  When starting to enter values, nothing happens.  Looking in the
page source, it is evidently an AJAX thing, so I tried on three browsers
(Firefox, IE, Safari), all didn't work.  Apache error logs indicate no
problem, access logs give 200's on Helper/Autocomplete/CustomFieldValues.

All the hard stuff I've done with RT has ended up being easy, but some of
the easy stuff like this is turning out to be a challenge.  Anyone managed
to get this to work?  I search the lists and issue list, but can't see where
anything has been reported.

thanks,

-blake crawford
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Transaction notifications to ticket Owner

2009-01-27 Thread Kenneth Crocker
Jerrad,


I'm not sure what you got out of the box or if someone deleted a global 
scrip, but I'll walk you thru it. By the way, There are may 
installations (like ours) that do not want all sorts of Email filling up 
their inbox, so we have kept our Global notifications to a minimum and 
set them up on a queue by queue basis. To set up a global notification 
scrip navigate thus: Configuration-Global-Scrips. Enter a name for the 
scrip like Notify Owner on Correspondence. On the condition line 
select On Correspond and for the action, select Notify Owner (as 
opposed to Notify Owner as comment. The latter will leave the 
correspondence in the history, but no Email sent out). Then select a 
template (like Global: Correspondence) and then hit create.
Try to keep in mind that RT gives each installation the ability to do 
all sorts of customization and the built-in stuff (like Email 
notifications) is kept to a minimum. If you have any trouble with this, 
let me know. Hope this helps.


Kenn
LBNL

On 1/26/2009 4:27 PM, Jerrad Pierce wrote:
 Is there some reason RT doesn't automatically notify owners of correspondence
 (and comments if they have ACLs) out of the box? I checked the list archives,
 and there're some comments about rolling your own scrips, but that's not very
 intuitive. There's very little in the book either (a table entry in
 the CSR example).
 Worse, it sounds like a PITA to do yourself if you (reasonably) want to avoid
 potential duplicate notices.
 
 I've been looking at the Scrips an Recipients box, but it never
 really stuck that the
 owner wasn't listed; because, really, why wouldn't he be notified?? I
 just checked
 our 3.8.1 installation, and the owner definitely does not receive
 messages, contrary
 to DWIMmery. This would, incidentally, explain why our apparently unresponsive
 consultant is unresponsive...
 
 --shocked in awe

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Transaction notifications to ticket Owner

2009-01-27 Thread Kenneth Crocker
Jerrad,


Not that I know of. Rights for roles have to be set up just like for a 
user-defined group and Custom Fields. RT has no way of knowing what 
rights you want a person to have, who is going to manage the queue, who 
will have modify rights to a ticket, who is allowed to make comment 
only on a ticket, etc. As far as I know, there are no special set of 
rights given for roles. Hope this helps.


Kenn
LBNL

On 1/26/2009 5:35 PM, Jerrad Pierce wrote:
 To clarify, all the materials I'd ever read about RT gave the impression
 that ownership of a ticket was essentially a special case of ticket-admincc
 (monitor transactions, and get some extra rights).
 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT 3.8.2 packages for Debian Lenny?

2009-01-27 Thread Dominic Hargreaves
On Tue, Jan 27, 2009 at 05:16:54PM +0100, Martin Maurer wrote:
  -Original Message-
  From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-
  boun...@lists.bestpractical.com] On Behalf Of Dominic Hargreaves
  Sent: Freitag, 16. Jänner 2009 09:36
  To: rt-users@lists.bestpractical.com
  Subject: Re: [rt-users] RT 3.8.2 packages for Debian Lenny?

  I'll do this once request-tracker3.8 has been uploaded to unstable,
  which shouldn't be long.

 Do you got a rough schedule for this? 

I hesitate to say again, since I previously expected to be able to do an
upload the same week. I'm just testing our current candidate, but
there's a new bug which requires a new package upload to Debian which
I'll want to get in before a new upload, so it may not be for another
week or so.

 BTW, did you get a chance to test the already released RT appliance?
 http://wiki.bestpractical.com/view/Proxmox_VE_RT_Appliance

No, sorry, this isn't something that is particularly relevant for us.

Dominic.

-- 
Dominic Hargreaves, Systems Development and Support Team
Computing Services, University of Oxford
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Editing Searches which form default RT at a glance page fails

2009-01-27 Thread Brian Friday
Forgot to add I am using RT 3.6.7

And the default search in RT_SiteConfig.pm is:

RT::DefaultSearchResultFormat'BA
HREF=/rt/Ticket/Display.html?id=__idid__/a/B/TITLE:#',
'BA 
HREF=/rt/Ticket/Display.html?id=__idSubject__/a/B/TITLE:Subject',
Status, QueueName, OwnerName, Priority, '__NEWLINE__', '',
'small__Requestors__/small', 'small__CreatedRelative__/small',
'small__ToldRelative__/small',
'small__LastUpdatedRelative__/small',
'small__TimeLeft__/small'

On Mon, Jan 26, 2009 at 10:22 PM, Brian Friday brian.fri...@gmail.com wrote:
 Hello all,
 I am trying to figure out why I can not edit the query used for the default
 at a glance page.
 Process:
 1) Login as Root and get to the RT at a glance page
 2) Click edit, immediately to the right of, but on the same line as the text
 10 highest priority tickets I own
 3) Now we get taken to the page Customize N highest priority tickets I
 own where I click Search - My Tickets on the line that starts with You
 can also edit the predefined search itself
 4) Now we get taken to the page Query Builder where I click on
 the Advanced link on the blue menu bar
 Which takes me to a scree that has a text box for a query and then a text
 box for formating that query.
 My system currently has the following information for the query and the
 formating boxes
 Query:
 Owner = '__CurrentUser__' AND ( Status = 'new' OR Status = 'open' )
 Formating:
 'a href=__WebPath__/Ticket/Display.html?id=__idid__/a/TITLE:
 I have attempt to replace the formating information with the following:
 Formating:
 'a href=__WebPath__/Ticket/Display.html?id=__idid__/a/TITLE:#',
 'a
 href=__WebPath__/Ticket/Display.html?id=__idSubject__/a/TITLE:Subject',
 '__Priority__', '__QueueName__',
 '__ExtendedStatus__'
 I then click the apply your changes button.
 Then I am taken to the Query Builder page where I hit the save button
 which indicates that this is a RT System's saved search and has the
 description of [_1] highest priority tickets I own
 I click the show results button and bingo I get good results BUT if I go
 back by clicking Home and click on the title link 10 highest priority
 tickets I own I get a display of the ticket urls but the formating is
 wrong. Going back and editing the search shows that the search formating I
 saved above did not actually save and displays this again:
 Formating:
 'a href=__WebPath__/Ticket/Display.html?id=__idid__/a/TITLE:
 Anyone have an idea why this is happening or why saving this search is not
 taking?
 Any help would be appreciated, I can't seem to get this bug to go away and I
 can't figure out why it is happening.
 Brian
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Alf Stockton
Paul Walsh wrote:
 Wikus Smit wrote:
 Hi,

 Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 
 8.0.4?

 
 How about:
 
 1.   Download tarball
 2.   Extract tarball
 3.   cd rt-3.8.2
 
 read the README file, paying particular attention to GENERAL INSTALLATION
 
 4.   ./configure
 5.   make testdeps
 6.   make fixdeps
 
 keep referring to the README
 
I tried your suggestion but somewhere along the line you forgot to add how 
one, not being a Perl programmer, is to add all those Perl bits and bobs.


-- 
Regards,
Alf Stocktonwww.stockton.co.za

Avert misunderstanding by calm, poise, and balance.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Mike Peachey
Alf Stockton wrote:
 Paul Walsh wrote:
 Wikus Smit wrote:
 Hi,

 Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 
 8.0.4?

 How about:

 I tried your suggestion but somewhere along the line you forgot to add how 
 one, not being a Perl programmer, is to add all those Perl bits and bobs.
 

That's not an RT installation issue, that's a System Administration
issue. It depends on your system as to how most of the perl dependencies
should be installed.

As a Slackware user, I would simply use CPAN:
`cpan -i PKG::Module PKG2::Module ETC::etc`

For Red Hat users *shudder* you generally want:
`rpm -Uvh perl-foo perl-bar perl-baz`

Debian users no doubt want to apt-get them, or some other silly thing :)
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Scrip failures

2009-01-27 Thread Jerrad Pierce
Hello,

I'm getting errors in RT 3.8.1 log like:

[Tue Jan 27 02:51:50 2009] [error]: Scrip Commit 6 died. - Can't call
method parts
on an undefined value at /opt/rt3/bin/../lib/RT/I18N.pm line 196.
Stack:
  [/opt/rt3/bin/../lib/RT/I18N.pm:196]
  [/opt/rt3/bin/../lib/RT/I18N.pm:196]
  [/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:520]
  [/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:141]
  [/opt/rt3/bin/../lib/RT/ScripAction_Overlay.pm:238]
  [/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:464]
  [/opt/rt3/bin/../lib/RT/Scrips_Overlay.pm:196]
  [/opt/rt3/bin/../lib/RT/Transaction_Overlay.pm:177]
  [/opt/rt3/bin/../lib/RT/Record.pm:1419]
  [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:2145]
  [/opt/rt3/bin/../lib/RT/Ticket_Overlay.pm:2057]
  [/opt/rt3/bin/../lib/RT/Interface/Web.pm:705]
  [/opt/rt3/share/html/Ticket/Display.html:145]
  [/opt/rt3/share/html/Ticket/Update.html:257]
  [/opt/rt3/share/html/autohandler:308]
(/opt/rt3/bin/../lib/RT/Scrip_Overlay.pm:472)

It occurs for both emails, and web interactions, and seems to be related to
Transaction-Content not being included in notifications. Below is the current
template being used for #6 (Admin Comment). Essentially the same code is
being used for #5 (Admin Correspondence) and #3 (Transaction). There is no
error log entry for #3, but none of them include the message body :-/
Any help would be greatly appreciated.

Subject: [Comment] {my $s=($Transaction-Subject||$Ticket-Subject);
$s =~ s/\[Comment\]//g; $s =~ s/^Re//i; $s;}
X-Priority: {my $p=$Ticket-Priority; $p=50 if $p0; 6-(int(($p/20)+.5)||1)}

This is a comment.  It is not sent to the Requestor(s):

URL: {RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id} 
{ #Link to attachments
  my @res;
  my $Attachments = $Transaction-Attachments;
  $Attachments-Limit( FIELD = 'Filename', OPERATOR = '!=', VALUE = '' );
  while (my $a = $Attachments-Next) {
push(@res, sprintf(%sTicket/Attachment/%i/%i/%s, $RT::WebURL,
$a-TransactionId, $a-id, $a-Filename));
  }
  @res ? join('', map{ enc: $_ \n } @res ) : '';
}

{$Transaction-Content()}
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Mike Peachey
Derrick Smith wrote:
 Hello all,
 
   I recently setup RT and wanted to integrate it with my AD
 infrastructure.  Through the use of these mailing lists, other forums,
 RT wiki and Google I've been able to get RT running and LDAP
 authentication working but I was under the impression that when a user
 logs into RT using their LDAP user/password a user is created within RT
 automatically.  Is this incorrect?  
 
   When I log in as a domain user I'm granted unprivileged access
 (which is okay) but the user does not show up in the user list if I then
 login as a privileged user (root).  Has anyone else had this problem?  I
 believe RT_SiteConfig is configured correctly but I've added it to this
 email for further review.  I've also attached the ldap authentication
 log (rt.log).
 

1. You ought to make sure you're using ExternalAuth v0.08 - the
configuration you supplied suggests a slightly older version as, for
example, the 'auth' and 'info' lines in the LDAP config have been
deprecated.

2. I'm willing to bet that you've come across the most simple of issue
that confuses every new RT admin.

The user list only every lists privileged users by default. If you
want other users to show up you need to specify a search in which they
would appear as a result.

If you truly want to see ALL users in RT, I recommend the following search:

Search for all users whose username isn't z. That should show up
all your users (unless you have one with the username 'z' :) ).
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Mike Peachey
Derrick Smith wrote:
 I knew there was something simple I was missing.  Running a search that
 way generated a list of all users that have accessed the site.  Thanks
 so much for your help and I'll look into upgrading versions. 

IGNORE me! I wasn't paying enough attention to the fact you're using
RT-3.6.x.

RT-3.6.x = ExternalAuth v0.05
RT-3.8.x = ExternalAuth v0.08

While 0.08 ought to work on RT-3.6 I don't know anyone who's tried it
and by no means expect it to work.
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] From Ticket transaction custom fields to Ticket custom fields

2009-01-27 Thread Jesse Vincent



On Tue, Jan 27, 2009 at 11:54:01AM +0200, Lauren, Robin wrote:
 Hi all,
 
 I asked this before but obviously with too many words since i never got an
 answer. So here goes again.
 
 Can i change a Custom field's Applies to -attribute from Ticket
 Transactions to Tickets without all heck breaking loose, on a queue
 already using said custom attribute? 

No. I'd recommend creating a new CF and disabling the old one.

 If not, what heck would break loose and how can it be avoided?

You'd lose all your existing data. (Well, it wouldn't be deleted, but it
would be hidden away and potentially a bit hard to reconstruct.)
 
 The RT used is version 3.6.5.
 
 
 Best regards,
  ~Robin Lauren
 
 
 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com
 

-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT 3.8.2 / Pg 8.3.5: Case-insensitive searching on custom fields workaround

2009-01-27 Thread Jesse Vincent



On Mon, Jan 26, 2009 at 11:42:36PM -0500, Adam Tingle wrote:
 I've discovered a workaround to the issue below that seems to work. I'm
 wondering if anyone can tell if this will break anything else in RT? If I
 remember correctly, MySQL is case-insensitive by default, so is there really
 any difference in having PostgreSQL behave the same way? Here is the diff:

That seems to be a safe change to make locally. It's worth forwarding to
rt-b...@bestpractical.com so it can be evaluated for inclusion in a
future RT (and run through the full regression test suite)

Best,
Jesse
 --- SearchBuilder.pm2009-01-13 12:00:22.0 -0500
 +++ /usr/local/share/request-tracker3.8/lib/RT/SearchBuilder.pm 2009-01-26
 22:58:12.0 -0500
 @@ -277,17 +277,17 @@
  This Limit sub calls SUPER::Limit, but defaults CASESENSITIVE to 1, thus
  making sure that by default lots of things don't do extra work trying to
  match lower(colname) agaist lc($val);
 
  =cut
 
  sub Limit {
  my $self = shift;
 -my %args = ( CASESENSITIVE = 1,
 +my %args = ( CASESENSITIVE = 0,
   @_ );
 
  return $self-SUPER::Limit(%args);
  }
 
  =head2 ItemsOrderBy
 
  If it has a SortOrder attribute, sort the array by SortOrder.
 
 
 -- Forwarded message --
 From: Adam Tingle adamtin...@gmail.com
 Date: Fri, Jan 23, 2009 at 10:09 PM
 Subject: RT 3.8.2 / Pg 8.3.5: Case-insensitive searching on custom fields
 not working?
 To: rt-users@lists.bestpractical.com
 
 
 When I do a search for a ticket subject or content, RT queries PostgreSQL
 using the ILIKE operator and returns results on case-insensitive basis.
 However, when I search for a custom field, RT queries the database using the
 LIKE operator and returns results on a case-sensitive basis.
 
 I've enabled the option log_statement = 'all' in postgresql.conf and see the
 following output in postgresql-8.3-main.log.
 
 Here is sample output from a search on ticket subject:
 
 LOG:  statement: SELECT COUNT(DISTINCT main.id) FROM Tickets main JOIN
 Transactions Transactions_1  ON ( Transactions_1.ObjectId = main.id ) JOIN
 Attachments Attachments_2  ON ( Attachments_2.TransactionId =
 Transactions_1.id )  WHERE (Transactions_1.ObjectType = 'RT::Ticket') AND
 (main.Status != 'deleted') AND ( (  ( Attachments_2.Content ILIKE
 '%searchterm%' )  ) ) AND (main.Type = 'ticket') AND (main.EffectiveId =
 main.id)
 
 Here is sample output from a search on a custom field:
 
 LOG:  statement: SELECT COUNT(DISTINCT main.id) FROM Tickets main JOIN
 ObjectCustomFieldValues ObjectCustomFieldValues_1  ON (
 ObjectCustomFieldValues_1.CustomField = '1' ) AND (
 ObjectCustomFieldValues_1.ObjectType = 'RT::Ticket' ) AND (
 ObjectCustomFieldValues_1.Disabled = '0' ) AND (
 ObjectCustomFieldValues_1.ObjectId = main.id )  WHERE (main.Status !=
 'deleted') AND ( (  (  (  ( ObjectCustomFieldValues_1.Content LIKE
 '%searchterm%' OR  (  ( ObjectCustomFieldValues_1.Content = '' OR
 ObjectCustomFieldValues_1.Content IS NULL )  AND
 ObjectCustomFieldValues_1.LargeContent LIKE '%searchterm%' )  )  )  )  ) )
 AND (main.Type = 'ticket') AND (main.EffectiveId = main.id)
 
 Is this a bug or expected results? I'd really like to have case-insensitive
 search on CFs.
 
 Thanks RT!
 
 -- 
 ...
 Adam Tingle

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
 
 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com
 
 
 Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
 Buy a copy at http://rtbook.bestpractical.com

-- 
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Ticket Forward Problem With Thunderbird

2009-01-27 Thread Jo Rhett
There must be a configuration setting with the Perl mailtools  
package.   I have 3.8.1 stock and it forwards in MIME format.   I just  
tested...


Subject: Fwd: Re: [Abuse #6] [SpamCop (http://www.coyotepoint.com/) id: 
3809219478]Gen-xit Netgear CISCO 3COM MRV Transition

Date: Tue, 27 Jan 2009 10:56:24 -0800
Content-type: multipart/mixed; boundary=--=_1233082584-11855-2

This is a multi-part message in MIME format...

=_1233082584-11855-2


This is forward of transaction #144 of a ticket #6

=_1233082584-11855-2
Content-Type: message/rfc822
Content-Disposition: attachment
Content-Transfer-Encoding: binary
Content-Description: forwarded message

...etc

On Jan 27, 2009, at 5:54 AM, Alan Cheng wrote:
I am attaching the original email below to show that the attachment  
forwarded message.eml is uuencoded.  Perhaps there is an option  
somewhere to change this to MIME encoding instead?  The uuencoded  
portion was modified a little bit to protect the content since this  
is a real ticket in our system.


Message-ID: 200901271347.n0rdluiv022...@rt.ias.edu
To: che...@ias.edu
Cc:
Subject: Fwd: [NET #774] TEST ONLY
From: ne...@ias.edu
Date: Tue, 27 Jan 2009 08:47:30 -0500
X-OriginalArrivalTime: 27 Jan 2009 13:47:33.0882 (UTC)  
FILETIME=[CE69DDA0:01C98085]



This is forward of transaction #5167 of a ticket #774


begin 666 forwarded message.eml
M0V]N=5N=U47!E.B!T97AT+W!L86EN.R!B;W5N9%R3TB+2TM+2TM+2TM
M+3U?,3(S,c4...@r-TX.#$P+38R(@T*0V]N=5N=U4F%NV9EBU%;F-O
M9en...@8fen8711233545aghnfgeryeyt344#$n, T*6U-86EL97(Z($U)
M344M=]O;',@-2XT,c...@*$5n=ET2 U+C0R-BD-E-U8FIE8W0Z($0F22!7
M96(@4V5R=F5R($)A8VMU T*1G)O;3H@,C(-D-O;G1E;G0M35N9W1H.B P
$#0H-@``
`
end

Thanks,

Alan


Alex Young wrote:


Does the email display properly in Thunderbird for you?

I have forwarded and email and been able to open it in Outlook  
fine, but Thunderbird remains a problem.




-Original Message-
From: Jesse Vincent [mailto:je...@bestpractical.com]
Sent: 26 January 2009 18:18
To: Alex Young
Cc: RT Users
Subject: Re: [rt-users] Ticket Forward Problem With Thunderbird





We are currently running RT-3.8.1.  It appears that the email  
content

(message.eml) is uuencoded when RT forwards a ticket.  Thunderbird
doesn't seem to like this and cannot display the forwarding  
email.  Is

there a way to configure RT to do MIME encoding instead?  Any
suggestions are greatly appreciated.


Hm. It sure seems to be doing MIME encoding by default for me:

It adds a single message/rfc822 part containing the original MIME  
message.


-  1  Ino description (0.1K) (text/plain, 7bit, us-ascii)
2  Aforwarded message (4.7K) (message/rfc822, binary, )
3  I   ┆no description (2.2K) (multipart/mixed, 7bit, )
4  I âœâ€ no description (0.6K) (text/plain, 8bit, utf-8)
5  I ┆no description (1.3K) (text/html, 8bit, utf-8)




___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com



--
Alan Cheng che...@ias.edu   +1 609-734-8169
UNIX Systems Administration  Institute for Advanced Study
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


--
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] add screenshots where it says [screenshot] in the wiki?

2009-01-27 Thread Jo Rhett
There are lots of what look like placeholders in the wiki for  
screenshots.  Is that a request for someone to add a screenshot there?

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jo Rhett
There are some very very very long pages in the wiki.   If we do add  
screenshots and stuff they will get even longer.   In addition, many  
of the sections within pages would benefit from direct linking  
elsewhere in the site.   
http://wiki.bestpractical.com/view/ManualAdministration 
  in particular.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jerrad Pierce
It's a wiki. One ought to simply do as one likes (within reason), yes?

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jesse Vincent



On Tue, Jan 27, 2009 at 11:10:00AM -0800, Jo Rhett wrote:
 There are some very very very long pages in the wiki.   If we do add  
 screenshots and stuff they will get even longer.   In addition, many  
 of the sections within pages would benefit from direct linking  
 elsewhere in the site.   
 http://wiki.bestpractical.com/view/ManualAdministration 
   in particular.

The ManualFoo pages were from an attempt to have a techwriter write a
proper manual a good few years back. The intent had been that it was
going to be a for-money item, but we ended up posting the content
instead of charging for it. I'd be 100% ok with splitting the pages into
logical sections, though I'd probably say that cutting to less than a
couple screens is probably too fine-grained. But that's handwavey and
I'm happy to be overruled by a volunteer who's actually doing the work.

Thanks!
-jesse
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jo Rhett
On Jan 27, 2009, at 11:12 AM, Jerrad Pierce wrote:
 It's a wiki. One ought to simply do as one likes (within reason), yes?


It's also a colaborative effort and it has a primary owner, so I tend  
to try and figure out what changes they would be happy with and which  
they would prefer not to have before making a structural change like  
that.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jo Rhett
On Jan 27, 2009, at 11:13 AM, Jesse Vincent wrote:
 The ManualFoo pages were from an attempt to have a techwriter write a
 proper manual a good few years back. The intent had been that it was
 going to be a for-money item, but we ended up posting the content
 instead of charging for it. I'd be 100% ok with splitting the pages  
 into
 logical sections, though I'd probably say that cutting to less than a
 couple screens is probably too fine-grained.

Sounds like we are on the same page.   I'll see what I can do.

Would it be okay if I dropped Manual from the front of the new page  
names?   Every time I see ManualApache I think configuring Apache  
by hand... etc.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jesse Vincent



On Tue, Jan 27, 2009 at 11:16:18AM -0800, Jo Rhett wrote:
 On Jan 27, 2009, at 11:13 AM, Jesse Vincent wrote:
 The ManualFoo pages were from an attempt to have a techwriter write a
 proper manual a good few years back. The intent had been that it was
 going to be a for-money item, but we ended up posting the content
 instead of charging for it. I'd be 100% ok with splitting the pages  
 into
 logical sections, though I'd probably say that cutting to less than a
 couple screens is probably too fine-grained.
 
 Sounds like we are on the same page.   I'll see what I can do.
 
 Would it be okay if I dropped Manual from the front of the new page  
 names?   Every time I see ManualApache I think configuring Apache  
 by hand... etc.
 

Certainly.

Will you leave the old page names as indexes to where the content went,
since there are folks outside the wiki who deeplink to those pages
today.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] why does RT alter the mail header order?

2009-01-27 Thread Jo Rhett
Why does RT alter the mail header ordering?   If we get spam sent to  
RT I'd like to build a Scrip to report the spam, but it appears that  
RT is so misordering the mail headers that this becomes impossible.

They aren't alphabetical... or really anything I can find.   They  
appear to be completely random.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Scrip failures

2009-01-27 Thread Kenneth Crocker
Jerrad,


The limit for attachments is set in the RT_SiteConfig.pm file in 
$RTHOME-etc directory.


Kenn
LBNL

On 1/27/2009 10:15 AM, Jerrad Pierce wrote:
 Okay, still no idea what's causing the commit failure,
 but I have determined that the attachment link code
 (adapted form wiki content) somehow results in an
 empty Transaction-Content. Is the Limit not scoped?

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] wiki -- break very long pages up into short pages?

2009-01-27 Thread Jo Rhett
On Jan 27, 2009, at 11:25 AM, Jesse Vincent wrote:
 Would it be okay if I dropped Manual from the front of the new page
 names?   Every time I see ManualApache I think configuring Apache
 by hand... etc.

 Certainly.

 Will you leave the old page names as indexes to where the content  
 went,
 since there are folks outside the wiki who deeplink to those pages
 today.


As do I, so yeah ;-)

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does RT alter the mail header order?

2009-01-27 Thread Jesse Vincent



On Tue 27.Jan'09 at 11:59:39 -0800, Jo Rhett wrote:
 Why does RT alter the mail header ordering?   If we get spam sent to  
 RT I'd like to build a Scrip to report the spam, but it appears that  
 RT is so misordering the mail headers that this becomes impossible.

 They aren't alphabetical... or really anything I can find.   They  
 appear to be completely random.

Last time this came up, I found the reference in RFC822 or 2822 that
said that headers weren't technically an ordered list.  

RT doesn't intentionally massage the header order, but either MIME::Tools or
RT, stores them as a hash at some point


pgpy4eA7Zo9FI.pgp
Description: PGP signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Scrip failures

2009-01-27 Thread Jerrad Pierce
On Tue, Jan 27, 2009 at 14:59, Kenneth Crocker kfcroc...@lbl.gov wrote:
 Jerrad,


The limit for attachments is set in the RT_SiteConfig.pm file in
 $RTHOME-etc directory.
Hi Ken, I think you may have misunderstood. I was not referring to attachment
size limit, but the -Limit() method call in the previously quoted code.

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does RT alter the mail header order?

2009-01-27 Thread Jo Rhett
On Jan 27, 2009, at 12:03 PM, Jesse Vincent wrote:
 Last time this came up, I found the reference in RFC822 or 2822 that
 said that headers weren't technically an ordered list.

Yes, but in practice everyone has shifted away from this.   Received  
header ordering is absolutely necessary for proper spam reporting.

 RT doesn't intentionally massage the header order, but either  
 MIME::Tools or
 RT, stores them as a hash at some point


I'll dig into this.

Is there any place that RT stores the original, unaltered message?

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT 3.8.2 - CF Enter One Value With Autocomplete non-functional?

2009-01-27 Thread Jesse Vincent



On Tue, Jan 27, 2009 at 03:10:44PM -0500, Blake Crawford wrote:
 I actually just sorted it out, and it was related to the apache
 configuration.  I originally had it configured using WebPath of /rt.
 Using Firebug, I debugged the AJAX requests/responses for a test field, and
 the callback was to /Helpers/., rather than /rt/Helpers  I spend
 a few hours and couldn't get it to work with a WebPath, so I reconfigured to
 a blank value, and now everything works.
 
 Thanks for the prompt response.  I'll try w/ SVN HEAD for 3.8 on my laptop
 and see if I can reproduce the problem.

What we actually fixed was related to jumpy and misplaged results
lists. If you can repro this with SVN HEAD, please report it to
rt-b...@fsck.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Scrip failures

2009-01-27 Thread Jerrad Pierce
Okay, further details of this very very bad thing. The templates are
not the problem,
On Correspond Notify Requestors and CCs is croaking for responses submitted
via the web interface.

I rechecked the ScripActions table, since I added Notify AdminCCs and Owners
last night, but this looks right to me:

id | Name   | Description   | ExecModule | Argument | Creator
 6 | Notify Ccs | Sends mail to the Ccs | Notify | Cc   |   1

It seems very odd that internationalization should be capable of
inducing message
delivery failure...
-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does RT alter the mail header order?

2009-01-27 Thread Jesse Vincent


On Tue, Jan 27, 2009 at 12:11:35PM -0800, Jo Rhett wrote:
 
 Is there any place that RT stores the original, unaltered message?

Not by default, no.  The first thing RT does when it gets its mitts on a
mesage is split it into seperate MIME bodies and normalize them to UTF-8.
Were I going to start from scratch today, I'd make a different decision.

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] why does the freebsd port have 200+ dependancies?

2009-01-27 Thread Jo Rhett
(FreeBSD specific post, if you're not using you can simply ignore this  
message)

After seeing the ten bazillion things that www/rt38 wanted to install  
I ended up building a new machine separate from our build server just  
to build all of these ports.  I installed every one of them by hand  
(non-root user, typing the root password each time, manually checking  
the config option for each port).  I disabled every option in GD and  
GraphWiz that I could, and it still installed 272 ports.

In particular, it installed 120-something X11 apps and libraries on a  
machine which doesn't have X11, will never have X11, and explicitly  
has WITHOUT_X11=yes in /etc/make.conf.   So it's being overridden  
somewhere.

I have now removed 100-something of these ports and RT continues to  
operate and function in every way, without any difficulty.  After  
every 10 or so ports I remove (usually in the same dependancy branch)  
I stop and retest every function RT provides.

Before I continue to waste my time trying to figure out why so many  
things are enabled, could you as a maintainer perhaps address the  
question of why so many extra ports are added?  Are these extra ports  
added to satisfy requirements in extensions that you have added to  
RT?   Can I convince you to put those dependancies in a separate port  
with that extension so that we aren't required to have massive port  
bloat with the base package?

Note to RT Maintainers: it would be nice if you documented the  
explicit list of dependancies rather than forcing us to read the code  
to figure it out.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does the freebsd port have 200+ dependancies?

2009-01-27 Thread Jesse Vincent

 Note to RT Maintainers: it would be nice if you documented the  
 explicit list of dependancies rather than forcing us to read the code  
 to figure it out.

I couldn't tell if this bit was FreeBSD specific or targeted at me.
If the latter, sbin/rt-test-dependencies should be the canonical source
of what you want.
-Jesse
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does RT alter the mail header order?

2009-01-27 Thread Jesse Vincent
Following up on my own post:

 RFC 2822, 3.6:
 ...for the purposes of this standard, header fields SHOULD NOT be reordered
 when a message is transported or transformed.  More importantly, the trace
 header fields and resent header fields MUST NOT be reordered, and SHOULD be
 kept in blocks prepended to the message.

So, if we're reordering the received lines, it's a bug I'd like to see fixed.
Assuming they don't otherwise compromise the system (which is really, always 
the case), 
patches would most certainly be welcome.

Best,
Jesse
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Ticket Forward Problem With Thunderbird

2009-01-27 Thread Jesse Vincent



On Tue, Jan 27, 2009 at 08:54:19AM -0500, Alan Cheng wrote:
 
 I am attaching the original email below to show that the attachment
 forwarded message.eml is uuencoded.  Perhaps there is an option
 somewhere to change this to MIME encoding instead?  The uuencoded
 portion was modified a little bit to protect the content since this is a
 real ticket in our system.

The relevant code reads like this:
$mail-attach(
Type = 'message/rfc822',
Disposition = 'attachment',
Description = 'forwarded message',
Data = $entity-as_string,
);

Perhaps your local client is massaging the received message in some way.

Why don't you try forwarding a transaction to my address?

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RT 3.8.2 - CF Enter One Value With Autocomplete non-functional?

2009-01-27 Thread Kevin Falcone

On Jan 27, 2009, at 3:10 PM, Blake Crawford wrote:


 I actually just sorted it out, and it was related to the apache  
 configuration.  I originally had it configured using WebPath of / 
 rt.  Using Firebug, I debugged the AJAX requests/responses for a  
 test field, and the callback was to /Helpers/., rather than / 
 rt/Helpers  I spend a few hours and couldn't get it to work  
 with a WebPath, so I reconfigured to a blank value, and now  
 everything works.

 Thanks for the prompt response.  I'll try w/ SVN HEAD for 3.8 on my  
 laptop and see if I can reproduce the problem.

Make sure you're up to rev 17941 (17939 should fix the issue with  
WebPath you were seeing).

-kevin

 On Tue, Jan 27, 2009 at 1:39 PM, Jesse Vincent je...@bestpractical.com 
  wrote:



 On Tue, Jan 27, 2009 at 11:43:01AM -0500, Blake Crawford wrote:
  Hi folks:
 
  Been researching this one all morning, and can't find a reason for  
 it.  I
  have a CF, enter one value with autocomplete, populated with 10  
 random
  values.  When starting to enter values, nothing happens.  Looking  
 in the
  page source, it is evidently an AJAX thing, so I tried on three  
 browsers
  (Firefox, IE, Safari), all didn't work.  Apache error logs  
 indicate no
  problem, access logs give 200's on Helper/Autocomplete/ 
 CustomFieldValues.

 Can you try with SVN HEAD of 3.8? We've found and fixed some bugs
 related to the autocompleting CF type after 3.8.2

 -jesse

 ___
 http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

 Community help: http://wiki.bestpractical.com
 Commercial support: sa...@bestpractical.com


 Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
 Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTFM WikiText formatting

2009-01-27 Thread Alex Young
I am currently on RT 3.8.2 and RTFM 1.4.1

I have upgraded from RTFM 2.4.0 and 2.2.1 before that. 

I was on RT 3.8.1 and 3.6.6 previously.


-Original Message-
From: Jesse Vincent [mailto:je...@bestpractical.com] 
Sent: 27 January 2009 18:41
To: Alex Young
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTFM WikiText formatting




On Tue, Jan 27, 2009 at 01:07:44PM -, Alex Young wrote:
 After upgrading to the latest RTFM version I have found that some of
the
 customizations on http://wiki.bestpractical.com/view/RTFM no longer
work
 and I can't work out why.

Alex, what version of RTFM did you upgrade _from_? (Also, what version
of RT were you on / are you on now?)
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] URGENT Re: Scrip failures

2009-01-27 Thread Jerrad Pierce
I've diffed database dumps, and the codebase, but there've been no changes
that could explain RT's sudden failure to send proper requestor notifications.
It seems web-responses are not logged, cause the aforementioned exception,
and the recipient receives a message with the actual content as an attachment
(that apparently some clients will not display, but it ought to be
inlined anyhow)

Default On Correspond Notify Requestors and Ccs
Correspondence template:
  RT-Attach-Message: yes
  X-Priority: {my $p=$Ticket-Priority; $p=50 if $p0; 6-(int(($p/20)+.5)||1)}

  {$Transaction-Content()}
-- 
Cambridge Energy Alliance: Save money. Save the planet.



   
Delivered-To: jpie...@cambridgeenergyalliance.org
Received: by 10.229.91.205 with SMTP id o13cs5011qcm;
Tue, 27 Jan 2009 13:08:18 -0800 (PST)
Received: by 10.100.126.15 with SMTP id y15mr2553096anc.38.1233090497626;
Tue, 27 Jan 2009 13:08:17 -0800 (PST)
Return-Path: rt-root=localh...@cambenergy.org
Received: from rt.cambenergy.org (71.4.180.220.ptr.us.xo.net [71.4.180.220])
by mx.google.com with ESMTP id c28si26058969anc.45.2009.01.27.13.08.17;
Tue, 27 Jan 2009 13:08:17 -0800 (PST)
Received-SPF: pass (google.com: domain of rt-root=localh...@cambenergy.org 
designates 71.4.180.220 as permitted sender)
Authentication-Results: mx.google.com; spf=pass (google.com: domain of 
rt-root=localh...@cambenergy.org designates 71.4.180.220 as permitted sender) 
smtp.mail=rt-root=localh...@cambenergy.org
Received: by rt.cambenergy.org (Postfix, from userid 48)
id 99CC33C8404; Tue, 27 Jan 2009 16:11:20 -0500 (EST)
X-Priority: 5
Subject: [CEA Homes #2065] Jerrad Pierce/8 Beech Street, 
From: System: Administrator r...@cambenergy.org
Reply-To: r...@cambenergy.org
In-Reply-To: 
References: rt-ticket-2...@cambenergy.org
Message-ID: rt-3.8.1-30127-1233090680-915.2065-...@cambenergy.org
Precedence: bulk
X-RT-Loop-Prevention: CEA
RT-Ticket: CEA #2065
Managed-by: RT 3.8.1 (http://www.bestpractical.com/rt/)
RT-Originator: r...@localhost
To: jpie...@cambridgeenergyalliance.org
MIME-Version: 1.0
X-RT-Original-Encoding: utf-8
Content-type: multipart/mixed; boundary=--=_1233090680-30127-31
Date: Tue, 27 Jan 2009 16:11:20 -0500

This is a multi-part message in MIME format...

=_1233090680-30127-31
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8

This transaction appears to have no content

=_1233090680-30127-31
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
RT-Attachment: 2065/23885/10114

Did adding owner to Admin CC cause this failure?
Some local code?
=_1233090680-30127-31--
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Ticket Forward Problem With Thunderbird

2009-01-27 Thread Alan Cheng
Hi Jesse,

What a surprise!!!  Indeed it looks like Thunderbird was massaging the
forwarding email...  I forwarded the very same ticket to my Hotmail
account and it looked just fine.  As soon as I forwarded it to my local
work email account and have Thunderbird open it, the attachment became
uuencoded.  This is probably done by some plug-in?  I will investigate
and report back if I find any information.

Thanks very much for your help!

Alan

Jesse Vincent wrote:

 On Tue, Jan 27, 2009 at 08:54:19AM -0500, Alan Cheng wrote:
   
 I am attaching the original email below to show that the attachment
 forwarded message.eml is uuencoded.  Perhaps there is an option
 somewhere to change this to MIME encoding instead?  The uuencoded
 portion was modified a little bit to protect the content since this is a
 real ticket in our system.
 

 The relevant code reads like this:
 $mail-attach(
 Type = 'message/rfc822',
 Disposition = 'attachment',
 Description = 'forwarded message',
 Data = $entity-as_string,
 );

 Perhaps your local client is massaging the received message in some way.

 Why don't you try forwarding a transaction to my address?

   


-- 
Alan Cheng che...@ias.edu   +1 609-734-8169
UNIX Systems Administration  Institute for Advanced Study

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RTFM WikiText formatting

2009-01-27 Thread Jesse Vincent



On Tue, Jan 27, 2009 at 09:18:30PM -, Alex Young wrote:
 I am currently on RT 3.8.2 and RTFM 1.4.1
 
 I have upgraded from RTFM 2.4.0 and 2.2.1 before that. 
 
 I was on RT 3.8.1 and 3.6.6 previously.


Can you try that once more?

What version of RT and RTFM did it last work as you 'expected' on?
What version of RT and RTFM did it first work 'incorrectly' on?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] RTFM WikiText formatting

2009-01-27 Thread Alex Young
Sorry Jesse,
My users reported it broken after I updated to RT 3.8.2 and RTFM
2.4.1.

It could *possibly* have been broken before that when I updated to 3.8.1
and 2.4.0, but that's unlikely as they use the pages that are now broken
with the %code% tags so I would have expected an earlier bug report.




-Original Message-
From: Jesse Vincent [mailto:je...@bestpractical.com] 
Sent: 27 January 2009 21:26
To: Alex Young
Cc: Jesse Vincent; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RTFM WikiText formatting




On Tue, Jan 27, 2009 at 09:18:30PM -, Alex Young wrote:
 I am currently on RT 3.8.2 and RTFM 1.4.1
 
 I have upgraded from RTFM 2.4.0 and 2.2.1 before that. 
 
 I was on RT 3.8.1 and 3.6.6 previously.


Can you try that once more?

What version of RT and RTFM did it last work as you 'expected' on?
What version of RT and RTFM did it first work 'incorrectly' on?
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does the freebsd port have 200+ dependancies?

2009-01-27 Thread Steven Kreuzer

On Jan 27, 2009, at 3:29 PM, Jo Rhett wrote:

 (FreeBSD specific post, if you're not using you can simply ignore  
 this message)

 After seeing the ten bazillion things that www/rt38 wanted to  
 install I ended up building a new machine separate from our build  
 server just to build all of these ports.  I installed every one of  
 them by hand (non-root user, typing the root password each time,  
 manually checking the config option for each port).  I disabled  
 every option in GD and GraphWiz that I could, and it still installed  
 272 ports.

 In particular, it installed 120-something X11 apps and libraries on  
 a machine which doesn't have X11, will never have X11, and  
 explicitly has WITHOUT_X11=yes in /etc/make.conf.   So it's being  
 overridden somewhere.

graphics/graphviz requires X11 to build so WITHOUT_X11 is ignored for  
that port.


 I have now removed 100-something of these ports and RT continues to  
 operate and function in every way, without any difficulty.  After  
 every 10 or so ports I remove (usually in the same dependancy  
 branch) I stop and retest every function RT provides.

I assume you haven't been testing the Reports function.

 Before I continue to waste my time trying to figure out why so many  
 things are enabled, could you as a maintainer perhaps address the  
 question of why so many extra ports are added?

Because RT requires them.

 Are these extra ports added to satisfy requirements in extensions  
 that you have added to RT?

Nope.

 Can I convince you to put those dependancies in a separate port with  
 that extension so that we aren't required to have massive port bloat  
 with the base package?

You would have to figure out a way to make graphviz compile without  
x11. I'm not sure that is possible.


 Note to RT Maintainers: it would be nice if you documented the  
 explicit list of dependancies rather than forcing us to read the  
 code to figure it out.

http://portsmon.freebsd.org/portdependencytree.py?category=wwwportname=rt38


--
Steven Kreuzer
http://www.exit2shell.com/~skreuzer

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] URGENT Re: Scrip failures

2009-01-27 Thread Jerrad Pierce
Hmm, I spoke too soon Re: not being the template's fault.
Apparently the code form

http://wiki.bestpractical.com/view/AddAttachmentLinksToMail

has bad action-at-a-distance side-effects. Looks like something's
awry with RT::Transaction_Overlay::Attachments, perhaps all
the mucking with self, rather than temp copies?

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Solved Re: URGENT Re: Scrip failures

2009-01-27 Thread Jerrad Pierce
I finally found a nasty work-around, and have updated the wiki accordingly.
The solution seems to be to delete the object's attachment cache after
doing anything (potentially) iffy. I'm happy to here of any saner alternatives.

-Jerrad

-- 
Cambridge Energy Alliance: Save money. Save the planet.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does the freebsd port have 200+ dependancies?

2009-01-27 Thread Jo Rhett
On Jan 27, 2009, at 1:33 PM, Steven Kreuzer wrote:
 In particular, it installed 120-something X11 apps and libraries on  
 a machine which doesn't have X11, will never have X11, and  
 explicitly has WITHOUT_X11=yes in /etc/make.conf.   So it's being  
 overridden somewhere.

 graphics/graphviz requires X11 to build so WITHOUT_X11 is ignored  
 for that port.

This is incredibly non-functional.  The 2 - count them - 2, TWO  
reports which produce graphs do very elementary graphs that don't  
require 1/100th of the functionality of the GD library, nevermind  
whatever GraphViz brings to the table.  This is an incredible bloat  
with no functional purpose.

 I have now removed 100-something of these ports and RT continues to  
 operate and function in every way, without any difficulty.  After  
 every 10 or so ports I remove (usually in the same dependancy  
 branch) I stop and retest every function RT provides.

 I assume you haven't been testing the Reports function.

Yes, I am.  I have at this point removed every X11-related port I can  
find, and nothing in Reports has broken.

 Before I continue to waste my time trying to figure out why so many  
 things are enabled, could you as a maintainer perhaps address the  
 question of why so many extra ports are added?

 Because RT requires them.

See above.  It does not appear that GraphViz requires any of the X11  
functionality.  It's port might think so, but functional practice  
would disagree.  (for at least whatever RT requires of it)

 Note to RT Maintainers: it would be nice if you documented the  
 explicit list of dependancies rather than forcing us to read the  
 code to figure it out.

 http://portsmon.freebsd.org/portdependencytree.py?category=wwwportname=rt38


The actual dependancies -- not the ones included by the freebsd port.   
It's clear and easy to read in Makefile.cpan ;-)

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] why does the freebsd port have 200+ dependancies?

2009-01-27 Thread Ruslan Zakirov
On Wed, Jan 28, 2009 at 3:43 AM, Jo Rhett jrh...@netconsonance.com wrote:
 On Jan 27, 2009, at 1:33 PM, Steven Kreuzer wrote:
 In particular, it installed 120-something X11 apps and libraries on
 a machine which doesn't have X11, will never have X11, and
 explicitly has WITHOUT_X11=yes in /etc/make.conf.   So it's being
 overridden somewhere.

 graphics/graphviz requires X11 to build so WITHOUT_X11 is ignored
 for that port.

 This is incredibly non-functional.  The 2 - count them - 2, TWO
 reports which produce graphs do very elementary graphs that don't
 require 1/100th of the functionality of the GD library, nevermind
 whatever GraphViz brings to the table.  This is an incredible bloat
 with no functional purpose.

GrpaphViz is an optional dependency for RT and can be turned during
./configure and in config. I think there is an option in the config,
however even if it's not there then feature will be disabled on
systems where perl's GraphViz bindings are not installed.

Oh, you don't use ./configure but ports. Then you should help
maintainer of the port make things optional.

You don't like that we don't use 100% of GD? Welcome a board! Help us
utilize its powers.

 I have now removed 100-something of these ports and RT continues to
 operate and function in every way, without any difficulty.  After
 every 10 or so ports I remove (usually in the same dependancy
 branch) I stop and retest every function RT provides.

 I assume you haven't been testing the Reports function.

 Yes, I am.  I have at this point removed every X11-related port I can
 find, and nothing in Reports has broken.

Actually, we plot graphs of links between tickets using GraphViz that
depends on X libs that is sad.


 Before I continue to waste my time trying to figure out why so many
 things are enabled, could you as a maintainer perhaps address the
 question of why so many extra ports are added?

 Because RT requires them.

 See above.  It does not appear that GraphViz requires any of the X11
 functionality.  It's port might think so, but functional practice
 would disagree.  (for at least whatever RT requires of it)

That's most probably not true.

-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Segmentation Fault

2009-01-27 Thread Paul Franson
I have a problem that I think may be database specific, but I'm lost in how to 
troubleshoot further.

I have a working 3.6.3 system that I want to port to a test machine running 
3.8.x.

I took a minimal Fedora 10 install and installed RT3 from yum.  I then 
upgraded the DBD::mysql using CPAN to 4.010

I mysqldump'ed the 3.6.3 database (using -default-character-set=binary), 
sftp'ed the dump over to the new box, and pumped it into the new mysql database 
there.  I then ran rt-setup-database -action upgrade from 3.6.3 to 3.8.1 (which 
is what yum installed for me).

After customizing the RT_SiteConfig.pm file, I can log in and see my cases on 
my home screen, but as soon as I attempt to either go into a case, or hit 
anything else on the screen (tickets, configuration, ...), I get hit with a 
segmentation fault.

As I said - I'm fairly sure that this is a database issue on my end (starting 
out with a blank database and populating it with several cases, I don't see any 
problems - just when I add my 3-year old, 1.1GB database).  If anyone has any 
suggestions for further troubleshooting, I'd love to hear them!!

I ran GDB and backtraced from the point of the seg fault, and this is what I 
got:

(hitting Configure in the menu):

Program received signal SIGSEGV, Segmentation fault.
memcpy () at ../sysdeps/i386/i686/memcpy.S:75
75  rep
Current language:  auto; currently asm
(gdb) bt
#0  memcpy () at ../sysdeps/i386/i686/memcpy.S:75
#1  0xba9dad1c in ?? ()
#2  0x00de43c2 in retrieve_hash (my_perl=0xbb1b3a80, cxt=0x426f16f8, cname=0x0) 
at /usr/include/bits/string3.h:52
#3  0x00ddfafd in retrieve (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) at 
Storable.xs:5967
#4  0x00de22a0 in retrieve_ref (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) 
at Storable.xs:4477
#5  0x00ddfafd in retrieve (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) at 
Storable.xs:5967
#6  0x00de48ad in retrieve_array (my_perl=0xbb1b3a80, cxt=0xba9dad1c, 
cname=0x0) at Storable.xs:5159
#7  0x00ddfafd in retrieve (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) at 
Storable.xs:5967
#8  0x00de22a0 in retrieve_ref (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) 
at Storable.xs:4477
#9  0x00ddfafd in retrieve (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) at 
Storable.xs:5967
#10 0x00de42d6 in retrieve_hash (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) 
at Storable.xs:5214
#11 0x00ddfafd in retrieve (my_perl=0xbb1b3a80, cxt=0xba9dad1c, cname=0x0) at 
Storable.xs:5967
#12 0x00de0742 in do_retrieve (my_perl=0xbb1b3a80, f=0x0, in=0xbb16512c, 
optype=2) at Storable.xs:6148
#13 0x00de18b4 in mretrieve () at Storable.xs:6264
#14 XS_Storable_mretrieve (my_perl=0xbb1b3a80, cv=0xba9d6b0c) at 
Storable.xs:6460
#15 0x00af66f9 in Perl_pp_entersub (my_perl=0xbb1b3a80) at pp_hot.c:2847
#16 0x00ab7f03 in Perl_runops_debug (my_perl=0xbb1b3a80) at dump.c:1931
#17 0x00b65d0f in S_docatch (my_perl=0xbb1b3a80, o=value optimized out) at 
pp_ctl.c:2679
#18 0x00ab7f03 in Perl_runops_debug (my_perl=0xbb1b3a80) at dump.c:1931
#19 0x00aef64d in Perl_call_sv (my_perl=0xbb1b3a80, sv=0xbc191934, flags=value 
optimized out) at perl.c:2631
#20 0x00b93dc8 in Perl_pp_tie (my_perl=0xbb1b3a80) at pp_sys.c:850
#21 0x00ab7f03 in Perl_runops_debug (my_perl=0xbb1b3a80) at dump.c:1931
#22 0x00b65d0f in S_docatch (my_perl=0xbb1b3a80, o=value optimized out) at 
pp_ctl.c:2679
#23 0x00b68e4d in Perl_pp_entereval (my_perl=0xbb1b3a80) at pp_ctl.c:3617
#24 0x00ab7f03 in Perl_runops_debug (my_perl=0xbb1b3a80) at dump.c:1931
#25 0x00aef64d in Perl_call_sv (my_perl=0xbb1b3a80, sv=0xbc17fb64, flags=value 
optimized out) at perl.c:2631
#26 0x00b93dc8 in Perl_pp_tie (my_perl=0xbb1b3a80) at pp_sys.c:850
#27 0x00ab7f03 in Perl_runops_debug (my_perl=0xbb1b3a80) at dump.c:1931
#28 0x00aefa58 in Perl_call_sv (my_perl=0xbb1b3a80, sv=0xbac33804, flags=4) at 
perl.c:2646
#29 0x009e6da4 in modperl_callback () from /etc/httpd/modules/mod_perl.so
#30 0x009e7b3c in modperl_callback_run_handlers () from 
/etc/httpd/modules/mod_perl.so
#31 0x009e856a in modperl_callback_per_dir () from 
/etc/httpd/modules/mod_perl.so
#32 0x009df5ff in ?? () from /etc/httpd/modules/mod_perl.so
#33 0x009df7c5 in modperl_response_handler_cgi () from 
/etc/httpd/modules/mod_perl.so
#34 0xb7ef2b7d in ap_run_handler (r=0xbae277d8) at 
/usr/src/debug/httpd-2.2.10/server/config.c:158
#35 0xb7ef66cf in ap_invoke_handler (r=0xbae277d8) at 
/usr/src/debug/httpd-2.2.10/server/config.c:372
#36 0xb7f02ea1 in ap_process_request (r=0xbae277d8) at 
/usr/src/debug/httpd-2.2.10/modules/http/http_request.c:258
#37 0xb7effab8 in ap_process_http_connection (c=0xbae1b940) at 
/usr/src/debug/httpd-2.2.10/modules/http/http_core.c:190
#38 0xb7efae9d in ap_run_process_connection (c=0xbae1b940) at 
/usr/src/debug/httpd-2.2.10/server/connection.c:43
#39 0xb7f082d1 in child_main (child_num_arg=value optimized out)
at /usr/src/debug/httpd-2.2.10/server/mpm/prefork/prefork.c:650
#40 0xb7f08599 in make_child (s=value optimized out, slot=0)
 

Re: [rt-users] why does the freebsd port have 200+ dependancies?

2009-01-27 Thread Jo Rhett
Steven, can we have an option in the 3.8.2 port to not use graphviz,  
please?

On Jan 27, 2009, at 5:30 PM, Ruslan Zakirov wrote:
 ]GrpaphViz is an optional dependency for RT and can be turned during
 ./configure and in config. I think there is an option in the config,
 however even if it's not there then feature will be disabled on
 systems where perl's GraphViz bindings are not installed.

 Oh, you don't use ./configure but ports. Then you should help
 maintainer of the port make things optional.

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Get Value of Custom Field

2009-01-27 Thread Sam Chenkin
Hello all,

I am trying to write a custom action that pulls a custom value from a user
and changes the new ticket's priority based on that value.

Below is the code I've written so far. It does successfully pull values (The
-Count method returns the correct number of values), but I can't GET the
values out. -Next just returns an empty variable. Any ideas?

Thanks,
~Sam

my $currentTicket = $self-TicketObj;

my $currentUser = new RT::CurrentUser;
$currentUser-LoadByEmail( $currentTicket-RequestorAddresses() );

$RT::Logger-debug(I found the user:  . $currentUser-Name);

my $CF_Obj = RT::CustomField-new($RT::SystemUser);
$CF_Obj-Load( '3' );

$RT::Logger-debug(Name of found CF Object is:  . $CF_Obj-Name() . 
Created on  . $CF_Obj-Created);

my $startPriority = ($CF_Obj-ValuesForObject( $currentUser ));
$RT::Logger-debug( There are  . $startPriority-Count .  objects);
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com