[rt-users] (no subject)

2013-11-15 Thread David T Grayston




Hi,

RT: 4.0.7

I’m trying to include the html
version of the Transaction Content in response template but only getting the
text version. Template code is something like this, 

Content-Type: text/html 

RT-Attach-Message: yes

Subject: [Update]
{$Ticket->Subject}{$Transaction->Content(Type
=> 'text/html')}

 

After some tbshooting what I
think is affected us is all of our emails include an image in the sig area. The
image looks to be processed as an html attachment when RT sends the replies out
on the template. Noted by someone back in 2005, that because there is an html
attachment the RT code assumes its included the needed html Content() .

 

“I looked code of ContentObj method in Transaction_Overlay.pm
According to code it just test first attachment in attachment list. And 
don't test rest attachments.”

 

When I test without the image in
the signature area the html Content is correctly included which seems to
confirm it’s the problem.

 Are newer versions of RT
handling this situation better or are there suggested workarounds?

 Thanks, David

 --

David T. Grayston

Systems &
Database Administrator, Application Development

University of
Washington School of Public Health

Office of the
Dean







Re: [rt-users] My_LDAP AUTH FAILED error with ExternalAuth

2013-11-15 Thread Tamas McCoy
So I managed to get debug logging working finally. Had to chmod the rt.log file 
to get it to write. Here's the pertinent information:

[13962] [Fri Nov 15 15:14:53 2013] [debug]: Attempting to use external auth 
service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:213)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: Calling UserExists with $username 
(tamas.mccoy) and $service (My_LDAP) 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:254)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: UserExists params:
username: tamas.mccoy , service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:439)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: LDAP Search ===  Base: 
dc=corp,dc=mclendons,dc=com == Filter: 
(&(objectClass=*)(sAMAccountName=tamas.mccoy)) == Attrs: 
l,cn,st,mail,sAMAccountName,co,streetAddress,postalCode,telephoneNumber,sAMAccountName,physicalDeliveryOfficeName,sAMAccountName
 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:469)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: Password validation required for 
service - Executing... 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:304)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: Trying external auth service: 
My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:153)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: LDAP Search ===  Base: 
dc=corp,dc=mclendons,dc=com == Filter: 
(&(sAMAccountName=tamas.mccoy)(objectClass=*)) == Attrs: dn 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:186)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: Found LDAP DN: CN=Tamas 
McCoy,OU=Users,OU=Corporate,OU=Sites,OU=McLendons,DC=corp,DC=mclendons,DC=com 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:220)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: LDAP Search ===  Base: CN=Domain 
Users,CN=Users,DC=corp,DC=mclendons,DC=com == Scope: base == Filter: 
(memberOf=CN=Tamas 
McCoy,OU=Users,OU=Corporate,OU=Sites,OU=McLendons,DC=corp,DC=mclendons,DC=com) 
== Attrs: dn 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:256)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: LDAP group membership check 
returned 0 results 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:285)
[13962] [Fri Nov 15 15:14:53 2013] [info]: My_LDAP AUTH FAILED: tamas.mccoy 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:289)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: LDAP password validation result: 0 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:483)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: Password Validation Check Result:  
0 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:308)
[13962] [Fri Nov 15 15:14:53 2013] [debug]: Autohandler called ExternalAuth. 
Response: (0, Password Invalid) 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/html/Elements/DoAuth:16)
[13962] [Fri Nov 15 15:14:53 2013] [error]: FAILED LOGIN for tamas.mccoy from 
192.168.1.68 (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:814)

Tamas McCoy
IT Assistant
McLendon Hardware, Inc.
tamas.mc...@mclendons.com
cell 206.753.7778




All email sent via the McLendon Hardware Email System is for business use
only.

Using this email system for any other purpose is strictly prohibited. This email
and any files transmitted with it are confidential and intended solely for the
use of the individual or entity to whom they are addressed. 

If you are not the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this 
information
is strictly prohibited.

Re: [rt-users] onetime cc checkbox not working on 4.2

2013-11-15 Thread Kevin Falcone
On Fri, Nov 15, 2013 at 10:47:28AM -0500, Daniel De Marco wrote:
> on my 4.2 RT installation the transaction onetime cc and bcc checkboxes
> do not seem to work properly: when checking the box, the corresponding
> email address is not being added to the One-Time Cc/Bcc input field.

http://issues.bestpractical.com/Ticket/Display.html?id=26959

You should test RT 4.2.1rc1 released yesterday, announced on the
rt-devel lists, links available in the archives.

-kevin

> The problem seems to be in the checkboxToInput function in
> share/static/js/util.js when it does: box.attr('checked')
> 
> Apparently the behavior of .attr('checked') changed in jQuery 1.6 and it
> no longer returns true or false, but undefined or "checked". Testing the
> call in the JS console, it seems to return undefined to me independently
> of whether the checkbox is checked or not.
> 
> Replacing the attr('checked') with .is(':checked') in the mentioned
> function fixes the problem for me.


pgpuFCBDIkapf.pgp
Description: PGP signature


[rt-users] onetime cc checkbox not working on 4.2

2013-11-15 Thread Daniel De Marco
Hi,

on my 4.2 RT installation the transaction onetime cc and bcc checkboxes
do not seem to work properly: when checking the box, the corresponding
email address is not being added to the One-Time Cc/Bcc input field.

The problem seems to be in the checkboxToInput function in
share/static/js/util.js when it does: box.attr('checked')

Apparently the behavior of .attr('checked') changed in jQuery 1.6 and it
no longer returns true or false, but undefined or "checked". Testing the
call in the JS console, it seems to return undefined to me independently
of whether the checkbox is checked or not.

Replacing the attr('checked') with .is(':checked') in the mentioned
function fixes the problem for me.

Is anyone else seeing this problem?

Daniel.


Re: [rt-users] Date format in reports & SearchResults::XLS Extension problem

2013-11-15 Thread Jan Niezbędny
In personal date prefs, this is that what I'm looking for. Thanks

Now I can remowe XLS extension


Regards,
Jan


2013/11/13 Kevin Falcone 

> On Fri, Nov 08, 2013 at 12:58:11PM +0100, Jan Niezbędny wrote:
> >First of all. It is possible to change date format in standart report
> in RT .tsv file (1 in
> >attachment) for columns: Told, Created, LastUpdated to look like
> "-mm-dd hh:mm:ss"?
> >Because now is "day dd mm , hh:mm:ss" or "2 days ago", "1 hour
> ago".
>
> CreatedRelative gives you '2 days ago' - don't use that in your
> format.  Other dates are formatted using your personal date prefs.
>
> For your SearchResults::XLS below, you should report these to the
> maintainer, who is not a Best Practical employee.
>
> -kevin
>
> >I just install SearchResults::XLS Extension and data format in the
> reports is good but I get a
> >few another problems:
> >-I have two path to generate report standard one kana*y->arkusz
> kalkulacyjny (1 in attachment)
> >and XLS from extension (2 in attachment), better is to have it in one
> place like in 1 way in
> >attachment.
> >
> >- when I create a report, file which i get from kana*y->arkusz
> kalkulacyjny (1 in attachment)
> >is .tsv when I configure to use UTF-8 it's look nice but for XLS (2
> in attachment),column
> >headers are in English not Polish. And additionally I have less
> columns than in the previous 1
> >way, altrought I pointed out all of the columns to display in the
> report.
> >
> >Regards,
> >Jan
>
>
>


[rt-users] automatically linking tickets together

2013-11-15 Thread Piet Honkoop

Thanks for the pointers Tom.

If I understand you correct, the mail route would be:

* pipe mail through preprocessor (procmail presumably)
* if that recipe gives back a ticket number (fetched based on the 
incoming subject by the REST interface), I add it to the subject

* pass on the message to RT as usual

The last one should link to the found ticket number in RT, if I find 
nothing, a new ticket will be created.


@Tony: once this works I'll post it here, you can do fairly the same by 
scanning the body (assuming you have procmail available as a mail 
processor of course)


What happens if there are more than 1 ticket IDs in a subject line though?

--
Groet,

Piet




--
Dit bericht is gescanned op virussen en andere gevaarlijke
inhoud door MailScanner en lijkt schoon te zijn.



Re: [rt-users] Shredder location

2013-11-15 Thread Keith Macpherson
mmahoney wrote, On 14/11/2013 17:23:
> Please excuse my ignorance... how do you make the file writable to the web
> server?
>
Like Andrew said, you need to chown the RT-Shredder folder to the web
server user; the user Apache/Nginx/whatever, is running as. Once you
have that information use chown (man chown for more info) on the folder,
for example 'chown webuser:webgroup /opt/rt3/var/data/RT-Shredder'. You
may have to check permissions too.

- Keith


Re: [rt-users] Migration 4.08 to 4.2 : no style sheet

2013-11-15 Thread Kriegers Horst
Hello,

Sorry for the disturb !
I’ve found, the cause was callback.

Nice day
Horst




De : Kriegers Horst
Envoyé : vendredi 15 novembre 2013 08:21
À : 'ML - rt-users'
Objet : Migration 4.08 to 4.2 : no style sheet

Hi,

I’ve migrated RT 4.08 to 4.2 and no style sheet a used.
Any idea ?


Thanks for your help
Horst


Note Importante: Le contenu de ce courriel est uniquement réservé à la personne 
ou l'organisme à qui il est destiné. Si vous n'êtes pas le destinataire prévu, 
veuillez nous en informer au plus vite et détruire le présent courriel. Dans ce 
cas, il ne vous est pas permis de copier ce courriel, de le distribuer ou de 
l'utiliser de quelque manière que ce soit.


Important Notice: The content of this e-mail is intended only and solely for 
the use of the named recipient or organization. If you are not the named 
recipient, please inform us immediately and delete the present e-mail. In this 
case, you are not allowed to copy, distribute or use this e-mail in any way.